@alfalab/core-components-confirmation 13.1.6 → 13.1.7

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 (100) hide show
  1. package/Component-89f0cb07.d.ts +62 -0
  2. package/component.desktop.js +1 -1
  3. package/component.mobile.js +2 -2
  4. package/component.responsive.js +1 -1
  5. package/components/base-confirmation/component.js +2 -2
  6. package/components/base-confirmation/index.css +2 -2
  7. package/components/base-confirmation/index.js +1 -1
  8. package/components/countdown-loader/component.js +1 -1
  9. package/components/countdown-loader/index.css +2 -2
  10. package/components/header/component.js +1 -1
  11. package/components/header/index.css +7 -7
  12. package/components/index.js +1 -1
  13. package/components/screens/fatal-error/component.js +1 -1
  14. package/components/screens/fatal-error/index.css +6 -6
  15. package/components/screens/hint/component.js +3 -3
  16. package/components/screens/hint/index.css +12 -12
  17. package/components/screens/index.js +1 -1
  18. package/components/screens/initial/component.js +1 -1
  19. package/components/screens/initial/countdown-section.js +1 -1
  20. package/components/screens/initial/index.css +17 -17
  21. package/components/screens/initial/index.js +1 -1
  22. package/components/screens/temp-block/component.js +1 -1
  23. package/components/screens/temp-block/index.css +7 -7
  24. package/{countdown-section-a349a8ff.js → countdown-section-a7437221.js} +1 -1
  25. package/cssm/Component-89f0cb07.d.ts +62 -0
  26. package/cssm/components/header/index.module.css +3 -3
  27. package/cssm/components/screens/hint/component.js +2 -2
  28. package/cssm/typings-89f0cb07.d.ts +93 -0
  29. package/desktop.js +1 -1
  30. package/esm/Component-89f0cb07.d.ts +62 -0
  31. package/esm/component.desktop.js +1 -1
  32. package/esm/component.mobile.js +2 -2
  33. package/esm/component.responsive.js +1 -1
  34. package/esm/components/base-confirmation/component.js +2 -2
  35. package/esm/components/base-confirmation/index.css +2 -2
  36. package/esm/components/base-confirmation/index.js +1 -1
  37. package/esm/components/countdown-loader/component.js +1 -1
  38. package/esm/components/countdown-loader/index.css +2 -2
  39. package/esm/components/header/component.js +1 -1
  40. package/esm/components/header/index.css +7 -7
  41. package/esm/components/index.js +1 -1
  42. package/esm/components/screens/fatal-error/component.js +1 -1
  43. package/esm/components/screens/fatal-error/index.css +6 -6
  44. package/esm/components/screens/hint/component.js +3 -3
  45. package/esm/components/screens/hint/index.css +12 -12
  46. package/esm/components/screens/index.js +1 -1
  47. package/esm/components/screens/initial/component.js +1 -1
  48. package/esm/components/screens/initial/countdown-section.js +1 -1
  49. package/esm/components/screens/initial/index.css +17 -17
  50. package/esm/components/screens/initial/index.js +1 -1
  51. package/esm/components/screens/temp-block/component.js +1 -1
  52. package/esm/components/screens/temp-block/index.css +7 -7
  53. package/esm/{countdown-section-a04248a9.js → countdown-section-d5c7f116.js} +1 -1
  54. package/esm/desktop.js +1 -1
  55. package/esm/index.js +1 -1
  56. package/esm/mobile.css +2 -2
  57. package/esm/mobile.js +1 -1
  58. package/esm/shared.js +1 -1
  59. package/esm/typings-89f0cb07.d.ts +93 -0
  60. package/index.js +1 -1
  61. package/mobile.css +2 -2
  62. package/mobile.js +1 -1
  63. package/modern/Component-89f0cb07.d.ts +62 -0
  64. package/modern/component.desktop.js +1 -1
  65. package/modern/component.mobile.js +2 -2
  66. package/modern/component.responsive.js +1 -1
  67. package/modern/components/base-confirmation/component.js +2 -2
  68. package/modern/components/base-confirmation/index.css +2 -2
  69. package/modern/components/base-confirmation/index.js +1 -1
  70. package/modern/components/countdown-loader/component.js +1 -1
  71. package/modern/components/countdown-loader/index.css +2 -2
  72. package/modern/components/header/component.js +1 -1
  73. package/modern/components/header/index.css +7 -7
  74. package/modern/components/index.js +1 -1
  75. package/modern/components/screens/fatal-error/component.js +1 -1
  76. package/modern/components/screens/fatal-error/index.css +6 -6
  77. package/modern/components/screens/hint/component.js +3 -3
  78. package/modern/components/screens/hint/index.css +12 -12
  79. package/modern/components/screens/index.js +1 -1
  80. package/modern/components/screens/initial/component.js +1 -1
  81. package/modern/components/screens/initial/countdown-section.js +1 -1
  82. package/modern/components/screens/initial/index.css +17 -17
  83. package/modern/components/screens/initial/index.js +1 -1
  84. package/modern/components/screens/temp-block/component.js +1 -1
  85. package/modern/components/screens/temp-block/index.css +7 -7
  86. package/modern/{countdown-section-f9d36879.js → countdown-section-ffce9cdb.js} +1 -1
  87. package/modern/desktop.js +1 -1
  88. package/modern/index.js +1 -1
  89. package/modern/mobile.css +2 -2
  90. package/modern/mobile.js +1 -1
  91. package/modern/shared.js +1 -1
  92. package/modern/typings-89f0cb07.d.ts +93 -0
  93. package/package.json +2 -2
  94. package/shared.js +1 -1
  95. package/src/components/screens/hint/component.tsx +2 -2
  96. package/src/vars.css +3 -3
  97. package/typings-89f0cb07.d.ts +93 -0
  98. /package/{countdown-section-a349a8ff.d.ts → countdown-section-a7437221.d.ts} +0 -0
  99. /package/esm/{countdown-section-a04248a9.d.ts → countdown-section-d5c7f116.d.ts} +0 -0
  100. /package/modern/{countdown-section-f9d36879.d.ts → countdown-section-ffce9cdb.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- /* hash: lzohn */
1
+ /* hash: 7xfg2 */
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_raowx {
34
+ } .confirmation__component_tqagl {
35
35
  display: flex;
36
36
  flex-direction: column;
37
- } .confirmation__center_raowx {
37
+ } .confirmation__center_tqagl {
38
38
  align-items: center;
39
39
  text-align: center;
40
- } .confirmation__typographyTheme_raowx.confirmation__typographyTheme_raowx {
40
+ } .confirmation__typographyTheme_tqagl.confirmation__typographyTheme_tqagl {
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_raowx.confirmation__description_raowx {
46
+ } .confirmation__description_tqagl.confirmation__description_tqagl {
47
47
  margin-bottom: var(--gap-xs);
48
- } .confirmation__countdownWrap_raowx {
48
+ } .confirmation__countdownWrap_tqagl {
49
49
  display: flex;
50
50
  align-items: center;
51
- } .confirmation__loader_raowx {
51
+ } .confirmation__loader_tqagl {
52
52
  margin-right: var(--gap-xs);
53
53
  }
@@ -6,7 +6,7 @@ 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_yvw20","typographyTheme":"confirmation__typographyTheme_yvw20","phone":"confirmation__phone_yvw20","compact":"confirmation__compact_yvw20","loaderWrap":"confirmation__loaderWrap_yvw20","left":"confirmation__left_yvw20","center":"confirmation__center_yvw20","codeInput":"confirmation__codeInput_yvw20","smsComeLink":"confirmation__smsComeLink_yvw20","countdownContainer":"confirmation__countdownContainer_yvw20","countdownMobile":"confirmation__countdownMobile_yvw20","countdownLoaderMobile":"confirmation__countdownLoaderMobile_yvw20","getCodeButton":"confirmation__getCodeButton_yvw20","getCodeButtonMobile":"confirmation__getCodeButtonMobile_yvw20","containerInput":"confirmation__containerInput_yvw20"};
9
+ var styles = {"component":"confirmation__component_1wv7u","typographyTheme":"confirmation__typographyTheme_1wv7u","phone":"confirmation__phone_1wv7u","compact":"confirmation__compact_1wv7u","loaderWrap":"confirmation__loaderWrap_1wv7u","left":"confirmation__left_1wv7u","center":"confirmation__center_1wv7u","codeInput":"confirmation__codeInput_1wv7u","smsComeLink":"confirmation__smsComeLink_1wv7u","countdownContainer":"confirmation__countdownContainer_1wv7u","countdownMobile":"confirmation__countdownMobile_1wv7u","countdownLoaderMobile":"confirmation__countdownLoaderMobile_1wv7u","getCodeButton":"confirmation__getCodeButton_1wv7u","getCodeButtonMobile":"confirmation__getCodeButtonMobile_1wv7u","containerInput":"confirmation__containerInput_1wv7u"};
10
10
  require('./components/screens/initial/index.css')
11
11
 
12
12
  var CountdownSection = function (_a) {
package/esm/desktop.js CHANGED
@@ -14,7 +14,7 @@ import '@alfalab/core-components-code-input/esm/mobile';
14
14
  import '@alfalab/core-components-link/esm';
15
15
  import '@alfalab/core-components-typography/esm';
16
16
  import './components/header/component.js';
17
- import './countdown-section-a04248a9.js';
17
+ import './countdown-section-d5c7f116.js';
18
18
  import '@alfalab/core-components-button/esm';
19
19
  import '@alfalab/core-components-spinner/esm';
20
20
  import './components/screens/hint/component.js';
package/esm/index.js CHANGED
@@ -16,7 +16,7 @@ import '@alfalab/core-components-code-input/esm/mobile';
16
16
  import '@alfalab/core-components-link/esm';
17
17
  import '@alfalab/core-components-typography/esm';
18
18
  import './components/header/component.js';
19
- import './countdown-section-a04248a9.js';
19
+ import './countdown-section-d5c7f116.js';
20
20
  import '@alfalab/core-components-button/esm';
21
21
  import '@alfalab/core-components-spinner/esm';
22
22
  import './components/screens/hint/component.js';
package/esm/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1emgt */
2
- .confirmation__container_18e25 {
1
+ /* hash: 54o9q */
2
+ .confirmation__container_7c9vx {
3
3
  max-width: 288px;
4
4
  }
package/esm/mobile.js CHANGED
@@ -14,7 +14,7 @@ import '@alfalab/core-components-code-input/esm/mobile';
14
14
  import '@alfalab/core-components-link/esm';
15
15
  import '@alfalab/core-components-typography/esm';
16
16
  import './components/header/component.js';
17
- import './countdown-section-a04248a9.js';
17
+ import './countdown-section-d5c7f116.js';
18
18
  import '@alfalab/core-components-button/esm';
19
19
  import '@alfalab/core-components-spinner/esm';
20
20
  import './components/screens/hint/component.js';
package/esm/shared.js CHANGED
@@ -15,6 +15,6 @@ import '@alfalab/core-components-link/esm';
15
15
  import '@alfalab/core-components-typography/esm';
16
16
  import '@alfalab/hooks';
17
17
  import './components/header/component.js';
18
- import './countdown-section-a04248a9.js';
18
+ import './countdown-section-d5c7f116.js';
19
19
  import '@alfalab/core-components-button/esm';
20
20
  import '@alfalab/core-components-spinner/esm';
@@ -0,0 +1,93 @@
1
+ import { AnchorHTMLAttributes, ButtonHTMLAttributes, ElementType, ReactNode } from 'react';
2
+ type StyleColors = {
3
+ default: {
4
+ [key: string]: string;
5
+ };
6
+ inverted: {
7
+ [key: string]: string;
8
+ };
9
+ };
10
+ type ComponentProps = {
11
+ /**
12
+ * Тип кнопки
13
+ * @default secondary
14
+ */
15
+ view?: 'accent' | 'primary' | 'secondary' | 'tertiary' | 'outlined' | 'filled' | 'transparent' | 'link' | 'ghost';
16
+ /**
17
+ * Слот слева
18
+ */
19
+ leftAddons?: ReactNode;
20
+ /**
21
+ * Слот справа
22
+ */
23
+ rightAddons?: ReactNode;
24
+ /**
25
+ * Размер компонента
26
+ * @default m
27
+ */
28
+ size?: 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl';
29
+ /**
30
+ * Растягивает компонент на ширину контейнера
31
+ * @default false
32
+ */
33
+ block?: boolean;
34
+ /**
35
+ * Дополнительный класс
36
+ */
37
+ className?: string;
38
+ /**
39
+ * Дополнительный класс для спиннера
40
+ */
41
+ spinnerClassName?: string;
42
+ /**
43
+ * Выводит ссылку в виде кнопки
44
+ */
45
+ href?: string;
46
+ /**
47
+ * Позволяет использовать кастомный компонент для кнопки (например Link из роутера)
48
+ */
49
+ Component?: ElementType;
50
+ /**
51
+ * Идентификатор для систем автоматизированного тестирования
52
+ */
53
+ dataTestId?: string;
54
+ /**
55
+ * Показать лоадер
56
+ * @default false
57
+ */
58
+ loading?: boolean;
59
+ /**
60
+ * Не переносить текст кнопки на новую строку
61
+ * @default false
62
+ */
63
+ nowrap?: boolean;
64
+ /**
65
+ * Набор цветов для компонента
66
+ */
67
+ colors?: 'default' | 'inverted';
68
+ /**
69
+ * Дочерние элементы.
70
+ */
71
+ children?: ReactNode;
72
+ };
73
+ type PrivateButtonProps = {
74
+ /**
75
+ * Основные стили компонента.
76
+ */
77
+ styles: {
78
+ [key: string]: string;
79
+ };
80
+ /**
81
+ * Стили компонента для default и inverted режима.
82
+ */
83
+ colorStylesMap: StyleColors;
84
+ };
85
+ type CommonButtonProps = ComponentProps & Partial<AnchorHTMLAttributes<HTMLAnchorElement> | ButtonHTMLAttributes<HTMLButtonElement>>;
86
+ type ButtonProps = CommonButtonProps & {
87
+ /**
88
+ * Контрольная точка, с нее начинается desktop версия
89
+ * @default 1024
90
+ */
91
+ breakpoint?: number;
92
+ };
93
+ export { StyleColors, ComponentProps, PrivateButtonProps, CommonButtonProps, ButtonProps };
package/index.js CHANGED
@@ -20,7 +20,7 @@ require('@alfalab/core-components-code-input/mobile');
20
20
  require('@alfalab/core-components-link');
21
21
  require('@alfalab/core-components-typography');
22
22
  require('./components/header/component.js');
23
- require('./countdown-section-a349a8ff.js');
23
+ require('./countdown-section-a7437221.js');
24
24
  require('@alfalab/core-components-button');
25
25
  require('@alfalab/core-components-spinner');
26
26
  require('./components/screens/hint/component.js');
package/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1emgt */
2
- .confirmation__container_18e25 {
1
+ /* hash: 54o9q */
2
+ .confirmation__container_7c9vx {
3
3
  max-width: 288px;
4
4
  }
package/mobile.js CHANGED
@@ -18,7 +18,7 @@ require('@alfalab/core-components-code-input/mobile');
18
18
  require('@alfalab/core-components-link');
19
19
  require('@alfalab/core-components-typography');
20
20
  require('./components/header/component.js');
21
- require('./countdown-section-a349a8ff.js');
21
+ require('./countdown-section-a7437221.js');
22
22
  require('@alfalab/core-components-button');
23
23
  require('@alfalab/core-components-spinner');
24
24
  require('./components/screens/hint/component.js');
@@ -0,0 +1,62 @@
1
+ /// <reference types="react" />
2
+ import React from "react";
3
+ /* eslint-disable no-plusplus, no-param-reassign */
4
+ import { MaskitoPlugin, MaskitoPostprocessor, MaskitoPreprocessor } from "@maskito/core";
5
+ import { CommonButtonProps, PrivateButtonProps } from "./typings-89f0cb07";
6
+ declare const isClient: () => boolean;
7
+ declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
8
+ type PaddingType = number | string | {
9
+ top?: number;
10
+ right?: number;
11
+ bottom?: number;
12
+ left?: number;
13
+ };
14
+ declare function createPaddingStyle(padding?: PaddingType): undefined | React.CSSProperties;
15
+ declare function easeInOutQuad(x: number): number;
16
+ declare const easingFns: {
17
+ easeInOutQuad: typeof easeInOutQuad;
18
+ };
19
+ /**
20
+ * Возвращает true, если значение равно null или undefined
21
+ */
22
+ declare function isNil(value: unknown): boolean;
23
+ /**
24
+ * Выбор значения между min max границами
25
+ */
26
+ declare function clamp<T extends Date | number>(value: T, min: T, max: T): T;
27
+ declare function noop(): void;
28
+ declare const fnUtils: {
29
+ clamp: typeof clamp;
30
+ noop: typeof noop;
31
+ isNil: typeof isNil;
32
+ };
33
+ /**
34
+ * Запрещает каретке становиться за указанные границы
35
+ */
36
+ declare function caretGuard(guard: (value: string, selection: readonly [
37
+ from: number,
38
+ to: number
39
+ ]) => [
40
+ from: number,
41
+ to: number
42
+ ]): MaskitoPlugin;
43
+ /**
44
+ * Запрещает удалять указанный префикс
45
+ */
46
+ declare function prefixPostprocessor(prefix: string): MaskitoPostprocessor;
47
+ /**
48
+ * Препроцессор необходим для правильной вставки/автокомплита телефонного номера
49
+ */
50
+ declare function insertionPhonePreprocessor(mask: Array<string | RegExp>, countryCode?: string, clearableCountryCode?: boolean): MaskitoPreprocessor;
51
+ declare const maskUtils: {
52
+ insertionPhonePreprocessor: typeof insertionPhonePreprocessor;
53
+ prefixPostprocessor: typeof prefixPostprocessor;
54
+ caretGuard: typeof caretGuard;
55
+ };
56
+ /**
57
+ * Минимальное время отображения лоадера - 500мс,
58
+ * чтобы при быстрых ответах от сервера кнопка не «моргала».
59
+ */
60
+ declare const LOADER_MIN_DISPLAY_INTERVAL = 500;
61
+ declare const BaseButton: React.ForwardRefExoticComponent<(CommonButtonProps & PrivateButtonProps) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
62
+ export { isClient, getDataTestId, createPaddingStyle, easingFns, fnUtils, maskUtils, LOADER_MIN_DISPLAY_INTERVAL, BaseButton };
@@ -12,7 +12,7 @@ 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
14
  import './components/header/component.js';
15
- import './countdown-section-f9d36879.js';
15
+ import './countdown-section-ffce9cdb.js';
16
16
  import '@alfalab/core-components-button/modern';
17
17
  import '@alfalab/core-components-spinner/modern';
18
18
  import './components/screens/hint/component.js';
@@ -12,7 +12,7 @@ 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
14
  import './components/header/component.js';
15
- import './countdown-section-f9d36879.js';
15
+ import './countdown-section-ffce9cdb.js';
16
16
  import '@alfalab/core-components-button/modern';
17
17
  import '@alfalab/core-components-spinner/modern';
18
18
  import './components/screens/hint/component.js';
@@ -20,7 +20,7 @@ import './components/screens/fatal-error/component.js';
20
20
  import './components/screens/temp-block/component.js';
21
21
  import './components/countdown-loader/component.js';
22
22
 
23
- const styles = {"container":"confirmation__container_18e25"};
23
+ const styles = {"container":"confirmation__container_7c9vx"};
24
24
  require('./mobile.css')
25
25
 
26
26
  const ConfirmationMobile = ({ className, ...resProps }) => (React.createElement(BaseConfirmation, { mobile: true, className: cn(className, styles.container), ...resProps }));
@@ -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-f9d36879.js';
18
+ import './countdown-section-ffce9cdb.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';
@@ -14,12 +14,12 @@ import '@alfalab/core-components-code-input/modern/mobile';
14
14
  import '@alfalab/core-components-link/modern';
15
15
  import '@alfalab/core-components-typography/modern';
16
16
  import '../header/component.js';
17
- import '../../countdown-section-f9d36879.js';
17
+ import '../../countdown-section-ffce9cdb.js';
18
18
  import '@alfalab/core-components-button/modern';
19
19
  import '@alfalab/core-components-spinner/modern';
20
20
  import '../countdown-loader/component.js';
21
21
 
22
- const styles = {"component":"confirmation__component_15mit"};
22
+ const styles = {"component":"confirmation__component_4nx8k"};
23
23
  require('./index.css')
24
24
 
25
25
  const confirmationScreens = {
@@ -1,4 +1,4 @@
1
- /* hash: ntfmw */
1
+ /* hash: 9bfxt */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-secondary: rgba(60, 60, 67, 0.66); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -15,7 +15,7 @@
15
15
  } :root {
16
16
  } :root {
17
17
  } :root {
18
- } .confirmation__component_15mit {
18
+ } .confirmation__component_4nx8k {
19
19
  width: 100%;
20
20
  max-width: 388px;
21
21
  margin: 0 auto;
@@ -12,7 +12,7 @@ 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
14
  import '../header/component.js';
15
- import '../../countdown-section-f9d36879.js';
15
+ import '../../countdown-section-ffce9cdb.js';
16
16
  import '@alfalab/core-components-button/modern';
17
17
  import '@alfalab/core-components-spinner/modern';
18
18
  import '../screens/hint/component.js';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- const styles = {"circle":"confirmation__circle_1o3jh"};
3
+ const styles = {"circle":"confirmation__circle_12w4g"};
4
4
  require('./index.css')
5
5
 
6
6
  const SIZE = 16;
@@ -1,4 +1,4 @@
1
- /* hash: mz2z7 */
1
+ /* hash: hfux0 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-tertiary: #c1c1c3; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -15,7 +15,7 @@
15
15
  } :root {
16
16
  } :root {
17
17
  } :root {
18
- } .confirmation__circle_1o3jh {
18
+ } .confirmation__circle_12w4g {
19
19
  fill: transparent;
20
20
  stroke: var(--color-light-graphic-tertiary);
21
21
  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_qeh8z","typography":"confirmation__typography_qeh8z","typographyMobile":"confirmation__typographyMobile_qeh8z"};
5
+ const styles = {"header":"confirmation__header_13q29","typography":"confirmation__typography_13q29","typographyMobile":"confirmation__typographyMobile_13q29"};
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: 1wxi4 */
1
+ /* hash: yff0a */
2
2
  :root {
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 */
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 */
@@ -25,24 +25,24 @@
25
25
  --confirmation-header-desktop-font-family: var(--font-family-system);
26
26
 
27
27
  /* mobile */
28
- --confirmation-header-mobile-font-size: 18px;
29
- --confirmation-header-mobile-line-height: 22px;
30
- --confirmation-header-mobile-font-weight: bold;
28
+ --confirmation-header-mobile-font-size: 20px;
29
+ --confirmation-header-mobile-line-height: 28px;
30
+ --confirmation-header-mobile-font-weight: 600;
31
31
  --confirmation-header-mobile-font-family: var(--font-family-system);
32
32
 
33
33
  /* text */
34
34
 
35
35
  /* header */
36
36
  --confirmation-header-font-feature-settings: normal
37
- } .confirmation__header_qeh8z.confirmation__header_qeh8z {
37
+ } .confirmation__header_13q29.confirmation__header_13q29 {
38
38
  margin-bottom: var(--gap-xl);
39
- } .confirmation__typography_qeh8z.confirmation__typography_qeh8z.confirmation__typography_qeh8z {
39
+ } .confirmation__typography_13q29.confirmation__typography_13q29.confirmation__typography_13q29 {
40
40
  font-feature-settings: var(--confirmation-header-font-feature-settings);
41
41
  font-size: var(--confirmation-header-desktop-font-size);
42
42
  line-height: var(--confirmation-header-desktop-line-height);
43
43
  font-weight: var(--confirmation-header-desktop-font-weight);
44
44
  font-family: var(--confirmation-header-desktop-font-family);
45
- } .confirmation__typographyMobile_qeh8z.confirmation__typographyMobile_qeh8z.confirmation__typographyMobile_qeh8z {
45
+ } .confirmation__typographyMobile_13q29.confirmation__typographyMobile_13q29.confirmation__typographyMobile_13q29 {
46
46
  font-feature-settings: var(--confirmation-header-font-feature-settings);
47
47
  font-size: var(--confirmation-header-mobile-font-size);
48
48
  line-height: var(--confirmation-header-mobile-line-height);
@@ -14,6 +14,6 @@ import '@alfalab/hooks';
14
14
  import '../context.js';
15
15
  import '../utils.js';
16
16
  import './header/component.js';
17
- import '../countdown-section-f9d36879.js';
17
+ import '../countdown-section-ffce9cdb.js';
18
18
  import '@alfalab/core-components-button/modern';
19
19
  import '@alfalab/core-components-spinner/modern';
@@ -6,7 +6,7 @@ import { ConfirmationContext } from '../../../context.js';
6
6
  import { Header } from '../../header/component.js';
7
7
  import '../../../utils.js';
8
8
 
9
- const styles = {"component":"confirmation__component_81yvr","typographyTheme":"confirmation__typographyTheme_81yvr","left":"confirmation__left_81yvr","center":"confirmation__center_81yvr","button":"confirmation__button_81yvr"};
9
+ const styles = {"component":"confirmation__component_ldjvy","typographyTheme":"confirmation__typographyTheme_ldjvy","left":"confirmation__left_ldjvy","center":"confirmation__center_ldjvy","button":"confirmation__button_ldjvy"};
10
10
  require('./index.css')
11
11
 
12
12
  const FatalError = ({ mobile }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1wdc2 */
1
+ /* hash: xv8xm */
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,20 +31,20 @@
31
31
  --confirmation-text-color: var(--color-light-text-primary)
32
32
 
33
33
  /* header */
34
- } .confirmation__component_81yvr {
34
+ } .confirmation__component_ldjvy {
35
35
  display: flex;
36
36
  flex-direction: column;
37
- } .confirmation__typographyTheme_81yvr.confirmation__typographyTheme_81yvr {
37
+ } .confirmation__typographyTheme_ldjvy.confirmation__typographyTheme_ldjvy {
38
38
  font-size: var(--confirmation-text-font-size);
39
39
  line-height: var(--confirmation-text-line-height);
40
40
  font-weight: var(--confirmation-text-font-weight);
41
41
  font-family: var(--confirmation-text-font-family);
42
42
  color: var(--confirmation-text-color);
43
- } .confirmation__left_81yvr {
43
+ } .confirmation__left_ldjvy {
44
44
  align-items: flex-start;
45
- } .confirmation__center_81yvr {
45
+ } .confirmation__center_ldjvy {
46
46
  align-items: center;
47
47
  text-align: center;
48
- } .confirmation__button_81yvr {
48
+ } .confirmation__button_ldjvy {
49
49
  margin-top: var(--gap-2xl);
50
50
  }
@@ -7,7 +7,7 @@ import { ConfirmationContext } from '../../../context.js';
7
7
  import { Header } from '../../header/component.js';
8
8
  import '../../../utils.js';
9
9
 
10
- const styles = {"component":"confirmation__component_g2hop","center":"confirmation__center_g2hop","text":"confirmation__text_g2hop","typographyTheme":"confirmation__typographyTheme_g2hop","phonesWrap":"confirmation__phonesWrap_g2hop","phoneWrap":"confirmation__phoneWrap_g2hop","phoneLink":"confirmation__phoneLink_g2hop","hintButton":"confirmation__hintButton_g2hop","phoneContentMobile":"confirmation__phoneContentMobile_g2hop"};
10
+ const styles = {"component":"confirmation__component_1e506","center":"confirmation__center_1e506","text":"confirmation__text_1e506","typographyTheme":"confirmation__typographyTheme_1e506","phonesWrap":"confirmation__phonesWrap_1e506","phoneWrap":"confirmation__phoneWrap_1e506","phoneLink":"confirmation__phoneLink_1e506","hintButton":"confirmation__hintButton_1e506","phoneContentMobile":"confirmation__phoneContentMobile_1e506"};
11
11
  require('./index.css')
12
12
 
13
13
  const Hint = ({ mobile }) => {
@@ -21,12 +21,12 @@ const Hint = ({ mobile }) => {
21
21
  React.createElement(Typography.Text, { view: 'primary-medium', color: 'primary', className: cn(styles.text, { [styles.typographyTheme]: !mobile }) }, "\u0415\u0441\u043B\u0438 \u0443\u00A0\u0432\u0430\u0441 \u0438\u0437\u043C\u0435\u043D\u0438\u043B\u0441\u044F \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430, \u043F\u043E\u0437\u0432\u043E\u043D\u0438\u0442\u0435 \u043D\u0430\u043C \u0438\u043B\u0438 \u043E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0432\u00A0\u043B\u044E\u0431\u043E\u0435 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430."),
22
22
  React.createElement("div", { className: styles.phonesWrap },
23
23
  React.createElement("div", { className: cn(styles.phoneWrap, { [styles.phoneContentMobile]: mobile }) },
24
- React.createElement(Link, { href: 'tel:+78002000000', underline: false, className: styles.phoneLink }, "8 800 200-00-00"),
24
+ React.createElement(Link, { href: 'tel:+78002000000', underline: false, className: styles.phoneLink }, "8 800 200 00 00"),
25
25
  React.createElement(Typography.Text, { view: 'primary-medium', color: 'primary', className: cn(styles.text, { [styles.typographyTheme]: !mobile }) }, mobile
26
26
  ? 'Для\u00A0звонков по\u00A0России'
27
27
  : ' \u2014\u00A0для звонков по\u00A0России')),
28
28
  React.createElement("div", { className: cn(styles.phoneWrap, { [styles.phoneContentMobile]: mobile }) },
29
- React.createElement(Link, { href: 'tel:+74957888878', underline: false, className: styles.phoneLink }, "+7 495 78-888-78"),
29
+ React.createElement(Link, { href: 'tel:+74957888878', underline: false, className: styles.phoneLink }, "+7 495 78 888 78"),
30
30
  React.createElement(Typography.Text, { view: 'primary-medium', color: 'primary', className: cn(styles.text, { [styles.typographyTheme]: !mobile }) }, mobile
31
31
  ? 'В\u00A0Москве и\u00A0за\u00A0границей'
32
32
  : ' \u2014\u00A0в\u00A0Москве и\u00A0за\u00A0границей'))),
@@ -1,4 +1,4 @@
1
- /* hash: sb4ox */
1
+ /* hash: dt4zv */
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_g2hop {
36
+ } .confirmation__component_1e506 {
37
37
  display: flex;
38
38
  flex-direction: column;
39
39
  align-items: flex-start
40
- } .confirmation__component_g2hop span:last-of-type {
40
+ } .confirmation__component_1e506 span:last-of-type {
41
41
  margin-bottom: 0;
42
- } .confirmation__center_g2hop {
42
+ } .confirmation__center_1e506 {
43
43
  align-items: center;
44
44
  text-align: center;
45
- } .confirmation__text_g2hop.confirmation__text_g2hop {
45
+ } .confirmation__text_1e506.confirmation__text_1e506 {
46
46
  margin-bottom: var(--gap-xl);
47
- } .confirmation__typographyTheme_g2hop.confirmation__typographyTheme_g2hop {
47
+ } .confirmation__typographyTheme_1e506.confirmation__typographyTheme_1e506 {
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_g2hop {
53
+ } .confirmation__phonesWrap_1e506 {
54
54
  display: flex;
55
55
  flex-direction: column;
56
56
  margin-bottom: var(--gap-xl);
57
- } .confirmation__phoneWrap_g2hop {
57
+ } .confirmation__phoneWrap_1e506 {
58
58
  margin-bottom: var(--gap-xs)
59
- } .confirmation__phoneWrap_g2hop:last-child {
59
+ } .confirmation__phoneWrap_1e506:last-child {
60
60
  margin-bottom: 0;
61
- } .confirmation__phoneLink_g2hop.confirmation__phoneLink_g2hop {
61
+ } .confirmation__phoneLink_1e506.confirmation__phoneLink_1e506 {
62
62
  font-size: 16px;
63
63
  line-height: 24px;
64
64
  font-weight: 500;
65
- } .confirmation__hintButton_g2hop {
65
+ } .confirmation__hintButton_1e506 {
66
66
  margin-top: var(--gap-2xl);
67
- } .confirmation__phoneContentMobile_g2hop {
67
+ } .confirmation__phoneContentMobile_1e506 {
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-f9d36879.js';
16
+ import '../../countdown-section-ffce9cdb.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, 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-f9d36879.js';
11
+ import { s as styles, C as CountdownSection } from '../../../countdown-section-ffce9cdb.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-f9d36879.js';
8
+ export { C as CountdownSection } from '../../../countdown-section-ffce9cdb.js';