@alfalab/core-components-confirmation 12.4.8 → 12.4.9
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.desktop.js +1 -1
- package/component.mobile.js +2 -2
- 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 +18 -18
- 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-bda43975.d.ts → countdown-section-784df003.d.ts} +0 -0
- package/{countdown-section-bda43975.js → countdown-section-784df003.js} +1 -1
- package/desktop.js +1 -1
- package/esm/component.desktop.js +1 -1
- package/esm/component.mobile.js +2 -2
- 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 +18 -18
- 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-6eb66678.d.ts → countdown-section-b5a76e1e.d.ts} +0 -0
- package/esm/{countdown-section-6eb66678.js → countdown-section-b5a76e1e.js} +1 -1
- package/esm/desktop.js +1 -1
- package/esm/index.js +1 -1
- package/esm/mobile.css +2 -2
- package/esm/mobile.js +1 -1
- package/esm/responsive.js +1 -1
- package/index.js +1 -1
- package/mobile.css +2 -2
- package/mobile.js +1 -1
- package/modern/component.desktop.js +1 -1
- package/modern/component.mobile.js +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 +18 -18
- 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-f17bf1df.d.ts → countdown-section-3ccbe0d1.d.ts} +0 -0
- package/modern/{countdown-section-f17bf1df.js → countdown-section-3ccbe0d1.js} +1 -1
- package/modern/desktop.js +1 -1
- package/modern/index.js +1 -1
- package/modern/mobile.css +2 -2
- package/modern/mobile.js +1 -1
- package/modern/responsive.js +1 -1
- package/package.json +2 -2
- package/responsive.js +1 -1
|
@@ -7,7 +7,7 @@ import { Typography } from '@alfalab/core-components-typography/modern';
|
|
|
7
7
|
import { usePrevious } from '@alfalab/hooks';
|
|
8
8
|
import { ConfirmationContext } from '../../../context.js';
|
|
9
9
|
import { Header } from '../../header/component.js';
|
|
10
|
-
import { s as styles, C as CountdownSection } from '../../../countdown-section-
|
|
10
|
+
import { s as styles, C as CountdownSection } from '../../../countdown-section-3ccbe0d1.js';
|
|
11
11
|
import '../../../utils.js';
|
|
12
12
|
import '@alfalab/core-components-loader/modern';
|
|
13
13
|
|
|
@@ -5,4 +5,4 @@ import '@alfalab/core-components-loader/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-3ccbe0d1.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: fi51q */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-primary: #0b1f35;
|
|
@@ -38,51 +38,51 @@
|
|
|
38
38
|
--confirmation-text-color: var(--color-light-text-primary)
|
|
39
39
|
|
|
40
40
|
/* header */
|
|
41
|
-
} .
|
|
41
|
+
} .confirmation__component_gszlg {
|
|
42
42
|
display: flex;
|
|
43
43
|
flex-direction: column;
|
|
44
|
-
} .
|
|
44
|
+
} .confirmation__typographyTheme_gszlg.confirmation__typographyTheme_gszlg {
|
|
45
45
|
font-size: var(--confirmation-text-font-size);
|
|
46
46
|
line-height: var(--confirmation-text-line-height);
|
|
47
47
|
font-weight: var(--confirmation-text-font-weight);
|
|
48
48
|
font-family: var(--confirmation-text-font-family);
|
|
49
49
|
color: var(--confirmation-text-color);
|
|
50
|
-
} .
|
|
50
|
+
} .confirmation__phone_gszlg.confirmation__phone_gszlg {
|
|
51
51
|
color: var(--color-light-text-primary);
|
|
52
52
|
margin-bottom: var(--gap-2xl);
|
|
53
|
-
} .
|
|
53
|
+
} .confirmation__compact_gszlg {
|
|
54
54
|
margin-bottom: var(--gap-xl);
|
|
55
|
-
} .
|
|
55
|
+
} .confirmation__loaderWrap_gszlg {
|
|
56
56
|
display: flex;
|
|
57
57
|
align-items: center;
|
|
58
|
-
} .
|
|
58
|
+
} .confirmation__left_gszlg {
|
|
59
59
|
align-items: flex-start;
|
|
60
|
-
} .
|
|
60
|
+
} .confirmation__center_gszlg {
|
|
61
61
|
align-items: center;
|
|
62
62
|
text-align: center
|
|
63
|
-
} .
|
|
63
|
+
} .confirmation__center_gszlg .confirmation__loaderWrap_gszlg {
|
|
64
64
|
justify-content: center;
|
|
65
|
-
} .
|
|
65
|
+
} .confirmation__center_gszlg input {
|
|
66
66
|
margin: 0 var(--gap-2xs);
|
|
67
|
-
} .
|
|
67
|
+
} .confirmation__codeInput_gszlg {
|
|
68
68
|
margin-bottom: var(--gap-s);
|
|
69
|
-
} .
|
|
69
|
+
} .confirmation__smsComeLink_gszlg.confirmation__smsComeLink_gszlg {
|
|
70
70
|
font-size: 14px;
|
|
71
71
|
line-height: 20px;
|
|
72
72
|
font-weight: 500;
|
|
73
|
-
} .
|
|
73
|
+
} .confirmation__countdownContainer_gszlg.confirmation__countdownContainer_gszlg {
|
|
74
74
|
color: var(--color-light-text-secondary);
|
|
75
75
|
margin-bottom: var(--gap-xl);
|
|
76
|
-
} .
|
|
76
|
+
} .confirmation__countdownMobile_gszlg.confirmation__countdownMobile_gszlg {
|
|
77
77
|
margin-bottom: var(--gap-l);
|
|
78
|
-
} .
|
|
78
|
+
} .confirmation__countdownLoaderMobile_gszlg.confirmation__countdownLoaderMobile_gszlg {
|
|
79
79
|
margin-bottom: var(--gap-m);
|
|
80
|
-
} .
|
|
80
|
+
} .confirmation__getCodeButton_gszlg {
|
|
81
81
|
position: relative;
|
|
82
82
|
top: var(--gap-2xs-neg);
|
|
83
83
|
margin-bottom: var(--gap-m);
|
|
84
|
-
} .
|
|
84
|
+
} .confirmation__getCodeButtonMobile_gszlg {
|
|
85
85
|
margin-bottom: 0;
|
|
86
|
-
} .
|
|
86
|
+
} .confirmation__containerInput_gszlg {
|
|
87
87
|
min-height: 80px;
|
|
88
88
|
}
|
|
@@ -9,5 +9,5 @@ import '@alfalab/hooks';
|
|
|
9
9
|
import '../../../context.js';
|
|
10
10
|
import '../../../utils.js';
|
|
11
11
|
import '../../header/component.js';
|
|
12
|
-
import '../../../countdown-section-
|
|
12
|
+
import '../../../countdown-section-3ccbe0d1.js';
|
|
13
13
|
import '@alfalab/core-components-loader/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_1sik8","center":"confirmation__center_1sik8","typographyTheme":"confirmation__typographyTheme_1sik8","description":"confirmation__description_1sik8","countdownWrap":"confirmation__countdownWrap_1sik8","loader":"confirmation__loader_1sik8"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
const TempBlock = ({ mobile }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: a2ax1 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-primary: #0b1f35;
|
|
@@ -31,23 +31,23 @@
|
|
|
31
31
|
--confirmation-text-color: var(--color-light-text-primary)
|
|
32
32
|
|
|
33
33
|
/* header */
|
|
34
|
-
} .
|
|
34
|
+
} .confirmation__component_1sik8 {
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: column;
|
|
37
|
-
} .
|
|
37
|
+
} .confirmation__center_1sik8 {
|
|
38
38
|
align-items: center;
|
|
39
39
|
text-align: center;
|
|
40
|
-
} .
|
|
40
|
+
} .confirmation__typographyTheme_1sik8.confirmation__typographyTheme_1sik8 {
|
|
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_1sik8.confirmation__description_1sik8 {
|
|
47
47
|
margin-bottom: var(--gap-xs);
|
|
48
|
-
} .
|
|
48
|
+
} .confirmation__countdownWrap_1sik8 {
|
|
49
49
|
display: flex;
|
|
50
50
|
align-items: center;
|
|
51
|
-
} .
|
|
51
|
+
} .confirmation__loader_1sik8 {
|
|
52
52
|
margin-right: var(--gap-xs);
|
|
53
53
|
}
|
|
File without changes
|
|
@@ -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_gszlg","typographyTheme":"confirmation__typographyTheme_gszlg","phone":"confirmation__phone_gszlg","compact":"confirmation__compact_gszlg","loaderWrap":"confirmation__loaderWrap_gszlg","left":"confirmation__left_gszlg","center":"confirmation__center_gszlg","codeInput":"confirmation__codeInput_gszlg","smsComeLink":"confirmation__smsComeLink_gszlg","countdownContainer":"confirmation__countdownContainer_gszlg","countdownMobile":"confirmation__countdownMobile_gszlg","countdownLoaderMobile":"confirmation__countdownLoaderMobile_gszlg","getCodeButton":"confirmation__getCodeButton_gszlg","getCodeButtonMobile":"confirmation__getCodeButtonMobile_gszlg","containerInput":"confirmation__containerInput_gszlg"};
|
|
10
10
|
require('./components/screens/initial/index.css')
|
|
11
11
|
|
|
12
12
|
const CountdownSection = ({ codeSendHintVisible, timePassed, processing, mobile, handleSmsRetryClick, }) => {
|
package/modern/desktop.js
CHANGED
|
@@ -12,7 +12,7 @@ import '@alfalab/core-components-code-input/modern';
|
|
|
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-3ccbe0d1.js';
|
|
16
16
|
import '@alfalab/core-components-loader/modern';
|
|
17
17
|
import './components/screens/hint/component.js';
|
|
18
18
|
import './components/screens/fatal-error/component.js';
|
package/modern/index.js
CHANGED
|
@@ -17,6 +17,6 @@ import '@alfalab/core-components-code-input/modern';
|
|
|
17
17
|
import '@alfalab/core-components-link/modern';
|
|
18
18
|
import '@alfalab/core-components-typography/modern';
|
|
19
19
|
import './components/header/component.js';
|
|
20
|
-
import './countdown-section-
|
|
20
|
+
import './countdown-section-3ccbe0d1.js';
|
|
21
21
|
import '@alfalab/core-components-loader/modern';
|
|
22
22
|
import './component.mobile.js';
|
package/modern/mobile.css
CHANGED
package/modern/mobile.js
CHANGED
|
@@ -12,7 +12,7 @@ import '@alfalab/core-components-code-input/modern';
|
|
|
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-3ccbe0d1.js';
|
|
16
16
|
import '@alfalab/core-components-loader/modern';
|
|
17
17
|
import './components/screens/hint/component.js';
|
|
18
18
|
import './components/screens/fatal-error/component.js';
|
package/modern/responsive.js
CHANGED
|
@@ -13,7 +13,7 @@ import '@alfalab/core-components-code-input/modern';
|
|
|
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-3ccbe0d1.js';
|
|
17
17
|
import '@alfalab/core-components-loader/modern';
|
|
18
18
|
import './components/screens/hint/component.js';
|
|
19
19
|
import './components/screens/fatal-error/component.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-confirmation",
|
|
3
|
-
"version": "12.4.
|
|
3
|
+
"version": "12.4.9",
|
|
4
4
|
"description": "Sms confirmation component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@alfalab/core-components-code-input": "^2.3.2",
|
|
19
19
|
"@alfalab/core-components-link": "^5.0.3",
|
|
20
20
|
"@alfalab/core-components-loader": "^3.0.5",
|
|
21
|
-
"@alfalab/core-components-typography": "^3.
|
|
21
|
+
"@alfalab/core-components-typography": "^3.2.0",
|
|
22
22
|
"@alfalab/hooks": "^1.4.1",
|
|
23
23
|
"@alfalab/icons-glyph": "^2.89.0",
|
|
24
24
|
"@alfalab/utils": "^1.13.3",
|
package/responsive.js
CHANGED
|
@@ -16,7 +16,7 @@ require('@alfalab/core-components-code-input');
|
|
|
16
16
|
require('@alfalab/core-components-link');
|
|
17
17
|
require('@alfalab/core-components-typography');
|
|
18
18
|
require('./components/header/component.js');
|
|
19
|
-
require('./countdown-section-
|
|
19
|
+
require('./countdown-section-784df003.js');
|
|
20
20
|
require('@alfalab/core-components-loader');
|
|
21
21
|
require('./components/screens/hint/component.js');
|
|
22
22
|
require('./components/screens/fatal-error/component.js');
|