@alfalab/core-components-confirmation 13.5.1 → 13.5.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/components/base-confirmation/component.js +1 -1
- 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/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 +19 -19
- package/components/screens/temp-block/component.js +1 -1
- package/components/screens/temp-block/index.css +8 -8
- package/{countdown-section-7f7c287b.js → countdown-section-62dc9b1b.js} +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/esm/components/base-confirmation/component.js +1 -1
- 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/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 +19 -19
- package/esm/components/screens/temp-block/component.js +1 -1
- package/esm/components/screens/temp-block/index.css +8 -8
- package/esm/{countdown-section-9d180970.js → countdown-section-62c5863f.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 +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/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 +19 -19
- package/modern/components/screens/temp-block/component.js +1 -1
- package/modern/components/screens/temp-block/index.css +8 -8
- package/modern/{countdown-section-c4e32e68.js → countdown-section-6ca560c4.js} +1 -1
- package/modern/mobile/component.mobile.js +1 -1
- package/modern/mobile/mobile.css +2 -2
- package/package.json +2 -2
- /package/{countdown-section-7f7c287b.d.ts → countdown-section-62dc9b1b.d.ts} +0 -0
- /package/esm/{countdown-section-9d180970.d.ts → countdown-section-62c5863f.d.ts} +0 -0
- /package/modern/{countdown-section-c4e32e68.d.ts → countdown-section-6ca560c4.d.ts} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: wm3mw */
|
|
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
|
-
--color-light-text-primary:
|
|
4
|
+
--color-light-text-primary: rgba(3, 3, 6, 0.88);
|
|
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 */
|
|
6
6
|
} :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 */
|
|
7
7
|
} :root {
|
|
@@ -38,51 +38,51 @@
|
|
|
38
38
|
--confirmation-text-color: var(--color-light-text-primary)
|
|
39
39
|
|
|
40
40
|
/* header */
|
|
41
|
-
} .
|
|
41
|
+
} .confirmation__component_lgrp2 {
|
|
42
42
|
display: flex;
|
|
43
43
|
flex-direction: column;
|
|
44
|
-
} .
|
|
44
|
+
} .confirmation__typographyTheme_lgrp2.confirmation__typographyTheme_lgrp2 {
|
|
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_lgrp2.confirmation__phone_lgrp2 {
|
|
51
51
|
color: var(--color-light-text-primary);
|
|
52
52
|
margin-bottom: var(--gap-2xl);
|
|
53
|
-
} .
|
|
53
|
+
} .confirmation__compact_lgrp2 {
|
|
54
54
|
margin-bottom: var(--gap-xl);
|
|
55
|
-
} .
|
|
55
|
+
} .confirmation__loaderWrap_lgrp2 {
|
|
56
56
|
display: flex;
|
|
57
57
|
align-items: center;
|
|
58
|
-
} .
|
|
58
|
+
} .confirmation__left_lgrp2 {
|
|
59
59
|
align-items: flex-start;
|
|
60
|
-
} .
|
|
60
|
+
} .confirmation__center_lgrp2 {
|
|
61
61
|
align-items: center;
|
|
62
62
|
text-align: center
|
|
63
|
-
} .
|
|
63
|
+
} .confirmation__center_lgrp2 .confirmation__loaderWrap_lgrp2 {
|
|
64
64
|
justify-content: center;
|
|
65
|
-
} .
|
|
65
|
+
} .confirmation__codeInput_lgrp2 {
|
|
66
66
|
margin-bottom: var(--gap-s);
|
|
67
|
-
} .
|
|
67
|
+
} .confirmation__smsBtn_lgrp2.confirmation__smsBtn_lgrp2 {
|
|
68
68
|
min-height: var(--size-xs-height);
|
|
69
|
-
} .
|
|
69
|
+
} .confirmation__smsComeLink_lgrp2.confirmation__smsComeLink_lgrp2 {
|
|
70
70
|
font-size: 14px;
|
|
71
71
|
line-height: 20px;
|
|
72
72
|
font-weight: 500;
|
|
73
|
-
} .
|
|
73
|
+
} .confirmation__countdownContainer_lgrp2.confirmation__countdownContainer_lgrp2 {
|
|
74
74
|
color: var(--color-light-text-secondary);
|
|
75
75
|
margin-bottom: var(--gap-xl);
|
|
76
|
-
} .
|
|
76
|
+
} .confirmation__countdownMobile_lgrp2.confirmation__countdownMobile_lgrp2 {
|
|
77
77
|
margin-bottom: var(--gap-l);
|
|
78
|
-
} .
|
|
78
|
+
} .confirmation__countdownLoaderMobile_lgrp2.confirmation__countdownLoaderMobile_lgrp2 {
|
|
79
79
|
margin-bottom: var(--gap-m);
|
|
80
|
-
} .
|
|
80
|
+
} .confirmation__getCodeButton_lgrp2 {
|
|
81
81
|
position: relative;
|
|
82
82
|
top: var(--gap-2xs-neg);
|
|
83
83
|
margin-bottom: var(--gap-m);
|
|
84
|
-
} .
|
|
84
|
+
} .confirmation__getCodeButtonMobile_lgrp2 {
|
|
85
85
|
margin-bottom: 0;
|
|
86
|
-
} .
|
|
86
|
+
} .confirmation__containerInput_lgrp2 {
|
|
87
87
|
min-height: 80px;
|
|
88
88
|
}
|
|
@@ -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_153t7","center":"confirmation__center_153t7","typographyTheme":"confirmation__typographyTheme_153t7","description":"confirmation__description_153t7","countdownWrap":"confirmation__countdownWrap_153t7","loader":"confirmation__loader_153t7"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
const TempBlock = ({ mobile }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: r69i7 */
|
|
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
|
-
--color-light-text-primary:
|
|
4
|
+
--color-light-text-primary: rgba(3, 3, 6, 0.88); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* 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 */
|
|
6
6
|
} :root {
|
|
7
7
|
} :root {
|
|
@@ -31,23 +31,23 @@
|
|
|
31
31
|
--confirmation-text-color: var(--color-light-text-primary)
|
|
32
32
|
|
|
33
33
|
/* header */
|
|
34
|
-
} .
|
|
34
|
+
} .confirmation__component_153t7 {
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: column;
|
|
37
|
-
} .
|
|
37
|
+
} .confirmation__center_153t7 {
|
|
38
38
|
align-items: center;
|
|
39
39
|
text-align: center;
|
|
40
|
-
} .
|
|
40
|
+
} .confirmation__typographyTheme_153t7.confirmation__typographyTheme_153t7 {
|
|
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_153t7.confirmation__description_153t7 {
|
|
47
47
|
margin-bottom: var(--gap-xs);
|
|
48
|
-
} .
|
|
48
|
+
} .confirmation__countdownWrap_153t7 {
|
|
49
49
|
display: flex;
|
|
50
50
|
align-items: center;
|
|
51
|
-
} .
|
|
51
|
+
} .confirmation__loader_153t7 {
|
|
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_lgrp2","typographyTheme":"confirmation__typographyTheme_lgrp2","phone":"confirmation__phone_lgrp2","compact":"confirmation__compact_lgrp2","loaderWrap":"confirmation__loaderWrap_lgrp2","left":"confirmation__left_lgrp2","center":"confirmation__center_lgrp2","codeInput":"confirmation__codeInput_lgrp2","smsBtn":"confirmation__smsBtn_lgrp2","smsComeLink":"confirmation__smsComeLink_lgrp2","countdownContainer":"confirmation__countdownContainer_lgrp2","countdownMobile":"confirmation__countdownMobile_lgrp2","countdownLoaderMobile":"confirmation__countdownLoaderMobile_lgrp2","getCodeButton":"confirmation__getCodeButton_lgrp2","getCodeButtonMobile":"confirmation__getCodeButtonMobile_lgrp2","containerInput":"confirmation__containerInput_lgrp2"};
|
|
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_ep41m"};
|
|
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.5.
|
|
3
|
+
"version": "13.5.2",
|
|
4
4
|
"description": "Sms confirmation component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"directory": "dist"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@alfalab/core-components-button": "^11.4.
|
|
14
|
+
"@alfalab/core-components-button": "^11.4.2",
|
|
15
15
|
"@alfalab/core-components-code-input": "^3.3.0",
|
|
16
16
|
"@alfalab/core-components-link": "^5.2.1",
|
|
17
17
|
"@alfalab/core-components-spinner": "^3.3.0",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|