@alfalab/core-components-confirmation 13.1.0 → 13.1.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.
Files changed (88) hide show
  1. package/component.desktop.js +1 -1
  2. package/component.mobile.js +2 -2
  3. package/component.responsive.js +1 -1
  4. package/components/base-confirmation/component.js +2 -2
  5. package/components/base-confirmation/index.css +2 -2
  6. package/components/base-confirmation/index.js +1 -1
  7. package/components/countdown-loader/component.js +1 -1
  8. package/components/countdown-loader/index.css +2 -2
  9. package/components/header/component.js +1 -1
  10. package/components/header/index.css +4 -4
  11. package/components/index.js +1 -1
  12. package/components/screens/fatal-error/component.js +1 -1
  13. package/components/screens/fatal-error/index.css +6 -6
  14. package/components/screens/hint/component.js +1 -1
  15. package/components/screens/hint/index.css +12 -12
  16. package/components/screens/index.js +1 -1
  17. package/components/screens/initial/component.js +1 -1
  18. package/components/screens/initial/countdown-section.js +1 -1
  19. package/components/screens/initial/index.css +17 -17
  20. package/components/screens/initial/index.js +1 -1
  21. package/components/screens/temp-block/component.js +1 -1
  22. package/components/screens/temp-block/index.css +7 -7
  23. package/{countdown-section-b212c5b4.js → countdown-section-3c6c4c16.js} +1 -1
  24. package/desktop.js +1 -1
  25. package/esm/component.desktop.js +1 -1
  26. package/esm/component.mobile.js +2 -2
  27. package/esm/component.responsive.js +1 -1
  28. package/esm/components/base-confirmation/component.js +2 -2
  29. package/esm/components/base-confirmation/index.css +2 -2
  30. package/esm/components/base-confirmation/index.js +1 -1
  31. package/esm/components/countdown-loader/component.js +1 -1
  32. package/esm/components/countdown-loader/index.css +2 -2
  33. package/esm/components/header/component.js +1 -1
  34. package/esm/components/header/index.css +4 -4
  35. package/esm/components/index.js +1 -1
  36. package/esm/components/screens/fatal-error/component.js +1 -1
  37. package/esm/components/screens/fatal-error/index.css +6 -6
  38. package/esm/components/screens/hint/component.js +1 -1
  39. package/esm/components/screens/hint/index.css +12 -12
  40. package/esm/components/screens/index.js +1 -1
  41. package/esm/components/screens/initial/component.js +1 -1
  42. package/esm/components/screens/initial/countdown-section.js +1 -1
  43. package/esm/components/screens/initial/index.css +17 -17
  44. package/esm/components/screens/initial/index.js +1 -1
  45. package/esm/components/screens/temp-block/component.js +1 -1
  46. package/esm/components/screens/temp-block/index.css +7 -7
  47. package/esm/{countdown-section-83d922ef.js → countdown-section-01e6f37a.js} +1 -1
  48. package/esm/desktop.js +1 -1
  49. package/esm/index.js +1 -1
  50. package/esm/mobile.css +2 -2
  51. package/esm/mobile.js +1 -1
  52. package/esm/shared.js +1 -1
  53. package/index.js +1 -1
  54. package/mobile.css +2 -2
  55. package/mobile.js +1 -1
  56. package/modern/component.desktop.js +1 -1
  57. package/modern/component.mobile.js +2 -2
  58. package/modern/component.responsive.js +1 -1
  59. package/modern/components/base-confirmation/component.js +2 -2
  60. package/modern/components/base-confirmation/index.css +2 -2
  61. package/modern/components/base-confirmation/index.js +1 -1
  62. package/modern/components/countdown-loader/component.js +1 -1
  63. package/modern/components/countdown-loader/index.css +2 -2
  64. package/modern/components/header/component.js +1 -1
  65. package/modern/components/header/index.css +4 -4
  66. package/modern/components/index.js +1 -1
  67. package/modern/components/screens/fatal-error/component.js +1 -1
  68. package/modern/components/screens/fatal-error/index.css +6 -6
  69. package/modern/components/screens/hint/component.js +1 -1
  70. package/modern/components/screens/hint/index.css +12 -12
  71. package/modern/components/screens/index.js +1 -1
  72. package/modern/components/screens/initial/component.js +1 -1
  73. package/modern/components/screens/initial/countdown-section.js +1 -1
  74. package/modern/components/screens/initial/index.css +17 -17
  75. package/modern/components/screens/initial/index.js +1 -1
  76. package/modern/components/screens/temp-block/component.js +1 -1
  77. package/modern/components/screens/temp-block/index.css +7 -7
  78. package/modern/{countdown-section-ea7af879.js → countdown-section-3f2be91e.js} +1 -1
  79. package/modern/desktop.js +1 -1
  80. package/modern/index.js +1 -1
  81. package/modern/mobile.css +2 -2
  82. package/modern/mobile.js +1 -1
  83. package/modern/shared.js +1 -1
  84. package/package.json +3 -3
  85. package/shared.js +1 -1
  86. /package/{countdown-section-b212c5b4.d.ts → countdown-section-3c6c4c16.d.ts} +0 -0
  87. /package/esm/{countdown-section-83d922ef.d.ts → countdown-section-01e6f37a.d.ts} +0 -0
  88. /package/modern/{countdown-section-ea7af879.d.ts → countdown-section-3f2be91e.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- /* hash: 1cl2j */
1
+ /* hash: 1dvps */
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 */
@@ -33,38 +33,38 @@
33
33
  --confirmation-text-color: var(--color-light-text-primary)
34
34
 
35
35
  /* header */
36
- } .confirmation__component_qgws3 {
36
+ } .confirmation__component_1e5mt {
37
37
  display: flex;
38
38
  flex-direction: column;
39
39
  align-items: flex-start
40
- } .confirmation__component_qgws3 span:last-of-type {
40
+ } .confirmation__component_1e5mt span:last-of-type {
41
41
  margin-bottom: 0;
42
- } .confirmation__center_qgws3 {
42
+ } .confirmation__center_1e5mt {
43
43
  align-items: center;
44
44
  text-align: center;
45
- } .confirmation__text_qgws3.confirmation__text_qgws3 {
45
+ } .confirmation__text_1e5mt.confirmation__text_1e5mt {
46
46
  margin-bottom: var(--gap-xl);
47
- } .confirmation__typographyTheme_qgws3.confirmation__typographyTheme_qgws3 {
47
+ } .confirmation__typographyTheme_1e5mt.confirmation__typographyTheme_1e5mt {
48
48
  font-size: var(--confirmation-text-font-size);
49
49
  line-height: var(--confirmation-text-line-height);
50
50
  font-weight: var(--confirmation-text-font-weight);
51
51
  font-family: var(--confirmation-text-font-family);
52
52
  color: var(--confirmation-text-color);
53
- } .confirmation__phonesWrap_qgws3 {
53
+ } .confirmation__phonesWrap_1e5mt {
54
54
  display: flex;
55
55
  flex-direction: column;
56
56
  margin-bottom: var(--gap-xl);
57
- } .confirmation__phoneWrap_qgws3 {
57
+ } .confirmation__phoneWrap_1e5mt {
58
58
  margin-bottom: var(--gap-xs)
59
- } .confirmation__phoneWrap_qgws3:last-child {
59
+ } .confirmation__phoneWrap_1e5mt:last-child {
60
60
  margin-bottom: 0;
61
- } .confirmation__phoneLink_qgws3.confirmation__phoneLink_qgws3 {
61
+ } .confirmation__phoneLink_1e5mt.confirmation__phoneLink_1e5mt {
62
62
  font-size: 16px;
63
63
  line-height: 24px;
64
64
  font-weight: 500;
65
- } .confirmation__hintButton_qgws3 {
65
+ } .confirmation__hintButton_1e5mt {
66
66
  margin-top: var(--gap-2xl);
67
- } .confirmation__phoneContentMobile_qgws3 {
67
+ } .confirmation__phoneContentMobile_1e5mt {
68
68
  display: flex;
69
69
  flex-direction: column;
70
70
  align-items: center;
@@ -13,7 +13,7 @@ import '@alfalab/hooks';
13
13
  import '../../context.js';
14
14
  import '../../utils.js';
15
15
  import '../header/component.js';
16
- import '../../countdown-section-ea7af879.js';
16
+ import '../../countdown-section-3f2be91e.js';
17
17
  import '@alfalab/core-components-button/modern';
18
18
  import '@alfalab/core-components-spinner/modern';
19
19
  import '../countdown-loader/component.js';
@@ -8,7 +8,7 @@ import { Typography } from '@alfalab/core-components-typography/modern';
8
8
  import { usePrevious } 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-ea7af879.js';
11
+ import { s as styles, C as CountdownSection } from '../../../countdown-section-3f2be91e.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-ea7af879.js';
8
+ export { C as CountdownSection } from '../../../countdown-section-3f2be91e.js';
@@ -1,4 +1,4 @@
1
- /* hash: l1yvu */
1
+ /* hash: g83jn */
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
- } .confirmation__component_1yvyt {
40
+ } .confirmation__component_gtgpy {
41
41
  display: flex;
42
42
  flex-direction: column;
43
- } .confirmation__typographyTheme_1yvyt.confirmation__typographyTheme_1yvyt {
43
+ } .confirmation__typographyTheme_gtgpy.confirmation__typographyTheme_gtgpy {
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
- } .confirmation__phone_1yvyt.confirmation__phone_1yvyt {
49
+ } .confirmation__phone_gtgpy.confirmation__phone_gtgpy {
50
50
  color: var(--color-light-text-primary);
51
51
  margin-bottom: var(--gap-2xl);
52
- } .confirmation__compact_1yvyt {
52
+ } .confirmation__compact_gtgpy {
53
53
  margin-bottom: var(--gap-xl);
54
- } .confirmation__loaderWrap_1yvyt {
54
+ } .confirmation__loaderWrap_gtgpy {
55
55
  display: flex;
56
56
  align-items: center;
57
- } .confirmation__left_1yvyt {
57
+ } .confirmation__left_gtgpy {
58
58
  align-items: flex-start;
59
- } .confirmation__center_1yvyt {
59
+ } .confirmation__center_gtgpy {
60
60
  align-items: center;
61
61
  text-align: center
62
- } .confirmation__center_1yvyt .confirmation__loaderWrap_1yvyt {
62
+ } .confirmation__center_gtgpy .confirmation__loaderWrap_gtgpy {
63
63
  justify-content: center;
64
- } .confirmation__codeInput_1yvyt {
64
+ } .confirmation__codeInput_gtgpy {
65
65
  margin-bottom: var(--gap-s);
66
- } .confirmation__smsComeLink_1yvyt.confirmation__smsComeLink_1yvyt {
66
+ } .confirmation__smsComeLink_gtgpy.confirmation__smsComeLink_gtgpy {
67
67
  font-size: 14px;
68
68
  line-height: 20px;
69
69
  font-weight: 500;
70
- } .confirmation__countdownContainer_1yvyt.confirmation__countdownContainer_1yvyt {
70
+ } .confirmation__countdownContainer_gtgpy.confirmation__countdownContainer_gtgpy {
71
71
  color: var(--color-light-text-secondary);
72
72
  margin-bottom: var(--gap-xl);
73
- } .confirmation__countdownMobile_1yvyt.confirmation__countdownMobile_1yvyt {
73
+ } .confirmation__countdownMobile_gtgpy.confirmation__countdownMobile_gtgpy {
74
74
  margin-bottom: var(--gap-l);
75
- } .confirmation__countdownLoaderMobile_1yvyt.confirmation__countdownLoaderMobile_1yvyt {
75
+ } .confirmation__countdownLoaderMobile_gtgpy.confirmation__countdownLoaderMobile_gtgpy {
76
76
  margin-bottom: var(--gap-m);
77
- } .confirmation__getCodeButton_1yvyt {
77
+ } .confirmation__getCodeButton_gtgpy {
78
78
  position: relative;
79
79
  top: var(--gap-2xs-neg);
80
80
  margin-bottom: var(--gap-m);
81
- } .confirmation__getCodeButtonMobile_1yvyt {
81
+ } .confirmation__getCodeButtonMobile_gtgpy {
82
82
  margin-bottom: 0;
83
- } .confirmation__containerInput_1yvyt {
83
+ } .confirmation__containerInput_gtgpy {
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-ea7af879.js';
13
+ import '../../../countdown-section-3f2be91e.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":"confirmation__component_164iy","center":"confirmation__center_164iy","typographyTheme":"confirmation__typographyTheme_164iy","description":"confirmation__description_164iy","countdownWrap":"confirmation__countdownWrap_164iy","loader":"confirmation__loader_164iy"};
9
+ const styles = {"component":"confirmation__component_fi6ba","center":"confirmation__center_fi6ba","typographyTheme":"confirmation__typographyTheme_fi6ba","description":"confirmation__description_fi6ba","countdownWrap":"confirmation__countdownWrap_fi6ba","loader":"confirmation__loader_fi6ba"};
10
10
  require('./index.css')
11
11
 
12
12
  const TempBlock = ({ mobile }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1ce4x */
1
+ /* hash: 17k9l */
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
- } .confirmation__component_164iy {
34
+ } .confirmation__component_fi6ba {
35
35
  display: flex;
36
36
  flex-direction: column;
37
- } .confirmation__center_164iy {
37
+ } .confirmation__center_fi6ba {
38
38
  align-items: center;
39
39
  text-align: center;
40
- } .confirmation__typographyTheme_164iy.confirmation__typographyTheme_164iy {
40
+ } .confirmation__typographyTheme_fi6ba.confirmation__typographyTheme_fi6ba {
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
- } .confirmation__description_164iy.confirmation__description_164iy {
46
+ } .confirmation__description_fi6ba.confirmation__description_fi6ba {
47
47
  margin-bottom: var(--gap-xs);
48
- } .confirmation__countdownWrap_164iy {
48
+ } .confirmation__countdownWrap_fi6ba {
49
49
  display: flex;
50
50
  align-items: center;
51
- } .confirmation__loader_164iy {
51
+ } .confirmation__loader_fi6ba {
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":"confirmation__component_1yvyt","typographyTheme":"confirmation__typographyTheme_1yvyt","phone":"confirmation__phone_1yvyt","compact":"confirmation__compact_1yvyt","loaderWrap":"confirmation__loaderWrap_1yvyt","left":"confirmation__left_1yvyt","center":"confirmation__center_1yvyt","codeInput":"confirmation__codeInput_1yvyt","smsComeLink":"confirmation__smsComeLink_1yvyt","countdownContainer":"confirmation__countdownContainer_1yvyt","countdownMobile":"confirmation__countdownMobile_1yvyt","countdownLoaderMobile":"confirmation__countdownLoaderMobile_1yvyt","getCodeButton":"confirmation__getCodeButton_1yvyt","getCodeButtonMobile":"confirmation__getCodeButtonMobile_1yvyt","containerInput":"confirmation__containerInput_1yvyt"};
9
+ const styles = {"component":"confirmation__component_gtgpy","typographyTheme":"confirmation__typographyTheme_gtgpy","phone":"confirmation__phone_gtgpy","compact":"confirmation__compact_gtgpy","loaderWrap":"confirmation__loaderWrap_gtgpy","left":"confirmation__left_gtgpy","center":"confirmation__center_gtgpy","codeInput":"confirmation__codeInput_gtgpy","smsComeLink":"confirmation__smsComeLink_gtgpy","countdownContainer":"confirmation__countdownContainer_gtgpy","countdownMobile":"confirmation__countdownMobile_gtgpy","countdownLoaderMobile":"confirmation__countdownLoaderMobile_gtgpy","getCodeButton":"confirmation__getCodeButton_gtgpy","getCodeButtonMobile":"confirmation__getCodeButtonMobile_gtgpy","containerInput":"confirmation__containerInput_gtgpy"};
10
10
  require('./components/screens/initial/index.css')
11
11
 
12
12
  const CountdownSection = ({ codeSendHintVisible, timePassed, processing, mobile, handleSmsRetryClick, }) => {
package/modern/desktop.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-ea7af879.js';
16
+ import './countdown-section-3f2be91e.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-ea7af879.js';
18
+ import './countdown-section-3f2be91e.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';
package/modern/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 5zt7w */
2
- .confirmation__container_bsppw {
1
+ /* hash: 15xvo */
2
+ .confirmation__container_haeo6 {
3
3
  max-width: 288px;
4
4
  }
package/modern/mobile.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-ea7af879.js';
16
+ import './countdown-section-3f2be91e.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.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-ea7af879.js';
18
+ import './countdown-section-3f2be91e.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.1.0",
3
+ "version": "13.1.2",
4
4
  "description": "Sms confirmation component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -35,11 +35,11 @@
35
35
  "directory": "dist"
36
36
  },
37
37
  "dependencies": {
38
- "@alfalab/core-components-button": "^9.0.1",
38
+ "@alfalab/core-components-button": "^9.0.2",
39
39
  "@alfalab/core-components-code-input": "^3.0.0",
40
40
  "@alfalab/core-components-link": "^5.1.0",
41
41
  "@alfalab/core-components-spinner": "^3.1.0",
42
- "@alfalab/core-components-typography": "^4.0.0",
42
+ "@alfalab/core-components-typography": "^4.1.0",
43
43
  "@alfalab/core-components-mq": "^4.2.0",
44
44
  "@alfalab/hooks": "^1.13.0",
45
45
  "classnames": "^2.3.1",
package/shared.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-b212c5b4.js');
22
+ require('./countdown-section-3c6c4c16.js');
23
23
  require('@alfalab/core-components-button');
24
24
  require('@alfalab/core-components-spinner');
25
25