@alfalab/core-components-modal 8.1.2 → 9.0.0

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 (158) hide show
  1. package/Component.js +5 -5
  2. package/Component.responsive.d.ts +3 -2
  3. package/Component.responsive.js +7 -7
  4. package/components/content/Component.js +3 -3
  5. package/components/content/desktop.css +7 -7
  6. package/components/content/index.css +4 -4
  7. package/components/content/mobile.css +3 -3
  8. package/components/controls/Component.d.ts +29 -0
  9. package/components/controls/Component.js +30 -0
  10. package/components/controls/index.css +4 -0
  11. package/components/controls/index.d.ts +1 -0
  12. package/components/controls/index.js +13 -0
  13. package/components/footer/Component.js +5 -8
  14. package/components/footer/desktop.css +9 -9
  15. package/components/footer/index.css +9 -9
  16. package/components/footer/layout.css +17 -35
  17. package/components/footer/mobile.css +3 -3
  18. package/components/header/Component.js +3 -3
  19. package/components/header/desktop.css +16 -16
  20. package/components/header/index.css +9 -9
  21. package/components/header/mobile.css +4 -4
  22. package/cssm/Component.js +2 -2
  23. package/cssm/Component.responsive.d.ts +3 -2
  24. package/cssm/Component.responsive.js +10 -10
  25. package/cssm/components/controls/Component.d.ts +29 -0
  26. package/cssm/components/controls/Component.js +30 -0
  27. package/cssm/components/controls/index.d.ts +1 -0
  28. package/cssm/components/controls/index.js +14 -0
  29. package/cssm/components/controls/index.module.css +3 -0
  30. package/cssm/components/footer/Component.js +0 -1
  31. package/cssm/components/footer/index.module.css +5 -5
  32. package/cssm/components/footer/layout.module.css +8 -26
  33. package/cssm/components/header/desktop.module.css +1 -1
  34. package/cssm/components/header/index.module.css +5 -5
  35. package/cssm/desktop/Component.desktop.d.ts +16 -0
  36. package/cssm/desktop/Component.desktop.js +45 -0
  37. package/cssm/desktop/index.d.ts +1 -1
  38. package/cssm/desktop/index.js +12 -10
  39. package/cssm/index.js +6 -4
  40. package/cssm/mobile/Component.mobile.d.ts +11 -0
  41. package/cssm/mobile/Component.mobile.js +45 -0
  42. package/cssm/mobile/index.d.ts +1 -1
  43. package/cssm/mobile/index.js +12 -10
  44. package/cssm/typings.d.ts +4 -0
  45. package/desktop/Component.desktop.d.ts +16 -0
  46. package/{Component.desktop.js → desktop/Component.desktop.js} +10 -7
  47. package/{modern → desktop}/desktop.css +9 -9
  48. package/desktop/index.d.ts +1 -1
  49. package/desktop/index.js +8 -6
  50. package/esm/Component.js +5 -5
  51. package/esm/Component.responsive.d.ts +3 -2
  52. package/esm/Component.responsive.js +7 -7
  53. package/esm/components/content/Component.js +3 -3
  54. package/esm/components/content/desktop.css +7 -7
  55. package/esm/components/content/index.css +4 -4
  56. package/esm/components/content/mobile.css +3 -3
  57. package/esm/components/controls/Component.d.ts +29 -0
  58. package/esm/components/controls/Component.js +21 -0
  59. package/esm/components/controls/index.css +4 -0
  60. package/esm/components/controls/index.d.ts +1 -0
  61. package/esm/components/controls/index.js +5 -0
  62. package/esm/components/footer/Component.js +4 -7
  63. package/esm/components/footer/desktop.css +9 -9
  64. package/esm/components/footer/index.css +9 -9
  65. package/esm/components/footer/layout.css +17 -35
  66. package/esm/components/footer/mobile.css +3 -3
  67. package/esm/components/header/Component.js +3 -3
  68. package/esm/components/header/desktop.css +16 -16
  69. package/esm/components/header/index.css +9 -9
  70. package/esm/components/header/mobile.css +4 -4
  71. package/esm/desktop/Component.desktop.d.ts +16 -0
  72. package/esm/{Component.desktop.js → desktop/Component.desktop.js} +10 -7
  73. package/{desktop.css → esm/desktop/desktop.css} +9 -9
  74. package/esm/desktop/index.d.ts +1 -1
  75. package/esm/desktop/index.js +7 -5
  76. package/esm/index.js +3 -1
  77. package/esm/layout.module-9ffd30f9.js +4 -0
  78. package/esm/mobile/Component.mobile.d.ts +11 -0
  79. package/esm/{Component.mobile.js → mobile/Component.mobile.js} +10 -7
  80. package/esm/mobile/index.d.ts +1 -1
  81. package/esm/mobile/index.js +7 -5
  82. package/{modern → esm/mobile}/mobile.css +2 -2
  83. package/esm/transitions.css +8 -8
  84. package/esm/typings.d.ts +4 -0
  85. package/index.js +3 -1
  86. package/layout.module-57c7b9be.js +6 -0
  87. package/mobile/Component.mobile.d.ts +11 -0
  88. package/{Component.mobile.js → mobile/Component.mobile.js} +10 -7
  89. package/mobile/index.d.ts +1 -1
  90. package/mobile/index.js +8 -6
  91. package/{esm → mobile}/mobile.css +2 -2
  92. package/modern/Component.js +5 -5
  93. package/modern/Component.responsive.d.ts +3 -2
  94. package/modern/Component.responsive.js +7 -7
  95. package/modern/components/content/Component.js +3 -3
  96. package/modern/components/content/desktop.css +7 -7
  97. package/modern/components/content/index.css +4 -4
  98. package/modern/components/content/mobile.css +3 -3
  99. package/modern/components/controls/Component.d.ts +29 -0
  100. package/modern/components/controls/Component.js +20 -0
  101. package/modern/components/controls/index.css +4 -0
  102. package/modern/components/controls/index.d.ts +1 -0
  103. package/modern/components/controls/index.js +5 -0
  104. package/modern/components/footer/Component.js +4 -7
  105. package/modern/components/footer/desktop.css +9 -9
  106. package/modern/components/footer/index.css +9 -9
  107. package/modern/components/footer/layout.css +17 -35
  108. package/modern/components/footer/mobile.css +3 -3
  109. package/modern/components/header/Component.js +3 -3
  110. package/modern/components/header/desktop.css +16 -16
  111. package/modern/components/header/index.css +9 -9
  112. package/modern/components/header/mobile.css +4 -4
  113. package/modern/desktop/Component.desktop.d.ts +16 -0
  114. package/modern/{Component.desktop.js → desktop/Component.desktop.js} +11 -8
  115. package/{esm → modern/desktop}/desktop.css +9 -9
  116. package/modern/desktop/index.d.ts +1 -1
  117. package/modern/desktop/index.js +7 -5
  118. package/modern/index.js +3 -1
  119. package/modern/layout.module-29d4c7c9.js +4 -0
  120. package/modern/mobile/Component.mobile.d.ts +11 -0
  121. package/modern/{Component.mobile.js → mobile/Component.mobile.js} +10 -7
  122. package/modern/mobile/index.d.ts +1 -1
  123. package/modern/mobile/index.js +7 -5
  124. package/{mobile.css → modern/mobile/mobile.css} +2 -2
  125. package/modern/transitions.css +8 -8
  126. package/modern/typings.d.ts +4 -0
  127. package/package.json +4 -4
  128. package/src/Component.responsive.tsx +7 -13
  129. package/src/Component.tsx +2 -2
  130. package/src/components/controls/Component.tsx +72 -0
  131. package/src/components/controls/index.module.css +3 -0
  132. package/src/components/controls/index.ts +1 -0
  133. package/src/components/footer/Component.tsx +0 -1
  134. package/src/components/footer/layout.module.css +8 -34
  135. package/src/desktop/Component.desktop.tsx +19 -0
  136. package/src/{desktop.module.css → desktop/desktop.module.css} +1 -1
  137. package/src/desktop/index.ts +1 -1
  138. package/src/mobile/Component.mobile.tsx +19 -0
  139. package/src/mobile/index.ts +1 -1
  140. package/src/{mobile.module.css → mobile/mobile.module.css} +1 -1
  141. package/src/typings.ts +5 -0
  142. package/src/vars.css +7 -7
  143. package/transitions.css +8 -8
  144. package/typings.d.ts +4 -0
  145. package/Component.desktop.d.ts +0 -14
  146. package/Component.mobile.d.ts +0 -9
  147. package/cssm/Component.desktop.d.ts +0 -14
  148. package/cssm/Component.desktop.js +0 -42
  149. package/cssm/Component.mobile.d.ts +0 -9
  150. package/cssm/Component.mobile.js +0 -42
  151. package/esm/Component.desktop.d.ts +0 -14
  152. package/esm/Component.mobile.d.ts +0 -9
  153. package/modern/Component.desktop.d.ts +0 -14
  154. package/modern/Component.mobile.d.ts +0 -9
  155. package/src/Component.desktop.tsx +0 -20
  156. package/src/Component.mobile.tsx +0 -17
  157. /package/cssm/{desktop.module.css → desktop/desktop.module.css} +0 -0
  158. /package/cssm/{mobile.module.css → mobile/mobile.module.css} +0 -0
package/Component.js CHANGED
@@ -15,13 +15,13 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
15
15
  var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
16
16
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
17
17
 
18
- var desktopStyles = {"wrapper":"modal__wrapper_oyxvg","component":"modal__component_oyxvg","fullscreen":"modal__fullscreen_oyxvg","s":"modal__s_oyxvg","m":"modal__m_oyxvg","l":"modal__l_oyxvg","xl":"modal__xl_oyxvg"};
19
- require('./desktop.css')
18
+ var desktopStyles = {"wrapper":"modal__wrapper_1hhc8","component":"modal__component_1hhc8","fullscreen":"modal__fullscreen_1hhc8","s":"modal__s_1hhc8","m":"modal__m_1hhc8","l":"modal__l_1hhc8","xl":"modal__xl_1hhc8"};
19
+ require('./desktop/desktop.css')
20
20
 
21
- var mobileStyles = {"component":"modal__component_153xo"};
22
- require('./mobile.css')
21
+ var mobileStyles = {"component":"modal__component_odxlq"};
22
+ require('./mobile/mobile.css')
23
23
 
24
- var transitions = {"appear":"modal__appear_b0sx6","enter":"modal__enter_b0sx6","appearActive":"modal__appearActive_b0sx6","enterActive":"modal__enterActive_b0sx6","exit":"modal__exit_b0sx6","exitActive":"modal__exitActive_b0sx6","exitDone":"modal__exitDone_b0sx6"};
24
+ var transitions = {"appear":"modal__appear_4gu03","enter":"modal__enter_4gu03","appearActive":"modal__appearActive_4gu03","enterActive":"modal__enterActive_4gu03","exit":"modal__exit_4gu03","exitActive":"modal__exitActive_4gu03","exitDone":"modal__exitDone_4gu03"};
25
25
  require('./transitions.css')
26
26
 
27
27
  var Modal = React.forwardRef(function (_a, ref) {
@@ -1,16 +1,17 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { BaseModalProps } from "@alfalab/core-components-base-modal";
4
- declare const ModalResponsive: React.ForwardRefExoticComponent<BaseModalProps & {
3
+ declare const ModalResponsive: React.ForwardRefExoticComponent<import("@alfalab/core-components-base-modal").BaseModalProps & {
5
4
  size?: "s" | "m" | "l" | "xl" | "fullscreen" | undefined;
6
5
  fullscreen?: boolean | undefined;
7
6
  fixedPosition?: boolean | undefined;
8
7
  hasCloser?: boolean | undefined;
9
8
  } & {
10
9
  breakpoint?: number | undefined;
10
+ defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
11
11
  } & React.RefAttributes<HTMLDivElement>> & {
12
12
  Header: React.FC<import("./components/header/Component").HeaderProps>;
13
13
  Content: React.FC<import("./typings").ContentProps>;
14
14
  Footer: React.FC<import("./components/footer/Component").FooterProps>;
15
+ Controls: React.FC<import("./components/controls/index").ControlsProps>;
15
16
  };
16
17
  export { ModalResponsive };
@@ -4,8 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var tslib = require('tslib');
6
6
  var React = require('react');
7
- var hooks = require('@alfalab/hooks');
7
+ var coreComponentsMq = require('@alfalab/core-components-mq');
8
8
  var components_content_Component = require('./components/content/Component.js');
9
+ var components_controls_Component = require('./components/controls/Component.js');
9
10
  var components_footer_Component = require('./components/footer/Component.js');
10
11
  var components_header_Component = require('./components/header/Component.js');
11
12
  var Component = require('./Component.js');
@@ -13,6 +14,7 @@ require('classnames');
13
14
  require('./Context.js');
14
15
  require('@alfalab/core-components-base-modal');
15
16
  require('./ResponsiveContext.js');
17
+ require('./layout.module-57c7b9be.js');
16
18
  require('@alfalab/core-components-navigation-bar');
17
19
  require('react-merge-refs');
18
20
 
@@ -21,17 +23,15 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
21
23
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
22
24
 
23
25
  var ModalResponsiveComponent = React.forwardRef(function (_a, ref) {
24
- var children = _a.children, _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = tslib.__rest(_a, ["children", "breakpoint"]);
25
- var view = hooks.useMedia([
26
- ['mobile', "(max-width: ".concat(breakpoint - 1, "px)")],
27
- ['desktop', "(min-width: ".concat(breakpoint, "px)")],
28
- ], 'desktop')[0];
29
- return (React__default.default.createElement(Component.Modal, tslib.__assign({ ref: ref }, restProps, { view: view }), children));
26
+ var children = _a.children, _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, _c = _a.defaultMatchMediaValue, defaultMatchMediaValue = _c === void 0 ? true : _c, restProps = tslib.__rest(_a, ["children", "breakpoint", "defaultMatchMediaValue"]);
27
+ var isDesktop = coreComponentsMq.useMatchMedia("(min-width: ".concat(breakpoint, "px)"), defaultMatchMediaValue)[0];
28
+ return (React__default.default.createElement(Component.Modal, tslib.__assign({ ref: ref }, restProps, { view: isDesktop ? 'desktop' : 'mobile' }), children));
30
29
  });
31
30
  var ModalResponsive = Object.assign(ModalResponsiveComponent, {
32
31
  Header: components_header_Component.Header,
33
32
  Content: components_content_Component.Content,
34
33
  Footer: components_footer_Component.Footer,
34
+ Controls: components_controls_Component.Controls,
35
35
  });
36
36
 
37
37
  exports.ModalResponsive = ModalResponsive;
@@ -13,13 +13,13 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
13
13
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
14
14
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
15
15
 
16
- var desktopStyles = {"s":"modal__s_1j8a8","m":"modal__m_1j8a8","l":"modal__l_1j8a8","xl":"modal__xl_1j8a8","fullscreen":"modal__fullscreen_1j8a8"};
16
+ var desktopStyles = {"s":"modal__s_1ps95","m":"modal__m_1ps95","l":"modal__l_1ps95","xl":"modal__xl_1ps95","fullscreen":"modal__fullscreen_1ps95"};
17
17
  require('./desktop.css')
18
18
 
19
- var styles = {"content":"modal__content_1nw5s","withHeader":"modal__withHeader_1nw5s","flex":"modal__flex_1nw5s"};
19
+ var styles = {"content":"modal__content_1ug4p","withHeader":"modal__withHeader_1ug4p","flex":"modal__flex_1ug4p"};
20
20
  require('./index.css')
21
21
 
22
- var mobileStyles = {"content":"modal__content_isuje"};
22
+ var mobileStyles = {"content":"modal__content_y4sbt"};
23
23
  require('./mobile.css')
24
24
 
25
25
  var Content = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1gm5g */
1
+ /* hash: vsqki */
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 */
@@ -30,12 +30,12 @@
30
30
  /* mobile */
31
31
 
32
32
  /* paddings */
33
- } .modal__s_1j8a8,
34
- .modal__m_1j8a8,
35
- .modal__l_1j8a8,
36
- .modal__xl_1j8a8,
37
- .modal__fullscreen_1j8a8 {
33
+ } .modal__s_1ps95,
34
+ .modal__m_1ps95,
35
+ .modal__l_1ps95,
36
+ .modal__xl_1ps95,
37
+ .modal__fullscreen_1ps95 {
38
38
  padding: var(--modal-s-content-paddings)
39
- } .modal__s_1j8a8:last-child, .modal__m_1j8a8:last-child, .modal__l_1j8a8:last-child, .modal__xl_1j8a8:last-child, .modal__fullscreen_1j8a8:last-child {
39
+ } .modal__s_1ps95:last-child, .modal__m_1ps95:last-child, .modal__l_1ps95:last-child, .modal__xl_1ps95:last-child, .modal__fullscreen_1ps95:last-child {
40
40
  padding-bottom: var(--modal-s-content-only-bottom-padding);
41
41
  }
@@ -1,4 +1,4 @@
1
- /* hash: yuamb */
1
+ /* hash: e0vq9 */
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 */
@@ -27,13 +27,13 @@
27
27
  /* mobile */
28
28
 
29
29
  /* paddings */
30
- } .modal__content_1nw5s {
30
+ } .modal__content_1ug4p {
31
31
  position: relative;
32
32
  box-sizing: border-box;
33
33
  width: 100%;
34
34
  z-index: 0
35
- } .modal__content_1nw5s.modal__withHeader_1nw5s {
35
+ } .modal__content_1ug4p.modal__withHeader_1ug4p {
36
36
  padding-top: 0;
37
- } .modal__flex_1nw5s {
37
+ } .modal__flex_1ug4p {
38
38
  flex: 1;
39
39
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1n5nv */
1
+ /* hash: pcf58 */
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 */
@@ -28,8 +28,8 @@
28
28
  /* mobile */
29
29
 
30
30
  /* paddings */
31
- } .modal__content_isuje {
31
+ } .modal__content_y4sbt {
32
32
  padding: var(--gap-m) var(--gap-m) 0
33
- } .modal__content_isuje:last-child {
33
+ } .modal__content_y4sbt:last-child {
34
34
  padding-bottom: var(--gap-m);
35
35
  }
@@ -0,0 +1,29 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { ReactNode } from "react";
4
+ interface ControlsProps {
5
+ /**
6
+ * Основной слот
7
+ */
8
+ primary?: ReactNode;
9
+ /**
10
+ * Дополнительный слот
11
+ */
12
+ secondary?: ReactNode;
13
+ /**
14
+ * Выравнивание элементов футера
15
+ * @default start
16
+ */
17
+ layout?: 'start' | 'center' | 'space-between' | 'column';
18
+ /**
19
+ * Выравнивание элементов футера (мобильный view)
20
+ * @default start
21
+ */
22
+ mobileLayout?: 'start' | 'center' | 'space-between' | 'column';
23
+ /**
24
+ * Отступы между элементами футера
25
+ */
26
+ gap?: 16 | 24 | 32;
27
+ }
28
+ declare const Controls: React.FC<ControlsProps>;
29
+ export { ControlsProps, Controls };
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var React = require('react');
6
+ var cn = require('classnames');
7
+ var ResponsiveContext = require('../../ResponsiveContext.js');
8
+ var layout_module = require('../../layout.module-57c7b9be.js');
9
+
10
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
11
+
12
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
13
+ var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
14
+
15
+ var styles = {"component":"modal__component_hhndl"};
16
+ require('./index.css')
17
+
18
+ var Controls = function (_a) {
19
+ var primary = _a.primary, secondary = _a.secondary, _b = _a.gap, gap = _b === void 0 ? 16 : _b, _c = _a.layout, layoutProp = _c === void 0 ? 'start' : _c, _d = _a.mobileLayout, mobileLayout = _d === void 0 ? layoutProp : _d;
20
+ var view = React.useContext(ResponsiveContext.ResponsiveContext).view;
21
+ var layout = view === 'mobile' ? mobileLayout : layoutProp;
22
+ var shouldReverse = view === 'mobile' && layout !== 'column';
23
+ return (React__default.default.createElement("div", { className: cn__default.default(styles.component, layout_module.layoutStyles[layout], gap && layout_module.layoutStyles["gap-".concat(gap)]) }, shouldReverse ? (React__default.default.createElement(React__default.default.Fragment, null,
24
+ secondary,
25
+ primary)) : (React__default.default.createElement(React__default.default.Fragment, null,
26
+ primary,
27
+ secondary))));
28
+ };
29
+
30
+ exports.Controls = Controls;
@@ -0,0 +1,4 @@
1
+ /* hash: 13rud */
2
+ .modal__component_hhndl {
3
+ width: 100%;
4
+ }
@@ -0,0 +1 @@
1
+ export * from "./Component";
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var components_controls_Component = require('./Component.js');
6
+ require('react');
7
+ require('classnames');
8
+ require('../../ResponsiveContext.js');
9
+ require('../../layout.module-57c7b9be.js');
10
+
11
+
12
+
13
+ exports.Controls = components_controls_Component.Controls;
@@ -6,6 +6,7 @@ var React = require('react');
6
6
  var cn = require('classnames');
7
7
  var Context = require('../../Context.js');
8
8
  var ResponsiveContext = require('../../ResponsiveContext.js');
9
+ var layout_module = require('../../layout.module-57c7b9be.js');
9
10
  require('@alfalab/core-components-base-modal');
10
11
 
11
12
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
@@ -13,16 +14,13 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
13
14
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
14
15
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
15
16
 
16
- var desktopStyles = {"footer":"modal__footer_1yc6m","sticky":"modal__sticky_1yc6m","fullscreen":"modal__fullscreen_1yc6m","s":"modal__s_1yc6m","m":"modal__m_1yc6m","l":"modal__l_1yc6m","xl":"modal__xl_1yc6m"};
17
+ var desktopStyles = {"footer":"modal__footer_kkmzz","sticky":"modal__sticky_kkmzz","fullscreen":"modal__fullscreen_kkmzz","s":"modal__s_kkmzz","m":"modal__m_kkmzz","l":"modal__l_kkmzz","xl":"modal__xl_kkmzz"};
17
18
  require('./desktop.css')
18
19
 
19
- var styles = {"footer":"modal__footer_1qtda","sticky":"modal__sticky_1qtda","highlighted":"modal__highlighted_1qtda"};
20
+ var styles = {"footer":"modal__footer_d1tnp","sticky":"modal__sticky_d1tnp","highlighted":"modal__highlighted_d1tnp"};
20
21
  require('./index.css')
21
22
 
22
- var layoutStyles = {"column":"modal__column_vf2vc","gap-16":"modal__gap-16_vf2vc","gap-24":"modal__gap-24_vf2vc","gap-32":"modal__gap-32_vf2vc","column-mobile":"modal__column-mobile_vf2vc","start":"modal__start_vf2vc","center":"modal__center_vf2vc","space-between":"modal__space-between_vf2vc"};
23
- require('./layout.css')
24
-
25
- var mobileStyles = {"footer":"modal__footer_le3nn","sticky":"modal__sticky_le3nn"};
23
+ var mobileStyles = {"footer":"modal__footer_1d9qk","sticky":"modal__sticky_1d9qk"};
26
24
  require('./mobile.css')
27
25
 
28
26
  var Footer = function (_a) {
@@ -33,7 +31,7 @@ var Footer = function (_a) {
33
31
  React.useEffect(function () {
34
32
  setHasFooter(true);
35
33
  }, [setHasFooter]);
36
- return (React__default.default.createElement("div", { className: cn__default.default(styles.footer, className, layoutStyles[layout], gap && layoutStyles["gap-".concat(gap)], (_b = {},
34
+ return (React__default.default.createElement("div", { className: cn__default.default(styles.footer, className, layout_module.layoutStyles[layout], gap && layout_module.layoutStyles["gap-".concat(gap)], (_b = {},
37
35
  _b[styles.highlighted] = sticky && footerHighlighted,
38
36
  _b[styles.sticky] = sticky,
39
37
  _b[desktopStyles.footer] = view === 'desktop',
@@ -41,7 +39,6 @@ var Footer = function (_a) {
41
39
  _b[desktopStyles[size]] = view === 'desktop',
42
40
  _b[mobileStyles.footer] = view === 'mobile',
43
41
  _b[mobileStyles.sticky] = view === 'mobile' && sticky,
44
- _b[layoutStyles["".concat(layout, "-mobile")]] = view === 'mobile',
45
42
  _b)) }, children));
46
43
  };
47
44
 
@@ -1,4 +1,4 @@
1
- /* hash: uzllf */
1
+ /* hash: ti02d */
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 */
@@ -33,17 +33,17 @@
33
33
  /* mobile */
34
34
 
35
35
  /* paddings */
36
- } .modal__footer_1yc6m {
36
+ } .modal__footer_kkmzz {
37
37
  border-bottom-left-radius: var(--modal-border-radius);
38
38
  border-bottom-right-radius: var(--modal-border-radius);
39
- } .modal__sticky_1yc6m {
39
+ } .modal__sticky_kkmzz {
40
40
  bottom: calc(var(--modal-vertical-padding) * -1)
41
- } .modal__sticky_1yc6m.modal__fullscreen_1yc6m {
41
+ } .modal__sticky_kkmzz.modal__fullscreen_kkmzz {
42
42
  bottom: 0;
43
- } .modal__s_1yc6m,
44
- .modal__m_1yc6m,
45
- .modal__l_1yc6m,
46
- .modal__xl_1yc6m,
47
- .modal__fullscreen_1yc6m {
43
+ } .modal__s_kkmzz,
44
+ .modal__m_kkmzz,
45
+ .modal__l_kkmzz,
46
+ .modal__xl_kkmzz,
47
+ .modal__fullscreen_kkmzz {
48
48
  padding: var(--modal-s-footer-paddings);
49
49
  }
@@ -1,8 +1,8 @@
1
- /* hash: 1ettp */
1
+ /* hash: 1dc86 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-bg-primary: #fff;
5
- --color-light-border-secondary: #e7e8ec; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* 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
+ --color-light-modal-bg-primary: #fff;
5
+ --color-light-neutral-300: #e7e8eb; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
6
  } :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 */
7
7
  } :root {
8
8
  } :root {
@@ -17,29 +17,29 @@
17
17
  } :root {
18
18
  } :root {
19
19
  } :root {
20
- --modal-footer-background: var(--color-light-bg-primary);
20
+ --modal-footer-background: var(--color-light-modal-bg-primary);
21
21
 
22
22
  /* sizes */
23
23
 
24
24
  /* paddings */
25
25
 
26
26
  /* scroll */
27
- --modal-footer-highlight-background: var(--color-light-bg-primary);
28
- --modal-footer-highlight-box-shadow: 0 -1px 0 0 var(--color-light-border-secondary);
27
+ --modal-footer-highlight-background: var(--color-light-modal-bg-primary);
28
+ --modal-footer-highlight-box-shadow: 0 -1px 0 0 var(--color-light-neutral-300);
29
29
 
30
30
  /* desktop */
31
31
 
32
32
  /* mobile */
33
33
 
34
34
  /* paddings */
35
- } .modal__footer_1qtda {
35
+ } .modal__footer_d1tnp {
36
36
  width: 100%;
37
37
  box-sizing: border-box;
38
38
  transition: box-shadow 0.2s ease, background 0.2s ease;
39
- } .modal__sticky_1qtda {
39
+ } .modal__sticky_d1tnp {
40
40
  background: var(--modal-footer-background);
41
41
  position: sticky;
42
- } .modal__highlighted_1qtda {
42
+ } .modal__highlighted_d1tnp {
43
43
  background: var(--modal-footer-highlight-background);
44
44
  box-shadow: var(--modal-footer-highlight-box-shadow);
45
45
  }
@@ -1,4 +1,4 @@
1
- /* hash: 170ni */
1
+ /* hash: 15j1z */
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 */
@@ -31,53 +31,35 @@
31
31
  /* mobile */
32
32
 
33
33
  /* paddings */
34
- } .modal__column_vf2vc {
34
+ } .modal__column_1gona {
35
35
  display: flex;
36
36
  flex-direction: column
37
- } .modal__column_vf2vc > * {
37
+ } .modal__column_1gona > *:not(:last-child):not(:only-child) {
38
38
  margin-bottom: var(--modal-footer-default-gap);
39
- } .modal__column_vf2vc > *:last-child,
40
- .modal__column_vf2vc > *:only-child {
41
- margin-bottom: 0;
42
- } .modal__column_vf2vc.modal__gap-16_vf2vc > * {
39
+ } .modal__column_1gona.modal__gap-16_1gona > *:not(:last-child):not(:only-child) {
43
40
  margin-bottom: var(--gap-m);
44
- } .modal__column_vf2vc.modal__gap-24_vf2vc > * {
41
+ } .modal__column_1gona.modal__gap-24_1gona > *:not(:last-child):not(:only-child) {
45
42
  margin-bottom: var(--gap-xl);
46
- } .modal__column_vf2vc.modal__gap-32_vf2vc > * {
43
+ } .modal__column_1gona.modal__gap-32_1gona > *:not(:last-child):not(:only-child) {
47
44
  margin-bottom: var(--gap-2xl);
48
- } .modal__column-mobile_vf2vc {
49
- flex-direction: column-reverse
50
- } .modal__column-mobile_vf2vc > * {
51
- margin-bottom: 0;
52
- } .modal__column-mobile_vf2vc > *:last-child {
53
- margin-bottom: var(--modal-footer-default-gap);
54
- } .modal__column-mobile_vf2vc > *:only-child {
55
- margin-bottom: 0;
56
- } .modal__start_vf2vc {
45
+ } .modal__start_1gona {
57
46
  justify-content: flex-start;
58
- } .modal__center_vf2vc {
47
+ } .modal__center_1gona {
59
48
  justify-content: center;
60
- } .modal__space-between_vf2vc {
49
+ } .modal__space-between_1gona {
61
50
  justify-content: space-between
62
- } .modal__space-between_vf2vc > * {
51
+ } .modal__space-between_1gona > * {
63
52
  flex: 1;
64
- } .modal__start_vf2vc,
65
- .modal__center_vf2vc,
66
- .modal__space-between_vf2vc {
53
+ } .modal__start_1gona,
54
+ .modal__center_1gona,
55
+ .modal__space-between_1gona {
67
56
  display: flex
68
- } .modal__start_vf2vc > *, .modal__center_vf2vc > *, .modal__space-between_vf2vc > * {
57
+ } .modal__start_1gona > *:not(:last-child):not(:only-child), .modal__center_1gona > *:not(:last-child):not(:only-child), .modal__space-between_1gona > *:not(:last-child):not(:only-child) {
69
58
  margin-right: var(--modal-footer-default-gap);
70
- } .modal__start_vf2vc > *:last-child,
71
- .modal__start_vf2vc > *:only-child,
72
- .modal__center_vf2vc > *:last-child,
73
- .modal__center_vf2vc > *:only-child,
74
- .modal__space-between_vf2vc > *:last-child,
75
- .modal__space-between_vf2vc > *:only-child {
76
- margin-right: 0;
77
- } .modal__start_vf2vc.modal__gap-16_vf2vc > *, .modal__center_vf2vc.modal__gap-16_vf2vc > *, .modal__space-between_vf2vc.modal__gap-16_vf2vc > * {
59
+ } .modal__start_1gona.modal__gap-16_1gona > *:not(:last-child):not(:only-child), .modal__center_1gona.modal__gap-16_1gona > *:not(:last-child):not(:only-child), .modal__space-between_1gona.modal__gap-16_1gona > *:not(:last-child):not(:only-child) {
78
60
  margin-right: var(--gap-m);
79
- } .modal__start_vf2vc.modal__gap-24_vf2vc > *, .modal__center_vf2vc.modal__gap-24_vf2vc > *, .modal__space-between_vf2vc.modal__gap-24_vf2vc > * {
61
+ } .modal__start_1gona.modal__gap-24_1gona > *:not(:last-child):not(:only-child), .modal__center_1gona.modal__gap-24_1gona > *:not(:last-child):not(:only-child), .modal__space-between_1gona.modal__gap-24_1gona > *:not(:last-child):not(:only-child) {
80
62
  margin-right: var(--gap-xl);
81
- } .modal__start_vf2vc.modal__gap-32_vf2vc > *, .modal__center_vf2vc.modal__gap-32_vf2vc > *, .modal__space-between_vf2vc.modal__gap-32_vf2vc > * {
63
+ } .modal__start_1gona.modal__gap-32_1gona > *:not(:last-child):not(:only-child), .modal__center_1gona.modal__gap-32_1gona > *:not(:last-child):not(:only-child), .modal__space-between_1gona.modal__gap-32_1gona > *:not(:last-child):not(:only-child) {
82
64
  margin-right: var(--gap-2xl);
83
65
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1oi9h */
1
+ /* hash: 19lel */
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 */
@@ -28,8 +28,8 @@
28
28
  /* mobile */
29
29
 
30
30
  /* paddings */
31
- } .modal__footer_le3nn {
31
+ } .modal__footer_1d9qk {
32
32
  padding: var(--gap-m);
33
- } .modal__sticky_le3nn {
33
+ } .modal__sticky_1d9qk {
34
34
  bottom: 0;
35
35
  }
@@ -15,13 +15,13 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
15
15
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
16
16
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
17
17
 
18
- var desktopStyles = {"header":"modal__header_12npl","content":"modal__content_12npl","s":"modal__s_12npl","m":"modal__m_12npl","l":"modal__l_12npl","xl":"modal__xl_12npl","fullscreen":"modal__fullscreen_12npl","sticky":"modal__sticky_12npl"};
18
+ var desktopStyles = {"header":"modal__header_he560","content":"modal__content_he560","s":"modal__s_he560","m":"modal__m_he560","l":"modal__l_he560","xl":"modal__xl_he560","fullscreen":"modal__fullscreen_he560","sticky":"modal__sticky_he560"};
19
19
  require('./desktop.css')
20
20
 
21
- var styles = {"highlighted":"modal__highlighted_1amy0","sticky":"modal__sticky_1amy0","hasContent":"modal__hasContent_1amy0"};
21
+ var styles = {"highlighted":"modal__highlighted_pddkj","sticky":"modal__sticky_pddkj","hasContent":"modal__hasContent_pddkj"};
22
22
  require('./index.css')
23
23
 
24
- var mobileStyles = {"header":"modal__header_zp3c0","sticky":"modal__sticky_zp3c0","content":"modal__content_zp3c0"};
24
+ var mobileStyles = {"header":"modal__header_7tgf4","sticky":"modal__sticky_7tgf4","content":"modal__content_7tgf4"};
25
25
  require('./mobile.css')
26
26
 
27
27
  var Header = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1v7wk */
1
+ /* hash: 1wpi3 */
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 */
@@ -33,7 +33,7 @@
33
33
 
34
34
  /* desktop */
35
35
  --modal-s-header-desktop-content-paddings: var(--gap-s);
36
- --modal-s-header-desktop-font-size: 20px;
36
+ --modal-s-header-desktop-font-size: 22px;
37
37
  --modal-s-header-desktop-line-height: 26px;
38
38
  --modal-l-header-desktop-content-paddings: 6px var(--gap-s) var(--gap-m);
39
39
  --modal-l-header-desktop-font-size: 30px;
@@ -44,31 +44,31 @@
44
44
  /* mobile */
45
45
 
46
46
  /* paddings */
47
- } .modal__header_12npl {
47
+ } .modal__header_he560 {
48
48
  border-top-left-radius: var(--modal-border-radius);
49
49
  border-top-right-radius: var(--modal-border-radius);
50
- } .modal__content_12npl {
50
+ } .modal__content_he560 {
51
51
  font-weight: var(--modal-header-desktop-font-weight);
52
52
  font-family: var(--modal-header-desktop-font-family);
53
- } .modal__s_12npl .modal__content_12npl,
54
- .modal__m_12npl .modal__content_12npl {
53
+ } .modal__s_he560 .modal__content_he560,
54
+ .modal__m_he560 .modal__content_he560 {
55
55
  padding: var(--modal-s-header-desktop-content-paddings);
56
56
  font-size: var(--modal-s-header-desktop-font-size);
57
57
  line-height: var(--modal-s-header-desktop-line-height);
58
- } .modal__l_12npl .modal__content_12npl,
59
- .modal__xl_12npl .modal__content_12npl,
60
- .modal__fullscreen_12npl .modal__content_12npl {
58
+ } .modal__l_he560 .modal__content_he560,
59
+ .modal__xl_he560 .modal__content_he560,
60
+ .modal__fullscreen_he560 .modal__content_he560 {
61
61
  padding: var(--modal-l-header-desktop-content-paddings);
62
62
  font-size: var(--modal-l-header-desktop-font-size);
63
63
  line-height: var(--modal-l-header-desktop-line-height);
64
- } .modal__s_12npl,
65
- .modal__m_12npl,
66
- .modal__l_12npl,
67
- .modal__xl_12npl,
68
- .modal__fullscreen_12npl {
64
+ } .modal__s_he560,
65
+ .modal__m_he560,
66
+ .modal__l_he560,
67
+ .modal__xl_he560,
68
+ .modal__fullscreen_he560 {
69
69
  padding: var(--modal-s-header-paddings);
70
- } .modal__sticky_12npl {
70
+ } .modal__sticky_he560 {
71
71
  top: calc(var(--modal-vertical-padding) * -1)
72
- } .modal__sticky_12npl.modal__fullscreen_12npl {
72
+ } .modal__sticky_he560.modal__fullscreen_he560 {
73
73
  top: 0;
74
74
  }