@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
@@ -32,12 +32,12 @@ var Hint = function (_a) {
32
32
  React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: 'primary-medium', color: 'primary', className: cn__default.default(styles__default.default.text, (_b = {}, _b[styles__default.default.typographyTheme] = !mobile, _b)) }, "\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."),
33
33
  React__default.default.createElement("div", { className: styles__default.default.phonesWrap },
34
34
  React__default.default.createElement("div", { className: cn__default.default(styles__default.default.phoneWrap, (_c = {}, _c[styles__default.default.phoneContentMobile] = mobile, _c)) },
35
- React__default.default.createElement(coreComponentsLink.Link, { href: 'tel:+78002000000', underline: false, className: styles__default.default.phoneLink }, "8 800 200-00-00"),
35
+ React__default.default.createElement(coreComponentsLink.Link, { href: 'tel:+78002000000', underline: false, className: styles__default.default.phoneLink }, "8 800 200 00 00"),
36
36
  React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: 'primary-medium', color: 'primary', className: cn__default.default(styles__default.default.text, (_d = {}, _d[styles__default.default.typographyTheme] = !mobile, _d)) }, mobile
37
37
  ? 'Для\u00A0звонков по\u00A0России'
38
38
  : ' \u2014\u00A0для звонков по\u00A0России')),
39
39
  React__default.default.createElement("div", { className: cn__default.default(styles__default.default.phoneWrap, (_e = {}, _e[styles__default.default.phoneContentMobile] = mobile, _e)) },
40
- React__default.default.createElement(coreComponentsLink.Link, { href: 'tel:+74957888878', underline: false, className: styles__default.default.phoneLink }, "+7 495 78-888-78"),
40
+ React__default.default.createElement(coreComponentsLink.Link, { href: 'tel:+74957888878', underline: false, className: styles__default.default.phoneLink }, "+7 495 78 888 78"),
41
41
  React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: 'primary-medium', color: 'primary', className: cn__default.default(styles__default.default.text, (_f = {}, _f[styles__default.default.typographyTheme] = !mobile, _f)) }, mobile
42
42
  ? 'В\u00A0Москве и\u00A0за\u00A0границей'
43
43
  : ' \u2014\u00A0в\u00A0Москве и\u00A0за\u00A0границей'))),
@@ -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/desktop.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 };
@@ -13,7 +13,7 @@ import '@alfalab/core-components-code-input/esm/mobile';
13
13
  import '@alfalab/core-components-link/esm';
14
14
  import '@alfalab/core-components-typography/esm';
15
15
  import './components/header/component.js';
16
- import './countdown-section-a04248a9.js';
16
+ import './countdown-section-d5c7f116.js';
17
17
  import '@alfalab/core-components-button/esm';
18
18
  import '@alfalab/core-components-spinner/esm';
19
19
  import './components/screens/hint/component.js';
@@ -13,7 +13,7 @@ import '@alfalab/core-components-code-input/esm/mobile';
13
13
  import '@alfalab/core-components-link/esm';
14
14
  import '@alfalab/core-components-typography/esm';
15
15
  import './components/header/component.js';
16
- import './countdown-section-a04248a9.js';
16
+ import './countdown-section-d5c7f116.js';
17
17
  import '@alfalab/core-components-button/esm';
18
18
  import '@alfalab/core-components-spinner/esm';
19
19
  import './components/screens/hint/component.js';
@@ -21,7 +21,7 @@ import './components/screens/fatal-error/component.js';
21
21
  import './components/screens/temp-block/component.js';
22
22
  import './components/countdown-loader/component.js';
23
23
 
24
- var styles = {"container":"confirmation__container_18e25"};
24
+ var styles = {"container":"confirmation__container_7c9vx"};
25
25
  require('./mobile.css')
26
26
 
27
27
  var ConfirmationMobile = function (_a) {
@@ -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';
@@ -15,12 +15,12 @@ import '@alfalab/core-components-code-input/esm/mobile';
15
15
  import '@alfalab/core-components-link/esm';
16
16
  import '@alfalab/core-components-typography/esm';
17
17
  import '../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';
21
21
  import '../countdown-loader/component.js';
22
22
 
23
- var styles = {"component":"confirmation__component_15mit"};
23
+ var styles = {"component":"confirmation__component_4nx8k"};
24
24
  require('./index.css')
25
25
 
26
26
  var 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;
@@ -13,7 +13,7 @@ import '@alfalab/core-components-code-input/esm/mobile';
13
13
  import '@alfalab/core-components-link/esm';
14
14
  import '@alfalab/core-components-typography/esm';
15
15
  import '../header/component.js';
16
- import '../../countdown-section-a04248a9.js';
16
+ import '../../countdown-section-d5c7f116.js';
17
17
  import '@alfalab/core-components-button/esm';
18
18
  import '@alfalab/core-components-spinner/esm';
19
19
  import '../screens/hint/component.js';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- var styles = {"circle":"confirmation__circle_1o3jh"};
3
+ var styles = {"circle":"confirmation__circle_12w4g"};
4
4
  require('./index.css')
5
5
 
6
6
  var 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/esm';
4
4
 
5
- var styles = {"header":"confirmation__header_qeh8z","typography":"confirmation__typography_qeh8z","typographyMobile":"confirmation__typographyMobile_qeh8z"};
5
+ var styles = {"header":"confirmation__header_13q29","typography":"confirmation__typography_13q29","typographyMobile":"confirmation__typographyMobile_13q29"};
6
6
  require('./index.css')
7
7
 
8
8
  var Header = function (_a) {
@@ -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-a04248a9.js';
17
+ import '../countdown-section-d5c7f116.js';
18
18
  import '@alfalab/core-components-button/esm';
19
19
  import '@alfalab/core-components-spinner/esm';
@@ -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
- var styles = {"component":"confirmation__component_81yvr","typographyTheme":"confirmation__typographyTheme_81yvr","left":"confirmation__left_81yvr","center":"confirmation__center_81yvr","button":"confirmation__button_81yvr"};
9
+ var 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
  var FatalError = function (_a) {
@@ -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
- var 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
+ var 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
  var Hint = function (_a) {
@@ -23,12 +23,12 @@ var Hint = function (_a) {
23
23
  React.createElement(Typography.Text, { view: 'primary-medium', color: 'primary', className: cn(styles.text, (_b = {}, _b[styles.typographyTheme] = !mobile, _b)) }, "\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."),
24
24
  React.createElement("div", { className: styles.phonesWrap },
25
25
  React.createElement("div", { className: cn(styles.phoneWrap, (_c = {}, _c[styles.phoneContentMobile] = mobile, _c)) },
26
- React.createElement(Link, { href: 'tel:+78002000000', underline: false, className: styles.phoneLink }, "8 800 200-00-00"),
26
+ React.createElement(Link, { href: 'tel:+78002000000', underline: false, className: styles.phoneLink }, "8 800 200 00 00"),
27
27
  React.createElement(Typography.Text, { view: 'primary-medium', color: 'primary', className: cn(styles.text, (_d = {}, _d[styles.typographyTheme] = !mobile, _d)) }, mobile
28
28
  ? 'Для\u00A0звонков по\u00A0России'
29
29
  : ' \u2014\u00A0для звонков по\u00A0России')),
30
30
  React.createElement("div", { className: cn(styles.phoneWrap, (_e = {}, _e[styles.phoneContentMobile] = mobile, _e)) },
31
- React.createElement(Link, { href: 'tel:+74957888878', underline: false, className: styles.phoneLink }, "+7 495 78-888-78"),
31
+ React.createElement(Link, { href: 'tel:+74957888878', underline: false, className: styles.phoneLink }, "+7 495 78 888 78"),
32
32
  React.createElement(Typography.Text, { view: 'primary-medium', color: 'primary', className: cn(styles.text, (_f = {}, _f[styles.typographyTheme] = !mobile, _f)) }, mobile
33
33
  ? 'В\u00A0Москве и\u00A0за\u00A0границей'
34
34
  : ' \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-a04248a9.js';
16
+ import '../../countdown-section-d5c7f116.js';
17
17
  import '@alfalab/core-components-button/esm';
18
18
  import '@alfalab/core-components-spinner/esm';
19
19
  import '../countdown-loader/component.js';
@@ -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-a04248a9.js';
11
+ import { s as styles, C as CountdownSection } from '../../../countdown-section-d5c7f116.js';
12
12
  import '../../../utils.js';
13
13
  import '@alfalab/core-components-button/esm';
14
14
  import '@alfalab/core-components-spinner/esm';
@@ -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-a04248a9.js';
8
+ export { C as CountdownSection } from '../../../countdown-section-d5c7f116.js';
@@ -1,4 +1,4 @@
1
- /* hash: 11son */
1
+ /* hash: 1rc05 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-text-primary: #0e0e0e;
@@ -37,49 +37,49 @@
37
37
  --confirmation-text-color: var(--color-light-text-primary)
38
38
 
39
39
  /* header */
40
- } .confirmation__component_yvw20 {
40
+ } .confirmation__component_1wv7u {
41
41
  display: flex;
42
42
  flex-direction: column;
43
- } .confirmation__typographyTheme_yvw20.confirmation__typographyTheme_yvw20 {
43
+ } .confirmation__typographyTheme_1wv7u.confirmation__typographyTheme_1wv7u {
44
44
  font-size: var(--confirmation-text-font-size);
45
45
  line-height: var(--confirmation-text-line-height);
46
46
  font-weight: var(--confirmation-text-font-weight);
47
47
  font-family: var(--confirmation-text-font-family);
48
48
  color: var(--confirmation-text-color);
49
- } .confirmation__phone_yvw20.confirmation__phone_yvw20 {
49
+ } .confirmation__phone_1wv7u.confirmation__phone_1wv7u {
50
50
  color: var(--color-light-text-primary);
51
51
  margin-bottom: var(--gap-2xl);
52
- } .confirmation__compact_yvw20 {
52
+ } .confirmation__compact_1wv7u {
53
53
  margin-bottom: var(--gap-xl);
54
- } .confirmation__loaderWrap_yvw20 {
54
+ } .confirmation__loaderWrap_1wv7u {
55
55
  display: flex;
56
56
  align-items: center;
57
- } .confirmation__left_yvw20 {
57
+ } .confirmation__left_1wv7u {
58
58
  align-items: flex-start;
59
- } .confirmation__center_yvw20 {
59
+ } .confirmation__center_1wv7u {
60
60
  align-items: center;
61
61
  text-align: center
62
- } .confirmation__center_yvw20 .confirmation__loaderWrap_yvw20 {
62
+ } .confirmation__center_1wv7u .confirmation__loaderWrap_1wv7u {
63
63
  justify-content: center;
64
- } .confirmation__codeInput_yvw20 {
64
+ } .confirmation__codeInput_1wv7u {
65
65
  margin-bottom: var(--gap-s);
66
- } .confirmation__smsComeLink_yvw20.confirmation__smsComeLink_yvw20 {
66
+ } .confirmation__smsComeLink_1wv7u.confirmation__smsComeLink_1wv7u {
67
67
  font-size: 14px;
68
68
  line-height: 20px;
69
69
  font-weight: 500;
70
- } .confirmation__countdownContainer_yvw20.confirmation__countdownContainer_yvw20 {
70
+ } .confirmation__countdownContainer_1wv7u.confirmation__countdownContainer_1wv7u {
71
71
  color: var(--color-light-text-secondary);
72
72
  margin-bottom: var(--gap-xl);
73
- } .confirmation__countdownMobile_yvw20.confirmation__countdownMobile_yvw20 {
73
+ } .confirmation__countdownMobile_1wv7u.confirmation__countdownMobile_1wv7u {
74
74
  margin-bottom: var(--gap-l);
75
- } .confirmation__countdownLoaderMobile_yvw20.confirmation__countdownLoaderMobile_yvw20 {
75
+ } .confirmation__countdownLoaderMobile_1wv7u.confirmation__countdownLoaderMobile_1wv7u {
76
76
  margin-bottom: var(--gap-m);
77
- } .confirmation__getCodeButton_yvw20 {
77
+ } .confirmation__getCodeButton_1wv7u {
78
78
  position: relative;
79
79
  top: var(--gap-2xs-neg);
80
80
  margin-bottom: var(--gap-m);
81
- } .confirmation__getCodeButtonMobile_yvw20 {
81
+ } .confirmation__getCodeButtonMobile_1wv7u {
82
82
  margin-bottom: 0;
83
- } .confirmation__containerInput_yvw20 {
83
+ } .confirmation__containerInput_1wv7u {
84
84
  min-height: 80px;
85
85
  }
@@ -10,6 +10,6 @@ import '@alfalab/hooks';
10
10
  import '../../../context.js';
11
11
  import '../../../utils.js';
12
12
  import '../../header/component.js';
13
- import '../../../countdown-section-a04248a9.js';
13
+ import '../../../countdown-section-d5c7f116.js';
14
14
  import '@alfalab/core-components-button/esm';
15
15
  import '@alfalab/core-components-spinner/esm';
@@ -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_raowx","center":"confirmation__center_raowx","typographyTheme":"confirmation__typographyTheme_raowx","description":"confirmation__description_raowx","countdownWrap":"confirmation__countdownWrap_raowx","loader":"confirmation__loader_raowx"};
9
+ var styles = {"component":"confirmation__component_tqagl","center":"confirmation__center_tqagl","typographyTheme":"confirmation__typographyTheme_tqagl","description":"confirmation__description_tqagl","countdownWrap":"confirmation__countdownWrap_tqagl","loader":"confirmation__loader_tqagl"};
10
10
  require('./index.css')
11
11
 
12
12
  var TempBlock = function (_a) {