@alfalab/core-components-confirmation 13.2.1 → 13.2.3
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 +4 -4
- 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-366a6558.js → countdown-section-c3df4486.js} +1 -1
- package/cssm/component.responsive.js +4 -4
- package/{component.desktop.d.ts → cssm/desktop/component.desktop.d.ts} +1 -1
- package/cssm/{component.desktop.js → desktop/component.desktop.js} +18 -18
- package/cssm/desktop/index.d.ts +1 -1
- package/cssm/desktop/index.js +2 -2
- package/cssm/index.js +3 -3
- package/{esm → cssm/mobile}/component.mobile.d.ts +1 -1
- package/cssm/{component.mobile.js → mobile/component.mobile.js} +18 -18
- package/cssm/mobile/index.d.ts +1 -1
- package/cssm/mobile/index.js +3 -3
- package/{esm → desktop}/component.desktop.d.ts +1 -1
- package/{component.desktop.js → desktop/component.desktop.js} +11 -11
- package/desktop/index.d.ts +1 -1
- package/desktop/index.js +3 -3
- package/esm/component.responsive.js +3 -3
- 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-a52bd3ee.js → countdown-section-7359cc39.js} +1 -1
- package/{modern → esm/desktop}/component.desktop.d.ts +1 -1
- package/esm/{component.desktop.js → desktop/component.desktop.js} +11 -11
- package/esm/desktop/index.d.ts +1 -1
- package/esm/desktop/index.js +2 -2
- package/esm/index.js +3 -3
- package/{cssm → esm/mobile}/component.mobile.d.ts +1 -1
- package/esm/{component.mobile.js → mobile/component.mobile.js} +12 -12
- package/esm/mobile/index.d.ts +1 -1
- package/esm/mobile/index.js +2 -2
- package/esm/mobile/mobile.css +4 -0
- package/esm/shared/index.js +1 -1
- package/index.js +3 -3
- package/{component.mobile.d.ts → mobile/component.mobile.d.ts} +1 -1
- package/{component.mobile.js → mobile/component.mobile.js} +12 -12
- package/mobile/index.d.ts +1 -1
- package/mobile/index.js +3 -3
- package/mobile/mobile.css +4 -0
- package/modern/component.responsive.js +3 -3
- 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-da2679e3.js → countdown-section-afd7b569.js} +1 -1
- package/{cssm → modern/desktop}/component.desktop.d.ts +1 -1
- package/modern/{component.desktop.js → desktop/component.desktop.js} +11 -11
- package/modern/desktop/index.d.ts +1 -1
- package/modern/desktop/index.js +2 -2
- package/modern/index.js +3 -3
- package/modern/{component.mobile.d.ts → mobile/component.mobile.d.ts} +1 -1
- package/modern/{component.mobile.js → mobile/component.mobile.js} +12 -12
- package/modern/mobile/index.d.ts +1 -1
- package/modern/mobile/index.js +2 -2
- package/modern/mobile/mobile.css +4 -0
- package/modern/shared/index.js +1 -1
- package/package.json +3 -3
- package/shared/index.js +1 -1
- package/src/component.responsive.tsx +2 -2
- package/src/{component.desktop.tsx → desktop/component.desktop.tsx} +2 -2
- package/src/desktop/index.ts +1 -1
- package/src/{component.mobile.tsx → mobile/component.mobile.tsx} +2 -2
- package/src/mobile/index.ts +1 -1
- package/esm/mobile.css +0 -4
- package/mobile.css +0 -4
- package/modern/mobile.css +0 -4
- /package/{countdown-section-366a6558.d.ts → countdown-section-c3df4486.d.ts} +0 -0
- /package/cssm/{mobile.module.css → mobile/mobile.module.css} +0 -0
- /package/esm/{countdown-section-a52bd3ee.d.ts → countdown-section-7359cc39.d.ts} +0 -0
- /package/modern/{countdown-section-da2679e3.d.ts → countdown-section-afd7b569.d.ts} +0 -0
- /package/src/{mobile.module.css → mobile/mobile.module.css} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: igodk */
|
|
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_y4if3 {
|
|
41
41
|
display: flex;
|
|
42
42
|
flex-direction: column;
|
|
43
|
-
} .
|
|
43
|
+
} .confirmation__typographyTheme_y4if3.confirmation__typographyTheme_y4if3 {
|
|
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_y4if3.confirmation__phone_y4if3 {
|
|
50
50
|
color: var(--color-light-text-primary);
|
|
51
51
|
margin-bottom: var(--gap-2xl);
|
|
52
|
-
} .
|
|
52
|
+
} .confirmation__compact_y4if3 {
|
|
53
53
|
margin-bottom: var(--gap-xl);
|
|
54
|
-
} .
|
|
54
|
+
} .confirmation__loaderWrap_y4if3 {
|
|
55
55
|
display: flex;
|
|
56
56
|
align-items: center;
|
|
57
|
-
} .
|
|
57
|
+
} .confirmation__left_y4if3 {
|
|
58
58
|
align-items: flex-start;
|
|
59
|
-
} .
|
|
59
|
+
} .confirmation__center_y4if3 {
|
|
60
60
|
align-items: center;
|
|
61
61
|
text-align: center
|
|
62
|
-
} .
|
|
62
|
+
} .confirmation__center_y4if3 .confirmation__loaderWrap_y4if3 {
|
|
63
63
|
justify-content: center;
|
|
64
|
-
} .
|
|
64
|
+
} .confirmation__codeInput_y4if3 {
|
|
65
65
|
margin-bottom: var(--gap-s);
|
|
66
|
-
} .
|
|
66
|
+
} .confirmation__smsComeLink_y4if3.confirmation__smsComeLink_y4if3 {
|
|
67
67
|
font-size: 14px;
|
|
68
68
|
line-height: 20px;
|
|
69
69
|
font-weight: 500;
|
|
70
|
-
} .
|
|
70
|
+
} .confirmation__countdownContainer_y4if3.confirmation__countdownContainer_y4if3 {
|
|
71
71
|
color: var(--color-light-text-secondary);
|
|
72
72
|
margin-bottom: var(--gap-xl);
|
|
73
|
-
} .
|
|
73
|
+
} .confirmation__countdownMobile_y4if3.confirmation__countdownMobile_y4if3 {
|
|
74
74
|
margin-bottom: var(--gap-l);
|
|
75
|
-
} .
|
|
75
|
+
} .confirmation__countdownLoaderMobile_y4if3.confirmation__countdownLoaderMobile_y4if3 {
|
|
76
76
|
margin-bottom: var(--gap-m);
|
|
77
|
-
} .
|
|
77
|
+
} .confirmation__getCodeButton_y4if3 {
|
|
78
78
|
position: relative;
|
|
79
79
|
top: var(--gap-2xs-neg);
|
|
80
80
|
margin-bottom: var(--gap-m);
|
|
81
|
-
} .
|
|
81
|
+
} .confirmation__getCodeButtonMobile_y4if3 {
|
|
82
82
|
margin-bottom: 0;
|
|
83
|
-
} .
|
|
83
|
+
} .confirmation__containerInput_y4if3 {
|
|
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-afd7b569.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_11zt0","center":"confirmation__center_11zt0","typographyTheme":"confirmation__typographyTheme_11zt0","description":"confirmation__description_11zt0","countdownWrap":"confirmation__countdownWrap_11zt0","loader":"confirmation__loader_11zt0"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
const TempBlock = ({ mobile }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ezff */
|
|
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_11zt0 {
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: column;
|
|
37
|
-
} .
|
|
37
|
+
} .confirmation__center_11zt0 {
|
|
38
38
|
align-items: center;
|
|
39
39
|
text-align: center;
|
|
40
|
-
} .
|
|
40
|
+
} .confirmation__typographyTheme_11zt0.confirmation__typographyTheme_11zt0 {
|
|
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_11zt0.confirmation__description_11zt0 {
|
|
47
47
|
margin-bottom: var(--gap-xs);
|
|
48
|
-
} .
|
|
48
|
+
} .confirmation__countdownWrap_11zt0 {
|
|
49
49
|
display: flex;
|
|
50
50
|
align-items: center;
|
|
51
|
-
} .
|
|
51
|
+
} .confirmation__loader_11zt0 {
|
|
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_y4if3","typographyTheme":"confirmation__typographyTheme_y4if3","phone":"confirmation__phone_y4if3","compact":"confirmation__compact_y4if3","loaderWrap":"confirmation__loaderWrap_y4if3","left":"confirmation__left_y4if3","center":"confirmation__center_y4if3","codeInput":"confirmation__codeInput_y4if3","smsComeLink":"confirmation__smsComeLink_y4if3","countdownContainer":"confirmation__countdownContainer_y4if3","countdownMobile":"confirmation__countdownMobile_y4if3","countdownLoaderMobile":"confirmation__countdownLoaderMobile_y4if3","getCodeButton":"confirmation__getCodeButton_y4if3","getCodeButtonMobile":"confirmation__getCodeButtonMobile_y4if3","containerInput":"confirmation__containerInput_y4if3"};
|
|
10
10
|
require('./components/screens/initial/index.css')
|
|
11
11
|
|
|
12
12
|
const CountdownSection = ({ codeSendHintVisible, timePassed, processing, mobile, handleSmsRetryClick, }) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { ConfirmationProps } from "
|
|
2
|
+
import { ConfirmationProps } from "../types";
|
|
3
3
|
type DesktopConfirmationProps = Omit<ConfirmationProps, 'mobile' | 'breakpoint'>;
|
|
4
4
|
declare const ConfirmationDesktop: FC<DesktopConfirmationProps>;
|
|
5
5
|
export { DesktopConfirmationProps, ConfirmationDesktop };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { BaseConfirmation } from '
|
|
2
|
+
import { BaseConfirmation } from '../components/base-confirmation/component.js';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/hooks';
|
|
5
|
-
import '
|
|
6
|
-
import '
|
|
7
|
-
import '
|
|
8
|
-
import '
|
|
5
|
+
import '../context.js';
|
|
6
|
+
import '../utils.js';
|
|
7
|
+
import '../types.js';
|
|
8
|
+
import '../components/screens/initial/component.js';
|
|
9
9
|
import '@alfalab/core-components-button/modern/mobile';
|
|
10
10
|
import '@alfalab/core-components-code-input/modern/desktop';
|
|
11
11
|
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
|
-
import '
|
|
15
|
-
import '
|
|
14
|
+
import '../components/header/component.js';
|
|
15
|
+
import '../countdown-section-afd7b569.js';
|
|
16
16
|
import '@alfalab/core-components-button/modern';
|
|
17
17
|
import '@alfalab/core-components-spinner/modern';
|
|
18
|
-
import '
|
|
19
|
-
import '
|
|
20
|
-
import '
|
|
21
|
-
import '
|
|
18
|
+
import '../components/screens/hint/component.js';
|
|
19
|
+
import '../components/screens/fatal-error/component.js';
|
|
20
|
+
import '../components/screens/temp-block/component.js';
|
|
21
|
+
import '../components/countdown-loader/component.js';
|
|
22
22
|
|
|
23
23
|
const ConfirmationDesktop = (props) => (React.createElement(BaseConfirmation, { ...props }));
|
|
24
24
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "
|
|
1
|
+
export * from "./component.desktop";
|
|
2
2
|
export { useConfirmation, useCountdown } from "../utils";
|
package/modern/desktop/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ConfirmationDesktop } from '
|
|
1
|
+
export { ConfirmationDesktop } from './component.desktop.js';
|
|
2
2
|
export { useConfirmation, useCountdown } from '../utils.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../components/base-confirmation/component.js';
|
|
@@ -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-afd7b569.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
|
@@ -2,7 +2,7 @@ export { ConfirmationResponsive as Confirmation } from './component.responsive.j
|
|
|
2
2
|
export { useConfirmation, useCountdown } from './utils.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@alfalab/core-components-mq/modern';
|
|
5
|
-
import './component.desktop.js';
|
|
5
|
+
import './desktop/component.desktop.js';
|
|
6
6
|
import './components/base-confirmation/component.js';
|
|
7
7
|
import 'classnames';
|
|
8
8
|
import '@alfalab/hooks';
|
|
@@ -15,11 +15,11 @@ 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-afd7b569.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';
|
|
22
22
|
import './components/screens/fatal-error/component.js';
|
|
23
23
|
import './components/screens/temp-block/component.js';
|
|
24
24
|
import './components/countdown-loader/component.js';
|
|
25
|
-
import './component.mobile.js';
|
|
25
|
+
import './mobile/component.mobile.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { ConfirmationProps } from "
|
|
2
|
+
import { ConfirmationProps } from "../types";
|
|
3
3
|
type MobileConfirmationProps = Omit<ConfirmationProps, 'mobile'>;
|
|
4
4
|
declare const ConfirmationMobile: FC<MobileConfirmationProps>;
|
|
5
5
|
export { MobileConfirmationProps, ConfirmationMobile };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import { BaseConfirmation } from '
|
|
3
|
+
import { BaseConfirmation } from '../components/base-confirmation/component.js';
|
|
4
4
|
import '@alfalab/hooks';
|
|
5
|
-
import '
|
|
6
|
-
import '
|
|
7
|
-
import '
|
|
8
|
-
import '
|
|
5
|
+
import '../context.js';
|
|
6
|
+
import '../utils.js';
|
|
7
|
+
import '../types.js';
|
|
8
|
+
import '../components/screens/initial/component.js';
|
|
9
9
|
import '@alfalab/core-components-button/modern/mobile';
|
|
10
10
|
import '@alfalab/core-components-code-input/modern/desktop';
|
|
11
11
|
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
|
-
import '
|
|
15
|
-
import '
|
|
14
|
+
import '../components/header/component.js';
|
|
15
|
+
import '../countdown-section-afd7b569.js';
|
|
16
16
|
import '@alfalab/core-components-button/modern';
|
|
17
17
|
import '@alfalab/core-components-spinner/modern';
|
|
18
|
-
import '
|
|
19
|
-
import '
|
|
20
|
-
import '
|
|
21
|
-
import '
|
|
18
|
+
import '../components/screens/hint/component.js';
|
|
19
|
+
import '../components/screens/fatal-error/component.js';
|
|
20
|
+
import '../components/screens/temp-block/component.js';
|
|
21
|
+
import '../components/countdown-loader/component.js';
|
|
22
22
|
|
|
23
|
-
const styles = {"container":"
|
|
23
|
+
const styles = {"container":"confirmation__container_1e8ms"};
|
|
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.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "
|
|
1
|
+
export * from "./component.mobile";
|
|
2
2
|
export { useConfirmation, useCountdown } from "../utils";
|
package/modern/mobile/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ConfirmationMobile } from '
|
|
1
|
+
export { ConfirmationMobile } from './component.mobile.js';
|
|
2
2
|
export { useConfirmation, useCountdown } from '../utils.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'classnames';
|
|
@@ -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-afd7b569.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/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-afd7b569.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.2.
|
|
3
|
+
"version": "13.2.3",
|
|
4
4
|
"description": "Sms confirmation component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"directory": "dist"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@alfalab/core-components-button": "^10.0.
|
|
15
|
-
"@alfalab/core-components-code-input": "^3.1.
|
|
14
|
+
"@alfalab/core-components-button": "^10.0.2",
|
|
15
|
+
"@alfalab/core-components-code-input": "^3.1.1",
|
|
16
16
|
"@alfalab/core-components-link": "^5.1.1",
|
|
17
17
|
"@alfalab/core-components-spinner": "^3.2.0",
|
|
18
18
|
"@alfalab/core-components-typography": "^4.2.0",
|
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-c3df4486.js');
|
|
23
23
|
require('@alfalab/core-components-button');
|
|
24
24
|
require('@alfalab/core-components-spinner');
|
|
25
25
|
|
|
@@ -2,8 +2,8 @@ import React, { FC } from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { useMatchMedia } from '@alfalab/core-components-mq';
|
|
4
4
|
|
|
5
|
-
import { ConfirmationDesktop } from './
|
|
6
|
-
import { ConfirmationMobile } from './
|
|
5
|
+
import { ConfirmationDesktop } from './desktop';
|
|
6
|
+
import { ConfirmationMobile } from './mobile';
|
|
7
7
|
import { ConfirmationProps } from './types';
|
|
8
8
|
|
|
9
9
|
export type ResponsiveConfirmationProps = Omit<
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { FC } from 'react';
|
|
2
2
|
|
|
3
|
-
import { BaseConfirmation } from '
|
|
4
|
-
import { ConfirmationProps } from '
|
|
3
|
+
import { BaseConfirmation } from '../components/base-confirmation';
|
|
4
|
+
import { ConfirmationProps } from '../types';
|
|
5
5
|
|
|
6
6
|
export type DesktopConfirmationProps = Omit<ConfirmationProps, 'mobile' | 'breakpoint'>;
|
|
7
7
|
|
package/src/desktop/index.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { FC } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
|
|
4
|
-
import { BaseConfirmation } from '
|
|
5
|
-
import { ConfirmationProps } from '
|
|
4
|
+
import { BaseConfirmation } from '../components/base-confirmation';
|
|
5
|
+
import { ConfirmationProps } from '../types';
|
|
6
6
|
|
|
7
7
|
import styles from './mobile.module.css';
|
|
8
8
|
|
package/src/mobile/index.ts
CHANGED
package/esm/mobile.css
DELETED
package/mobile.css
DELETED
package/modern/mobile.css
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|