@alfalab/core-components-confirmation 13.8.2 → 13.8.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.
Files changed (93) hide show
  1. package/component.responsive.d.ts +5 -0
  2. package/component.responsive.js +2 -3
  3. package/components/base-confirmation/component.js +4 -4
  4. package/components/base-confirmation/index.css +2 -2
  5. package/components/countdown-loader/component.js +1 -1
  6. package/components/countdown-loader/index.css +2 -2
  7. package/components/header/component.js +1 -1
  8. package/components/header/index.css +4 -4
  9. package/components/screens/fatal-error/component.js +3 -3
  10. package/components/screens/fatal-error/index.css +7 -7
  11. package/components/screens/hint/component.js +3 -3
  12. package/components/screens/hint/index.css +13 -13
  13. package/components/screens/initial/component.js +1 -1
  14. package/components/screens/initial/countdown-section.js +1 -1
  15. package/components/screens/initial/index.css +19 -19
  16. package/components/screens/temp-block/component.js +1 -1
  17. package/components/screens/temp-block/index.css +8 -8
  18. package/context.js +1 -0
  19. package/{countdown-section-b633717a.js → countdown-section-0f785844.js} +4 -4
  20. package/cssm/component.responsive.d.ts +5 -0
  21. package/cssm/component.responsive.js +2 -3
  22. package/cssm/components/base-confirmation/component.js +3 -3
  23. package/cssm/components/screens/fatal-error/component.js +2 -2
  24. package/cssm/components/screens/hint/component.js +2 -2
  25. package/cssm/components/screens/initial/countdown-section.js +3 -3
  26. package/cssm/context.js +1 -0
  27. package/cssm/types.d.ts +5 -7
  28. package/esm/component.responsive.d.ts +5 -0
  29. package/esm/component.responsive.js +3 -4
  30. package/esm/components/base-confirmation/component.js +4 -4
  31. package/esm/components/base-confirmation/index.css +2 -2
  32. package/esm/components/countdown-loader/component.js +1 -1
  33. package/esm/components/countdown-loader/index.css +2 -2
  34. package/esm/components/header/component.js +1 -1
  35. package/esm/components/header/index.css +4 -4
  36. package/esm/components/screens/fatal-error/component.js +3 -3
  37. package/esm/components/screens/fatal-error/index.css +7 -7
  38. package/esm/components/screens/hint/component.js +3 -3
  39. package/esm/components/screens/hint/index.css +13 -13
  40. package/esm/components/screens/initial/component.js +1 -1
  41. package/esm/components/screens/initial/countdown-section.js +1 -1
  42. package/esm/components/screens/initial/index.css +19 -19
  43. package/esm/components/screens/temp-block/component.js +1 -1
  44. package/esm/components/screens/temp-block/index.css +8 -8
  45. package/esm/context.js +1 -0
  46. package/esm/{countdown-section-88d8eded.js → countdown-section-3516a8a6.js} +4 -4
  47. package/esm/mobile/component.mobile.js +1 -1
  48. package/esm/mobile/mobile.css +2 -2
  49. package/esm/types.d.ts +5 -7
  50. package/mobile/component.mobile.js +1 -1
  51. package/mobile/mobile.css +2 -2
  52. package/modern/component.responsive.d.ts +5 -0
  53. package/modern/component.responsive.js +3 -4
  54. package/modern/components/base-confirmation/component.js +3 -3
  55. package/modern/components/base-confirmation/index.css +2 -2
  56. package/modern/components/countdown-loader/component.js +1 -1
  57. package/modern/components/countdown-loader/index.css +2 -2
  58. package/modern/components/header/component.js +1 -1
  59. package/modern/components/header/index.css +4 -4
  60. package/modern/components/screens/fatal-error/component.js +3 -3
  61. package/modern/components/screens/fatal-error/index.css +7 -7
  62. package/modern/components/screens/hint/component.js +3 -3
  63. package/modern/components/screens/hint/index.css +13 -13
  64. package/modern/components/screens/initial/component.js +1 -1
  65. package/modern/components/screens/initial/countdown-section.js +1 -1
  66. package/modern/components/screens/initial/index.css +19 -19
  67. package/modern/components/screens/temp-block/component.js +1 -1
  68. package/modern/components/screens/temp-block/index.css +8 -8
  69. package/modern/context.js +1 -0
  70. package/modern/{countdown-section-9cd2a918.js → countdown-section-7563320f.js} +4 -4
  71. package/modern/mobile/component.mobile.js +1 -1
  72. package/modern/mobile/mobile.css +2 -2
  73. package/modern/types.d.ts +5 -7
  74. package/moderncssm/component.responsive.d.ts +5 -0
  75. package/moderncssm/component.responsive.js +3 -4
  76. package/moderncssm/components/base-confirmation/component.js +2 -2
  77. package/moderncssm/components/screens/fatal-error/component.js +2 -2
  78. package/moderncssm/components/screens/hint/component.js +2 -2
  79. package/moderncssm/components/screens/initial/countdown-section.js +3 -3
  80. package/moderncssm/context.js +1 -0
  81. package/moderncssm/types.d.ts +5 -7
  82. package/package.json +5 -5
  83. package/src/component.responsive.tsx +11 -5
  84. package/src/components/base-confirmation/component.tsx +3 -2
  85. package/src/components/screens/fatal-error/component.tsx +2 -1
  86. package/src/components/screens/hint/component.tsx +2 -1
  87. package/src/components/screens/initial/countdown-section.tsx +4 -2
  88. package/src/context.ts +1 -0
  89. package/src/types.ts +7 -6
  90. package/types.d.ts +5 -7
  91. /package/{countdown-section-b633717a.d.ts → countdown-section-0f785844.d.ts} +0 -0
  92. /package/esm/{countdown-section-88d8eded.d.ts → countdown-section-3516a8a6.d.ts} +0 -0
  93. /package/modern/{countdown-section-9cd2a918.d.ts → countdown-section-7563320f.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- /* hash: 1ejvn */
1
+ /* hash: eo9a7 */
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
4
  --color-light-text-primary: rgba(3, 3, 6, 0.88);
@@ -42,40 +42,40 @@
42
42
  --confirmation-text-color: var(--color-light-text-primary)
43
43
 
44
44
  /* header */
45
- } .confirmation__component_1oj0v {
45
+ } .confirmation__component_iwqs7 {
46
46
  display: flex;
47
47
  flex-direction: column;
48
48
  align-items: flex-start
49
- } .confirmation__component_1oj0v span:last-of-type {
49
+ } .confirmation__component_iwqs7 span:last-of-type {
50
50
  margin-bottom: var(--gap-0);
51
- } .confirmation__center_1oj0v {
51
+ } .confirmation__center_iwqs7 {
52
52
  align-items: center;
53
53
  text-align: center;
54
- } .confirmation__text_1oj0v.confirmation__text_1oj0v {
54
+ } .confirmation__text_iwqs7.confirmation__text_iwqs7 {
55
55
  margin-bottom: var(--gap-24);
56
- } .confirmation__typographyTheme_1oj0v.confirmation__typographyTheme_1oj0v {
56
+ } .confirmation__typographyTheme_iwqs7.confirmation__typographyTheme_iwqs7 {
57
57
  font-size: var(--confirmation-text-font-size);
58
58
  line-height: var(--confirmation-text-line-height);
59
59
  font-weight: var(--confirmation-text-font-weight);
60
60
  font-family: var(--confirmation-text-font-family);
61
61
  color: var(--confirmation-text-color);
62
- } .confirmation__typographyThemeMobile_1oj0v.confirmation__typographyThemeMobile_1oj0v {
62
+ } .confirmation__typographyThemeMobile_iwqs7.confirmation__typographyThemeMobile_iwqs7 {
63
63
  color: var(--color-light-text-secondary);
64
- } .confirmation__phonesWrap_1oj0v {
64
+ } .confirmation__phonesWrap_iwqs7 {
65
65
  display: flex;
66
66
  flex-direction: column;
67
67
  margin-bottom: var(--gap-24);
68
- } .confirmation__phoneWrap_1oj0v {
68
+ } .confirmation__phoneWrap_iwqs7 {
69
69
  margin-bottom: var(--gap-8)
70
- } .confirmation__phoneWrap_1oj0v:last-child {
70
+ } .confirmation__phoneWrap_iwqs7:last-child {
71
71
  margin-bottom: var(--gap-0);
72
- } .confirmation__phoneLink_1oj0v.confirmation__phoneLink_1oj0v {
72
+ } .confirmation__phoneLink_iwqs7.confirmation__phoneLink_iwqs7 {
73
73
  font-size: 16px;
74
74
  line-height: 24px;
75
75
  font-weight: 500;
76
- } .confirmation__hintButton_1oj0v {
76
+ } .confirmation__hintButton_iwqs7 {
77
77
  margin-top: var(--gap-32);
78
- } .confirmation__phoneContentMobile_1oj0v {
78
+ } .confirmation__phoneContentMobile_iwqs7 {
79
79
  display: flex;
80
80
  flex-direction: column;
81
81
  }
@@ -8,7 +8,7 @@ import { Typography } from '@alfalab/core-components-typography/esm';
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-88d8eded.js';
11
+ import { s as styles, C as CountdownSection } from '../../../countdown-section-3516a8a6.js';
12
12
 
13
13
  var CODE_SEND_HINT_VISIBLE_DURATION = 2000;
14
14
  var Initial = function (_a) {
@@ -5,4 +5,4 @@ import '@alfalab/core-components-spinner/esm';
5
5
  import '@alfalab/core-components-typography/esm';
6
6
  import '../../../context.js';
7
7
  import '../../../utils.js';
8
- export { C as CountdownSection } from '../../../countdown-section-88d8eded.js';
8
+ export { C as CountdownSection } from '../../../countdown-section-3516a8a6.js';
@@ -1,4 +1,4 @@
1
- /* hash: z1vfr */
1
+ /* hash: 1mrv5 */
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
4
  --color-light-text-primary: rgba(3, 3, 6, 0.88);
@@ -49,53 +49,53 @@
49
49
  --confirmation-text-color: var(--color-light-text-primary)
50
50
 
51
51
  /* header */
52
- } .confirmation__component_15b9w {
52
+ } .confirmation__component_6ytgy {
53
53
  display: flex;
54
54
  flex-direction: column;
55
- } .confirmation__phone_15b9w.confirmation__phone_15b9w {
55
+ } .confirmation__phone_6ytgy.confirmation__phone_6ytgy {
56
56
  color: var(--color-light-text-primary);
57
57
  margin-bottom: var(--gap-32);
58
- } .confirmation__typographyTheme_15b9w.confirmation__typographyTheme_15b9w {
58
+ } .confirmation__typographyTheme_6ytgy.confirmation__typographyTheme_6ytgy {
59
59
  font-size: var(--confirmation-text-font-size);
60
60
  line-height: var(--confirmation-text-line-height);
61
61
  font-weight: var(--confirmation-text-font-weight);
62
62
  font-family: var(--confirmation-text-font-family);
63
63
  color: var(--confirmation-text-color);
64
- } .confirmation__typographyThemeMobile_15b9w.confirmation__typographyThemeMobile_15b9w {
64
+ } .confirmation__typographyThemeMobile_6ytgy.confirmation__typographyThemeMobile_6ytgy {
65
65
  color: var(--color-light-text-secondary);
66
- } .confirmation__compact_15b9w {
66
+ } .confirmation__compact_6ytgy {
67
67
  margin-bottom: var(--gap-24);
68
- } .confirmation__loaderWrap_15b9w {
68
+ } .confirmation__loaderWrap_6ytgy {
69
69
  display: flex;
70
70
  align-items: center;
71
- } .confirmation__left_15b9w {
71
+ } .confirmation__left_6ytgy {
72
72
  align-items: flex-start;
73
- } .confirmation__center_15b9w {
73
+ } .confirmation__center_6ytgy {
74
74
  align-items: center;
75
75
  text-align: center
76
- } .confirmation__center_15b9w .confirmation__loaderWrap_15b9w {
76
+ } .confirmation__center_6ytgy .confirmation__loaderWrap_6ytgy {
77
77
  justify-content: center;
78
- } .confirmation__codeInput_15b9w {
78
+ } .confirmation__codeInput_6ytgy {
79
79
  margin-bottom: var(--gap-12);
80
- } .confirmation__smsBtn_15b9w.confirmation__smsBtn_15b9w {
80
+ } .confirmation__smsBtn_6ytgy.confirmation__smsBtn_6ytgy {
81
81
  min-height: var(--size-xs-height);
82
- } .confirmation__smsComeLink_15b9w.confirmation__smsComeLink_15b9w {
82
+ } .confirmation__smsComeLink_6ytgy.confirmation__smsComeLink_6ytgy {
83
83
  font-size: 14px;
84
84
  line-height: 20px;
85
85
  font-weight: 500;
86
- } .confirmation__countdownContainer_15b9w.confirmation__countdownContainer_15b9w {
86
+ } .confirmation__countdownContainer_6ytgy.confirmation__countdownContainer_6ytgy {
87
87
  color: var(--color-light-text-secondary);
88
88
  margin-bottom: var(--gap-24);
89
- } .confirmation__countdownMobile_15b9w.confirmation__countdownMobile_15b9w {
89
+ } .confirmation__countdownMobile_6ytgy.confirmation__countdownMobile_6ytgy {
90
90
  margin-bottom: var(--gap-20);
91
- } .confirmation__countdownLoaderMobile_15b9w.confirmation__countdownLoaderMobile_15b9w {
91
+ } .confirmation__countdownLoaderMobile_6ytgy.confirmation__countdownLoaderMobile_6ytgy {
92
92
  margin-bottom: var(--gap-16);
93
- } .confirmation__getCodeButton_15b9w {
93
+ } .confirmation__getCodeButton_6ytgy {
94
94
  position: relative;
95
95
  top: var(--gap-4-neg);
96
96
  margin-bottom: var(--gap-16);
97
- } .confirmation__getCodeButtonMobile_15b9w {
97
+ } .confirmation__getCodeButtonMobile_6ytgy {
98
98
  margin-bottom: var(--gap-0);
99
- } .confirmation__containerInput_15b9w {
99
+ } .confirmation__containerInput_6ytgy {
100
100
  min-height: 80px;
101
101
  }
@@ -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
- var styles = {"component":"confirmation__component_1h4bl","center":"confirmation__center_1h4bl","typographyTheme":"confirmation__typographyTheme_1h4bl","typographyThemeMobile":"confirmation__typographyThemeMobile_1h4bl","description":"confirmation__description_1h4bl","countdownWrap":"confirmation__countdownWrap_1h4bl","loader":"confirmation__loader_1h4bl"};
9
+ var styles = {"component":"confirmation__component_gfnyn","center":"confirmation__center_gfnyn","typographyTheme":"confirmation__typographyTheme_gfnyn","typographyThemeMobile":"confirmation__typographyThemeMobile_gfnyn","description":"confirmation__description_gfnyn","countdownWrap":"confirmation__countdownWrap_gfnyn","loader":"confirmation__loader_gfnyn"};
10
10
  require('./index.css')
11
11
 
12
12
  var TempBlock = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1qe1h */
1
+ /* hash: 1aigo */
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
4
  --color-light-text-primary: rgba(3, 3, 6, 0.88);
@@ -37,25 +37,25 @@
37
37
  --confirmation-text-color: var(--color-light-text-primary)
38
38
 
39
39
  /* header */
40
- } .confirmation__component_1h4bl {
40
+ } .confirmation__component_gfnyn {
41
41
  display: flex;
42
42
  flex-direction: column;
43
- } .confirmation__center_1h4bl {
43
+ } .confirmation__center_gfnyn {
44
44
  align-items: center;
45
45
  text-align: center;
46
- } .confirmation__typographyTheme_1h4bl.confirmation__typographyTheme_1h4bl {
46
+ } .confirmation__typographyTheme_gfnyn.confirmation__typographyTheme_gfnyn {
47
47
  font-size: var(--confirmation-text-font-size);
48
48
  line-height: var(--confirmation-text-line-height);
49
49
  font-weight: var(--confirmation-text-font-weight);
50
50
  font-family: var(--confirmation-text-font-family);
51
51
  color: var(--confirmation-text-color);
52
- } .confirmation__typographyThemeMobile_1h4bl.confirmation__typographyThemeMobile_1h4bl {
52
+ } .confirmation__typographyThemeMobile_gfnyn.confirmation__typographyThemeMobile_gfnyn {
53
53
  color: var(--color-light-text-secondary);
54
- } .confirmation__description_1h4bl.confirmation__description_1h4bl {
54
+ } .confirmation__description_gfnyn.confirmation__description_gfnyn {
55
55
  margin-bottom: var(--gap-8);
56
- } .confirmation__countdownWrap_1h4bl {
56
+ } .confirmation__countdownWrap_gfnyn {
57
57
  display: flex;
58
58
  align-items: center;
59
- } .confirmation__loader_1h4bl {
59
+ } .confirmation__loader_gfnyn {
60
60
  margin-right: var(--gap-8);
61
61
  }
package/esm/context.js CHANGED
@@ -14,6 +14,7 @@ var ConfirmationContext = createContext({
14
14
  phone: '',
15
15
  hideCountdownSection: false,
16
16
  breakpoint: 1024,
17
+ client: 'desktop',
17
18
  initialScreenHintSlot: null,
18
19
  onTempBlockFinished: mockFn,
19
20
  onInputFinished: mockFn,
@@ -6,13 +6,13 @@ import { Typography } from '@alfalab/core-components-typography/esm';
6
6
  import { ConfirmationContext } from './context.js';
7
7
  import { formatMsAsMinutes } from './utils.js';
8
8
 
9
- var styles = {"component":"confirmation__component_15b9w","phone":"confirmation__phone_15b9w","typographyTheme":"confirmation__typographyTheme_15b9w","typographyThemeMobile":"confirmation__typographyThemeMobile_15b9w","compact":"confirmation__compact_15b9w","loaderWrap":"confirmation__loaderWrap_15b9w","left":"confirmation__left_15b9w","center":"confirmation__center_15b9w","codeInput":"confirmation__codeInput_15b9w","smsBtn":"confirmation__smsBtn_15b9w","smsComeLink":"confirmation__smsComeLink_15b9w","countdownContainer":"confirmation__countdownContainer_15b9w","countdownMobile":"confirmation__countdownMobile_15b9w","countdownLoaderMobile":"confirmation__countdownLoaderMobile_15b9w","getCodeButton":"confirmation__getCodeButton_15b9w","getCodeButtonMobile":"confirmation__getCodeButtonMobile_15b9w","containerInput":"confirmation__containerInput_15b9w"};
9
+ var styles = {"component":"confirmation__component_6ytgy","phone":"confirmation__phone_6ytgy","typographyTheme":"confirmation__typographyTheme_6ytgy","typographyThemeMobile":"confirmation__typographyThemeMobile_6ytgy","compact":"confirmation__compact_6ytgy","loaderWrap":"confirmation__loaderWrap_6ytgy","left":"confirmation__left_6ytgy","center":"confirmation__center_6ytgy","codeInput":"confirmation__codeInput_6ytgy","smsBtn":"confirmation__smsBtn_6ytgy","smsComeLink":"confirmation__smsComeLink_6ytgy","countdownContainer":"confirmation__countdownContainer_6ytgy","countdownMobile":"confirmation__countdownMobile_6ytgy","countdownLoaderMobile":"confirmation__countdownLoaderMobile_6ytgy","getCodeButton":"confirmation__getCodeButton_6ytgy","getCodeButtonMobile":"confirmation__getCodeButtonMobile_6ytgy","containerInput":"confirmation__containerInput_6ytgy"};
10
10
  require('./components/screens/initial/index.css')
11
11
 
12
12
  var CountdownSection = function (_a) {
13
13
  var _b, _c;
14
14
  var codeSendHintVisible = _a.codeSendHintVisible, timePassed = _a.timePassed, processing = _a.processing, mobile = _a.mobile, handleSmsRetryClick = _a.handleSmsRetryClick;
15
- var _d = useContext(ConfirmationContext), state = _d.state, texts = _d.texts, timeLeft = _d.timeLeft, blockSmsRetry = _d.blockSmsRetry, breakpoint = _d.breakpoint;
15
+ var _d = useContext(ConfirmationContext), state = _d.state, texts = _d.texts, timeLeft = _d.timeLeft, blockSmsRetry = _d.blockSmsRetry, breakpoint = _d.breakpoint, client = _d.client;
16
16
  var renderText = function (text) {
17
17
  var _a;
18
18
  return (React.createElement(Typography.Text, { className: cn(styles.countdownContainer, (_a = {},
@@ -27,13 +27,13 @@ var CountdownSection = function (_a) {
27
27
  _b[styles.countdownLoaderMobile] = mobile,
28
28
  _b[styles.typographyTheme] = !mobile,
29
29
  _b)) },
30
- React.createElement(Spinner, { visible: true }),
30
+ React.createElement(Spinner, { preset: 24, visible: true }),
31
31
  React.createElement("span", { className: styles.loaderText }, state === 'CODE_CHECKING' ? texts.codeChecking : texts.codeSending)));
32
32
  }
33
33
  if (blockSmsRetry)
34
34
  return renderText(texts.noAttemptsLeft);
35
35
  if (timePassed) {
36
- return (React.createElement(Button, { size: mobile ? 'xs' : 'xxs', view: 'secondary', onClick: handleSmsRetryClick, className: cn(styles.getCodeButton, (_c = {}, _c[styles.getCodeButtonMobile] = mobile, _c)), breakpoint: breakpoint }, texts.buttonRetry));
36
+ return (React.createElement(Button, { size: mobile ? 'xs' : 'xxs', view: 'secondary', onClick: handleSmsRetryClick, className: cn(styles.getCodeButton, (_c = {}, _c[styles.getCodeButtonMobile] = mobile, _c)), breakpoint: breakpoint, client: client }, texts.buttonRetry));
37
37
  }
38
38
  return renderText("".concat(texts.countdown, " ").concat(formatMsAsMinutes(timeLeft)));
39
39
  };
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import { BaseConfirmation } from '../components/base-confirmation/component.js';
5
5
 
6
- var styles = {"container":"confirmation__container_1ny8v"};
6
+ var styles = {"container":"confirmation__container_n9l9d"};
7
7
  require('./mobile.css')
8
8
 
9
9
  var ConfirmationMobile = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 14bhc */
2
- .confirmation__container_1ny8v {
1
+ /* hash: 1t5ts */
2
+ .confirmation__container_n9l9d {
3
3
  max-width: 288px;
4
4
  }
package/esm/types.d.ts CHANGED
@@ -98,20 +98,18 @@ type ConfirmationProps = {
98
98
  * @default 1024
99
99
  */
100
100
  breakpoint?: number;
101
+ /**
102
+ * Версия, которая будет использоваться при серверном рендеринге
103
+ */
104
+ client?: 'desktop' | 'mobile';
101
105
  /**
102
106
  * Продолжительность отображения ошибки
103
107
  * @default 1300
104
108
  */
105
109
  errorVisibleDuration?: number;
106
110
  };
107
- type TConfirmationContext = Required<Pick<ConfirmationProps, 'alignContent' | 'texts' | 'state' | 'screen' | 'requiredCharAmount' | 'onInputFinished' | 'countdownDuration' | 'onChangeState' | 'onSmsRetryClick' | 'onChangeScreen' | 'onFatalErrorOkButtonClick' | 'tempBlockDuration' | 'hideCountdownSection'>> & Pick<ConfirmationProps, 'phone' | 'blockSmsRetry' | 'onTempBlockFinished' | 'clearCodeOnError' | 'initialScreenHintSlot' | 'errorVisibleDuration'> & {
111
+ type TConfirmationContext = Required<Pick<ConfirmationProps, 'alignContent' | 'texts' | 'state' | 'screen' | 'requiredCharAmount' | 'onInputFinished' | 'countdownDuration' | 'onChangeState' | 'onSmsRetryClick' | 'onChangeScreen' | 'onFatalErrorOkButtonClick' | 'tempBlockDuration' | 'hideCountdownSection'>> & Pick<ConfirmationProps, 'phone' | 'blockSmsRetry' | 'onTempBlockFinished' | 'clearCodeOnError' | 'initialScreenHintSlot' | 'errorVisibleDuration' | 'breakpoint' | 'client'> & {
108
112
  timeLeft: number;
109
- } & {
110
- /**
111
- * Контрольная точка для кнопки, с нее начинается desktop версия
112
- * @default 1024
113
- */
114
- breakpoint?: number;
115
113
  };
116
114
  type ConfirmationTexts = {
117
115
  /**
@@ -12,7 +12,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
12
12
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
13
13
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
14
14
 
15
- var styles = {"container":"confirmation__container_1ny8v"};
15
+ var styles = {"container":"confirmation__container_n9l9d"};
16
16
  require('./mobile.css')
17
17
 
18
18
  var ConfirmationMobile = function (_a) {
package/mobile/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 14bhc */
2
- .confirmation__container_1ny8v {
1
+ /* hash: 1t5ts */
2
+ .confirmation__container_n9l9d {
3
3
  max-width: 288px;
4
4
  }
@@ -6,8 +6,13 @@ type ResponsiveConfirmationProps = Omit<ConfirmationProps, 'confirmationScreens'
6
6
  * @default 1024
7
7
  */
8
8
  breakpoint?: number;
9
+ /**
10
+ * Версия, которая будет использоваться при серверном рендеринге
11
+ */
12
+ client?: 'desktop' | 'mobile';
9
13
  /**
10
14
  * Значение по-умолчанию для хука useMatchMedia
15
+ * @deprecated Используйте client
11
16
  */
12
17
  defaultMatchMediaValue?: boolean | (() => boolean);
13
18
  };
@@ -1,11 +1,10 @@
1
1
  import React from 'react';
2
- import { useMatchMedia } from '@alfalab/core-components-mq/modern';
3
- import { getComponentBreakpoint } from '@alfalab/core-components-shared/modern';
2
+ import { useIsDesktop } from '@alfalab/core-components-mq/modern';
4
3
  import { ConfirmationDesktop } from './desktop/component.desktop.js';
5
4
  import { ConfirmationMobile } from './mobile/component.mobile.js';
6
5
 
7
- const ConfirmationResponsive = ({ breakpoint = getComponentBreakpoint(), defaultMatchMediaValue = true, ...restProps }) => {
8
- const [isDesktop] = useMatchMedia(`(min-width: ${breakpoint}px)`, defaultMatchMediaValue);
6
+ const ConfirmationResponsive = ({ breakpoint, client, defaultMatchMediaValue = client === undefined ? undefined : client === 'desktop', ...restProps }) => {
7
+ const isDesktop = useIsDesktop(breakpoint, defaultMatchMediaValue);
9
8
  return isDesktop ? (React.createElement(ConfirmationDesktop, { ...restProps })) : (React.createElement(ConfirmationMobile, { breakpoint: breakpoint, ...restProps }));
10
9
  };
11
10
 
@@ -1,6 +1,5 @@
1
1
  import React, { useEffect, useMemo } from 'react';
2
2
  import cn from 'classnames';
3
- import { getComponentBreakpoint } from '@alfalab/core-components-shared/modern';
4
3
  import { usePrevious } from '@alfalab/hooks';
5
4
  import { ConfirmationContext } from '../../context.js';
6
5
  import { defaultTexts } from '../../types.js';
@@ -10,7 +9,7 @@ import { Hint } from '../screens/hint/component.js';
10
9
  import { FatalError } from '../screens/fatal-error/component.js';
11
10
  import { TempBlock } from '../screens/temp-block/component.js';
12
11
 
13
- const styles = {"component":"confirmation__component_6ppf0"};
12
+ const styles = {"component":"confirmation__component_104jd"};
14
13
  require('./index.css')
15
14
 
16
15
  const confirmationScreens = {
@@ -19,7 +18,7 @@ const confirmationScreens = {
19
18
  FATAL_ERROR: FatalError,
20
19
  TEMP_BLOCK: TempBlock,
21
20
  };
22
- const BaseConfirmation = ({ state, screen, alignContent = 'left', children, requiredCharAmount = 5, countdownDuration = ONE_MINUTE, tempBlockDuration = ONE_DAY, phone, blockSmsRetry, dataTestId, className, getScreensMap, onInputFinished, onChangeState, onSmsRetryClick, onChangeScreen, onFatalErrorOkButtonClick, onTempBlockFinished, mobile, clearCodeOnError = true, hideCountdownSection = false, breakpoint = getComponentBreakpoint(), initialScreenHintSlot, errorVisibleDuration, ...restProps }) => {
21
+ const BaseConfirmation = ({ state, screen, alignContent = 'left', children, requiredCharAmount = 5, countdownDuration = ONE_MINUTE, tempBlockDuration = ONE_DAY, phone, blockSmsRetry, dataTestId, className, getScreensMap, onInputFinished, onChangeState, onSmsRetryClick, onChangeScreen, onFatalErrorOkButtonClick, onTempBlockFinished, mobile, clearCodeOnError = true, hideCountdownSection = false, breakpoint, client, initialScreenHintSlot, errorVisibleDuration, ...restProps }) => {
23
22
  const [timeLeft, startTimer, stopTimer] = useCountdown(countdownDuration);
24
23
  const prevState = usePrevious(state);
25
24
  useEffect(() => {
@@ -68,6 +67,7 @@ const BaseConfirmation = ({ state, screen, alignContent = 'left', children, requ
68
67
  phone,
69
68
  blockSmsRetry,
70
69
  breakpoint,
70
+ client,
71
71
  onTempBlockFinished,
72
72
  onChangeState,
73
73
  onChangeScreen,
@@ -1,4 +1,4 @@
1
- /* hash: 123wf */
1
+ /* hash: 28a25 */
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
4
  --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 */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -20,7 +20,7 @@
20
20
  --gap-0: 0;
21
21
  } :root {
22
22
  } :root {
23
- } /* сбрасывает синюю подсветку при нажатии */ .confirmation__component_6ppf0 {
23
+ } /* сбрасывает синюю подсветку при нажатии */ .confirmation__component_104jd {
24
24
  width: 100%;
25
25
  max-width: 388px;
26
26
  margin: var(--gap-0) auto;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- const styles = {"circle":"confirmation__circle_1v6v5"};
3
+ const styles = {"circle":"confirmation__circle_1qprn"};
4
4
  require('./index.css')
5
5
 
6
6
  const SIZE = 16;
@@ -1,4 +1,4 @@
1
- /* hash: ya7ux */
1
+ /* hash: dzcwl */
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
4
  --color-light-neutral-500: #babbc2; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -19,7 +19,7 @@
19
19
  /* новые значения, используйте их */
20
20
  } :root {
21
21
  } :root {
22
- } /* сбрасывает синюю подсветку при нажатии */ .confirmation__circle_1v6v5 {
22
+ } /* сбрасывает синюю подсветку при нажатии */ .confirmation__circle_1qprn {
23
23
  fill: transparent;
24
24
  stroke: var(--color-light-neutral-500);
25
25
  stroke-width: 2px;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { Typography } from '@alfalab/core-components-typography/modern';
4
4
 
5
- const styles = {"header":"confirmation__header_17w4g","typography":"confirmation__typography_17w4g","typographyMobile":"confirmation__typographyMobile_17w4g"};
5
+ const styles = {"header":"confirmation__header_9jo14","typography":"confirmation__typography_9jo14","typographyMobile":"confirmation__typographyMobile_9jo14"};
6
6
  require('./index.css')
7
7
 
8
8
  const Header = ({ mobile, children }) => (React.createElement(Typography.Title, { className: cn(styles.header, styles.typography, { [styles.typographyMobile]: mobile }), tag: 'h3', color: 'primary' }, children));
@@ -1,4 +1,4 @@
1
- /* hash: w5t0b */
1
+ /* hash: 1rw5x */
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 { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :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 */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -39,15 +39,15 @@
39
39
 
40
40
  /* header */
41
41
  --confirmation-header-font-feature-settings: normal
42
- } .confirmation__header_17w4g.confirmation__header_17w4g {
42
+ } .confirmation__header_9jo14.confirmation__header_9jo14 {
43
43
  margin-bottom: var(--gap-24);
44
- } .confirmation__typography_17w4g.confirmation__typography_17w4g.confirmation__typography_17w4g {
44
+ } .confirmation__typography_9jo14.confirmation__typography_9jo14.confirmation__typography_9jo14 {
45
45
  font-feature-settings: var(--confirmation-header-font-feature-settings);
46
46
  font-size: var(--confirmation-header-desktop-font-size);
47
47
  line-height: var(--confirmation-header-desktop-line-height);
48
48
  font-weight: var(--confirmation-header-desktop-font-weight);
49
49
  font-family: var(--confirmation-header-desktop-font-family);
50
- } .confirmation__typographyMobile_17w4g.confirmation__typographyMobile_17w4g.confirmation__typographyMobile_17w4g {
50
+ } .confirmation__typographyMobile_9jo14.confirmation__typographyMobile_9jo14.confirmation__typographyMobile_9jo14 {
51
51
  font-feature-settings: var(--confirmation-header-font-feature-settings);
52
52
  font-size: var(--confirmation-header-mobile-font-size);
53
53
  line-height: var(--confirmation-header-mobile-line-height);
@@ -5,18 +5,18 @@ import { Typography } from '@alfalab/core-components-typography/modern';
5
5
  import { ConfirmationContext } from '../../../context.js';
6
6
  import { Header } from '../../header/component.js';
7
7
 
8
- const styles = {"component":"confirmation__component_xvumn","typographyTheme":"confirmation__typographyTheme_xvumn","typographyThemeMobile":"confirmation__typographyThemeMobile_xvumn","left":"confirmation__left_xvumn","center":"confirmation__center_xvumn","button":"confirmation__button_xvumn"};
8
+ const styles = {"component":"confirmation__component_1yki9","typographyTheme":"confirmation__typographyTheme_1yki9","typographyThemeMobile":"confirmation__typographyThemeMobile_1yki9","left":"confirmation__left_1yki9","center":"confirmation__center_1yki9","button":"confirmation__button_1yki9"};
9
9
  require('./index.css')
10
10
 
11
11
  const FatalError = ({ mobile }) => {
12
- const { alignContent, texts, onFatalErrorOkButtonClick, breakpoint } = useContext(ConfirmationContext);
12
+ const { alignContent, texts, onFatalErrorOkButtonClick, breakpoint, client } = useContext(ConfirmationContext);
13
13
  return (React.createElement("div", { className: cn(styles.component, styles[alignContent]) },
14
14
  React.createElement(Header, { mobile: mobile }, texts.fatalErrorTitle),
15
15
  React.createElement(Typography.Text, { view: 'primary-medium', color: 'primary', className: cn({
16
16
  [styles.typographyTheme]: !mobile,
17
17
  [styles.typographyThemeMobile]: mobile,
18
18
  }) }, texts.fatalErrorDescription),
19
- React.createElement(Button, { size: mobile ? 'xs' : 's', view: 'secondary', onClick: onFatalErrorOkButtonClick, className: styles.button, breakpoint: breakpoint }, texts.fatalErrorButton)));
19
+ React.createElement(Button, { size: mobile ? 'xs' : 's', view: 'secondary', onClick: onFatalErrorOkButtonClick, className: styles.button, breakpoint: breakpoint, client: client }, texts.fatalErrorButton)));
20
20
  };
21
21
 
22
22
  export { FatalError };