@alfalab/core-components-confirmation 13.3.4 → 13.3.5
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 +1 -1
- package/components/base-confirmation/index.css +3 -3
- package/components/countdown-loader/component.js +1 -1
- package/components/countdown-loader/index.css +3 -3
- package/components/header/component.js +1 -1
- package/components/header/index.css +5 -5
- package/components/screens/fatal-error/component.js +1 -1
- package/components/screens/fatal-error/index.css +7 -7
- package/components/screens/hint/component.js +1 -1
- package/components/screens/hint/index.css +13 -13
- package/components/screens/initial/component.js +1 -1
- package/components/screens/initial/countdown-section.js +1 -1
- package/components/screens/initial/index.css +18 -18
- package/components/screens/temp-block/component.js +1 -1
- package/components/screens/temp-block/index.css +8 -8
- package/{countdown-section-2c4aa56c.js → countdown-section-0d14ca9c.js} +1 -1
- package/cssm/components/base-confirmation/index.module.css +1 -1
- package/cssm/components/countdown-loader/index.module.css +1 -1
- package/cssm/components/header/index.module.css +1 -1
- package/cssm/components/screens/fatal-error/index.module.css +1 -1
- package/cssm/components/screens/hint/index.module.css +1 -1
- package/cssm/components/screens/initial/index.module.css +1 -1
- package/cssm/components/screens/temp-block/index.module.css +1 -1
- package/cssm/vars.css +1 -1
- package/esm/components/base-confirmation/component.js +1 -1
- package/esm/components/base-confirmation/index.css +3 -3
- package/esm/components/countdown-loader/component.js +1 -1
- package/esm/components/countdown-loader/index.css +3 -3
- package/esm/components/header/component.js +1 -1
- package/esm/components/header/index.css +5 -5
- 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 +1 -1
- package/esm/components/screens/hint/index.css +13 -13
- package/esm/components/screens/initial/component.js +1 -1
- package/esm/components/screens/initial/countdown-section.js +1 -1
- package/esm/components/screens/initial/index.css +18 -18
- package/esm/components/screens/temp-block/component.js +1 -1
- package/esm/components/screens/temp-block/index.css +8 -8
- package/esm/{countdown-section-b6b1777c.js → countdown-section-b671a460.js} +1 -1
- package/esm/mobile/component.mobile.js +1 -1
- package/esm/mobile/mobile.css +2 -2
- package/mobile/component.mobile.js +1 -1
- package/mobile/mobile.css +2 -2
- package/modern/components/base-confirmation/component.js +1 -1
- package/modern/components/base-confirmation/index.css +3 -3
- package/modern/components/countdown-loader/component.js +1 -1
- package/modern/components/countdown-loader/index.css +3 -3
- package/modern/components/header/component.js +1 -1
- package/modern/components/header/index.css +5 -5
- 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 +1 -1
- package/modern/components/screens/hint/index.css +13 -13
- 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 +18 -18
- package/modern/components/screens/temp-block/component.js +1 -1
- package/modern/components/screens/temp-block/index.css +8 -8
- package/modern/{countdown-section-dbc9c917.js → countdown-section-29121ff7.js} +1 -1
- package/modern/mobile/component.mobile.js +1 -1
- package/modern/mobile/mobile.css +2 -2
- package/package.json +3 -3
- /package/{countdown-section-2c4aa56c.d.ts → countdown-section-0d14ca9c.d.ts} +0 -0
- /package/esm/{countdown-section-b6b1777c.d.ts → countdown-section-b671a460.d.ts} +0 -0
- /package/modern/{countdown-section-dbc9c917.d.ts → countdown-section-29121ff7.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-29121ff7.js';
|
|
12
12
|
|
|
13
13
|
const CODE_SEND_HINT_VISIBLE_DURATION = 2000;
|
|
14
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-29121ff7.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
:root {
|
|
1
|
+
/* hash: 1txan */
|
|
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: #0e0e0e;
|
|
5
5
|
--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 */
|
|
@@ -37,49 +37,49 @@
|
|
|
37
37
|
--confirmation-text-color: var(--color-light-text-primary)
|
|
38
38
|
|
|
39
39
|
/* header */
|
|
40
|
-
} .
|
|
40
|
+
} .confirmation__component_1aoq4 {
|
|
41
41
|
display: flex;
|
|
42
42
|
flex-direction: column;
|
|
43
|
-
} .
|
|
43
|
+
} .confirmation__typographyTheme_1aoq4.confirmation__typographyTheme_1aoq4 {
|
|
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_1aoq4.confirmation__phone_1aoq4 {
|
|
50
50
|
color: var(--color-light-text-primary);
|
|
51
51
|
margin-bottom: var(--gap-2xl);
|
|
52
|
-
} .
|
|
52
|
+
} .confirmation__compact_1aoq4 {
|
|
53
53
|
margin-bottom: var(--gap-xl);
|
|
54
|
-
} .
|
|
54
|
+
} .confirmation__loaderWrap_1aoq4 {
|
|
55
55
|
display: flex;
|
|
56
56
|
align-items: center;
|
|
57
|
-
} .
|
|
57
|
+
} .confirmation__left_1aoq4 {
|
|
58
58
|
align-items: flex-start;
|
|
59
|
-
} .
|
|
59
|
+
} .confirmation__center_1aoq4 {
|
|
60
60
|
align-items: center;
|
|
61
61
|
text-align: center
|
|
62
|
-
} .
|
|
62
|
+
} .confirmation__center_1aoq4 .confirmation__loaderWrap_1aoq4 {
|
|
63
63
|
justify-content: center;
|
|
64
|
-
} .
|
|
64
|
+
} .confirmation__codeInput_1aoq4 {
|
|
65
65
|
margin-bottom: var(--gap-s);
|
|
66
|
-
} .
|
|
66
|
+
} .confirmation__smsComeLink_1aoq4.confirmation__smsComeLink_1aoq4 {
|
|
67
67
|
font-size: 14px;
|
|
68
68
|
line-height: 20px;
|
|
69
69
|
font-weight: 500;
|
|
70
|
-
} .
|
|
70
|
+
} .confirmation__countdownContainer_1aoq4.confirmation__countdownContainer_1aoq4 {
|
|
71
71
|
color: var(--color-light-text-secondary);
|
|
72
72
|
margin-bottom: var(--gap-xl);
|
|
73
|
-
} .
|
|
73
|
+
} .confirmation__countdownMobile_1aoq4.confirmation__countdownMobile_1aoq4 {
|
|
74
74
|
margin-bottom: var(--gap-l);
|
|
75
|
-
} .
|
|
75
|
+
} .confirmation__countdownLoaderMobile_1aoq4.confirmation__countdownLoaderMobile_1aoq4 {
|
|
76
76
|
margin-bottom: var(--gap-m);
|
|
77
|
-
} .
|
|
77
|
+
} .confirmation__getCodeButton_1aoq4 {
|
|
78
78
|
position: relative;
|
|
79
79
|
top: var(--gap-2xs-neg);
|
|
80
80
|
margin-bottom: var(--gap-m);
|
|
81
|
-
} .
|
|
81
|
+
} .confirmation__getCodeButtonMobile_1aoq4 {
|
|
82
82
|
margin-bottom: 0;
|
|
83
|
-
} .
|
|
83
|
+
} .confirmation__containerInput_1aoq4 {
|
|
84
84
|
min-height: 80px;
|
|
85
85
|
}
|
|
@@ -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_1ubrn","center":"confirmation__center_1ubrn","typographyTheme":"confirmation__typographyTheme_1ubrn","description":"confirmation__description_1ubrn","countdownWrap":"confirmation__countdownWrap_1ubrn","loader":"confirmation__loader_1ubrn"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
const TempBlock = ({ mobile }) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
:root {
|
|
1
|
+
/* hash: 5c4xs */
|
|
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: #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 */
|
|
5
5
|
} :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 */
|
|
@@ -31,23 +31,23 @@
|
|
|
31
31
|
--confirmation-text-color: var(--color-light-text-primary)
|
|
32
32
|
|
|
33
33
|
/* header */
|
|
34
|
-
} .
|
|
34
|
+
} .confirmation__component_1ubrn {
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: column;
|
|
37
|
-
} .
|
|
37
|
+
} .confirmation__center_1ubrn {
|
|
38
38
|
align-items: center;
|
|
39
39
|
text-align: center;
|
|
40
|
-
} .
|
|
40
|
+
} .confirmation__typographyTheme_1ubrn.confirmation__typographyTheme_1ubrn {
|
|
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_1ubrn.confirmation__description_1ubrn {
|
|
47
47
|
margin-bottom: var(--gap-xs);
|
|
48
|
-
} .
|
|
48
|
+
} .confirmation__countdownWrap_1ubrn {
|
|
49
49
|
display: flex;
|
|
50
50
|
align-items: center;
|
|
51
|
-
} .
|
|
51
|
+
} .confirmation__loader_1ubrn {
|
|
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_1aoq4","typographyTheme":"confirmation__typographyTheme_1aoq4","phone":"confirmation__phone_1aoq4","compact":"confirmation__compact_1aoq4","loaderWrap":"confirmation__loaderWrap_1aoq4","left":"confirmation__left_1aoq4","center":"confirmation__center_1aoq4","codeInput":"confirmation__codeInput_1aoq4","smsComeLink":"confirmation__smsComeLink_1aoq4","countdownContainer":"confirmation__countdownContainer_1aoq4","countdownMobile":"confirmation__countdownMobile_1aoq4","countdownLoaderMobile":"confirmation__countdownLoaderMobile_1aoq4","getCodeButton":"confirmation__getCodeButton_1aoq4","getCodeButtonMobile":"confirmation__getCodeButtonMobile_1aoq4","containerInput":"confirmation__containerInput_1aoq4"};
|
|
10
10
|
require('./components/screens/initial/index.css')
|
|
11
11
|
|
|
12
12
|
const CountdownSection = ({ codeSendHintVisible, timePassed, processing, mobile, handleSmsRetryClick, }) => {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { BaseConfirmation } from '../components/base-confirmation/component.js';
|
|
4
4
|
|
|
5
|
-
const styles = {"container":"
|
|
5
|
+
const styles = {"container":"confirmation__container_1vs3c"};
|
|
6
6
|
require('./mobile.css')
|
|
7
7
|
|
|
8
8
|
const ConfirmationMobile = ({ className, ...resProps }) => (React.createElement(BaseConfirmation, { mobile: true, className: cn(className, styles.container), ...resProps }));
|
package/modern/mobile/mobile.css
CHANGED
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.5",
|
|
4
4
|
"description": "Sms confirmation component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
"directory": "dist"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@alfalab/core-components-button": "^11.
|
|
14
|
+
"@alfalab/core-components-button": "^11.3.0",
|
|
15
15
|
"@alfalab/core-components-code-input": "^3.2.0",
|
|
16
16
|
"@alfalab/core-components-link": "^5.2.0",
|
|
17
|
-
"@alfalab/core-components-spinner": "^3.
|
|
17
|
+
"@alfalab/core-components-spinner": "^3.3.0",
|
|
18
18
|
"@alfalab/core-components-typography": "^4.5.0",
|
|
19
19
|
"@alfalab/core-components-mq": "^4.2.0",
|
|
20
20
|
"@alfalab/hooks": "^1.13.0",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|