@alfalab/core-components-confirmation 13.3.0 → 13.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/component.responsive.js +1 -1
- package/components/base-confirmation/component.js +2 -2
- package/components/base-confirmation/index.css +2 -2
- package/components/base-confirmation/index.js +1 -1
- package/components/countdown-loader/component.js +1 -1
- package/components/countdown-loader/index.css +2 -2
- package/components/header/component.js +1 -1
- package/components/header/index.css +4 -4
- package/components/index.js +1 -1
- package/components/screens/fatal-error/component.js +1 -1
- package/components/screens/fatal-error/index.css +6 -6
- package/components/screens/hint/component.js +1 -1
- package/components/screens/hint/index.css +12 -12
- package/components/screens/index.js +1 -1
- package/components/screens/initial/component.js +1 -1
- package/components/screens/initial/countdown-section.js +1 -1
- package/components/screens/initial/index.css +17 -17
- package/components/screens/initial/index.js +1 -1
- package/components/screens/temp-block/component.js +1 -1
- package/components/screens/temp-block/index.css +7 -7
- package/{countdown-section-0374bebd.js → countdown-section-bfcf66d3.js} +1 -1
- package/desktop/component.desktop.js +1 -1
- package/desktop/index.js +1 -1
- package/esm/component.responsive.js +1 -1
- package/esm/components/base-confirmation/component.js +2 -2
- package/esm/components/base-confirmation/index.css +2 -2
- package/esm/components/base-confirmation/index.js +1 -1
- package/esm/components/countdown-loader/component.js +1 -1
- package/esm/components/countdown-loader/index.css +2 -2
- package/esm/components/header/component.js +1 -1
- package/esm/components/header/index.css +4 -4
- package/esm/components/index.js +1 -1
- package/esm/components/screens/fatal-error/component.js +1 -1
- package/esm/components/screens/fatal-error/index.css +6 -6
- package/esm/components/screens/hint/component.js +1 -1
- package/esm/components/screens/hint/index.css +12 -12
- package/esm/components/screens/index.js +1 -1
- package/esm/components/screens/initial/component.js +1 -1
- package/esm/components/screens/initial/countdown-section.js +1 -1
- package/esm/components/screens/initial/index.css +17 -17
- package/esm/components/screens/initial/index.js +1 -1
- package/esm/components/screens/temp-block/component.js +1 -1
- package/esm/components/screens/temp-block/index.css +7 -7
- package/esm/{countdown-section-e1d3497c.js → countdown-section-6a4bb252.js} +1 -1
- package/esm/desktop/component.desktop.js +1 -1
- package/esm/desktop/index.js +1 -1
- package/esm/index.js +1 -1
- package/esm/mobile/component.mobile.js +2 -2
- package/esm/mobile/index.js +1 -1
- package/esm/mobile/mobile.css +2 -2
- package/esm/shared/index.js +1 -1
- package/index.js +1 -1
- package/mobile/component.mobile.js +2 -2
- package/mobile/index.js +1 -1
- package/mobile/mobile.css +2 -2
- package/modern/component.responsive.js +1 -1
- package/modern/components/base-confirmation/component.js +2 -2
- package/modern/components/base-confirmation/index.css +2 -2
- package/modern/components/base-confirmation/index.js +1 -1
- package/modern/components/countdown-loader/component.js +1 -1
- package/modern/components/countdown-loader/index.css +2 -2
- package/modern/components/header/component.js +1 -1
- package/modern/components/header/index.css +4 -4
- package/modern/components/index.js +1 -1
- package/modern/components/screens/fatal-error/component.js +1 -1
- package/modern/components/screens/fatal-error/index.css +6 -6
- package/modern/components/screens/hint/component.js +1 -1
- package/modern/components/screens/hint/index.css +12 -12
- package/modern/components/screens/index.js +1 -1
- package/modern/components/screens/initial/component.js +1 -1
- 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 +1 -1
- package/modern/components/screens/temp-block/component.js +1 -1
- package/modern/components/screens/temp-block/index.css +7 -7
- package/modern/{countdown-section-0dcfbdcd.js → countdown-section-7331d9e5.js} +1 -1
- package/modern/desktop/component.desktop.js +1 -1
- package/modern/desktop/index.js +1 -1
- package/modern/index.js +1 -1
- package/modern/mobile/component.mobile.js +2 -2
- package/modern/mobile/index.js +1 -1
- package/modern/mobile/mobile.css +2 -2
- package/modern/shared/index.js +1 -1
- package/package.json +3 -3
- package/shared/index.js +1 -1
- /package/{countdown-section-0374bebd.d.ts → countdown-section-bfcf66d3.d.ts} +0 -0
- /package/esm/{countdown-section-e1d3497c.d.ts → countdown-section-6a4bb252.d.ts} +0 -0
- /package/modern/{countdown-section-0dcfbdcd.d.ts → countdown-section-7331d9e5.d.ts} +0 -0
|
@@ -8,7 +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-
|
|
11
|
+
import { s as styles, C as CountdownSection } from '../../../countdown-section-7331d9e5.js';
|
|
12
12
|
import '../../../utils.js';
|
|
13
13
|
import '@alfalab/core-components-button/modern';
|
|
14
14
|
import '@alfalab/core-components-spinner/modern';
|
|
@@ -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-7331d9e5.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 12m6b */
|
|
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_er3sy {
|
|
41
41
|
display: flex;
|
|
42
42
|
flex-direction: column;
|
|
43
|
-
} .
|
|
43
|
+
} .confirmation__typographyTheme_er3sy.confirmation__typographyTheme_er3sy {
|
|
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_er3sy.confirmation__phone_er3sy {
|
|
50
50
|
color: var(--color-light-text-primary);
|
|
51
51
|
margin-bottom: var(--gap-2xl);
|
|
52
|
-
} .
|
|
52
|
+
} .confirmation__compact_er3sy {
|
|
53
53
|
margin-bottom: var(--gap-xl);
|
|
54
|
-
} .
|
|
54
|
+
} .confirmation__loaderWrap_er3sy {
|
|
55
55
|
display: flex;
|
|
56
56
|
align-items: center;
|
|
57
|
-
} .
|
|
57
|
+
} .confirmation__left_er3sy {
|
|
58
58
|
align-items: flex-start;
|
|
59
|
-
} .
|
|
59
|
+
} .confirmation__center_er3sy {
|
|
60
60
|
align-items: center;
|
|
61
61
|
text-align: center
|
|
62
|
-
} .
|
|
62
|
+
} .confirmation__center_er3sy .confirmation__loaderWrap_er3sy {
|
|
63
63
|
justify-content: center;
|
|
64
|
-
} .
|
|
64
|
+
} .confirmation__codeInput_er3sy {
|
|
65
65
|
margin-bottom: var(--gap-s);
|
|
66
|
-
} .
|
|
66
|
+
} .confirmation__smsComeLink_er3sy.confirmation__smsComeLink_er3sy {
|
|
67
67
|
font-size: 14px;
|
|
68
68
|
line-height: 20px;
|
|
69
69
|
font-weight: 500;
|
|
70
|
-
} .
|
|
70
|
+
} .confirmation__countdownContainer_er3sy.confirmation__countdownContainer_er3sy {
|
|
71
71
|
color: var(--color-light-text-secondary);
|
|
72
72
|
margin-bottom: var(--gap-xl);
|
|
73
|
-
} .
|
|
73
|
+
} .confirmation__countdownMobile_er3sy.confirmation__countdownMobile_er3sy {
|
|
74
74
|
margin-bottom: var(--gap-l);
|
|
75
|
-
} .
|
|
75
|
+
} .confirmation__countdownLoaderMobile_er3sy.confirmation__countdownLoaderMobile_er3sy {
|
|
76
76
|
margin-bottom: var(--gap-m);
|
|
77
|
-
} .
|
|
77
|
+
} .confirmation__getCodeButton_er3sy {
|
|
78
78
|
position: relative;
|
|
79
79
|
top: var(--gap-2xs-neg);
|
|
80
80
|
margin-bottom: var(--gap-m);
|
|
81
|
-
} .
|
|
81
|
+
} .confirmation__getCodeButtonMobile_er3sy {
|
|
82
82
|
margin-bottom: 0;
|
|
83
|
-
} .
|
|
83
|
+
} .confirmation__containerInput_er3sy {
|
|
84
84
|
min-height: 80px;
|
|
85
85
|
}
|
|
@@ -10,6 +10,6 @@ import '@alfalab/hooks';
|
|
|
10
10
|
import '../../../context.js';
|
|
11
11
|
import '../../../utils.js';
|
|
12
12
|
import '../../header/component.js';
|
|
13
|
-
import '../../../countdown-section-
|
|
13
|
+
import '../../../countdown-section-7331d9e5.js';
|
|
14
14
|
import '@alfalab/core-components-button/modern';
|
|
15
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_gl1gu","center":"confirmation__center_gl1gu","typographyTheme":"confirmation__typographyTheme_gl1gu","description":"confirmation__description_gl1gu","countdownWrap":"confirmation__countdownWrap_gl1gu","loader":"confirmation__loader_gl1gu"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
const TempBlock = ({ mobile }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: l66tg */
|
|
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_gl1gu {
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: column;
|
|
37
|
-
} .
|
|
37
|
+
} .confirmation__center_gl1gu {
|
|
38
38
|
align-items: center;
|
|
39
39
|
text-align: center;
|
|
40
|
-
} .
|
|
40
|
+
} .confirmation__typographyTheme_gl1gu.confirmation__typographyTheme_gl1gu {
|
|
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_gl1gu.confirmation__description_gl1gu {
|
|
47
47
|
margin-bottom: var(--gap-xs);
|
|
48
|
-
} .
|
|
48
|
+
} .confirmation__countdownWrap_gl1gu {
|
|
49
49
|
display: flex;
|
|
50
50
|
align-items: center;
|
|
51
|
-
} .
|
|
51
|
+
} .confirmation__loader_gl1gu {
|
|
52
52
|
margin-right: var(--gap-xs);
|
|
53
53
|
}
|
|
@@ -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_er3sy","typographyTheme":"confirmation__typographyTheme_er3sy","phone":"confirmation__phone_er3sy","compact":"confirmation__compact_er3sy","loaderWrap":"confirmation__loaderWrap_er3sy","left":"confirmation__left_er3sy","center":"confirmation__center_er3sy","codeInput":"confirmation__codeInput_er3sy","smsComeLink":"confirmation__smsComeLink_er3sy","countdownContainer":"confirmation__countdownContainer_er3sy","countdownMobile":"confirmation__countdownMobile_er3sy","countdownLoaderMobile":"confirmation__countdownLoaderMobile_er3sy","getCodeButton":"confirmation__getCodeButton_er3sy","getCodeButtonMobile":"confirmation__getCodeButtonMobile_er3sy","containerInput":"confirmation__containerInput_er3sy"};
|
|
10
10
|
require('./components/screens/initial/index.css')
|
|
11
11
|
|
|
12
12
|
const CountdownSection = ({ codeSendHintVisible, timePassed, processing, mobile, handleSmsRetryClick, }) => {
|
|
@@ -12,7 +12,7 @@ import '@alfalab/core-components-code-input/modern/mobile';
|
|
|
12
12
|
import '@alfalab/core-components-link/modern';
|
|
13
13
|
import '@alfalab/core-components-typography/modern';
|
|
14
14
|
import '../components/header/component.js';
|
|
15
|
-
import '../countdown-section-
|
|
15
|
+
import '../countdown-section-7331d9e5.js';
|
|
16
16
|
import '@alfalab/core-components-button/modern';
|
|
17
17
|
import '@alfalab/core-components-spinner/modern';
|
|
18
18
|
import '../components/screens/hint/component.js';
|
package/modern/desktop/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import '@alfalab/core-components-code-input/modern/mobile';
|
|
|
13
13
|
import '@alfalab/core-components-link/modern';
|
|
14
14
|
import '@alfalab/core-components-typography/modern';
|
|
15
15
|
import '../components/header/component.js';
|
|
16
|
-
import '../countdown-section-
|
|
16
|
+
import '../countdown-section-7331d9e5.js';
|
|
17
17
|
import '@alfalab/core-components-button/modern';
|
|
18
18
|
import '@alfalab/core-components-spinner/modern';
|
|
19
19
|
import '../components/screens/hint/component.js';
|
package/modern/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import '@alfalab/core-components-code-input/modern/mobile';
|
|
|
15
15
|
import '@alfalab/core-components-link/modern';
|
|
16
16
|
import '@alfalab/core-components-typography/modern';
|
|
17
17
|
import './components/header/component.js';
|
|
18
|
-
import './countdown-section-
|
|
18
|
+
import './countdown-section-7331d9e5.js';
|
|
19
19
|
import '@alfalab/core-components-button/modern';
|
|
20
20
|
import '@alfalab/core-components-spinner/modern';
|
|
21
21
|
import './components/screens/hint/component.js';
|
|
@@ -12,7 +12,7 @@ import '@alfalab/core-components-code-input/modern/mobile';
|
|
|
12
12
|
import '@alfalab/core-components-link/modern';
|
|
13
13
|
import '@alfalab/core-components-typography/modern';
|
|
14
14
|
import '../components/header/component.js';
|
|
15
|
-
import '../countdown-section-
|
|
15
|
+
import '../countdown-section-7331d9e5.js';
|
|
16
16
|
import '@alfalab/core-components-button/modern';
|
|
17
17
|
import '@alfalab/core-components-spinner/modern';
|
|
18
18
|
import '../components/screens/hint/component.js';
|
|
@@ -20,7 +20,7 @@ import '../components/screens/fatal-error/component.js';
|
|
|
20
20
|
import '../components/screens/temp-block/component.js';
|
|
21
21
|
import '../components/countdown-loader/component.js';
|
|
22
22
|
|
|
23
|
-
const styles = {"container":"
|
|
23
|
+
const styles = {"container":"confirmation__container_10kd0"};
|
|
24
24
|
require('./mobile.css')
|
|
25
25
|
|
|
26
26
|
const ConfirmationMobile = ({ className, ...resProps }) => (React.createElement(BaseConfirmation, { mobile: true, className: cn(className, styles.container), ...resProps }));
|
package/modern/mobile/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import '@alfalab/core-components-code-input/modern/mobile';
|
|
|
13
13
|
import '@alfalab/core-components-link/modern';
|
|
14
14
|
import '@alfalab/core-components-typography/modern';
|
|
15
15
|
import '../components/header/component.js';
|
|
16
|
-
import '../countdown-section-
|
|
16
|
+
import '../countdown-section-7331d9e5.js';
|
|
17
17
|
import '@alfalab/core-components-button/modern';
|
|
18
18
|
import '@alfalab/core-components-spinner/modern';
|
|
19
19
|
import '../components/screens/hint/component.js';
|
package/modern/mobile/mobile.css
CHANGED
package/modern/shared/index.js
CHANGED
|
@@ -15,6 +15,6 @@ import '@alfalab/core-components-link/modern';
|
|
|
15
15
|
import '@alfalab/core-components-typography/modern';
|
|
16
16
|
import '@alfalab/hooks';
|
|
17
17
|
import '../components/header/component.js';
|
|
18
|
-
import '../countdown-section-
|
|
18
|
+
import '../countdown-section-7331d9e5.js';
|
|
19
19
|
import '@alfalab/core-components-button/modern';
|
|
20
20
|
import '@alfalab/core-components-spinner/modern';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-confirmation",
|
|
3
|
-
"version": "13.3.
|
|
3
|
+
"version": "13.3.2",
|
|
4
4
|
"description": "Sms confirmation component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
"directory": "dist"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@alfalab/core-components-button": "^11.
|
|
14
|
+
"@alfalab/core-components-button": "^11.1.1",
|
|
15
15
|
"@alfalab/core-components-code-input": "^3.2.0",
|
|
16
16
|
"@alfalab/core-components-link": "^5.2.0",
|
|
17
17
|
"@alfalab/core-components-spinner": "^3.2.0",
|
|
18
|
-
"@alfalab/core-components-typography": "^4.
|
|
18
|
+
"@alfalab/core-components-typography": "^4.4.0",
|
|
19
19
|
"@alfalab/core-components-mq": "^4.2.0",
|
|
20
20
|
"@alfalab/hooks": "^1.13.0",
|
|
21
21
|
"classnames": "^2.3.1",
|
package/shared/index.js
CHANGED
|
@@ -19,7 +19,7 @@ require('@alfalab/core-components-link');
|
|
|
19
19
|
require('@alfalab/core-components-typography');
|
|
20
20
|
require('@alfalab/hooks');
|
|
21
21
|
require('../components/header/component.js');
|
|
22
|
-
require('../countdown-section-
|
|
22
|
+
require('../countdown-section-bfcf66d3.js');
|
|
23
23
|
require('@alfalab/core-components-button');
|
|
24
24
|
require('@alfalab/core-components-spinner');
|
|
25
25
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|