@alfalab/core-components-confirmation 13.9.12 → 13.10.0
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/components/base-confirmation/component.js +5 -2
- package/components/base-confirmation/index.css +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 +2 -0
- package/components/screens/fatal-error/component.js +1 -1
- package/components/screens/fatal-error/index.css +7 -7
- package/components/screens/hint/component.js +10 -10
- package/components/screens/hint/index.css +13 -13
- package/components/screens/index.d.ts +1 -0
- package/components/screens/index.js +2 -0
- package/components/screens/initial/component.js +8 -5
- package/components/screens/initial/countdown-section.js +1 -1
- package/components/screens/initial/index.css +25 -19
- package/components/screens/temp-block/component.js +2 -2
- package/components/screens/temp-block/index.css +14 -8
- package/components/screens/temp-block-over/component.d.ts +9 -0
- package/components/screens/temp-block-over/component.js +37 -0
- package/components/screens/temp-block-over/index.css +59 -0
- package/components/screens/temp-block-over/index.d.ts +1 -0
- package/components/screens/temp-block-over/index.js +9 -0
- package/{countdown-section-b7271098.js → countdown-section-66246bfb.js} +7 -4
- package/cssm/components/base-confirmation/component.js +4 -1
- package/cssm/components/index.js +2 -0
- package/cssm/components/screens/hint/component.js +9 -9
- package/cssm/components/screens/index.d.ts +1 -0
- package/cssm/components/screens/index.js +2 -0
- package/cssm/components/screens/initial/component.js +7 -4
- package/cssm/components/screens/initial/countdown-section.js +6 -3
- package/cssm/components/screens/initial/index.module.css +7 -0
- package/cssm/components/screens/temp-block/component.js +1 -1
- package/cssm/components/screens/temp-block/index.module.css +7 -0
- package/cssm/components/screens/temp-block-over/component.d.ts +9 -0
- package/cssm/components/screens/temp-block-over/component.js +36 -0
- package/cssm/components/screens/temp-block-over/index.d.ts +1 -0
- package/cssm/components/screens/temp-block-over/index.js +9 -0
- package/cssm/components/screens/temp-block-over/index.module.css +58 -0
- package/cssm/shared/index.js +2 -0
- package/cssm/types.d.ts +13 -2
- package/cssm/types.js +17 -9
- package/esm/components/base-confirmation/component.js +5 -2
- package/esm/components/base-confirmation/index.css +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 -0
- package/esm/components/screens/fatal-error/component.js +1 -1
- package/esm/components/screens/fatal-error/index.css +7 -7
- package/esm/components/screens/hint/component.js +10 -10
- package/esm/components/screens/hint/index.css +13 -13
- package/esm/components/screens/index.d.ts +1 -0
- package/esm/components/screens/index.js +1 -0
- package/esm/components/screens/initial/component.js +8 -5
- package/esm/components/screens/initial/countdown-section.js +1 -1
- package/esm/components/screens/initial/index.css +25 -19
- package/esm/components/screens/temp-block/component.js +2 -2
- package/esm/components/screens/temp-block/index.css +14 -8
- package/esm/components/screens/temp-block-over/component.d.ts +9 -0
- package/esm/components/screens/temp-block-over/component.js +28 -0
- package/esm/components/screens/temp-block-over/index.css +59 -0
- package/esm/components/screens/temp-block-over/index.d.ts +1 -0
- package/esm/components/screens/temp-block-over/index.js +1 -0
- package/esm/{countdown-section-a99ec7db.js → countdown-section-b11f4c6f.js} +8 -5
- package/esm/mobile/component.mobile.js +1 -1
- package/esm/mobile/mobile.css +2 -2
- package/esm/shared/index.js +1 -0
- package/esm/types.d.ts +13 -2
- package/esm/types.js +17 -9
- package/mobile/component.mobile.js +1 -1
- package/mobile/mobile.css +2 -2
- package/modern/components/base-confirmation/component.js +5 -2
- package/modern/components/base-confirmation/index.css +2 -2
- 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 -0
- package/modern/components/screens/fatal-error/component.js +1 -1
- package/modern/components/screens/fatal-error/index.css +7 -7
- package/modern/components/screens/hint/component.js +10 -10
- package/modern/components/screens/hint/index.css +13 -13
- package/modern/components/screens/index.d.ts +1 -0
- package/modern/components/screens/index.js +1 -0
- package/modern/components/screens/initial/component.js +8 -5
- package/modern/components/screens/initial/countdown-section.js +1 -1
- package/modern/components/screens/initial/index.css +25 -19
- package/modern/components/screens/temp-block/component.js +2 -2
- package/modern/components/screens/temp-block/index.css +14 -8
- package/modern/components/screens/temp-block-over/component.d.ts +9 -0
- package/modern/components/screens/temp-block-over/component.js +26 -0
- package/modern/components/screens/temp-block-over/index.css +59 -0
- package/modern/components/screens/temp-block-over/index.d.ts +1 -0
- package/modern/components/screens/temp-block-over/index.js +1 -0
- package/modern/{countdown-section-7113cf49.js → countdown-section-5721eff6.js} +8 -5
- package/modern/mobile/component.mobile.js +1 -1
- package/modern/mobile/mobile.css +2 -2
- package/modern/shared/index.js +1 -0
- package/modern/types.d.ts +13 -2
- package/modern/types.js +17 -9
- package/moderncssm/components/base-confirmation/component.js +4 -1
- package/moderncssm/components/index.js +1 -0
- package/moderncssm/components/screens/hint/component.js +9 -9
- package/moderncssm/components/screens/index.d.ts +1 -0
- package/moderncssm/components/screens/index.js +1 -0
- package/moderncssm/components/screens/initial/component.js +7 -4
- package/moderncssm/components/screens/initial/countdown-section.js +7 -4
- package/moderncssm/components/screens/initial/index.module.css +9 -0
- package/moderncssm/components/screens/temp-block/component.js +1 -1
- package/moderncssm/components/screens/temp-block/index.module.css +9 -0
- package/moderncssm/components/screens/temp-block-over/component.d.ts +9 -0
- package/moderncssm/components/screens/temp-block-over/component.js +24 -0
- package/moderncssm/components/screens/temp-block-over/index.d.ts +1 -0
- package/moderncssm/components/screens/temp-block-over/index.js +1 -0
- package/moderncssm/components/screens/temp-block-over/index.module.css +42 -0
- package/moderncssm/shared/index.js +1 -0
- package/moderncssm/types.d.ts +13 -2
- package/moderncssm/types.js +17 -9
- package/package.json +1 -1
- package/shared/index.js +2 -0
- package/src/components/base-confirmation/component.tsx +6 -2
- package/src/components/screens/hint/component.tsx +11 -14
- package/src/components/screens/index.ts +1 -0
- package/src/components/screens/initial/component.tsx +9 -5
- package/src/components/screens/initial/countdown-section.tsx +9 -4
- package/src/components/screens/initial/index.module.css +8 -0
- package/src/components/screens/temp-block/component.tsx +1 -2
- package/src/components/screens/temp-block/index.module.css +8 -0
- package/src/components/screens/temp-block-over/component.tsx +55 -0
- package/src/components/screens/temp-block-over/index.module.css +23 -0
- package/src/components/screens/temp-block-over/index.ts +1 -0
- package/src/types.ts +36 -11
- package/types.d.ts +13 -2
- package/types.js +17 -9
- /package/{countdown-section-b7271098.d.ts → countdown-section-66246bfb.d.ts} +0 -0
- /package/esm/{countdown-section-a99ec7db.d.ts → countdown-section-b11f4c6f.d.ts} +0 -0
- /package/modern/{countdown-section-7113cf49.d.ts → countdown-section-5721eff6.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: sxigx */
|
|
2
2
|
: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 */ /* 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 */
|
|
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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
/* stylelint-disable-next-line length-zero-no-unit */
|
|
23
23
|
} :root {
|
|
24
24
|
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
25
|
-
} /* сбрасывает синюю подсветку при нажатии */ .
|
|
25
|
+
} /* сбрасывает синюю подсветку при нажатии */ .confirmation__circle_1b8ut {
|
|
26
26
|
fill: transparent;
|
|
27
27
|
stroke: var(--color-light-neutral-500);
|
|
28
28
|
stroke-width: 2px;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { TitleDesktop } from '@alfalab/core-components-typography/modern';
|
|
4
4
|
|
|
5
|
-
const styles = {"header":"
|
|
5
|
+
const styles = {"header":"confirmation__header_mzgzx","typography":"confirmation__typography_mzgzx","typographyMobile":"confirmation__typographyMobile_mzgzx"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Header = ({ mobile, children }) => (React.createElement(TitleDesktop, { className: cn(styles.header, styles.typography, { [styles.typographyMobile]: mobile }), tag: 'h3', color: 'primary' }, children));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: detud */
|
|
2
2
|
: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 */ /* 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 */
|
|
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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
|
|
43
43
|
/* header */
|
|
44
44
|
--confirmation-header-font-feature-settings: normal
|
|
45
|
-
} .
|
|
45
|
+
} .confirmation__header_mzgzx.confirmation__header_mzgzx {
|
|
46
46
|
margin-bottom: var(--gap-24);
|
|
47
|
-
} .
|
|
47
|
+
} .confirmation__typography_mzgzx.confirmation__typography_mzgzx.confirmation__typography_mzgzx {
|
|
48
48
|
font-feature-settings: var(--confirmation-header-font-feature-settings);
|
|
49
49
|
font-size: var(--confirmation-header-desktop-font-size);
|
|
50
50
|
line-height: var(--confirmation-header-desktop-line-height);
|
|
51
51
|
font-weight: var(--confirmation-header-desktop-font-weight);
|
|
52
52
|
font-family: var(--confirmation-header-desktop-font-family);
|
|
53
|
-
} .
|
|
53
|
+
} .confirmation__typographyMobile_mzgzx.confirmation__typographyMobile_mzgzx.confirmation__typographyMobile_mzgzx {
|
|
54
54
|
font-feature-settings: var(--confirmation-header-font-feature-settings);
|
|
55
55
|
font-size: var(--confirmation-header-mobile-font-size);
|
|
56
56
|
line-height: var(--confirmation-header-mobile-line-height);
|
|
@@ -2,4 +2,5 @@ export { Initial } from './screens/initial/component.js';
|
|
|
2
2
|
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
|
+
export { TempBlockOver } from './screens/temp-block-over/component.js';
|
|
5
6
|
export { CountdownLoader } from './countdown-loader/component.js';
|
|
@@ -5,7 +5,7 @@ import { Text } from '@alfalab/core-components-typography/modern';
|
|
|
5
5
|
import { ConfirmationContext } from '../../../context.js';
|
|
6
6
|
import { Header } from '../../header/component.js';
|
|
7
7
|
|
|
8
|
-
const styles = {"component":"
|
|
8
|
+
const styles = {"component":"confirmation__component_1tfd4","typographyTheme":"confirmation__typographyTheme_1tfd4","typographyThemeMobile":"confirmation__typographyThemeMobile_1tfd4","left":"confirmation__left_1tfd4","center":"confirmation__center_1tfd4","button":"confirmation__button_1tfd4"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
const FatalError = ({ mobile }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 17hvq */
|
|
2
2
|
: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 */ /* 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 */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-primary: rgba(3, 3, 6, 0.88);
|
|
@@ -40,22 +40,22 @@
|
|
|
40
40
|
--confirmation-text-color: var(--color-light-text-primary)
|
|
41
41
|
|
|
42
42
|
/* header */
|
|
43
|
-
} .
|
|
43
|
+
} .confirmation__component_1tfd4 {
|
|
44
44
|
display: flex;
|
|
45
45
|
flex-direction: column;
|
|
46
|
-
} .
|
|
46
|
+
} .confirmation__typographyTheme_1tfd4.confirmation__typographyTheme_1tfd4 {
|
|
47
47
|
font-size: var(--confirmation-text-font-size);
|
|
48
48
|
line-height: var(--confirmation-text-line-height);
|
|
49
49
|
font-weight: var(--confirmation-text-font-weight);
|
|
50
50
|
font-family: var(--confirmation-text-font-family);
|
|
51
51
|
color: var(--confirmation-text-color);
|
|
52
|
-
} .
|
|
52
|
+
} .confirmation__typographyThemeMobile_1tfd4.confirmation__typographyThemeMobile_1tfd4 {
|
|
53
53
|
color: var(--color-light-text-secondary);
|
|
54
|
-
} .
|
|
54
|
+
} .confirmation__left_1tfd4 {
|
|
55
55
|
align-items: flex-start;
|
|
56
|
-
} .
|
|
56
|
+
} .confirmation__center_1tfd4 {
|
|
57
57
|
align-items: center;
|
|
58
58
|
text-align: center;
|
|
59
|
-
} .
|
|
59
|
+
} .confirmation__button_1tfd4.confirmation__button_1tfd4 {
|
|
60
60
|
margin-top: var(--gap-32);
|
|
61
61
|
}
|
|
@@ -7,7 +7,7 @@ import { ConfirmationContext } from '../../../context.js';
|
|
|
7
7
|
import { getPhoneHref } from '../../../utils.js';
|
|
8
8
|
import { Header } from '../../header/component.js';
|
|
9
9
|
|
|
10
|
-
const styles = {"component":"
|
|
10
|
+
const styles = {"component":"confirmation__component_15dkv","center":"confirmation__center_15dkv","text":"confirmation__text_15dkv","typographyTheme":"confirmation__typographyTheme_15dkv","typographyThemeMobile":"confirmation__typographyThemeMobile_15dkv","phonesWrap":"confirmation__phonesWrap_15dkv","phoneWrap":"confirmation__phoneWrap_15dkv","phoneLink":"confirmation__phoneLink_15dkv","hintButton":"confirmation__hintButton_15dkv","phoneContentMobile":"confirmation__phoneContentMobile_15dkv"};
|
|
11
11
|
require('./index.css')
|
|
12
12
|
|
|
13
13
|
const Hint = ({ mobile }) => {
|
|
@@ -18,34 +18,34 @@ const Hint = ({ mobile }) => {
|
|
|
18
18
|
onChangeState('INITIAL');
|
|
19
19
|
};
|
|
20
20
|
return (React.createElement("div", { className: cn(styles.component, styles[alignContent]) },
|
|
21
|
-
React.createElement(Header, { mobile: mobile },
|
|
21
|
+
React.createElement(Header, { mobile: mobile }, texts.hintTitle),
|
|
22
22
|
React.createElement(Text, { view: 'primary-medium', color: 'primary', className: cn(styles.text, {
|
|
23
23
|
[styles.typographyTheme]: !mobile,
|
|
24
24
|
[styles.typographyThemeMobile]: mobile,
|
|
25
|
-
}) },
|
|
25
|
+
}) }, texts.hintDescription),
|
|
26
26
|
React.createElement("div", { className: cn(styles.phonesWrap, {
|
|
27
27
|
[styles.phonesWrapMobile]: mobile,
|
|
28
28
|
}) },
|
|
29
29
|
React.createElement("div", { className: cn(styles.phoneWrap, { [styles.phoneContentMobile]: mobile }) },
|
|
30
|
-
React.createElement(Link, { href: getPhoneHref(
|
|
30
|
+
React.createElement(Link, { href: getPhoneHref(internationalPhone), underline: false, className: cn(styles.phoneLink, { [styles.typographyThemeMobile]: mobile }) }, internationalPhone),
|
|
31
31
|
React.createElement(Text, { view: 'primary-medium', color: 'primary', className: cn(styles.text, {
|
|
32
32
|
[styles.typographyTheme]: !mobile,
|
|
33
33
|
[styles.typographyThemeMobile]: mobile,
|
|
34
34
|
}) }, mobile
|
|
35
|
-
? '
|
|
36
|
-
: ' \u2014\u00A0
|
|
35
|
+
? 'В\u00A0Москве и\u00A0за\u00A0границей'
|
|
36
|
+
: ' \u2014\u00A0в\u00A0Москве и\u00A0за\u00A0границей')),
|
|
37
37
|
React.createElement("div", { className: cn(styles.phoneWrap, { [styles.phoneContentMobile]: mobile }) },
|
|
38
|
-
React.createElement(Link, { href: getPhoneHref(
|
|
38
|
+
React.createElement(Link, { href: getPhoneHref(domesticPhone), underline: false, className: cn(styles.phoneLink, { [styles.typographyThemeMobile]: mobile }) }, domesticPhone),
|
|
39
39
|
React.createElement(Text, { view: 'primary-medium', color: 'primary', className: cn(styles.text, {
|
|
40
40
|
[styles.typographyTheme]: !mobile,
|
|
41
41
|
[styles.typographyThemeMobile]: mobile,
|
|
42
42
|
}) }, mobile
|
|
43
|
-
? '
|
|
44
|
-
: ' \u2014\u00A0
|
|
43
|
+
? 'Для\u00A0звонков по\u00A0России'
|
|
44
|
+
: ' \u2014\u00A0для звонков по\u00A0России'))),
|
|
45
45
|
React.createElement(Text, { view: 'primary-medium', color: 'primary', className: cn(styles.text, {
|
|
46
46
|
[styles.typographyTheme]: !mobile,
|
|
47
47
|
[styles.typographyThemeMobile]: mobile,
|
|
48
|
-
}) },
|
|
48
|
+
}) }, texts.hintNotification),
|
|
49
49
|
React.createElement(Button, { size: mobile ? 'xs' : 's', view: 'secondary', onClick: handleReturnButtonClick, className: styles.hintButton, breakpoint: breakpoint, client: client }, hintButton)));
|
|
50
50
|
};
|
|
51
51
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: bulif */
|
|
2
2
|
: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 */ /* 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 */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-primary: rgba(3, 3, 6, 0.88);
|
|
@@ -45,40 +45,40 @@
|
|
|
45
45
|
--confirmation-text-color: var(--color-light-text-primary)
|
|
46
46
|
|
|
47
47
|
/* header */
|
|
48
|
-
} .
|
|
48
|
+
} .confirmation__component_15dkv {
|
|
49
49
|
display: flex;
|
|
50
50
|
flex-direction: column;
|
|
51
51
|
align-items: flex-start
|
|
52
|
-
} .
|
|
52
|
+
} .confirmation__component_15dkv span:last-of-type {
|
|
53
53
|
margin-bottom: var(--gap-0);
|
|
54
|
-
} .
|
|
54
|
+
} .confirmation__center_15dkv {
|
|
55
55
|
align-items: center;
|
|
56
56
|
text-align: center;
|
|
57
|
-
} .
|
|
57
|
+
} .confirmation__text_15dkv.confirmation__text_15dkv {
|
|
58
58
|
margin-bottom: var(--gap-24);
|
|
59
|
-
} .
|
|
59
|
+
} .confirmation__typographyTheme_15dkv.confirmation__typographyTheme_15dkv {
|
|
60
60
|
font-size: var(--confirmation-text-font-size);
|
|
61
61
|
line-height: var(--confirmation-text-line-height);
|
|
62
62
|
font-weight: var(--confirmation-text-font-weight);
|
|
63
63
|
font-family: var(--confirmation-text-font-family);
|
|
64
64
|
color: var(--confirmation-text-color);
|
|
65
|
-
} .
|
|
65
|
+
} .confirmation__typographyThemeMobile_15dkv.confirmation__typographyThemeMobile_15dkv {
|
|
66
66
|
color: var(--color-light-text-secondary);
|
|
67
|
-
} .
|
|
67
|
+
} .confirmation__phonesWrap_15dkv {
|
|
68
68
|
display: flex;
|
|
69
69
|
flex-direction: column;
|
|
70
70
|
margin-bottom: var(--gap-24);
|
|
71
|
-
} .
|
|
71
|
+
} .confirmation__phoneWrap_15dkv {
|
|
72
72
|
margin-bottom: var(--gap-8)
|
|
73
|
-
} .
|
|
73
|
+
} .confirmation__phoneWrap_15dkv:last-child {
|
|
74
74
|
margin-bottom: var(--gap-0);
|
|
75
|
-
} .
|
|
75
|
+
} .confirmation__phoneLink_15dkv.confirmation__phoneLink_15dkv {
|
|
76
76
|
font-size: 16px;
|
|
77
77
|
line-height: 24px;
|
|
78
78
|
font-weight: 500;
|
|
79
|
-
} .
|
|
79
|
+
} .confirmation__hintButton_15dkv {
|
|
80
80
|
margin-top: var(--gap-32);
|
|
81
|
-
} .
|
|
81
|
+
} .confirmation__phoneContentMobile_15dkv {
|
|
82
82
|
display: flex;
|
|
83
83
|
flex-direction: column;
|
|
84
84
|
}
|
|
@@ -2,3 +2,4 @@ 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
|
+
export { TempBlockOver } from './temp-block-over/component.js';
|
|
@@ -8,7 +8,7 @@ import { Text } 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-
|
|
11
|
+
import { s as styles, C as CountdownSection } from '../../../countdown-section-5721eff6.js';
|
|
12
12
|
|
|
13
13
|
const CODE_SEND_HINT_VISIBLE_DURATION = 2000;
|
|
14
14
|
const Initial = ({ mobile }) => {
|
|
@@ -54,9 +54,6 @@ const Initial = ({ mobile }) => {
|
|
|
54
54
|
if (!inputRef.current) {
|
|
55
55
|
return;
|
|
56
56
|
}
|
|
57
|
-
if (state === 'CODE_ERROR' && prevState !== 'CODE_ERROR') {
|
|
58
|
-
inputRef.current.focus(requiredCharAmount - 1);
|
|
59
|
-
}
|
|
60
57
|
if (prevState === 'CODE_SENDING' && state !== 'CODE_SENDING') {
|
|
61
58
|
inputRef.current.focus();
|
|
62
59
|
}
|
|
@@ -71,6 +68,12 @@ const Initial = ({ mobile }) => {
|
|
|
71
68
|
}
|
|
72
69
|
}, [prevState, state, clearTimer]);
|
|
73
70
|
const getCodeInputError = () => {
|
|
71
|
+
if (state === 'CODE_EXPIRED') {
|
|
72
|
+
return texts.codeErrorExpired || true;
|
|
73
|
+
}
|
|
74
|
+
if (state === 'CODE_EXPIRED_ENDED') {
|
|
75
|
+
return texts.codeErrorExpiredEnded || true;
|
|
76
|
+
}
|
|
74
77
|
if (state === 'CODE_ERROR') {
|
|
75
78
|
return texts.codeError || true;
|
|
76
79
|
}
|
|
@@ -94,7 +97,7 @@ const Initial = ({ mobile }) => {
|
|
|
94
97
|
[styles.typographyTheme]: !mobile,
|
|
95
98
|
[styles.typographyThemeMobile]: mobile,
|
|
96
99
|
}) },
|
|
97
|
-
"\
|
|
100
|
+
"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043D\u0430 ",
|
|
98
101
|
phone)) : null,
|
|
99
102
|
React.createElement(ComponentCodeInput, { disabled: processing, error: getCodeInputError(), ref: inputRef, fields: requiredCharAmount, className: cn(styles.containerInput, styles.codeInput), onComplete: handleInputComplete, onChange: handleInputChange, clearCodeOnError: clearCodeOnError, errorVisibleDuration: errorVisibleDuration, onErrorAnimationEnd: handleErrorAnimationEnd }),
|
|
100
103
|
!hideCountdownSection && (React.createElement(CountdownSection, { processing: processing, timePassed: timePassed, codeSendHintVisible: codeSendHintVisible, handleSmsRetryClick: handleSmsRetryClick, mobile: 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-5721eff6.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: s6yyj */
|
|
2
2
|
: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 */ /* 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 */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-primary: rgba(3, 3, 6, 0.88);
|
|
@@ -52,53 +52,59 @@
|
|
|
52
52
|
--confirmation-text-color: var(--color-light-text-primary)
|
|
53
53
|
|
|
54
54
|
/* header */
|
|
55
|
-
} .
|
|
55
|
+
} .confirmation__component_1v2a0 {
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
58
|
-
} .
|
|
58
|
+
} .confirmation__phone_1v2a0.confirmation__phone_1v2a0 {
|
|
59
59
|
color: var(--color-light-text-primary);
|
|
60
60
|
margin-bottom: var(--gap-32);
|
|
61
|
-
} .
|
|
61
|
+
} .confirmation__typographyTheme_1v2a0.confirmation__typographyTheme_1v2a0 {
|
|
62
62
|
font-size: var(--confirmation-text-font-size);
|
|
63
63
|
line-height: var(--confirmation-text-line-height);
|
|
64
64
|
font-weight: var(--confirmation-text-font-weight);
|
|
65
65
|
font-family: var(--confirmation-text-font-family);
|
|
66
66
|
color: var(--confirmation-text-color);
|
|
67
|
-
} .
|
|
67
|
+
} .confirmation__typographyThemeMobile_1v2a0.confirmation__typographyThemeMobile_1v2a0 {
|
|
68
68
|
color: var(--color-light-text-secondary);
|
|
69
|
-
} .
|
|
69
|
+
} .confirmation__compact_1v2a0 {
|
|
70
70
|
margin-bottom: var(--gap-24);
|
|
71
|
-
} .
|
|
71
|
+
} .confirmation__loaderWrap_1v2a0 {
|
|
72
72
|
display: flex;
|
|
73
73
|
align-items: center;
|
|
74
|
-
} .
|
|
74
|
+
} .confirmation__left_1v2a0 {
|
|
75
75
|
align-items: flex-start;
|
|
76
|
-
} .
|
|
76
|
+
} .confirmation__center_1v2a0 {
|
|
77
77
|
align-items: center;
|
|
78
78
|
text-align: center
|
|
79
|
-
} .
|
|
79
|
+
} .confirmation__center_1v2a0 .confirmation__loaderWrap_1v2a0 {
|
|
80
80
|
justify-content: center;
|
|
81
|
-
} .
|
|
81
|
+
} .confirmation__codeInput_1v2a0 {
|
|
82
82
|
margin-bottom: var(--gap-12);
|
|
83
|
-
} .
|
|
83
|
+
} .confirmation__smsBtn_1v2a0.confirmation__smsBtn_1v2a0 {
|
|
84
84
|
min-height: var(--size-xs-height);
|
|
85
|
-
} .
|
|
85
|
+
} .confirmation__smsComeLink_1v2a0.confirmation__smsComeLink_1v2a0 {
|
|
86
86
|
font-size: 14px;
|
|
87
87
|
line-height: 20px;
|
|
88
88
|
font-weight: 500;
|
|
89
|
-
} .
|
|
89
|
+
} .confirmation__countdownContainer_1v2a0.confirmation__countdownContainer_1v2a0 {
|
|
90
90
|
color: var(--color-light-text-secondary);
|
|
91
91
|
margin-bottom: var(--gap-24);
|
|
92
|
-
} .
|
|
92
|
+
} .confirmation__countdownMobile_1v2a0.confirmation__countdownMobile_1v2a0 {
|
|
93
93
|
margin-bottom: var(--gap-20);
|
|
94
|
-
} .
|
|
94
|
+
} .confirmation__countdownLoaderMobile_1v2a0.confirmation__countdownLoaderMobile_1v2a0 {
|
|
95
95
|
margin-bottom: var(--gap-16);
|
|
96
|
-
} .
|
|
96
|
+
} .confirmation__timeCounter_1v2a0 {
|
|
97
|
+
display: inline-block;
|
|
98
|
+
min-width: 47px;
|
|
99
|
+
color: var(--color-light-text-secondary);
|
|
100
|
+
text-align: left;
|
|
101
|
+
font-variant-numeric: lining-nums tabular-nums;
|
|
102
|
+
} .confirmation__getCodeButton_1v2a0 {
|
|
97
103
|
position: relative;
|
|
98
104
|
top: var(--gap-4-neg);
|
|
99
105
|
margin-bottom: var(--gap-16);
|
|
100
|
-
} .
|
|
106
|
+
} .confirmation__getCodeButtonMobile_1v2a0 {
|
|
101
107
|
margin-bottom: var(--gap-0);
|
|
102
|
-
} .
|
|
108
|
+
} .confirmation__containerInput_1v2a0 {
|
|
103
109
|
min-height: 80px;
|
|
104
110
|
}
|
|
@@ -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_83plh","center":"confirmation__center_83plh","typographyTheme":"confirmation__typographyTheme_83plh","typographyThemeMobile":"confirmation__typographyThemeMobile_83plh","description":"confirmation__description_83plh","countdownWrap":"confirmation__countdownWrap_83plh","timeCounter":"confirmation__timeCounter_83plh","loader":"confirmation__loader_83plh"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
const TempBlock = ({ mobile }) => {
|
|
@@ -28,7 +28,7 @@ const TempBlock = ({ mobile }) => {
|
|
|
28
28
|
}) }, texts.tempBlockDescription),
|
|
29
29
|
React.createElement("div", { className: cn(styles.countdownWrap, { [styles.typographyTheme]: !mobile }) },
|
|
30
30
|
React.createElement(CountdownLoader, { progress: 1 - timeLeft / tempBlockDuration, className: styles.loader }),
|
|
31
|
-
formatMsAsMinutes(timeLeft))));
|
|
31
|
+
React.createElement("time", { className: styles.timeCounter }, formatMsAsMinutes(timeLeft)))));
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
export { TempBlock };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ahsa */
|
|
2
2
|
: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 */ /* 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 */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-primary: rgba(3, 3, 6, 0.88);
|
|
@@ -40,25 +40,31 @@
|
|
|
40
40
|
--confirmation-text-color: var(--color-light-text-primary)
|
|
41
41
|
|
|
42
42
|
/* header */
|
|
43
|
-
} .
|
|
43
|
+
} .confirmation__component_83plh {
|
|
44
44
|
display: flex;
|
|
45
45
|
flex-direction: column;
|
|
46
|
-
} .
|
|
46
|
+
} .confirmation__center_83plh {
|
|
47
47
|
align-items: center;
|
|
48
48
|
text-align: center;
|
|
49
|
-
} .
|
|
49
|
+
} .confirmation__typographyTheme_83plh.confirmation__typographyTheme_83plh {
|
|
50
50
|
font-size: var(--confirmation-text-font-size);
|
|
51
51
|
line-height: var(--confirmation-text-line-height);
|
|
52
52
|
font-weight: var(--confirmation-text-font-weight);
|
|
53
53
|
font-family: var(--confirmation-text-font-family);
|
|
54
54
|
color: var(--confirmation-text-color);
|
|
55
|
-
} .
|
|
55
|
+
} .confirmation__typographyThemeMobile_83plh.confirmation__typographyThemeMobile_83plh {
|
|
56
56
|
color: var(--color-light-text-secondary);
|
|
57
|
-
} .
|
|
57
|
+
} .confirmation__description_83plh.confirmation__description_83plh {
|
|
58
58
|
margin-bottom: var(--gap-8);
|
|
59
|
-
} .
|
|
59
|
+
} .confirmation__countdownWrap_83plh {
|
|
60
60
|
display: flex;
|
|
61
61
|
align-items: center;
|
|
62
|
-
} .
|
|
62
|
+
} .confirmation__timeCounter_83plh {
|
|
63
|
+
display: inline-block;
|
|
64
|
+
min-width: 47px;
|
|
65
|
+
color: var(--color-light-text-secondary);
|
|
66
|
+
text-align: left;
|
|
67
|
+
font-variant-numeric: lining-nums tabular-nums;
|
|
68
|
+
} .confirmation__loader_83plh {
|
|
63
69
|
margin-right: var(--gap-8);
|
|
64
70
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React, { useContext } from 'react';
|
|
2
|
+
import cn from 'classnames';
|
|
3
|
+
import { Button } from '@alfalab/core-components-button/modern';
|
|
4
|
+
import { Text } from '@alfalab/core-components-typography/modern';
|
|
5
|
+
import { ConfirmationContext } from '../../../context.js';
|
|
6
|
+
import { Header } from '../../header/component.js';
|
|
7
|
+
|
|
8
|
+
const styles = {"component":"confirmation__component_1fn9p","center":"confirmation__center_1fn9p","typographyTheme":"confirmation__typographyTheme_1fn9p","typographyThemeMobile":"confirmation__typographyThemeMobile_1fn9p","button":"confirmation__button_1fn9p"};
|
|
9
|
+
require('./index.css')
|
|
10
|
+
|
|
11
|
+
const TempBlockOver = ({ mobile }) => {
|
|
12
|
+
const { alignContent, texts, breakpoint, client, onChangeScreen, onChangeState } = useContext(ConfirmationContext);
|
|
13
|
+
const handleReturnButtonClick = () => {
|
|
14
|
+
onChangeScreen('INITIAL');
|
|
15
|
+
onChangeState('INITIAL');
|
|
16
|
+
};
|
|
17
|
+
return (React.createElement("div", { className: cn(styles.component, styles[alignContent]) },
|
|
18
|
+
React.createElement(Header, { mobile: mobile }, texts.tempBlockOverTitle),
|
|
19
|
+
React.createElement(Text, { view: 'primary-medium', color: 'primary', className: cn(styles.description, {
|
|
20
|
+
[styles.typographyTheme]: !mobile,
|
|
21
|
+
[styles.typographyThemeMobile]: mobile,
|
|
22
|
+
}) }, texts.tempBlockOverDescription),
|
|
23
|
+
React.createElement(Button, { size: mobile ? 'xs' : 's', view: 'secondary', onClick: handleReturnButtonClick, className: styles.button, breakpoint: breakpoint, client: client }, texts.tempBlockOverButton)));
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export { TempBlockOver };
|