@alfalab/core-components-modal 6.0.8 → 6.0.10

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 (145) hide show
  1. package/{Component-0defecef.d.ts → Component-cacd0e72.d.ts} +0 -0
  2. package/{Component-0defecef.js → Component-cacd0e72.js} +1 -1
  3. package/Component.desktop.js +8 -8
  4. package/Component.mobile.js +7 -7
  5. package/Component.responsive.js +9 -8
  6. package/components/closer/Component.js +3 -3
  7. package/components/closer/index.css +4 -4
  8. package/components/content/Component.desktop.d.ts +1 -1
  9. package/components/content/Component.desktop.js +2 -2
  10. package/components/content/Component.js +1 -1
  11. package/components/content/Component.mobile.js +2 -2
  12. package/components/content/desktop.css +8 -8
  13. package/components/content/index.css +3 -3
  14. package/components/content/mobile.css +3 -3
  15. package/components/footer/Component.desktop.d.ts +1 -1
  16. package/components/footer/Component.desktop.js +2 -2
  17. package/components/footer/Component.js +2 -2
  18. package/components/footer/Component.mobile.js +2 -2
  19. package/components/footer/desktop.css +9 -9
  20. package/components/footer/index.css +4 -4
  21. package/components/footer/layout.css +25 -25
  22. package/components/footer/mobile.css +3 -3
  23. package/components/header/Component.desktop.d.ts +1 -1
  24. package/components/header/Component.desktop.js +4 -4
  25. package/components/header/Component.js +1 -1
  26. package/components/header/Component.mobile.d.ts +1 -1
  27. package/components/header/Component.mobile.js +4 -4
  28. package/components/header/desktop.css +17 -17
  29. package/components/header/index.css +15 -15
  30. package/components/header/mobile.css +3 -3
  31. package/cssm/Component.desktop.js +8 -8
  32. package/cssm/Component.mobile.js +7 -7
  33. package/cssm/Component.responsive.js +11 -10
  34. package/cssm/components/closer/Component.js +2 -2
  35. package/cssm/components/content/Component.desktop.d.ts +1 -1
  36. package/cssm/components/content/Component.desktop.js +1 -1
  37. package/cssm/components/content/Component.mobile.js +1 -1
  38. package/cssm/components/footer/Component.desktop.d.ts +1 -1
  39. package/cssm/components/footer/Component.desktop.js +1 -1
  40. package/cssm/components/footer/Component.mobile.js +1 -1
  41. package/cssm/components/header/Component.desktop.d.ts +1 -1
  42. package/cssm/components/header/Component.desktop.js +4 -4
  43. package/cssm/components/header/Component.mobile.js +4 -4
  44. package/cssm/desktop.js +7 -7
  45. package/cssm/index.js +10 -10
  46. package/cssm/mobile.js +7 -7
  47. package/cssm/responsive.js +10 -10
  48. package/{esm/tslib.es6-62c96ba4.d.ts → cssm/tslib.es6-9682e485.d.ts} +8 -4
  49. package/{tslib.es6-e377d59a.js → cssm/tslib.es6-9682e485.js} +1 -1
  50. package/cssm/utils.js +1 -3
  51. package/desktop.css +9 -9
  52. package/desktop.js +6 -6
  53. package/esm/{Component-2b159fe9.d.ts → Component-f9c8a7ff.d.ts} +0 -0
  54. package/esm/{Component-2b159fe9.js → Component-f9c8a7ff.js} +1 -1
  55. package/esm/Component.desktop.js +7 -7
  56. package/esm/Component.mobile.js +7 -7
  57. package/esm/Component.responsive.js +9 -8
  58. package/esm/components/closer/Component.js +3 -3
  59. package/esm/components/closer/index.css +4 -4
  60. package/esm/components/content/Component.desktop.d.ts +1 -1
  61. package/esm/components/content/Component.desktop.js +2 -2
  62. package/esm/components/content/Component.js +1 -1
  63. package/esm/components/content/Component.mobile.js +2 -2
  64. package/esm/components/content/desktop.css +8 -8
  65. package/esm/components/content/index.css +3 -3
  66. package/esm/components/content/mobile.css +3 -3
  67. package/esm/components/footer/Component.desktop.d.ts +1 -1
  68. package/esm/components/footer/Component.desktop.js +2 -2
  69. package/esm/components/footer/Component.js +2 -2
  70. package/esm/components/footer/Component.mobile.js +2 -2
  71. package/esm/components/footer/desktop.css +9 -9
  72. package/esm/components/footer/index.css +4 -4
  73. package/esm/components/footer/layout.css +25 -25
  74. package/esm/components/footer/mobile.css +3 -3
  75. package/esm/components/header/Component.desktop.d.ts +1 -1
  76. package/esm/components/header/Component.desktop.js +4 -4
  77. package/esm/components/header/Component.js +1 -1
  78. package/esm/components/header/Component.mobile.d.ts +1 -1
  79. package/esm/components/header/Component.mobile.js +4 -4
  80. package/esm/components/header/desktop.css +17 -17
  81. package/esm/components/header/index.css +15 -15
  82. package/esm/components/header/mobile.css +3 -3
  83. package/esm/desktop.css +9 -9
  84. package/esm/desktop.js +6 -6
  85. package/esm/index.js +8 -8
  86. package/esm/mobile.css +2 -2
  87. package/esm/mobile.js +6 -6
  88. package/esm/responsive.js +8 -8
  89. package/esm/transitions.css +8 -8
  90. package/esm/transitions.module-a1e3a16d.js +4 -0
  91. package/{tslib.es6-e377d59a.d.ts → esm/tslib.es6-cd2fa46f.d.ts} +8 -4
  92. package/esm/{tslib.es6-62c96ba4.js → tslib.es6-cd2fa46f.js} +1 -1
  93. package/esm/utils.js +1 -3
  94. package/index.js +8 -8
  95. package/mobile.css +2 -2
  96. package/mobile.js +6 -6
  97. package/modern/{Component-1f033c16.d.ts → Component-dc6c12bd.d.ts} +0 -0
  98. package/modern/{Component-1f033c16.js → Component-dc6c12bd.js} +1 -1
  99. package/modern/Component.desktop.js +8 -8
  100. package/modern/Component.mobile.js +10 -12
  101. package/modern/Component.responsive.js +10 -9
  102. package/modern/components/closer/Component.js +3 -3
  103. package/modern/components/closer/index.css +4 -4
  104. package/modern/components/content/Component.desktop.d.ts +1 -1
  105. package/modern/components/content/Component.desktop.js +2 -2
  106. package/modern/components/content/Component.js +1 -1
  107. package/modern/components/content/Component.mobile.js +2 -2
  108. package/modern/components/content/desktop.css +8 -8
  109. package/modern/components/content/index.css +3 -3
  110. package/modern/components/content/mobile.css +3 -3
  111. package/modern/components/footer/Component.desktop.d.ts +1 -1
  112. package/modern/components/footer/Component.desktop.js +3 -3
  113. package/modern/components/footer/Component.js +2 -2
  114. package/modern/components/footer/Component.mobile.js +3 -3
  115. package/modern/components/footer/desktop.css +9 -9
  116. package/modern/components/footer/index.css +4 -4
  117. package/modern/components/footer/layout.css +25 -25
  118. package/modern/components/footer/mobile.css +3 -3
  119. package/modern/components/header/Component.desktop.d.ts +1 -1
  120. package/modern/components/header/Component.desktop.js +5 -5
  121. package/modern/components/header/Component.js +1 -1
  122. package/modern/components/header/Component.mobile.d.ts +1 -1
  123. package/modern/components/header/Component.mobile.js +5 -5
  124. package/modern/components/header/desktop.css +17 -17
  125. package/modern/components/header/index.css +15 -15
  126. package/modern/components/header/mobile.css +3 -3
  127. package/modern/desktop.css +9 -9
  128. package/modern/desktop.js +5 -5
  129. package/modern/index.js +7 -7
  130. package/modern/mobile.css +2 -2
  131. package/modern/mobile.js +5 -5
  132. package/modern/responsive.js +7 -7
  133. package/modern/transitions.css +8 -8
  134. package/modern/transitions.module-a1e3a16d.js +4 -0
  135. package/modern/utils.js +1 -3
  136. package/package.json +5 -4
  137. package/responsive.js +8 -8
  138. package/transitions.css +8 -8
  139. package/transitions.module-fc7cacd3.js +6 -0
  140. package/{cssm/tslib.es6-ce870b46.d.ts → tslib.es6-93e97f54.d.ts} +8 -4
  141. package/{cssm/tslib.es6-ce870b46.js → tslib.es6-93e97f54.js} +1 -1
  142. package/utils.js +1 -3
  143. package/esm/transitions.module-25489c78.js +0 -4
  144. package/modern/transitions.module-25489c78.js +0 -4
  145. package/transitions.module-8830325d.js +0 -6
package/cssm/utils.js CHANGED
@@ -29,9 +29,7 @@ var isOverflowing = function (container) {
29
29
  }
30
30
  return container.scrollHeight > container.clientHeight;
31
31
  };
32
- var getPaddingRight = function (node) {
33
- return parseInt(window.getComputedStyle(node).paddingRight, 10) || 0;
34
- };
32
+ var getPaddingRight = function (node) { return parseInt(window.getComputedStyle(node).paddingRight, 10) || 0; };
35
33
  var handleContainer = function (container) {
36
34
  var restoreStyle = [];
37
35
  if (isOverflowing(container)) {
package/desktop.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1wrr6 */
1
+ /* hash: 1uv8g */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -31,32 +31,32 @@
31
31
 
32
32
  /* mobile */
33
33
  }
34
- .modal__wrapper_1jh5d {
34
+ .modal__wrapper_1lhqp {
35
35
  padding-top: var(--modal-vertical-padding);
36
36
  padding-bottom: var(--modal-vertical-padding);
37
37
  }
38
- .modal__component_1jh5d {
38
+ .modal__component_1lhqp {
39
39
  width: 100%;
40
40
  max-width: 100%;
41
41
  border-radius: var(--modal-border-radius);
42
42
  }
43
- .modal__fullscreen_1jh5d {
43
+ .modal__fullscreen_1lhqp {
44
44
  padding-top: 0;
45
45
  padding-bottom: 0
46
46
  }
47
- .modal__fullscreen_1jh5d .modal__component_1jh5d {
47
+ .modal__fullscreen_1lhqp .modal__component_1lhqp {
48
48
  flex: 1;
49
49
  border-radius: 0;
50
50
  }
51
- .modal__s_1jh5d {
51
+ .modal__s_1lhqp {
52
52
  width: var(--modal-s-width);
53
53
  }
54
- .modal__m_1jh5d {
54
+ .modal__m_1lhqp {
55
55
  width: var(--modal-m-width);
56
56
  }
57
- .modal__l_1jh5d {
57
+ .modal__l_1lhqp {
58
58
  width: var(--modal-l-width);
59
59
  }
60
- .modal__xl_1jh5d {
60
+ .modal__xl_1lhqp {
61
61
  width: var(--modal-xl-width);
62
62
  }
package/desktop.js CHANGED
@@ -2,23 +2,23 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-e377d59a.js');
5
+ require('./tslib.es6-93e97f54.js');
6
6
  require('react');
7
+ require('react-merge-refs');
7
8
  require('classnames');
8
9
  require('@alfalab/core-components-base-modal');
9
- require('react-merge-refs');
10
- require('./Context.js');
11
- require('./Component-0defecef.js');
12
10
  require('@alfalab/core-components-icon-button');
13
11
  require('@alfalab/icons-glyph/CrossHeavyMIcon');
12
+ require('./Context.js');
14
13
  require('./components/closer/Component.js');
15
- require('./components/header/Component.desktop.js');
16
14
  require('./components/content/Component.js');
17
15
  require('./components/content/Component.desktop.js');
18
16
  require('./components/footer/Component.js');
19
17
  require('./components/footer/Component.desktop.js');
18
+ require('./Component-cacd0e72.js');
19
+ require('./components/header/Component.desktop.js');
20
20
  var Component_desktop = require('./Component.desktop.js');
21
- require('./transitions.module-8830325d.js');
21
+ require('./transitions.module-fc7cacd3.js');
22
22
 
23
23
 
24
24
 
@@ -7,7 +7,7 @@ var getDataTestId = function (dataTestId, element) {
7
7
  return dataTestId ? "" + dataTestId + elementPart : undefined;
8
8
  };
9
9
 
10
- var styles = {"header":"modal__header_ajz3n","hasContent":"modal__hasContent_ajz3n","highlighted":"modal__highlighted_ajz3n","sticky":"modal__sticky_ajz3n","content":"modal__content_ajz3n","title":"modal__title_ajz3n","addon":"modal__addon_ajz3n","closer":"modal__closer_ajz3n","left":"modal__left_ajz3n","center":"modal__center_ajz3n","right":"modal__right_ajz3n","trim":"modal__trim_ajz3n"};
10
+ var styles = {"header":"modal__header_l7swy","hasContent":"modal__hasContent_l7swy","highlighted":"modal__highlighted_l7swy","sticky":"modal__sticky_l7swy","content":"modal__content_l7swy","title":"modal__title_l7swy","addon":"modal__addon_l7swy","closer":"modal__closer_l7swy","left":"modal__left_l7swy","center":"modal__center_l7swy","right":"modal__right_l7swy","trim":"modal__trim_l7swy"};
11
11
  require('./components/header/index.css')
12
12
 
13
13
  var Header = function (_a) {
@@ -1,21 +1,21 @@
1
- import { _ as __rest, a as __assign } from './tslib.es6-62c96ba4.js';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-cd2fa46f.js';
2
2
  import React, { forwardRef, useRef, useCallback, isValidElement, cloneElement } from 'react';
3
+ import mergeRefs from 'react-merge-refs';
3
4
  import cn from 'classnames';
4
5
  import { BaseModal } from '@alfalab/core-components-base-modal/esm';
5
- import mergeRefs from 'react-merge-refs';
6
- import './Context.js';
7
- import './Component-2b159fe9.js';
8
6
  import '@alfalab/core-components-icon-button/esm';
9
7
  import '@alfalab/icons-glyph/CrossHeavyMIcon';
8
+ import './Context.js';
10
9
  import { Closer } from './components/closer/Component.js';
11
- import { HeaderDesktop } from './components/header/Component.desktop.js';
12
10
  import './components/content/Component.js';
13
11
  import { ContentDesktop } from './components/content/Component.desktop.js';
14
12
  import './components/footer/Component.js';
15
13
  import { FooterDesktop } from './components/footer/Component.desktop.js';
16
- import { t as transitions } from './transitions.module-25489c78.js';
14
+ import './Component-f9c8a7ff.js';
15
+ import { HeaderDesktop } from './components/header/Component.desktop.js';
16
+ import { t as transitions } from './transitions.module-a1e3a16d.js';
17
17
 
18
- var styles = {"wrapper":"modal__wrapper_1jh5d","component":"modal__component_1jh5d","fullscreen":"modal__fullscreen_1jh5d","s":"modal__s_1jh5d","m":"modal__m_1jh5d","l":"modal__l_1jh5d","xl":"modal__xl_1jh5d"};
18
+ var styles = {"wrapper":"modal__wrapper_1lhqp","component":"modal__component_1lhqp","fullscreen":"modal__fullscreen_1lhqp","s":"modal__s_1lhqp","m":"modal__m_1lhqp","l":"modal__l_1lhqp","xl":"modal__xl_1lhqp"};
19
19
  require('./desktop.css')
20
20
 
21
21
  var ModalDesktopComponent = forwardRef(function (_a, ref) {
@@ -1,21 +1,21 @@
1
- import { _ as __rest, a as __assign } from './tslib.es6-62c96ba4.js';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-cd2fa46f.js';
2
2
  import React, { forwardRef } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { BaseModal } from '@alfalab/core-components-base-modal/esm';
5
- import './Context.js';
6
- import './Component-2b159fe9.js';
7
5
  import '@alfalab/core-components-icon-button/esm';
8
6
  import '@alfalab/icons-glyph/CrossHeavyMIcon';
7
+ import './Context.js';
9
8
  import { Closer } from './components/closer/Component.js';
10
9
  import './components/content/Component.js';
11
10
  import './components/footer/Component.js';
12
- import { t as transitions } from './transitions.module-25489c78.js';
13
- import '@alfalab/icons-glyph/CrossMIcon';
14
- import { HeaderMobile } from './components/header/Component.mobile.js';
11
+ import './Component-f9c8a7ff.js';
12
+ import { t as transitions } from './transitions.module-a1e3a16d.js';
15
13
  import { ContentMobile } from './components/content/Component.mobile.js';
16
14
  import { FooterMobile } from './components/footer/Component.mobile.js';
15
+ import '@alfalab/icons-glyph/CrossMIcon';
16
+ import { HeaderMobile } from './components/header/Component.mobile.js';
17
17
 
18
- var styles = {"component":"modal__component_1t0au"};
18
+ var styles = {"component":"modal__component_le65w"};
19
19
  require('./mobile.css')
20
20
 
21
21
  var ModalMobileComponent = forwardRef(function (_a, ref) {
@@ -1,27 +1,28 @@
1
- import { _ as __rest, a as __assign } from './tslib.es6-62c96ba4.js';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-cd2fa46f.js';
2
2
  import React, { forwardRef, useMemo, useContext } from 'react';
3
+ import 'react-merge-refs';
3
4
  import 'classnames';
4
5
  import '@alfalab/core-components-base-modal/esm';
5
- import 'react-merge-refs';
6
- import './Context.js';
7
- import './Component-2b159fe9.js';
8
6
  import '@alfalab/core-components-icon-button/esm';
9
7
  import '@alfalab/icons-glyph/CrossHeavyMIcon';
8
+ import './Context.js';
10
9
  import { Closer } from './components/closer/Component.js';
11
- import './components/header/Component.desktop.js';
12
10
  import './components/content/Component.js';
13
11
  import './components/content/Component.desktop.js';
14
12
  import './components/footer/Component.js';
15
13
  import './components/footer/Component.desktop.js';
14
+ import './Component-f9c8a7ff.js';
15
+ import './components/header/Component.desktop.js';
16
16
  import { ModalDesktop } from './Component.desktop.js';
17
- import './transitions.module-25489c78.js';
18
- import '@alfalab/icons-glyph/CrossMIcon';
19
- import './components/header/Component.mobile.js';
17
+ import './transitions.module-a1e3a16d.js';
20
18
  import './components/content/Component.mobile.js';
21
19
  import './components/footer/Component.mobile.js';
20
+ import '@alfalab/icons-glyph/CrossMIcon';
21
+ import './components/header/Component.mobile.js';
22
22
  import { ModalMobile } from './Component.mobile.js';
23
23
  import { useMedia } from '@alfalab/hooks';
24
24
 
25
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
25
26
  var ResponsiveContext = React.createContext({
26
27
  view: 'desktop',
27
28
  });
@@ -1,12 +1,12 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-62c96ba4.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-cd2fa46f.js';
2
2
  import React, { useContext, useCallback } from 'react';
3
3
  import cn from 'classnames';
4
4
  import '@alfalab/core-components-base-modal/esm';
5
- import { ModalContext } from '../../Context.js';
6
5
  import { IconButton } from '@alfalab/core-components-icon-button/esm';
7
6
  import { CrossHeavyMIcon } from '@alfalab/icons-glyph/CrossHeavyMIcon';
7
+ import { ModalContext } from '../../Context.js';
8
8
 
9
- var styles = {"closer":"modal__closer_fdie0","button":"modal__button_fdie0","sticky":"modal__sticky_fdie0"};
9
+ var styles = {"closer":"modal__closer_15dx5","button":"modal__button_15dx5","sticky":"modal__sticky_15dx5"};
10
10
  require('./index.css')
11
11
 
12
12
  /**
@@ -1,4 +1,4 @@
1
- /* hash: 1jis8 */
1
+ /* hash: 1r5x9 */
2
2
  :root {
3
3
  --color-light-bg-primary-alpha-40: rgba(255, 255, 255, 0.4);
4
4
  }
@@ -29,7 +29,7 @@
29
29
  :root {
30
30
  --modal-closer-bg-color: var(--color-light-bg-primary-alpha-40);
31
31
  }
32
- .modal__closer_fdie0 {
32
+ .modal__closer_15dx5 {
33
33
  flex-shrink: 0;
34
34
  width: 48px;
35
35
  height: 48px;
@@ -38,13 +38,13 @@
38
38
  align-items: center;
39
39
  justify-content: center;
40
40
  }
41
- .modal__button_fdie0 {
41
+ .modal__button_15dx5 {
42
42
  background: var(--modal-closer-bg-color);
43
43
  -webkit-backdrop-filter: blur(10px);
44
44
  backdrop-filter: blur(10px);
45
45
  border-radius: 50px;
46
46
  }
47
- .modal__sticky_fdie0 {
47
+ .modal__sticky_15dx5 {
48
48
  position: sticky;
49
49
  top: calc(var(--modal-vertical-padding) * -1);
50
50
  }
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
- import { ContentProps } from "./Component";
3
2
  import { ModalDesktopProps } from "../../Component.desktop";
3
+ import { ContentProps } from "./Component";
4
4
  type ContentDesktopProps = ContentProps & {
5
5
  /**
6
6
  * Размер
@@ -1,11 +1,11 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-62c96ba4.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-cd2fa46f.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import '@alfalab/core-components-base-modal/esm';
5
5
  import '../../Context.js';
6
6
  import { Content } from './Component.js';
7
7
 
8
- var styles = {"s":"modal__s_1yl7k","m":"modal__m_1yl7k","l":"modal__l_1yl7k","xl":"modal__xl_1yl7k","fullscreen":"modal__fullscreen_1yl7k"};
8
+ var styles = {"s":"modal__s_17687","m":"modal__m_17687","l":"modal__l_17687","xl":"modal__xl_17687","fullscreen":"modal__fullscreen_17687"};
9
9
  require('./desktop.css')
10
10
 
11
11
  var ContentDesktop = function (_a) {
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import '@alfalab/core-components-base-modal/esm';
4
4
  import { ModalContext } from '../../Context.js';
5
5
 
6
- var styles = {"content":"modal__content_kuvj1","flex":"modal__flex_kuvj1"};
6
+ var styles = {"content":"modal__content_33qba","flex":"modal__flex_33qba"};
7
7
  require('./index.css')
8
8
 
9
9
  var Content = function (_a) {
@@ -1,11 +1,11 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-62c96ba4.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-cd2fa46f.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import '@alfalab/core-components-base-modal/esm';
5
5
  import '../../Context.js';
6
6
  import { Content } from './Component.js';
7
7
 
8
- var styles = {"content":"modal__content_jdh6n"};
8
+ var styles = {"content":"modal__content_ygbot"};
9
9
  require('./mobile.css')
10
10
 
11
11
  var ContentMobile = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1hlc2 */
1
+ /* hash: 18u0n */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -24,18 +24,18 @@
24
24
 
25
25
  /* mobile */
26
26
  }
27
- .modal__s_1yl7k,
28
- .modal__m_1yl7k {
27
+ .modal__s_17687,
28
+ .modal__m_17687 {
29
29
  padding: var(--modal-s-content-paddings)
30
30
  }
31
- .modal__s_1yl7k:last-child, .modal__m_1yl7k:last-child {
31
+ .modal__s_17687:last-child, .modal__m_17687:last-child {
32
32
  padding-bottom: var(--modal-s-content-only-bottom-padding);
33
33
  }
34
- .modal__l_1yl7k,
35
- .modal__xl_1yl7k,
36
- .modal__fullscreen_1yl7k {
34
+ .modal__l_17687,
35
+ .modal__xl_17687,
36
+ .modal__fullscreen_17687 {
37
37
  padding: 0 var(--gap-6xl)
38
38
  }
39
- .modal__l_1yl7k:last-child, .modal__xl_1yl7k:last-child, .modal__fullscreen_1yl7k:last-child {
39
+ .modal__l_17687:last-child, .modal__xl_17687:last-child, .modal__fullscreen_17687:last-child {
40
40
  padding-bottom: var(--gap-6xl);
41
41
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1kdxw */
1
+ /* hash: 4bq4g */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -19,10 +19,10 @@
19
19
 
20
20
  /* mobile */
21
21
  }
22
- .modal__content_kuvj1 {
22
+ .modal__content_33qba {
23
23
  box-sizing: border-box;
24
24
  width: 100%;
25
25
  }
26
- .modal__flex_kuvj1 {
26
+ .modal__flex_33qba {
27
27
  flex: 1;
28
28
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1ac00 */
1
+ /* hash: 1r3di */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -22,9 +22,9 @@
22
22
 
23
23
  /* mobile */
24
24
  }
25
- .modal__content_jdh6n {
25
+ .modal__content_ygbot {
26
26
  padding: 0 var(--gap-m)
27
27
  }
28
- .modal__content_jdh6n:last-child {
28
+ .modal__content_ygbot:last-child {
29
29
  padding-bottom: var(--gap-m);
30
30
  }
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
- import { FooterProps } from "./Component";
3
2
  import { ModalDesktopProps } from "../../Component.desktop";
3
+ import { FooterProps } from "./Component";
4
4
  type FooterDesktopProps = FooterProps & {
5
5
  /**
6
6
  * Размер
@@ -1,11 +1,11 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-62c96ba4.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-cd2fa46f.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import '@alfalab/core-components-base-modal/esm';
5
5
  import '../../Context.js';
6
6
  import { Footer } from './Component.js';
7
7
 
8
- var styles = {"footer":"modal__footer_oft93","sticky":"modal__sticky_oft93","fullscreen":"modal__fullscreen_oft93","s":"modal__s_oft93","m":"modal__m_oft93","l":"modal__l_oft93","xl":"modal__xl_oft93"};
8
+ var styles = {"footer":"modal__footer_eezkd","sticky":"modal__sticky_eezkd","fullscreen":"modal__fullscreen_eezkd","s":"modal__s_eezkd","m":"modal__m_eezkd","l":"modal__l_eezkd","xl":"modal__xl_eezkd"};
9
9
  require('./desktop.css')
10
10
 
11
11
  var FooterDesktop = function (_a) {
@@ -3,10 +3,10 @@ import cn from 'classnames';
3
3
  import '@alfalab/core-components-base-modal/esm';
4
4
  import { ModalContext } from '../../Context.js';
5
5
 
6
- var styles = {"footer":"modal__footer_kk444","sticky":"modal__sticky_kk444","highlighted":"modal__highlighted_kk444"};
6
+ var styles = {"footer":"modal__footer_1fmjo","sticky":"modal__sticky_1fmjo","highlighted":"modal__highlighted_1fmjo"};
7
7
  require('./index.css')
8
8
 
9
- var layoutStyles = {"column":"modal__column_1kjtk","gap-16":"modal__gap-16_1kjtk","gap-24":"modal__gap-24_1kjtk","gap-32":"modal__gap-32_1kjtk","start":"modal__start_1kjtk","center":"modal__center_1kjtk","space-between":"modal__space-between_1kjtk"};
9
+ var layoutStyles = {"column":"modal__column_1aizv","gap-16":"modal__gap-16_1aizv","gap-24":"modal__gap-24_1aizv","gap-32":"modal__gap-32_1aizv","start":"modal__start_1aizv","center":"modal__center_1aizv","space-between":"modal__space-between_1aizv"};
10
10
  require('./layout.css')
11
11
 
12
12
  var Footer = function (_a) {
@@ -1,11 +1,11 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-62c96ba4.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-cd2fa46f.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import '@alfalab/core-components-base-modal/esm';
5
5
  import '../../Context.js';
6
6
  import { Footer } from './Component.js';
7
7
 
8
- var styles = {"footer":"modal__footer_10cri","sticky":"modal__sticky_10cri"};
8
+ var styles = {"footer":"modal__footer_p1y9m","sticky":"modal__sticky_p1y9m"};
9
9
  require('./mobile.css')
10
10
 
11
11
  var FooterMobile = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1dz5i */
1
+ /* hash: 1dm8g */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -31,22 +31,22 @@
31
31
 
32
32
  /* mobile */
33
33
  }
34
- .modal__footer_oft93 {
34
+ .modal__footer_eezkd {
35
35
  border-bottom-left-radius: var(--modal-border-radius);
36
36
  border-bottom-right-radius: var(--modal-border-radius);
37
37
  }
38
- .modal__sticky_oft93 {
38
+ .modal__sticky_eezkd {
39
39
  bottom: calc(var(--modal-vertical-padding) * -1)
40
40
  }
41
- .modal__sticky_oft93.modal__fullscreen_oft93 {
41
+ .modal__sticky_eezkd.modal__fullscreen_eezkd {
42
42
  bottom: 0;
43
43
  }
44
- .modal__s_oft93,
45
- .modal__m_oft93 {
44
+ .modal__s_eezkd,
45
+ .modal__m_eezkd {
46
46
  padding: var(--modal-s-footer-paddings);
47
47
  }
48
- .modal__l_oft93,
49
- .modal__xl_oft93,
50
- .modal__fullscreen_oft93 {
48
+ .modal__l_eezkd,
49
+ .modal__xl_eezkd,
50
+ .modal__fullscreen_eezkd {
51
51
  padding: var(--gap-2xl) var(--gap-6xl) var(--gap-6xl);
52
52
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1d8wy */
1
+ /* hash: l5s7l */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-border-primary: #dbdee1;
@@ -26,16 +26,16 @@
26
26
 
27
27
  /* mobile */
28
28
  }
29
- .modal__footer_kk444 {
29
+ .modal__footer_1fmjo {
30
30
  width: 100%;
31
31
  box-sizing: border-box;
32
32
  transition: box-shadow 0.2s ease, background 0.2s ease;
33
33
  }
34
- .modal__sticky_kk444 {
34
+ .modal__sticky_1fmjo {
35
35
  background: var(--modal-footer-background);
36
36
  position: sticky;
37
37
  }
38
- .modal__highlighted_kk444 {
38
+ .modal__highlighted_1fmjo {
39
39
  background: var(--modal-footer-highlight-background);
40
40
  box-shadow: var(--modal-footer-highlight-box-shadow);
41
41
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1imip */
1
+ /* hash: gzq7l */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -25,60 +25,60 @@
25
25
 
26
26
  /* mobile */
27
27
  }
28
- .modal__column_1kjtk {
28
+ .modal__column_1aizv {
29
29
  display: flex;
30
30
  flex-direction: column
31
31
  }
32
- .modal__column_1kjtk > * {
32
+ .modal__column_1aizv > * {
33
33
  margin-bottom: var(--modal-footer-default-gap);
34
34
  }
35
- .modal__column_1kjtk > *:last-child,
36
- .modal__column_1kjtk > *:only-child {
35
+ .modal__column_1aizv > *:last-child,
36
+ .modal__column_1aizv > *:only-child {
37
37
  margin-bottom: 0;
38
38
  }
39
- .modal__column_1kjtk.modal__gap-16_1kjtk > * {
39
+ .modal__column_1aizv.modal__gap-16_1aizv > * {
40
40
  margin-bottom: var(--gap-m);
41
41
  }
42
- .modal__column_1kjtk.modal__gap-24_1kjtk > * {
42
+ .modal__column_1aizv.modal__gap-24_1aizv > * {
43
43
  margin-bottom: var(--gap-xl);
44
44
  }
45
- .modal__column_1kjtk.modal__gap-32_1kjtk > * {
45
+ .modal__column_1aizv.modal__gap-32_1aizv > * {
46
46
  margin-bottom: var(--gap-2xl);
47
47
  }
48
- .modal__start_1kjtk {
48
+ .modal__start_1aizv {
49
49
  justify-content: flex-start;
50
50
  }
51
- .modal__center_1kjtk {
51
+ .modal__center_1aizv {
52
52
  justify-content: center;
53
53
  }
54
- .modal__space-between_1kjtk {
54
+ .modal__space-between_1aizv {
55
55
  justify-content: space-between
56
56
  }
57
- .modal__space-between_1kjtk > * {
57
+ .modal__space-between_1aizv > * {
58
58
  flex: 1;
59
59
  }
60
- .modal__start_1kjtk,
61
- .modal__center_1kjtk,
62
- .modal__space-between_1kjtk {
60
+ .modal__start_1aizv,
61
+ .modal__center_1aizv,
62
+ .modal__space-between_1aizv {
63
63
  display: flex
64
64
  }
65
- .modal__start_1kjtk > *, .modal__center_1kjtk > *, .modal__space-between_1kjtk > * {
65
+ .modal__start_1aizv > *, .modal__center_1aizv > *, .modal__space-between_1aizv > * {
66
66
  margin-right: var(--modal-footer-default-gap);
67
67
  }
68
- .modal__start_1kjtk > *:last-child,
69
- .modal__start_1kjtk > *:only-child,
70
- .modal__center_1kjtk > *:last-child,
71
- .modal__center_1kjtk > *:only-child,
72
- .modal__space-between_1kjtk > *:last-child,
73
- .modal__space-between_1kjtk > *:only-child {
68
+ .modal__start_1aizv > *:last-child,
69
+ .modal__start_1aizv > *:only-child,
70
+ .modal__center_1aizv > *:last-child,
71
+ .modal__center_1aizv > *:only-child,
72
+ .modal__space-between_1aizv > *:last-child,
73
+ .modal__space-between_1aizv > *:only-child {
74
74
  margin-right: 0;
75
75
  }
76
- .modal__start_1kjtk.modal__gap-16_1kjtk > *, .modal__center_1kjtk.modal__gap-16_1kjtk > *, .modal__space-between_1kjtk.modal__gap-16_1kjtk > * {
76
+ .modal__start_1aizv.modal__gap-16_1aizv > *, .modal__center_1aizv.modal__gap-16_1aizv > *, .modal__space-between_1aizv.modal__gap-16_1aizv > * {
77
77
  margin-right: var(--gap-m);
78
78
  }
79
- .modal__start_1kjtk.modal__gap-24_1kjtk > *, .modal__center_1kjtk.modal__gap-24_1kjtk > *, .modal__space-between_1kjtk.modal__gap-24_1kjtk > * {
79
+ .modal__start_1aizv.modal__gap-24_1aizv > *, .modal__center_1aizv.modal__gap-24_1aizv > *, .modal__space-between_1aizv.modal__gap-24_1aizv > * {
80
80
  margin-right: var(--gap-xl);
81
81
  }
82
- .modal__start_1kjtk.modal__gap-32_1kjtk > *, .modal__center_1kjtk.modal__gap-32_1kjtk > *, .modal__space-between_1kjtk.modal__gap-32_1kjtk > * {
82
+ .modal__start_1aizv.modal__gap-32_1aizv > *, .modal__center_1aizv.modal__gap-32_1aizv > *, .modal__space-between_1aizv.modal__gap-32_1aizv > * {
83
83
  margin-right: var(--gap-2xl);
84
84
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1ad5k */
1
+ /* hash: 12q0j */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -22,9 +22,9 @@
22
22
 
23
23
  /* mobile */
24
24
  }
25
- .modal__footer_10cri {
25
+ .modal__footer_p1y9m {
26
26
  padding: var(--gap-m);
27
27
  }
28
- .modal__sticky_10cri {
28
+ .modal__sticky_p1y9m {
29
29
  bottom: 0;
30
30
  }
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
- import { HeaderProps } from "../../Component-2b159fe9";
3
2
  import { ModalDesktopProps } from "../../Component.desktop";
3
+ import { HeaderProps } from "../../Component-f9c8a7ff";
4
4
  type HeaderDesktopProps = Omit<HeaderProps, 'closer'> & {
5
5
  /**
6
6
  * Размер
@@ -1,14 +1,14 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-62c96ba4.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-cd2fa46f.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import '@alfalab/core-components-base-modal/esm';
5
- import '../../Context.js';
6
- import { H as Header, g as getDataTestId } from '../../Component-2b159fe9.js';
7
5
  import '@alfalab/core-components-icon-button/esm';
8
6
  import '@alfalab/icons-glyph/CrossHeavyMIcon';
7
+ import '../../Context.js';
9
8
  import { Closer } from '../closer/Component.js';
9
+ import { H as Header, g as getDataTestId } from '../../Component-f9c8a7ff.js';
10
10
 
11
- var styles = {"header":"modal__header_1xyqj","content":"modal__content_1xyqj","s":"modal__s_1xyqj","m":"modal__m_1xyqj","l":"modal__l_1xyqj","xl":"modal__xl_1xyqj","fullscreen":"modal__fullscreen_1xyqj","hasContent":"modal__hasContent_1xyqj","sticky":"modal__sticky_1xyqj"};
11
+ var styles = {"header":"modal__header_13jb3","content":"modal__content_13jb3","s":"modal__s_13jb3","m":"modal__m_13jb3","l":"modal__l_13jb3","xl":"modal__xl_13jb3","fullscreen":"modal__fullscreen_13jb3","hasContent":"modal__hasContent_13jb3","sticky":"modal__sticky_13jb3"};
12
12
  require('./desktop.css')
13
13
 
14
14
  var HeaderDesktop = function (_a) {
@@ -2,4 +2,4 @@ import 'react';
2
2
  import 'classnames';
3
3
  import '@alfalab/core-components-base-modal/esm';
4
4
  import '../../Context.js';
5
- export { H as Header } from '../../Component-2b159fe9.js';
5
+ export { H as Header } from '../../Component-f9c8a7ff.js';
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { HeaderProps } from "../../Component-2b159fe9";
2
+ import { HeaderProps } from "../../Component-f9c8a7ff";
3
3
  type HeaderMobileProps = Omit<HeaderProps, 'closer'> & {
4
4
  /**
5
5
  * Наличие крестика