@alfalab/core-components-modal 5.2.4 → 5.2.8

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 (127) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/Component.desktop.js +3 -3
  3. package/Component.mobile.js +3 -3
  4. package/Component.responsive.d.ts +1 -1
  5. package/Component.responsive.js +2 -2
  6. package/components/closer/Component.js +2 -2
  7. package/components/closer/index.css +4 -4
  8. package/components/content/Component.desktop.js +2 -2
  9. package/components/content/Component.js +1 -1
  10. package/components/content/Component.mobile.js +2 -2
  11. package/components/content/desktop.css +8 -8
  12. package/components/content/index.css +3 -3
  13. package/components/content/mobile.css +3 -3
  14. package/components/footer/Component.desktop.js +2 -2
  15. package/components/footer/Component.js +2 -2
  16. package/components/footer/Component.mobile.js +2 -2
  17. package/components/footer/desktop.css +9 -9
  18. package/components/footer/index.css +4 -4
  19. package/components/footer/layout.css +25 -25
  20. package/components/footer/mobile.css +3 -3
  21. package/components/header/Component.desktop.js +2 -2
  22. package/components/header/Component.js +1 -1
  23. package/components/header/Component.mobile.js +2 -2
  24. package/components/header/desktop.css +17 -17
  25. package/components/header/index.css +15 -15
  26. package/components/header/mobile.css +3 -3
  27. package/cssm/Component.desktop.js +2 -2
  28. package/cssm/Component.mobile.js +2 -2
  29. package/cssm/Component.responsive.js +2 -2
  30. package/cssm/Context.js +1 -1
  31. package/cssm/components/closer/Component.js +2 -2
  32. package/cssm/components/content/Component.desktop.js +1 -1
  33. package/cssm/components/content/Component.js +1 -1
  34. package/cssm/components/content/Component.mobile.js +1 -1
  35. package/cssm/components/footer/Component.desktop.js +1 -1
  36. package/cssm/components/footer/Component.js +1 -1
  37. package/cssm/components/footer/Component.mobile.js +1 -1
  38. package/cssm/components/header/Component.desktop.js +2 -2
  39. package/cssm/components/header/Component.js +1 -1
  40. package/cssm/components/header/Component.mobile.js +2 -2
  41. package/cssm/desktop.js +2 -2
  42. package/cssm/index.js +2 -2
  43. package/cssm/mobile.js +2 -2
  44. package/cssm/responsive.js +2 -2
  45. package/desktop.css +9 -9
  46. package/desktop.js +2 -2
  47. package/esm/Component.desktop.js +5 -5
  48. package/esm/Component.mobile.js +5 -5
  49. package/esm/Component.responsive.d.ts +1 -1
  50. package/esm/Component.responsive.js +4 -4
  51. package/esm/Context.js +1 -1
  52. package/esm/components/closer/Component.js +4 -4
  53. package/esm/components/closer/index.css +4 -4
  54. package/esm/components/content/Component.desktop.js +3 -3
  55. package/esm/components/content/Component.js +2 -2
  56. package/esm/components/content/Component.mobile.js +3 -3
  57. package/esm/components/content/desktop.css +8 -8
  58. package/esm/components/content/index.css +3 -3
  59. package/esm/components/content/mobile.css +3 -3
  60. package/esm/components/footer/Component.desktop.js +3 -3
  61. package/esm/components/footer/Component.js +3 -3
  62. package/esm/components/footer/Component.mobile.js +3 -3
  63. package/esm/components/footer/desktop.css +9 -9
  64. package/esm/components/footer/index.css +4 -4
  65. package/esm/components/footer/layout.css +25 -25
  66. package/esm/components/footer/mobile.css +3 -3
  67. package/esm/components/header/Component.desktop.js +4 -4
  68. package/esm/components/header/Component.js +2 -2
  69. package/esm/components/header/Component.mobile.js +4 -4
  70. package/esm/components/header/desktop.css +17 -17
  71. package/esm/components/header/index.css +15 -15
  72. package/esm/components/header/mobile.css +3 -3
  73. package/esm/desktop.css +9 -9
  74. package/esm/desktop.js +4 -4
  75. package/esm/index.js +4 -4
  76. package/esm/mobile.css +2 -2
  77. package/esm/mobile.js +4 -4
  78. package/esm/responsive.js +4 -4
  79. package/esm/transitions.css +8 -8
  80. package/esm/transitions.module-07f304a6.js +4 -0
  81. package/esm/{tslib.es6-7706dd6f.d.ts → tslib.es6-09e91687.d.ts} +0 -0
  82. package/esm/{tslib.es6-7706dd6f.js → tslib.es6-09e91687.js} +0 -0
  83. package/index.js +2 -2
  84. package/mobile.css +2 -2
  85. package/mobile.js +2 -2
  86. package/modern/Component.desktop.js +4 -4
  87. package/modern/Component.mobile.js +4 -4
  88. package/modern/Component.responsive.js +3 -3
  89. package/modern/Context.js +1 -1
  90. package/modern/components/closer/Component.js +3 -3
  91. package/modern/components/closer/index.css +4 -4
  92. package/modern/components/content/Component.desktop.js +2 -2
  93. package/modern/components/content/Component.js +2 -2
  94. package/modern/components/content/Component.mobile.js +2 -2
  95. package/modern/components/content/desktop.css +8 -8
  96. package/modern/components/content/index.css +3 -3
  97. package/modern/components/content/mobile.css +3 -3
  98. package/modern/components/footer/Component.desktop.js +2 -2
  99. package/modern/components/footer/Component.js +3 -3
  100. package/modern/components/footer/Component.mobile.js +2 -2
  101. package/modern/components/footer/desktop.css +9 -9
  102. package/modern/components/footer/index.css +4 -4
  103. package/modern/components/footer/layout.css +25 -25
  104. package/modern/components/footer/mobile.css +3 -3
  105. package/modern/components/header/Component.desktop.js +3 -3
  106. package/modern/components/header/Component.js +2 -2
  107. package/modern/components/header/Component.mobile.js +3 -3
  108. package/modern/components/header/desktop.css +17 -17
  109. package/modern/components/header/index.css +15 -15
  110. package/modern/components/header/mobile.css +3 -3
  111. package/modern/desktop.css +9 -9
  112. package/modern/desktop.js +3 -3
  113. package/modern/index.js +3 -3
  114. package/modern/mobile.css +2 -2
  115. package/modern/mobile.js +3 -3
  116. package/modern/responsive.js +3 -3
  117. package/modern/transitions.css +8 -8
  118. package/modern/transitions.module-07f304a6.js +4 -0
  119. package/package.json +5 -5
  120. package/responsive.js +2 -2
  121. package/transitions.css +8 -8
  122. package/transitions.module-ab513ace.js +6 -0
  123. package/{tslib.es6-9e07616d.d.ts → tslib.es6-2f4771ad.d.ts} +0 -0
  124. package/{tslib.es6-9e07616d.js → tslib.es6-2f4771ad.js} +0 -0
  125. package/esm/transitions.module-dff9fc07.js +0 -4
  126. package/modern/transitions.module-dff9fc07.js +0 -4
  127. package/transitions.module-853e7be6.js +0 -6
@@ -1,24 +1,24 @@
1
- /* hash: ygo10 */
2
- .modal__appear_1vd26,
3
- .modal__enter_1vd26 {
1
+ /* hash: 1lvfm */
2
+ .modal__appear_1qz3b,
3
+ .modal__enter_1qz3b {
4
4
  opacity: 0;
5
5
  transform: translateY(15px);
6
6
  }
7
7
 
8
- .modal__appearActive_1vd26,
9
- .modal__enterActive_1vd26 {
8
+ .modal__appearActive_1qz3b,
9
+ .modal__enterActive_1qz3b {
10
10
  opacity: 1;
11
11
  transform: translateY(0);
12
12
  transition: opacity 200ms ease-in, transform 200ms ease-in;
13
13
  }
14
14
 
15
- .modal__exit_1vd26 {
15
+ .modal__exit_1qz3b {
16
16
  opacity: 1;
17
17
  transform: translateY(0);
18
18
  }
19
19
 
20
- .modal__exitActive_1vd26,
21
- .modal__exitDone_1vd26 {
20
+ .modal__exitActive_1qz3b,
21
+ .modal__exitDone_1qz3b {
22
22
  opacity: 0;
23
23
  transform: translateY(15px);
24
24
  transition: opacity 200ms ease-out, transform 200ms ease-out;
@@ -0,0 +1,4 @@
1
+ var transitions = {"appear":"modal__appear_1qz3b","enter":"modal__enter_1qz3b","appearActive":"modal__appearActive_1qz3b","enterActive":"modal__enterActive_1qz3b","exit":"modal__exit_1qz3b","exitActive":"modal__exitActive_1qz3b","exitDone":"modal__exitDone_1qz3b"};
2
+ require('./transitions.css')
3
+
4
+ export { transitions as t };
package/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-9e07616d.js');
5
+ require('./tslib.es6-2f4771ad.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('@alfalab/core-components-base-modal');
@@ -18,7 +18,7 @@ require('./components/content/Component.desktop.js');
18
18
  require('./components/footer/Component.js');
19
19
  require('./components/footer/Component.desktop.js');
20
20
  require('./Component.desktop.js');
21
- require('./transitions.module-853e7be6.js');
21
+ require('./transitions.module-ab513ace.js');
22
22
  require('@alfalab/icons-glyph/CrossMIcon');
23
23
  require('./components/header/Component.mobile.js');
24
24
  require('./components/content/Component.mobile.js');
package/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 16gf8 */
1
+ /* hash: j1nn2 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -19,7 +19,7 @@
19
19
 
20
20
  /* mobile */
21
21
  }
22
- .modal__component_1eotd {
22
+ .modal__component_7c1ol {
23
23
  flex: 1;
24
24
  width: 100%;
25
25
  }
package/mobile.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-9e07616d.js');
5
+ require('./tslib.es6-2f4771ad.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('@alfalab/core-components-base-modal');
@@ -13,7 +13,7 @@ require('@alfalab/icons-glyph/CrossHeavyMIcon');
13
13
  require('./components/closer/Component.js');
14
14
  require('./components/content/Component.js');
15
15
  require('./components/footer/Component.js');
16
- require('./transitions.module-853e7be6.js');
16
+ require('./transitions.module-ab513ace.js');
17
17
  require('@alfalab/icons-glyph/CrossMIcon');
18
18
  require('./components/header/Component.mobile.js');
19
19
  require('./components/content/Component.mobile.js');
@@ -1,10 +1,10 @@
1
1
  import React, { forwardRef, useRef, useCallback, isValidElement, cloneElement } from 'react';
2
2
  import cn from 'classnames';
3
- import { BaseModal } from '@alfalab/core-components-base-modal/dist/modern';
3
+ import { BaseModal } from '@alfalab/core-components-base-modal/modern';
4
4
  import mergeRefs from 'react-merge-refs';
5
5
  import './Context.js';
6
6
  import './components/header/Component.js';
7
- import '@alfalab/core-components-icon-button/dist/modern';
7
+ import '@alfalab/core-components-icon-button/modern';
8
8
  import '@alfalab/icons-glyph/CrossHeavyMIcon';
9
9
  import { Closer } from './components/closer/Component.js';
10
10
  import { HeaderDesktop } from './components/header/Component.desktop.js';
@@ -12,9 +12,9 @@ import './components/content/Component.js';
12
12
  import { ContentDesktop } from './components/content/Component.desktop.js';
13
13
  import './components/footer/Component.js';
14
14
  import { FooterDesktop } from './components/footer/Component.desktop.js';
15
- import { t as transitions } from './transitions.module-dff9fc07.js';
15
+ import { t as transitions } from './transitions.module-07f304a6.js';
16
16
 
17
- var styles = {"wrapper":"modal__wrapper_kt3c9","component":"modal__component_kt3c9","fullscreen":"modal__fullscreen_kt3c9","s":"modal__s_kt3c9","m":"modal__m_kt3c9","l":"modal__l_kt3c9","xl":"modal__xl_kt3c9"};
17
+ var styles = {"wrapper":"modal__wrapper_12kb8","component":"modal__component_12kb8","fullscreen":"modal__fullscreen_12kb8","s":"modal__s_12kb8","m":"modal__m_12kb8","l":"modal__l_12kb8","xl":"modal__xl_12kb8"};
18
18
  require('./desktop.css')
19
19
 
20
20
  const ModalDesktopComponent = forwardRef(({ size = 's', fixedPosition, fullscreen, children, className, wrapperClassName, transitionProps = {}, ...restProps }, ref) => {
@@ -1,20 +1,20 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import cn from 'classnames';
3
- import { BaseModal } from '@alfalab/core-components-base-modal/dist/modern';
3
+ import { BaseModal } from '@alfalab/core-components-base-modal/modern';
4
4
  import './Context.js';
5
5
  import './components/header/Component.js';
6
- import '@alfalab/core-components-icon-button/dist/modern';
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-dff9fc07.js';
11
+ import { t as transitions } from './transitions.module-07f304a6.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_1eotd"};
17
+ var styles = {"component":"modal__component_7c1ol"};
18
18
  require('./mobile.css')
19
19
 
20
20
  const ModalMobileComponent = forwardRef(({ children, className, ...restProps }, ref) => {
@@ -1,10 +1,10 @@
1
1
  import React, { forwardRef, useMemo, useContext } from 'react';
2
2
  import 'classnames';
3
- import '@alfalab/core-components-base-modal/dist/modern';
3
+ import '@alfalab/core-components-base-modal/modern';
4
4
  import 'react-merge-refs';
5
5
  import './Context.js';
6
6
  import './components/header/Component.js';
7
- import '@alfalab/core-components-icon-button/dist/modern';
7
+ import '@alfalab/core-components-icon-button/modern';
8
8
  import '@alfalab/icons-glyph/CrossHeavyMIcon';
9
9
  import { Closer } from './components/closer/Component.js';
10
10
  import './components/header/Component.desktop.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-dff9fc07.js';
16
+ import './transitions.module-07f304a6.js';
17
17
  import '@alfalab/icons-glyph/CrossMIcon';
18
18
  import './components/header/Component.mobile.js';
19
19
  import './components/content/Component.mobile.js';
package/modern/Context.js CHANGED
@@ -1,4 +1,4 @@
1
- import { BaseModalContext } from '@alfalab/core-components-base-modal/dist/modern';
1
+ import { BaseModalContext } from '@alfalab/core-components-base-modal/modern';
2
2
 
3
3
  const ModalContext = BaseModalContext;
4
4
 
@@ -1,11 +1,11 @@
1
1
  import React, { useContext, useCallback } from 'react';
2
2
  import cn from 'classnames';
3
- import '@alfalab/core-components-base-modal/dist/modern';
3
+ import '@alfalab/core-components-base-modal/modern';
4
4
  import { ModalContext } from '../../Context.js';
5
- import { IconButton } from '@alfalab/core-components-icon-button/dist/modern';
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_1upfs","button":"modal__button_1upfs","sticky":"modal__sticky_1upfs"};
8
+ var styles = {"closer":"modal__closer_1gech","button":"modal__button_1gech","sticky":"modal__sticky_1gech"};
9
9
  require('./index.css')
10
10
 
11
11
  /**
@@ -1,4 +1,4 @@
1
- /* hash: 1lmel */
1
+ /* hash: 17raq */
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_1upfs {
32
+ .modal__closer_1gech {
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_1upfs {
41
+ .modal__button_1gech {
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_1upfs {
47
+ .modal__sticky_1gech {
48
48
  position: sticky;
49
49
  top: calc(var(--modal-vertical-padding) * -1);
50
50
  }
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import '@alfalab/core-components-base-modal/dist/modern';
3
+ 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_1ybq6","m":"modal__m_1ybq6","l":"modal__l_1ybq6","xl":"modal__xl_1ybq6","fullscreen":"modal__fullscreen_1ybq6"};
7
+ var styles = {"s":"modal__s_16ndt","m":"modal__m_16ndt","l":"modal__l_16ndt","xl":"modal__xl_16ndt","fullscreen":"modal__fullscreen_16ndt"};
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)));
@@ -1,9 +1,9 @@
1
1
  import React, { useContext } from 'react';
2
2
  import cn from 'classnames';
3
- import '@alfalab/core-components-base-modal/dist/modern';
3
+ import '@alfalab/core-components-base-modal/modern';
4
4
  import { ModalContext } from '../../Context.js';
5
5
 
6
- var styles = {"content":"modal__content_1ec4g","flex":"modal__flex_1ec4g"};
6
+ var styles = {"content":"modal__content_1iq3b","flex":"modal__flex_1iq3b"};
7
7
  require('./index.css')
8
8
 
9
9
  const Content = ({ children, flex, className }) => {
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import '@alfalab/core-components-base-modal/dist/modern';
3
+ 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_bwqxe"};
7
+ var styles = {"content":"modal__content_ajzg9"};
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: lk8eu */
1
+ /* hash: 7p4kh */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -24,18 +24,18 @@
24
24
 
25
25
  /* mobile */
26
26
  }
27
- .modal__s_1ybq6,
28
- .modal__m_1ybq6 {
27
+ .modal__s_16ndt,
28
+ .modal__m_16ndt {
29
29
  padding: var(--modal-s-content-paddings)
30
30
  }
31
- .modal__s_1ybq6:last-child, .modal__m_1ybq6:last-child {
31
+ .modal__s_16ndt:last-child, .modal__m_16ndt:last-child {
32
32
  padding-bottom: var(--modal-s-content-only-bottom-padding);
33
33
  }
34
- .modal__l_1ybq6,
35
- .modal__xl_1ybq6,
36
- .modal__fullscreen_1ybq6 {
34
+ .modal__l_16ndt,
35
+ .modal__xl_16ndt,
36
+ .modal__fullscreen_16ndt {
37
37
  padding: 0 var(--gap-6xl)
38
38
  }
39
- .modal__l_1ybq6:last-child, .modal__xl_1ybq6:last-child, .modal__fullscreen_1ybq6:last-child {
39
+ .modal__l_16ndt:last-child, .modal__xl_16ndt:last-child, .modal__fullscreen_16ndt:last-child {
40
40
  padding-bottom: var(--gap-6xl);
41
41
  }
@@ -1,4 +1,4 @@
1
- /* hash: ocu8q */
1
+ /* hash: 127y3 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -19,10 +19,10 @@
19
19
 
20
20
  /* mobile */
21
21
  }
22
- .modal__content_1ec4g {
22
+ .modal__content_1iq3b {
23
23
  box-sizing: border-box;
24
24
  width: 100%;
25
25
  }
26
- .modal__flex_1ec4g {
26
+ .modal__flex_1iq3b {
27
27
  flex: 1 1 auto;
28
28
  }
@@ -1,4 +1,4 @@
1
- /* hash: pbzt7 */
1
+ /* hash: bgvyu */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -22,9 +22,9 @@
22
22
 
23
23
  /* mobile */
24
24
  }
25
- .modal__content_bwqxe {
25
+ .modal__content_ajzg9 {
26
26
  padding: 0 var(--gap-m)
27
27
  }
28
- .modal__content_bwqxe:last-child {
28
+ .modal__content_ajzg9:last-child {
29
29
  padding-bottom: var(--gap-m);
30
30
  }
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import '@alfalab/core-components-base-modal/dist/modern';
3
+ 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_p1vi0","sticky":"modal__sticky_p1vi0","fullscreen":"modal__fullscreen_p1vi0","s":"modal__s_p1vi0","m":"modal__m_p1vi0","l":"modal__l_p1vi0","xl":"modal__xl_p1vi0"};
7
+ var styles = {"footer":"modal__footer_1ojwa","sticky":"modal__sticky_1ojwa","fullscreen":"modal__fullscreen_1ojwa","s":"modal__s_1ojwa","m":"modal__m_1ojwa","l":"modal__l_1ojwa","xl":"modal__xl_1ojwa"};
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], {
@@ -1,12 +1,12 @@
1
1
  import React, { useContext, useEffect } from 'react';
2
2
  import cn from 'classnames';
3
- import '@alfalab/core-components-base-modal/dist/modern';
3
+ import '@alfalab/core-components-base-modal/modern';
4
4
  import { ModalContext } from '../../Context.js';
5
5
 
6
- var styles = {"footer":"modal__footer_166jf","sticky":"modal__sticky_166jf","highlighted":"modal__highlighted_166jf"};
6
+ var styles = {"footer":"modal__footer_19m90","sticky":"modal__sticky_19m90","highlighted":"modal__highlighted_19m90"};
7
7
  require('./index.css')
8
8
 
9
- var layoutStyles = {"column":"modal__column_1a3xn","gap-16":"modal__gap-16_1a3xn","gap-24":"modal__gap-24_1a3xn","gap-32":"modal__gap-32_1a3xn","start":"modal__start_1a3xn","center":"modal__center_1a3xn","space-between":"modal__space-between_1a3xn"};
9
+ var layoutStyles = {"column":"modal__column_akuep","gap-16":"modal__gap-16_akuep","gap-24":"modal__gap-24_akuep","gap-32":"modal__gap-32_akuep","start":"modal__start_akuep","center":"modal__center_akuep","space-between":"modal__space-between_akuep"};
10
10
  require('./layout.css')
11
11
 
12
12
  const Footer = ({ children, className, sticky, layout = 'start', gap }) => {
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import '@alfalab/core-components-base-modal/dist/modern';
3
+ 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_11p25","sticky":"modal__sticky_11p25"};
7
+ var styles = {"footer":"modal__footer_1g05h","sticky":"modal__sticky_1g05h"};
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: 1xnck */
1
+ /* hash: chccp */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -31,22 +31,22 @@
31
31
 
32
32
  /* mobile */
33
33
  }
34
- .modal__footer_p1vi0 {
34
+ .modal__footer_1ojwa {
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_p1vi0 {
38
+ .modal__sticky_1ojwa {
39
39
  bottom: calc(var(--modal-vertical-padding) * -1)
40
40
  }
41
- .modal__sticky_p1vi0.modal__fullscreen_p1vi0 {
41
+ .modal__sticky_1ojwa.modal__fullscreen_1ojwa {
42
42
  bottom: 0;
43
43
  }
44
- .modal__s_p1vi0,
45
- .modal__m_p1vi0 {
44
+ .modal__s_1ojwa,
45
+ .modal__m_1ojwa {
46
46
  padding: var(--modal-s-footer-paddings);
47
47
  }
48
- .modal__l_p1vi0,
49
- .modal__xl_p1vi0,
50
- .modal__fullscreen_p1vi0 {
48
+ .modal__l_1ojwa,
49
+ .modal__xl_1ojwa,
50
+ .modal__fullscreen_1ojwa {
51
51
  padding: var(--gap-2xl) var(--gap-6xl) var(--gap-6xl);
52
52
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1wx40 */
1
+ /* hash: 1j206 */
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_166jf {
29
+ .modal__footer_19m90 {
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_166jf {
34
+ .modal__sticky_19m90 {
35
35
  background: var(--modal-footer-background);
36
36
  position: sticky;
37
37
  }
38
- .modal__highlighted_166jf {
38
+ .modal__highlighted_19m90 {
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: 39lpi */
1
+ /* hash: 1evy6 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -25,60 +25,60 @@
25
25
 
26
26
  /* mobile */
27
27
  }
28
- .modal__column_1a3xn {
28
+ .modal__column_akuep {
29
29
  display: flex;
30
30
  flex-direction: column
31
31
  }
32
- .modal__column_1a3xn > * {
32
+ .modal__column_akuep > * {
33
33
  margin-bottom: var(--modal-footer-default-gap);
34
34
  }
35
- .modal__column_1a3xn > *:last-child,
36
- .modal__column_1a3xn > *:only-child {
35
+ .modal__column_akuep > *:last-child,
36
+ .modal__column_akuep > *:only-child {
37
37
  margin-bottom: 0;
38
38
  }
39
- .modal__column_1a3xn.modal__gap-16_1a3xn > * {
39
+ .modal__column_akuep.modal__gap-16_akuep > * {
40
40
  margin-bottom: var(--gap-m);
41
41
  }
42
- .modal__column_1a3xn.modal__gap-24_1a3xn > * {
42
+ .modal__column_akuep.modal__gap-24_akuep > * {
43
43
  margin-bottom: var(--gap-xl);
44
44
  }
45
- .modal__column_1a3xn.modal__gap-32_1a3xn > * {
45
+ .modal__column_akuep.modal__gap-32_akuep > * {
46
46
  margin-bottom: var(--gap-2xl);
47
47
  }
48
- .modal__start_1a3xn {
48
+ .modal__start_akuep {
49
49
  justify-content: flex-start;
50
50
  }
51
- .modal__center_1a3xn {
51
+ .modal__center_akuep {
52
52
  justify-content: center;
53
53
  }
54
- .modal__space-between_1a3xn {
54
+ .modal__space-between_akuep {
55
55
  justify-content: space-between
56
56
  }
57
- .modal__space-between_1a3xn > * {
57
+ .modal__space-between_akuep > * {
58
58
  flex: 1;
59
59
  }
60
- .modal__start_1a3xn,
61
- .modal__center_1a3xn,
62
- .modal__space-between_1a3xn {
60
+ .modal__start_akuep,
61
+ .modal__center_akuep,
62
+ .modal__space-between_akuep {
63
63
  display: flex
64
64
  }
65
- .modal__start_1a3xn > *, .modal__center_1a3xn > *, .modal__space-between_1a3xn > * {
65
+ .modal__start_akuep > *, .modal__center_akuep > *, .modal__space-between_akuep > * {
66
66
  margin-right: var(--modal-footer-default-gap);
67
67
  }
68
- .modal__start_1a3xn > *:last-child,
69
- .modal__start_1a3xn > *:only-child,
70
- .modal__center_1a3xn > *:last-child,
71
- .modal__center_1a3xn > *:only-child,
72
- .modal__space-between_1a3xn > *:last-child,
73
- .modal__space-between_1a3xn > *:only-child {
68
+ .modal__start_akuep > *:last-child,
69
+ .modal__start_akuep > *:only-child,
70
+ .modal__center_akuep > *:last-child,
71
+ .modal__center_akuep > *:only-child,
72
+ .modal__space-between_akuep > *:last-child,
73
+ .modal__space-between_akuep > *:only-child {
74
74
  margin-right: 0;
75
75
  }
76
- .modal__start_1a3xn.modal__gap-16_1a3xn > *, .modal__center_1a3xn.modal__gap-16_1a3xn > *, .modal__space-between_1a3xn.modal__gap-16_1a3xn > * {
76
+ .modal__start_akuep.modal__gap-16_akuep > *, .modal__center_akuep.modal__gap-16_akuep > *, .modal__space-between_akuep.modal__gap-16_akuep > * {
77
77
  margin-right: var(--gap-m);
78
78
  }
79
- .modal__start_1a3xn.modal__gap-24_1a3xn > *, .modal__center_1a3xn.modal__gap-24_1a3xn > *, .modal__space-between_1a3xn.modal__gap-24_1a3xn > * {
79
+ .modal__start_akuep.modal__gap-24_akuep > *, .modal__center_akuep.modal__gap-24_akuep > *, .modal__space-between_akuep.modal__gap-24_akuep > * {
80
80
  margin-right: var(--gap-xl);
81
81
  }
82
- .modal__start_1a3xn.modal__gap-32_1a3xn > *, .modal__center_1a3xn.modal__gap-32_1a3xn > *, .modal__space-between_1a3xn.modal__gap-32_1a3xn > * {
82
+ .modal__start_akuep.modal__gap-32_akuep > *, .modal__center_akuep.modal__gap-32_akuep > *, .modal__space-between_akuep.modal__gap-32_akuep > * {
83
83
  margin-right: var(--gap-2xl);
84
84
  }
@@ -1,4 +1,4 @@
1
- /* hash: 189j7 */
1
+ /* hash: 1m4n2 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -22,9 +22,9 @@
22
22
 
23
23
  /* mobile */
24
24
  }
25
- .modal__footer_11p25 {
25
+ .modal__footer_1g05h {
26
26
  padding: var(--gap-m);
27
27
  }
28
- .modal__sticky_11p25 {
28
+ .modal__sticky_1g05h {
29
29
  bottom: 0;
30
30
  }
@@ -1,13 +1,13 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import '@alfalab/core-components-base-modal/dist/modern';
3
+ import '@alfalab/core-components-base-modal/modern';
4
4
  import '../../Context.js';
5
5
  import { Header } from './Component.js';
6
- import '@alfalab/core-components-icon-button/dist/modern';
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_35ub1","content":"modal__content_35ub1","s":"modal__s_35ub1","m":"modal__m_35ub1","l":"modal__l_35ub1","xl":"modal__xl_35ub1","fullscreen":"modal__fullscreen_35ub1","hasContent":"modal__hasContent_35ub1","sticky":"modal__sticky_35ub1"};
10
+ var styles = {"header":"modal__header_ph2cq","content":"modal__content_ph2cq","s":"modal__s_ph2cq","m":"modal__m_ph2cq","l":"modal__l_ph2cq","xl":"modal__xl_ph2cq","fullscreen":"modal__fullscreen_ph2cq","hasContent":"modal__hasContent_ph2cq","sticky":"modal__sticky_ph2cq"};
11
11
  require('./desktop.css')
12
12
 
13
13
  const HeaderDesktop = ({ size, className, contentClassName, hasCloser = true, sticky, leftAddons = React.createElement("span", null), title, children, ...restProps }) => {
@@ -1,9 +1,9 @@
1
1
  import React, { useContext, useEffect } from 'react';
2
2
  import cn from 'classnames';
3
- import '@alfalab/core-components-base-modal/dist/modern';
3
+ import '@alfalab/core-components-base-modal/modern';
4
4
  import { ModalContext } from '../../Context.js';
5
5
 
6
- var styles = {"header":"modal__header_1lwg9","hasContent":"modal__hasContent_1lwg9","highlighted":"modal__highlighted_1lwg9","sticky":"modal__sticky_1lwg9","content":"modal__content_1lwg9","title":"modal__title_1lwg9","addon":"modal__addon_1lwg9","closer":"modal__closer_1lwg9","left":"modal__left_1lwg9","center":"modal__center_1lwg9","right":"modal__right_1lwg9","trim":"modal__trim_1lwg9"};
6
+ var styles = {"header":"modal__header_1c5d3","hasContent":"modal__hasContent_1c5d3","highlighted":"modal__highlighted_1c5d3","sticky":"modal__sticky_1c5d3","content":"modal__content_1c5d3","title":"modal__title_1c5d3","addon":"modal__addon_1c5d3","closer":"modal__closer_1c5d3","left":"modal__left_1c5d3","center":"modal__center_1c5d3","right":"modal__right_1c5d3","trim":"modal__trim_1c5d3"};
7
7
  require('./index.css')
8
8
 
9
9
  const Header = ({ className, addonClassName, contentClassName, leftAddons, children, align = 'left', trim = true, title, closer, sticky, }) => {
@@ -1,14 +1,14 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import '@alfalab/core-components-base-modal/dist/modern';
3
+ import '@alfalab/core-components-base-modal/modern';
4
4
  import '../../Context.js';
5
5
  import { Header } from './Component.js';
6
- import '@alfalab/core-components-icon-button/dist/modern';
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_7k0li","content":"modal__content_7k0li"};
11
+ var styles = {"sticky":"modal__sticky_kcb5g","content":"modal__content_kcb5g"};
12
12
  require('./mobile.css')
13
13
 
14
14
  const HeaderMobile = ({ className, contentClassName, hasCloser = true, sticky, ...restProps }) => (React.createElement(Header, Object.assign({ className: cn(className, {