@alfalab/core-components-modal 6.0.1 → 6.0.4

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 (120) hide show
  1. package/{Component-1235d6ca.d.ts → Component-566064e7.d.ts} +0 -0
  2. package/{Component-1235d6ca.js → Component-566064e7.js} +1 -1
  3. package/Component.desktop.js +4 -4
  4. package/Component.mobile.js +4 -4
  5. package/Component.responsive.d.ts +2 -1
  6. package/Component.responsive.js +3 -3
  7. package/components/closer/Component.js +2 -2
  8. package/components/closer/index.css +4 -4
  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.js +2 -2
  16. package/components/footer/Component.js +2 -2
  17. package/components/footer/Component.mobile.js +2 -2
  18. package/components/footer/desktop.css +9 -9
  19. package/components/footer/index.css +4 -4
  20. package/components/footer/layout.css +25 -25
  21. package/components/footer/mobile.css +3 -3
  22. package/components/header/Component.desktop.d.ts +1 -1
  23. package/components/header/Component.desktop.js +3 -3
  24. package/components/header/Component.js +1 -1
  25. package/components/header/Component.mobile.d.ts +1 -1
  26. package/components/header/Component.mobile.js +3 -3
  27. package/components/header/desktop.css +17 -17
  28. package/components/header/index.css +15 -15
  29. package/components/header/mobile.css +3 -3
  30. package/cssm/Component.responsive.d.ts +2 -1
  31. package/desktop.css +9 -9
  32. package/desktop.js +3 -3
  33. package/esm/{Component-b56ad03d.d.ts → Component-82b3af34.d.ts} +0 -0
  34. package/esm/{Component-b56ad03d.js → Component-82b3af34.js} +1 -1
  35. package/esm/Component.desktop.js +4 -4
  36. package/esm/Component.mobile.js +4 -4
  37. package/esm/Component.responsive.d.ts +2 -1
  38. package/esm/Component.responsive.js +3 -3
  39. package/esm/components/closer/Component.js +2 -2
  40. package/esm/components/closer/index.css +4 -4
  41. package/esm/components/content/Component.desktop.js +2 -2
  42. package/esm/components/content/Component.js +1 -1
  43. package/esm/components/content/Component.mobile.js +2 -2
  44. package/esm/components/content/desktop.css +8 -8
  45. package/esm/components/content/index.css +3 -3
  46. package/esm/components/content/mobile.css +3 -3
  47. package/esm/components/footer/Component.desktop.js +2 -2
  48. package/esm/components/footer/Component.js +2 -2
  49. package/esm/components/footer/Component.mobile.js +2 -2
  50. package/esm/components/footer/desktop.css +9 -9
  51. package/esm/components/footer/index.css +4 -4
  52. package/esm/components/footer/layout.css +25 -25
  53. package/esm/components/footer/mobile.css +3 -3
  54. package/esm/components/header/Component.desktop.d.ts +1 -1
  55. package/esm/components/header/Component.desktop.js +3 -3
  56. package/esm/components/header/Component.js +1 -1
  57. package/esm/components/header/Component.mobile.d.ts +1 -1
  58. package/esm/components/header/Component.mobile.js +3 -3
  59. package/esm/components/header/desktop.css +17 -17
  60. package/esm/components/header/index.css +15 -15
  61. package/esm/components/header/mobile.css +3 -3
  62. package/esm/desktop.css +9 -9
  63. package/esm/desktop.js +3 -3
  64. package/esm/index.js +3 -3
  65. package/esm/mobile.css +2 -2
  66. package/esm/mobile.js +3 -3
  67. package/esm/responsive.js +3 -3
  68. package/esm/transitions.css +8 -8
  69. package/esm/transitions.module-b985b84f.js +4 -0
  70. package/esm/{tslib.es6-770cae09.d.ts → tslib.es6-9f786756.d.ts} +0 -0
  71. package/esm/{tslib.es6-770cae09.js → tslib.es6-9f786756.js} +0 -0
  72. package/index.js +3 -3
  73. package/mobile.css +2 -2
  74. package/mobile.js +3 -3
  75. package/modern/{Component-cbd41811.d.ts → Component-e5d83f73.d.ts} +0 -0
  76. package/modern/{Component-cbd41811.js → Component-e5d83f73.js} +1 -1
  77. package/modern/Component.desktop.js +3 -3
  78. package/modern/Component.mobile.js +3 -3
  79. package/modern/Component.responsive.d.ts +2 -1
  80. package/modern/Component.responsive.js +2 -2
  81. package/modern/components/closer/Component.js +1 -1
  82. package/modern/components/closer/index.css +4 -4
  83. package/modern/components/content/Component.desktop.js +1 -1
  84. package/modern/components/content/Component.js +1 -1
  85. package/modern/components/content/Component.mobile.js +1 -1
  86. package/modern/components/content/desktop.css +8 -8
  87. package/modern/components/content/index.css +3 -3
  88. package/modern/components/content/mobile.css +3 -3
  89. package/modern/components/footer/Component.desktop.js +1 -1
  90. package/modern/components/footer/Component.js +2 -2
  91. package/modern/components/footer/Component.mobile.js +1 -1
  92. package/modern/components/footer/desktop.css +9 -9
  93. package/modern/components/footer/index.css +4 -4
  94. package/modern/components/footer/layout.css +25 -25
  95. package/modern/components/footer/mobile.css +3 -3
  96. package/modern/components/header/Component.desktop.d.ts +1 -1
  97. package/modern/components/header/Component.desktop.js +2 -2
  98. package/modern/components/header/Component.js +1 -1
  99. package/modern/components/header/Component.mobile.d.ts +1 -1
  100. package/modern/components/header/Component.mobile.js +2 -2
  101. package/modern/components/header/desktop.css +17 -17
  102. package/modern/components/header/index.css +15 -15
  103. package/modern/components/header/mobile.css +3 -3
  104. package/modern/desktop.css +9 -9
  105. package/modern/desktop.js +2 -2
  106. package/modern/index.js +2 -2
  107. package/modern/mobile.css +2 -2
  108. package/modern/mobile.js +2 -2
  109. package/modern/responsive.js +2 -2
  110. package/modern/transitions.css +8 -8
  111. package/modern/transitions.module-b985b84f.js +4 -0
  112. package/package.json +4 -4
  113. package/responsive.js +3 -3
  114. package/transitions.css +8 -8
  115. package/transitions.module-9690f4ef.js +6 -0
  116. package/{tslib.es6-b6380ba8.d.ts → tslib.es6-8733813d.d.ts} +0 -0
  117. package/{tslib.es6-b6380ba8.js → tslib.es6-8733813d.js} +0 -0
  118. package/esm/transitions.module-914bbfb1.js +0 -4
  119. package/modern/transitions.module-914bbfb1.js +0 -4
  120. package/transitions.module-07c7e48f.js +0 -6
@@ -2,19 +2,19 @@ import React, { forwardRef } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { BaseModal } from '@alfalab/core-components-base-modal/modern';
4
4
  import './Context.js';
5
- import './Component-cbd41811.js';
5
+ import './Component-e5d83f73.js';
6
6
  import '@alfalab/core-components-icon-button/modern';
7
7
  import '@alfalab/icons-glyph/CrossHeavyMIcon';
8
8
  import { Closer } from './components/closer/Component.js';
9
9
  import './components/content/Component.js';
10
10
  import './components/footer/Component.js';
11
- import { t as transitions } from './transitions.module-914bbfb1.js';
11
+ import { t as transitions } from './transitions.module-b985b84f.js';
12
12
  import '@alfalab/icons-glyph/CrossMIcon';
13
13
  import { HeaderMobile } from './components/header/Component.mobile.js';
14
14
  import { ContentMobile } from './components/content/Component.mobile.js';
15
15
  import { FooterMobile } from './components/footer/Component.mobile.js';
16
16
 
17
- var styles = {"component":"modal__component_6f8ri"};
17
+ var styles = {"component":"modal__component_1pmal"};
18
18
  require('./mobile.css')
19
19
 
20
20
  const ModalMobileComponent = forwardRef(({ children, className, ...restProps }, ref) => {
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
+ import { BaseModalProps } from "@alfalab/core-components-base-modal";
3
4
  import { ModalDesktopProps } from "./Component.desktop";
4
5
  import { ModalMobileProps } from "./Component.mobile";
5
6
  type ModalResponsiveProps = ModalMobileProps & ModalDesktopProps & {
@@ -9,7 +10,7 @@ type ModalResponsiveProps = ModalMobileProps & ModalDesktopProps & {
9
10
  */
10
11
  breakpoint?: number;
11
12
  };
12
- declare const ModalResponsive: React.ForwardRefExoticComponent<import("packages/base-modal/src").BaseModalProps & {
13
+ declare const ModalResponsive: React.ForwardRefExoticComponent<BaseModalProps & {
13
14
  hasCloser?: boolean | undefined;
14
15
  } & {
15
16
  size?: "s" | "m" | "l" | "xl" | "fullscreen" | undefined;
@@ -3,7 +3,7 @@ import 'classnames';
3
3
  import '@alfalab/core-components-base-modal/modern';
4
4
  import 'react-merge-refs';
5
5
  import './Context.js';
6
- import './Component-cbd41811.js';
6
+ import './Component-e5d83f73.js';
7
7
  import '@alfalab/core-components-icon-button/modern';
8
8
  import '@alfalab/icons-glyph/CrossHeavyMIcon';
9
9
  import { Closer } from './components/closer/Component.js';
@@ -13,7 +13,7 @@ import './components/content/Component.desktop.js';
13
13
  import './components/footer/Component.js';
14
14
  import './components/footer/Component.desktop.js';
15
15
  import { ModalDesktop } from './Component.desktop.js';
16
- import './transitions.module-914bbfb1.js';
16
+ import './transitions.module-b985b84f.js';
17
17
  import '@alfalab/icons-glyph/CrossMIcon';
18
18
  import './components/header/Component.mobile.js';
19
19
  import './components/content/Component.mobile.js';
@@ -5,7 +5,7 @@ import { ModalContext } from '../../Context.js';
5
5
  import { IconButton } from '@alfalab/core-components-icon-button/modern';
6
6
  import { CrossHeavyMIcon } from '@alfalab/icons-glyph/CrossHeavyMIcon';
7
7
 
8
- var styles = {"closer":"modal__closer_1kcuj","button":"modal__button_1kcuj","sticky":"modal__sticky_1kcuj"};
8
+ var styles = {"closer":"modal__closer_1b7uf","button":"modal__button_1b7uf","sticky":"modal__sticky_1b7uf"};
9
9
  require('./index.css')
10
10
 
11
11
  /**
@@ -1,4 +1,4 @@
1
- /* hash: icwsn */
1
+ /* hash: os22j */
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_1kcuj {
32
+ .modal__closer_1b7uf {
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_1kcuj {
41
+ .modal__button_1b7uf {
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_1kcuj {
47
+ .modal__sticky_1b7uf {
48
48
  position: sticky;
49
49
  top: calc(var(--modal-vertical-padding) * -1);
50
50
  }
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/modern';
4
4
  import '../../Context.js';
5
5
  import { Content } from './Component.js';
6
6
 
7
- var styles = {"s":"modal__s_1m55l","m":"modal__m_1m55l","l":"modal__l_1m55l","xl":"modal__xl_1m55l","fullscreen":"modal__fullscreen_1m55l"};
7
+ var styles = {"s":"modal__s_2y3rb","m":"modal__m_2y3rb","l":"modal__l_2y3rb","xl":"modal__xl_2y3rb","fullscreen":"modal__fullscreen_2y3rb"};
8
8
  require('./desktop.css')
9
9
 
10
10
  const ContentDesktop = ({ size, className, ...restProps }) => (React.createElement(Content, Object.assign({ className: cn(className, size && styles[size]) }, restProps)));
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import '@alfalab/core-components-base-modal/modern';
4
4
  import { ModalContext } from '../../Context.js';
5
5
 
6
- var styles = {"content":"modal__content_1n5wy","flex":"modal__flex_1n5wy"};
6
+ var styles = {"content":"modal__content_3yv4f","flex":"modal__flex_3yv4f"};
7
7
  require('./index.css')
8
8
 
9
9
  const Content = ({ children, flex, className }) => {
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/modern';
4
4
  import '../../Context.js';
5
5
  import { Content } from './Component.js';
6
6
 
7
- var styles = {"content":"modal__content_1df93"};
7
+ var styles = {"content":"modal__content_1mk96"};
8
8
  require('./mobile.css')
9
9
 
10
10
  const ContentMobile = ({ className, ...restProps }) => (React.createElement(Content, Object.assign({ className: cn(className, styles.content) }, restProps)));
@@ -1,4 +1,4 @@
1
- /* hash: 48sll */
1
+ /* hash: mulwm */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -24,18 +24,18 @@
24
24
 
25
25
  /* mobile */
26
26
  }
27
- .modal__s_1m55l,
28
- .modal__m_1m55l {
27
+ .modal__s_2y3rb,
28
+ .modal__m_2y3rb {
29
29
  padding: var(--modal-s-content-paddings)
30
30
  }
31
- .modal__s_1m55l:last-child, .modal__m_1m55l:last-child {
31
+ .modal__s_2y3rb:last-child, .modal__m_2y3rb:last-child {
32
32
  padding-bottom: var(--modal-s-content-only-bottom-padding);
33
33
  }
34
- .modal__l_1m55l,
35
- .modal__xl_1m55l,
36
- .modal__fullscreen_1m55l {
34
+ .modal__l_2y3rb,
35
+ .modal__xl_2y3rb,
36
+ .modal__fullscreen_2y3rb {
37
37
  padding: 0 var(--gap-6xl)
38
38
  }
39
- .modal__l_1m55l:last-child, .modal__xl_1m55l:last-child, .modal__fullscreen_1m55l:last-child {
39
+ .modal__l_2y3rb:last-child, .modal__xl_2y3rb:last-child, .modal__fullscreen_2y3rb:last-child {
40
40
  padding-bottom: var(--gap-6xl);
41
41
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1wiuq */
1
+ /* hash: g3jzl */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -19,10 +19,10 @@
19
19
 
20
20
  /* mobile */
21
21
  }
22
- .modal__content_1n5wy {
22
+ .modal__content_3yv4f {
23
23
  box-sizing: border-box;
24
24
  width: 100%;
25
25
  }
26
- .modal__flex_1n5wy {
26
+ .modal__flex_3yv4f {
27
27
  flex: 1 1 auto;
28
28
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1y3sj */
1
+ /* hash: fl9v1 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -22,9 +22,9 @@
22
22
 
23
23
  /* mobile */
24
24
  }
25
- .modal__content_1df93 {
25
+ .modal__content_1mk96 {
26
26
  padding: 0 var(--gap-m)
27
27
  }
28
- .modal__content_1df93:last-child {
28
+ .modal__content_1mk96:last-child {
29
29
  padding-bottom: var(--gap-m);
30
30
  }
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/modern';
4
4
  import '../../Context.js';
5
5
  import { Footer } from './Component.js';
6
6
 
7
- var styles = {"footer":"modal__footer_1yh67","sticky":"modal__sticky_1yh67","fullscreen":"modal__fullscreen_1yh67","s":"modal__s_1yh67","m":"modal__m_1yh67","l":"modal__l_1yh67","xl":"modal__xl_1yh67"};
7
+ var styles = {"footer":"modal__footer_fa4di","sticky":"modal__sticky_fa4di","fullscreen":"modal__fullscreen_fa4di","s":"modal__s_fa4di","m":"modal__m_fa4di","l":"modal__l_fa4di","xl":"modal__xl_fa4di"};
8
8
  require('./desktop.css')
9
9
 
10
10
  const FooterDesktop = ({ size, className, sticky, ...restProps }) => (React.createElement(Footer, Object.assign({ className: cn(className, styles.footer, size && styles[size], {
@@ -3,10 +3,10 @@ import cn from 'classnames';
3
3
  import '@alfalab/core-components-base-modal/modern';
4
4
  import { ModalContext } from '../../Context.js';
5
5
 
6
- var styles = {"footer":"modal__footer_1ulh2","sticky":"modal__sticky_1ulh2","highlighted":"modal__highlighted_1ulh2"};
6
+ var styles = {"footer":"modal__footer_bef8i","sticky":"modal__sticky_bef8i","highlighted":"modal__highlighted_bef8i"};
7
7
  require('./index.css')
8
8
 
9
- var layoutStyles = {"column":"modal__column_vk2gy","gap-16":"modal__gap-16_vk2gy","gap-24":"modal__gap-24_vk2gy","gap-32":"modal__gap-32_vk2gy","start":"modal__start_vk2gy","center":"modal__center_vk2gy","space-between":"modal__space-between_vk2gy"};
9
+ var layoutStyles = {"column":"modal__column_1be4o","gap-16":"modal__gap-16_1be4o","gap-24":"modal__gap-24_1be4o","gap-32":"modal__gap-32_1be4o","start":"modal__start_1be4o","center":"modal__center_1be4o","space-between":"modal__space-between_1be4o"};
10
10
  require('./layout.css')
11
11
 
12
12
  const Footer = ({ children, className, sticky, layout = 'start', gap }) => {
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/modern';
4
4
  import '../../Context.js';
5
5
  import { Footer } from './Component.js';
6
6
 
7
- var styles = {"footer":"modal__footer_a30v8","sticky":"modal__sticky_a30v8"};
7
+ var styles = {"footer":"modal__footer_j80yz","sticky":"modal__sticky_j80yz"};
8
8
  require('./mobile.css')
9
9
 
10
10
  const FooterMobile = ({ className, sticky, ...restProps }) => (React.createElement(Footer, Object.assign({ className: cn(className, styles.footer, {
@@ -1,4 +1,4 @@
1
- /* hash: cyv0n */
1
+ /* hash: 9orm7 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -31,22 +31,22 @@
31
31
 
32
32
  /* mobile */
33
33
  }
34
- .modal__footer_1yh67 {
34
+ .modal__footer_fa4di {
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_1yh67 {
38
+ .modal__sticky_fa4di {
39
39
  bottom: calc(var(--modal-vertical-padding) * -1)
40
40
  }
41
- .modal__sticky_1yh67.modal__fullscreen_1yh67 {
41
+ .modal__sticky_fa4di.modal__fullscreen_fa4di {
42
42
  bottom: 0;
43
43
  }
44
- .modal__s_1yh67,
45
- .modal__m_1yh67 {
44
+ .modal__s_fa4di,
45
+ .modal__m_fa4di {
46
46
  padding: var(--modal-s-footer-paddings);
47
47
  }
48
- .modal__l_1yh67,
49
- .modal__xl_1yh67,
50
- .modal__fullscreen_1yh67 {
48
+ .modal__l_fa4di,
49
+ .modal__xl_fa4di,
50
+ .modal__fullscreen_fa4di {
51
51
  padding: var(--gap-2xl) var(--gap-6xl) var(--gap-6xl);
52
52
  }
@@ -1,4 +1,4 @@
1
- /* hash: lsa7t */
1
+ /* hash: ii6td */
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_1ulh2 {
29
+ .modal__footer_bef8i {
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_1ulh2 {
34
+ .modal__sticky_bef8i {
35
35
  background: var(--modal-footer-background);
36
36
  position: sticky;
37
37
  }
38
- .modal__highlighted_1ulh2 {
38
+ .modal__highlighted_bef8i {
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: hm87s */
1
+ /* hash: ec4tc */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -25,60 +25,60 @@
25
25
 
26
26
  /* mobile */
27
27
  }
28
- .modal__column_vk2gy {
28
+ .modal__column_1be4o {
29
29
  display: flex;
30
30
  flex-direction: column
31
31
  }
32
- .modal__column_vk2gy > * {
32
+ .modal__column_1be4o > * {
33
33
  margin-bottom: var(--modal-footer-default-gap);
34
34
  }
35
- .modal__column_vk2gy > *:last-child,
36
- .modal__column_vk2gy > *:only-child {
35
+ .modal__column_1be4o > *:last-child,
36
+ .modal__column_1be4o > *:only-child {
37
37
  margin-bottom: 0;
38
38
  }
39
- .modal__column_vk2gy.modal__gap-16_vk2gy > * {
39
+ .modal__column_1be4o.modal__gap-16_1be4o > * {
40
40
  margin-bottom: var(--gap-m);
41
41
  }
42
- .modal__column_vk2gy.modal__gap-24_vk2gy > * {
42
+ .modal__column_1be4o.modal__gap-24_1be4o > * {
43
43
  margin-bottom: var(--gap-xl);
44
44
  }
45
- .modal__column_vk2gy.modal__gap-32_vk2gy > * {
45
+ .modal__column_1be4o.modal__gap-32_1be4o > * {
46
46
  margin-bottom: var(--gap-2xl);
47
47
  }
48
- .modal__start_vk2gy {
48
+ .modal__start_1be4o {
49
49
  justify-content: flex-start;
50
50
  }
51
- .modal__center_vk2gy {
51
+ .modal__center_1be4o {
52
52
  justify-content: center;
53
53
  }
54
- .modal__space-between_vk2gy {
54
+ .modal__space-between_1be4o {
55
55
  justify-content: space-between
56
56
  }
57
- .modal__space-between_vk2gy > * {
57
+ .modal__space-between_1be4o > * {
58
58
  flex: 1;
59
59
  }
60
- .modal__start_vk2gy,
61
- .modal__center_vk2gy,
62
- .modal__space-between_vk2gy {
60
+ .modal__start_1be4o,
61
+ .modal__center_1be4o,
62
+ .modal__space-between_1be4o {
63
63
  display: flex
64
64
  }
65
- .modal__start_vk2gy > *, .modal__center_vk2gy > *, .modal__space-between_vk2gy > * {
65
+ .modal__start_1be4o > *, .modal__center_1be4o > *, .modal__space-between_1be4o > * {
66
66
  margin-right: var(--modal-footer-default-gap);
67
67
  }
68
- .modal__start_vk2gy > *:last-child,
69
- .modal__start_vk2gy > *:only-child,
70
- .modal__center_vk2gy > *:last-child,
71
- .modal__center_vk2gy > *:only-child,
72
- .modal__space-between_vk2gy > *:last-child,
73
- .modal__space-between_vk2gy > *:only-child {
68
+ .modal__start_1be4o > *:last-child,
69
+ .modal__start_1be4o > *:only-child,
70
+ .modal__center_1be4o > *:last-child,
71
+ .modal__center_1be4o > *:only-child,
72
+ .modal__space-between_1be4o > *:last-child,
73
+ .modal__space-between_1be4o > *:only-child {
74
74
  margin-right: 0;
75
75
  }
76
- .modal__start_vk2gy.modal__gap-16_vk2gy > *, .modal__center_vk2gy.modal__gap-16_vk2gy > *, .modal__space-between_vk2gy.modal__gap-16_vk2gy > * {
76
+ .modal__start_1be4o.modal__gap-16_1be4o > *, .modal__center_1be4o.modal__gap-16_1be4o > *, .modal__space-between_1be4o.modal__gap-16_1be4o > * {
77
77
  margin-right: var(--gap-m);
78
78
  }
79
- .modal__start_vk2gy.modal__gap-24_vk2gy > *, .modal__center_vk2gy.modal__gap-24_vk2gy > *, .modal__space-between_vk2gy.modal__gap-24_vk2gy > * {
79
+ .modal__start_1be4o.modal__gap-24_1be4o > *, .modal__center_1be4o.modal__gap-24_1be4o > *, .modal__space-between_1be4o.modal__gap-24_1be4o > * {
80
80
  margin-right: var(--gap-xl);
81
81
  }
82
- .modal__start_vk2gy.modal__gap-32_vk2gy > *, .modal__center_vk2gy.modal__gap-32_vk2gy > *, .modal__space-between_vk2gy.modal__gap-32_vk2gy > * {
82
+ .modal__start_1be4o.modal__gap-32_1be4o > *, .modal__center_1be4o.modal__gap-32_1be4o > *, .modal__space-between_1be4o.modal__gap-32_1be4o > * {
83
83
  margin-right: var(--gap-2xl);
84
84
  }
@@ -1,4 +1,4 @@
1
- /* hash: ucgu7 */
1
+ /* hash: 62rog */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -22,9 +22,9 @@
22
22
 
23
23
  /* mobile */
24
24
  }
25
- .modal__footer_a30v8 {
25
+ .modal__footer_j80yz {
26
26
  padding: var(--gap-m);
27
27
  }
28
- .modal__sticky_a30v8 {
28
+ .modal__sticky_j80yz {
29
29
  bottom: 0;
30
30
  }
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { HeaderProps } from "../../Component-cbd41811";
2
+ import { HeaderProps } from "../../Component-e5d83f73";
3
3
  import { ModalDesktopProps } from "../../Component.desktop";
4
4
  type HeaderDesktopProps = Omit<HeaderProps, 'closer'> & {
5
5
  /**
@@ -2,12 +2,12 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import '@alfalab/core-components-base-modal/modern';
4
4
  import '../../Context.js';
5
- import { H as Header, g as getDataTestId } from '../../Component-cbd41811.js';
5
+ import { H as Header, g as getDataTestId } from '../../Component-e5d83f73.js';
6
6
  import '@alfalab/core-components-icon-button/modern';
7
7
  import '@alfalab/icons-glyph/CrossHeavyMIcon';
8
8
  import { Closer } from '../closer/Component.js';
9
9
 
10
- var styles = {"header":"modal__header_okdph","content":"modal__content_okdph","s":"modal__s_okdph","m":"modal__m_okdph","l":"modal__l_okdph","xl":"modal__xl_okdph","fullscreen":"modal__fullscreen_okdph","hasContent":"modal__hasContent_okdph","sticky":"modal__sticky_okdph"};
10
+ var styles = {"header":"modal__header_14efw","content":"modal__content_14efw","s":"modal__s_14efw","m":"modal__m_14efw","l":"modal__l_14efw","xl":"modal__xl_14efw","fullscreen":"modal__fullscreen_14efw","hasContent":"modal__hasContent_14efw","sticky":"modal__sticky_14efw"};
11
11
  require('./desktop.css')
12
12
 
13
13
  const HeaderDesktop = ({ size, className, contentClassName, hasCloser = true, sticky, leftAddons = React.createElement("span", null), title, children, dataTestId, ...restProps }) => {
@@ -2,4 +2,4 @@ import 'react';
2
2
  import 'classnames';
3
3
  import '@alfalab/core-components-base-modal/modern';
4
4
  import '../../Context.js';
5
- export { H as Header } from '../../Component-cbd41811.js';
5
+ export { H as Header } from '../../Component-e5d83f73.js';
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { HeaderProps } from "../../Component-cbd41811";
2
+ import { HeaderProps } from "../../Component-e5d83f73";
3
3
  type HeaderMobileProps = Omit<HeaderProps, 'closer'> & {
4
4
  /**
5
5
  * Наличие крестика
@@ -2,13 +2,13 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import '@alfalab/core-components-base-modal/modern';
4
4
  import '../../Context.js';
5
- import { H as Header, g as getDataTestId } from '../../Component-cbd41811.js';
5
+ import { H as Header, g as getDataTestId } from '../../Component-e5d83f73.js';
6
6
  import '@alfalab/core-components-icon-button/modern';
7
7
  import '@alfalab/icons-glyph/CrossHeavyMIcon';
8
8
  import { Closer } from '../closer/Component.js';
9
9
  import CrossMIcon from '@alfalab/icons-glyph/CrossMIcon';
10
10
 
11
- var styles = {"sticky":"modal__sticky_nwqit","content":"modal__content_nwqit"};
11
+ var styles = {"sticky":"modal__sticky_x1qmk","content":"modal__content_x1qmk"};
12
12
  require('./mobile.css')
13
13
 
14
14
  const HeaderMobile = ({ className, contentClassName, hasCloser = true, sticky, dataTestId, ...restProps }) => (React.createElement(Header, Object.assign({ className: cn(className, {
@@ -1,4 +1,4 @@
1
- /* hash: 127ad */
1
+ /* hash: psyhr */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -43,45 +43,45 @@
43
43
 
44
44
  /* mobile */
45
45
  }
46
- .modal__header_okdph {
46
+ .modal__header_14efw {
47
47
  border-top-left-radius: var(--modal-border-radius);
48
48
  border-top-right-radius: var(--modal-border-radius);
49
49
  }
50
- .modal__content_okdph {
50
+ .modal__content_14efw {
51
51
  font-weight: var(--modal-header-desktop-font-weight);
52
52
  font-family: var(--modal-header-desktop-font-family);
53
53
  }
54
- .modal__s_okdph .modal__content_okdph,
55
- .modal__m_okdph .modal__content_okdph {
54
+ .modal__s_14efw .modal__content_14efw,
55
+ .modal__m_14efw .modal__content_14efw {
56
56
  padding: var(--modal-s-header-desktop-content-paddings);
57
57
  font-size: var(--modal-s-header-desktop-font-size);
58
58
  line-height: var(--modal-s-header-desktop-line-height);
59
59
  }
60
- .modal__l_okdph .modal__content_okdph,
61
- .modal__xl_okdph .modal__content_okdph,
62
- .modal__fullscreen_okdph .modal__content_okdph {
60
+ .modal__l_14efw .modal__content_14efw,
61
+ .modal__xl_14efw .modal__content_14efw,
62
+ .modal__fullscreen_14efw .modal__content_14efw {
63
63
  padding: var(--modal-l-header-desktop-content-paddings);
64
64
  font-size: var(--modal-l-header-desktop-font-size);
65
65
  line-height: var(--modal-l-header-desktop-line-height);
66
66
  }
67
- .modal__s_okdph,
68
- .modal__m_okdph {
67
+ .modal__s_14efw,
68
+ .modal__m_14efw {
69
69
  padding: var(--modal-s-header-paddings)
70
70
  }
71
- .modal__s_okdph:not(.modal__hasContent_okdph), .modal__m_okdph:not(.modal__hasContent_okdph) {
71
+ .modal__s_14efw:not(.modal__hasContent_14efw), .modal__m_14efw:not(.modal__hasContent_14efw) {
72
72
  padding-bottom: 0;
73
73
  }
74
- .modal__l_okdph,
75
- .modal__xl_okdph,
76
- .modal__fullscreen_okdph {
74
+ .modal__l_14efw,
75
+ .modal__xl_14efw,
76
+ .modal__fullscreen_14efw {
77
77
  padding: var(--gap-xl) var(--gap-xl) var(--gap-m)
78
78
  }
79
- .modal__l_okdph:not(.modal__hasContent_okdph), .modal__xl_okdph:not(.modal__hasContent_okdph), .modal__fullscreen_okdph:not(.modal__hasContent_okdph) {
79
+ .modal__l_14efw:not(.modal__hasContent_14efw), .modal__xl_14efw:not(.modal__hasContent_14efw), .modal__fullscreen_14efw:not(.modal__hasContent_14efw) {
80
80
  padding-bottom: var(--gap-m);
81
81
  }
82
- .modal__sticky_okdph {
82
+ .modal__sticky_14efw {
83
83
  top: calc(var(--modal-vertical-padding) * -1)
84
84
  }
85
- .modal__sticky_okdph.modal__fullscreen_okdph {
85
+ .modal__sticky_14efw.modal__fullscreen_14efw {
86
86
  top: 0;
87
87
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1tyt2 */
1
+ /* hash: 1hkh7 */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  }
@@ -25,7 +25,7 @@
25
25
 
26
26
  /* mobile */
27
27
  }
28
- .modal__header_106qb {
28
+ .modal__header_1g0si {
29
29
  width: 100%;
30
30
  box-sizing: border-box;
31
31
  display: flex;
@@ -33,26 +33,26 @@
33
33
  justify-content: space-between;
34
34
  transition: box-shadow 0.2s ease, background 0.2s ease
35
35
  }
36
- .modal__header_106qb:not(.modal__hasContent_106qb) {
36
+ .modal__header_1g0si:not(.modal__hasContent_1g0si) {
37
37
  pointer-events: none;
38
38
  }
39
- .modal__highlighted_106qb {
39
+ .modal__highlighted_1g0si {
40
40
  background: var(--modal-header-highlight-background);
41
41
  box-shadow: var(--modal-header-highlight-box-shadow);
42
42
  }
43
- .modal__sticky_106qb {
43
+ .modal__sticky_1g0si {
44
44
  position: sticky
45
45
  }
46
- .modal__sticky_106qb.modal__hasContent_106qb {
46
+ .modal__sticky_1g0si.modal__hasContent_1g0si {
47
47
  background: var(--modal-header-background);
48
48
  }
49
- .modal__content_106qb {
49
+ .modal__content_1g0si {
50
50
  flex-grow: 1;
51
51
  }
52
- .modal__title_106qb {
52
+ .modal__title_1g0si {
53
53
  word-break: break-word;
54
54
  }
55
- .modal__addon_106qb {
55
+ .modal__addon_1g0si {
56
56
  min-width: 48px;
57
57
  height: 48px;
58
58
  display: flex;
@@ -60,25 +60,25 @@
60
60
  align-items: center;
61
61
  pointer-events: all;
62
62
  }
63
- .modal__closer_106qb {
63
+ .modal__closer_1g0si {
64
64
  margin-left: auto;
65
65
  }
66
- .modal__left_106qb {
66
+ .modal__left_1g0si {
67
67
  justify-content: flex-start;
68
68
  text-align: left;
69
69
  }
70
- .modal__center_106qb {
70
+ .modal__center_1g0si {
71
71
  justify-content: center;
72
72
  text-align: center;
73
73
  }
74
- .modal__right_106qb {
74
+ .modal__right_1g0si {
75
75
  justify-content: flex-end;
76
76
  text-align: right;
77
77
  }
78
- .modal__trim_106qb {
78
+ .modal__trim_1g0si {
79
79
  overflow: hidden
80
80
  }
81
- .modal__trim_106qb .modal__title_106qb {
81
+ .modal__trim_1g0si .modal__title_1g0si {
82
82
  overflow: hidden;
83
83
  white-space: nowrap;
84
84
  text-overflow: ellipsis;
@@ -1,4 +1,4 @@
1
- /* hash: dxo9p */
1
+ /* hash: holf0 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -33,10 +33,10 @@
33
33
  --modal-header-mobile-font-family: var(--font-family-system);
34
34
  --modal-header-mobile-font-weight: bold;
35
35
  }
36
- .modal__sticky_nwqit {
36
+ .modal__sticky_x1qmk {
37
37
  top: 0;
38
38
  }
39
- .modal__content_nwqit {
39
+ .modal__content_x1qmk {
40
40
  font-size: var(--modal-header-mobile-font-size);
41
41
  line-height: var(--modal-header-mobile-line-height);
42
42
  font-family: var(--modal-header-mobile-font-family);