@alfalab/core-components-modal 5.2.1 → 5.2.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 (227) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/{dist/Component.desktop.d.ts → Component.desktop.d.ts} +0 -0
  3. package/{dist/Component.desktop.js → Component.desktop.js} +3 -3
  4. package/{dist/Component.mobile.d.ts → Component.mobile.d.ts} +0 -0
  5. package/{dist/Component.mobile.js → Component.mobile.js} +3 -3
  6. package/{dist/esm/Component.responsive.d.ts → Component.responsive.d.ts} +1 -1
  7. package/{dist/Component.responsive.js → Component.responsive.js} +2 -2
  8. package/{dist/Context.d.ts → Context.d.ts} +0 -0
  9. package/{dist/Context.js → Context.js} +0 -0
  10. package/{dist/components → components}/closer/Component.d.ts +0 -0
  11. package/{dist/components → components}/closer/Component.js +2 -2
  12. package/{dist/components → components}/closer/index.css +4 -4
  13. package/{dist/components → components}/content/Component.d.ts +0 -0
  14. package/{dist/components → components}/content/Component.desktop.d.ts +0 -0
  15. package/{dist/components → components}/content/Component.desktop.js +2 -2
  16. package/{dist/components → components}/content/Component.js +1 -1
  17. package/{dist/components → components}/content/Component.mobile.d.ts +0 -0
  18. package/{dist/components → components}/content/Component.mobile.js +2 -2
  19. package/{dist/esm/components → components}/content/desktop.css +8 -8
  20. package/{dist/esm/components → components}/content/index.css +3 -3
  21. package/{dist/esm/components → components}/content/mobile.css +3 -3
  22. package/{dist/components → components}/footer/Component.d.ts +0 -0
  23. package/{dist/components → components}/footer/Component.desktop.d.ts +0 -0
  24. package/{dist/components → components}/footer/Component.desktop.js +2 -2
  25. package/{dist/components → components}/footer/Component.js +2 -2
  26. package/{dist/components → components}/footer/Component.mobile.d.ts +0 -0
  27. package/{dist/components → components}/footer/Component.mobile.js +2 -2
  28. package/{dist/modern/components → components}/footer/desktop.css +9 -9
  29. package/{dist/esm/components → components}/footer/index.css +4 -4
  30. package/components/footer/layout.css +84 -0
  31. package/{dist/modern/components → components}/footer/mobile.css +3 -3
  32. package/{dist/components → components}/header/Component.d.ts +0 -0
  33. package/{dist/components → components}/header/Component.desktop.d.ts +0 -0
  34. package/{dist/components → components}/header/Component.desktop.js +2 -2
  35. package/{dist/components → components}/header/Component.js +1 -1
  36. package/{dist/components → components}/header/Component.mobile.d.ts +0 -0
  37. package/{dist/components → components}/header/Component.mobile.js +2 -2
  38. package/{dist/esm/components → components}/header/desktop.css +17 -17
  39. package/{dist/esm/components → components}/header/index.css +15 -15
  40. package/{dist/esm/components → components}/header/mobile.css +3 -3
  41. package/{dist/cssm → cssm}/Component.desktop.d.ts +0 -0
  42. package/{dist/cssm → cssm}/Component.desktop.js +0 -0
  43. package/{dist/cssm → cssm}/Component.mobile.d.ts +0 -0
  44. package/{dist/cssm → cssm}/Component.mobile.js +0 -0
  45. package/{dist → cssm}/Component.responsive.d.ts +0 -0
  46. package/{dist/cssm → cssm}/Component.responsive.js +0 -0
  47. package/{dist/cssm → cssm}/Context.d.ts +0 -0
  48. package/{dist/cssm → cssm}/Context.js +0 -0
  49. package/{dist/cssm → cssm}/components/closer/Component.d.ts +0 -0
  50. package/{dist/cssm → cssm}/components/closer/Component.js +0 -0
  51. package/{dist/cssm → cssm}/components/closer/index.module.css +0 -0
  52. package/{dist/cssm → cssm}/components/content/Component.d.ts +0 -0
  53. package/{dist/cssm → cssm}/components/content/Component.desktop.d.ts +0 -0
  54. package/{dist/cssm → cssm}/components/content/Component.desktop.js +0 -0
  55. package/{dist/cssm → cssm}/components/content/Component.js +0 -0
  56. package/{dist/cssm → cssm}/components/content/Component.mobile.d.ts +0 -0
  57. package/{dist/cssm → cssm}/components/content/Component.mobile.js +0 -0
  58. package/{dist/cssm → cssm}/components/content/desktop.module.css +0 -0
  59. package/{dist/cssm → cssm}/components/content/index.module.css +0 -0
  60. package/{dist/cssm → cssm}/components/content/mobile.module.css +0 -0
  61. package/{dist/cssm → cssm}/components/footer/Component.d.ts +0 -0
  62. package/{dist/cssm → cssm}/components/footer/Component.desktop.d.ts +0 -0
  63. package/{dist/cssm → cssm}/components/footer/Component.desktop.js +0 -0
  64. package/{dist/cssm → cssm}/components/footer/Component.js +0 -0
  65. package/{dist/cssm → cssm}/components/footer/Component.mobile.d.ts +0 -0
  66. package/{dist/cssm → cssm}/components/footer/Component.mobile.js +0 -0
  67. package/{dist/cssm → cssm}/components/footer/desktop.module.css +0 -0
  68. package/{dist/cssm → cssm}/components/footer/index.module.css +0 -0
  69. package/{dist/cssm → cssm}/components/footer/layout.module.css +0 -0
  70. package/{dist/cssm → cssm}/components/footer/mobile.module.css +0 -0
  71. package/{dist/cssm → cssm}/components/header/Component.d.ts +0 -0
  72. package/{dist/cssm → cssm}/components/header/Component.desktop.d.ts +0 -0
  73. package/{dist/cssm → cssm}/components/header/Component.desktop.js +0 -0
  74. package/{dist/cssm → cssm}/components/header/Component.js +0 -0
  75. package/{dist/cssm → cssm}/components/header/Component.mobile.d.ts +0 -0
  76. package/{dist/cssm → cssm}/components/header/Component.mobile.js +0 -0
  77. package/{dist/cssm → cssm}/components/header/desktop.module.css +0 -0
  78. package/{dist/cssm → cssm}/components/header/index.module.css +0 -0
  79. package/{dist/cssm → cssm}/components/header/mobile.module.css +0 -0
  80. package/{dist/cssm → cssm}/desktop.d.ts +0 -0
  81. package/{dist/cssm → cssm}/desktop.js +0 -0
  82. package/{dist/cssm → cssm}/desktop.module.css +0 -0
  83. package/{dist/cssm → cssm}/index.d.ts +0 -0
  84. package/{dist/cssm → cssm}/index.js +0 -0
  85. package/{dist/cssm → cssm}/mobile.d.ts +0 -0
  86. package/{dist/cssm → cssm}/mobile.js +0 -0
  87. package/{dist/cssm → cssm}/mobile.module.css +0 -0
  88. package/{dist/cssm → cssm}/responsive.d.ts +0 -0
  89. package/{dist/cssm → cssm}/responsive.js +0 -0
  90. package/{dist/cssm → cssm}/transitions.module.css +0 -0
  91. package/{dist/cssm → cssm}/tslib.es6-ce870b46.d.ts +0 -0
  92. package/{dist/cssm → cssm}/tslib.es6-ce870b46.js +0 -0
  93. package/{dist/cssm → cssm}/utils.d.ts +0 -0
  94. package/{dist/cssm → cssm}/utils.js +0 -0
  95. package/{dist/cssm → cssm}/vars.css +0 -0
  96. package/{dist/esm/desktop.css → desktop.css} +9 -9
  97. package/{dist/desktop.d.ts → desktop.d.ts} +0 -0
  98. package/{dist/desktop.js → desktop.js} +2 -2
  99. package/{dist/esm → esm}/Component.desktop.d.ts +0 -0
  100. package/{dist/esm → esm}/Component.desktop.js +3 -3
  101. package/{dist/esm → esm}/Component.mobile.d.ts +0 -0
  102. package/{dist/esm → esm}/Component.mobile.js +3 -3
  103. package/{dist/cssm → esm}/Component.responsive.d.ts +0 -0
  104. package/{dist/esm → esm}/Component.responsive.js +2 -2
  105. package/{dist/esm → esm}/Context.d.ts +0 -0
  106. package/{dist/esm → esm}/Context.js +0 -0
  107. package/{dist/esm → esm}/components/closer/Component.d.ts +0 -0
  108. package/{dist/esm → esm}/components/closer/Component.js +2 -2
  109. package/{dist/esm → esm}/components/closer/index.css +4 -4
  110. package/{dist/esm → esm}/components/content/Component.d.ts +0 -0
  111. package/{dist/esm → esm}/components/content/Component.desktop.d.ts +0 -0
  112. package/{dist/esm → esm}/components/content/Component.desktop.js +2 -2
  113. package/{dist/esm → esm}/components/content/Component.js +1 -1
  114. package/{dist/esm → esm}/components/content/Component.mobile.d.ts +0 -0
  115. package/{dist/esm → esm}/components/content/Component.mobile.js +2 -2
  116. package/{dist → esm}/components/content/desktop.css +8 -8
  117. package/{dist → esm}/components/content/index.css +3 -3
  118. package/{dist → esm}/components/content/mobile.css +3 -3
  119. package/{dist/esm → esm}/components/footer/Component.d.ts +0 -0
  120. package/{dist/esm → esm}/components/footer/Component.desktop.d.ts +0 -0
  121. package/{dist/esm → esm}/components/footer/Component.desktop.js +2 -2
  122. package/{dist/esm → esm}/components/footer/Component.js +2 -2
  123. package/{dist/esm → esm}/components/footer/Component.mobile.d.ts +0 -0
  124. package/{dist/esm → esm}/components/footer/Component.mobile.js +2 -2
  125. package/{dist/esm → esm}/components/footer/desktop.css +9 -9
  126. package/{dist/modern → esm}/components/footer/index.css +4 -4
  127. package/esm/components/footer/layout.css +84 -0
  128. package/{dist/esm → esm}/components/footer/mobile.css +3 -3
  129. package/{dist/esm → esm}/components/header/Component.d.ts +0 -0
  130. package/{dist/esm → esm}/components/header/Component.desktop.d.ts +0 -0
  131. package/{dist/esm → esm}/components/header/Component.desktop.js +2 -2
  132. package/{dist/esm → esm}/components/header/Component.js +1 -1
  133. package/{dist/esm → esm}/components/header/Component.mobile.d.ts +0 -0
  134. package/{dist/esm → esm}/components/header/Component.mobile.js +2 -2
  135. package/{dist → esm}/components/header/desktop.css +17 -17
  136. package/{dist/modern → esm}/components/header/index.css +15 -15
  137. package/{dist/modern → esm}/components/header/mobile.css +3 -3
  138. package/{dist → esm}/desktop.css +9 -9
  139. package/{dist/esm → esm}/desktop.d.ts +0 -0
  140. package/{dist/esm → esm}/desktop.js +2 -2
  141. package/{dist/esm → esm}/index.d.ts +0 -0
  142. package/{dist/esm → esm}/index.js +2 -2
  143. package/{dist/modern → esm}/mobile.css +2 -2
  144. package/{dist/esm → esm}/mobile.d.ts +0 -0
  145. package/{dist/esm → esm}/mobile.js +2 -2
  146. package/{dist/esm → esm}/responsive.d.ts +0 -0
  147. package/{dist/esm → esm}/responsive.js +2 -2
  148. package/{dist/esm → esm}/transitions.css +8 -8
  149. package/esm/transitions.module-dff9fc07.js +4 -0
  150. package/{dist/esm/tslib.es6-da5e6cff.d.ts → esm/tslib.es6-7706dd6f.d.ts} +0 -0
  151. package/{dist/esm/tslib.es6-da5e6cff.js → esm/tslib.es6-7706dd6f.js} +0 -0
  152. package/{dist/esm → esm}/utils.d.ts +0 -0
  153. package/{dist/esm → esm}/utils.js +0 -0
  154. package/{dist/index.d.ts → index.d.ts} +0 -0
  155. package/{dist/index.js → index.js} +2 -2
  156. package/{dist/mobile.css → mobile.css} +2 -2
  157. package/{dist/mobile.d.ts → mobile.d.ts} +0 -0
  158. package/{dist/mobile.js → mobile.js} +2 -2
  159. package/{dist/modern → modern}/Component.desktop.d.ts +0 -0
  160. package/{dist/modern → modern}/Component.desktop.js +2 -2
  161. package/{dist/modern → modern}/Component.mobile.d.ts +0 -0
  162. package/{dist/modern → modern}/Component.mobile.js +2 -2
  163. package/{dist/modern → modern}/Component.responsive.d.ts +1 -1
  164. package/{dist/modern → modern}/Component.responsive.js +1 -1
  165. package/{dist/modern → modern}/Context.d.ts +0 -0
  166. package/{dist/modern → modern}/Context.js +0 -0
  167. package/{dist/modern → modern}/components/closer/Component.d.ts +0 -0
  168. package/{dist/modern → modern}/components/closer/Component.js +1 -1
  169. package/{dist/modern → modern}/components/closer/index.css +4 -4
  170. package/{dist/modern → modern}/components/content/Component.d.ts +0 -0
  171. package/{dist/modern → modern}/components/content/Component.desktop.d.ts +0 -0
  172. package/{dist/modern → modern}/components/content/Component.desktop.js +1 -1
  173. package/{dist/modern → modern}/components/content/Component.js +1 -1
  174. package/{dist/modern → modern}/components/content/Component.mobile.d.ts +0 -0
  175. package/{dist/modern → modern}/components/content/Component.mobile.js +1 -1
  176. package/{dist/modern → modern}/components/content/desktop.css +8 -8
  177. package/{dist/modern → modern}/components/content/index.css +3 -3
  178. package/{dist/modern → modern}/components/content/mobile.css +3 -3
  179. package/{dist/modern → modern}/components/footer/Component.d.ts +0 -0
  180. package/{dist/modern → modern}/components/footer/Component.desktop.d.ts +0 -0
  181. package/{dist/modern → modern}/components/footer/Component.desktop.js +1 -1
  182. package/{dist/modern → modern}/components/footer/Component.js +2 -2
  183. package/{dist/modern → modern}/components/footer/Component.mobile.d.ts +0 -0
  184. package/{dist/modern → modern}/components/footer/Component.mobile.js +1 -1
  185. package/{dist → modern}/components/footer/desktop.css +9 -9
  186. package/{dist → modern}/components/footer/index.css +4 -4
  187. package/modern/components/footer/layout.css +84 -0
  188. package/{dist → modern}/components/footer/mobile.css +3 -3
  189. package/{dist/modern → modern}/components/header/Component.d.ts +0 -0
  190. package/{dist/modern → modern}/components/header/Component.desktop.d.ts +0 -0
  191. package/{dist/modern → modern}/components/header/Component.desktop.js +1 -1
  192. package/{dist/modern → modern}/components/header/Component.js +1 -1
  193. package/{dist/modern → modern}/components/header/Component.mobile.d.ts +0 -0
  194. package/{dist/modern → modern}/components/header/Component.mobile.js +1 -1
  195. package/{dist/modern → modern}/components/header/desktop.css +17 -17
  196. package/{dist → modern}/components/header/index.css +15 -15
  197. package/{dist → modern}/components/header/mobile.css +3 -3
  198. package/{dist/modern → modern}/desktop.css +9 -9
  199. package/{dist/modern → modern}/desktop.d.ts +0 -0
  200. package/{dist/modern → modern}/desktop.js +1 -1
  201. package/{dist/modern → modern}/index.d.ts +0 -0
  202. package/{dist/modern → modern}/index.js +1 -1
  203. package/{dist/esm → modern}/mobile.css +2 -2
  204. package/{dist/modern → modern}/mobile.d.ts +0 -0
  205. package/{dist/modern → modern}/mobile.js +1 -1
  206. package/{dist/modern → modern}/responsive.d.ts +0 -0
  207. package/{dist/modern → modern}/responsive.js +1 -1
  208. package/{dist/modern → modern}/transitions.css +8 -8
  209. package/modern/transitions.module-dff9fc07.js +4 -0
  210. package/{dist/modern → modern}/utils.d.ts +0 -0
  211. package/{dist/modern → modern}/utils.js +0 -0
  212. package/package.json +9 -12
  213. package/{dist/responsive.d.ts → responsive.d.ts} +0 -0
  214. package/{dist/responsive.js → responsive.js} +2 -2
  215. package/{dist/send-stats.js → send-stats.js} +0 -0
  216. package/{dist/transitions.css → transitions.css} +8 -8
  217. package/transitions.module-853e7be6.js +6 -0
  218. package/{dist/tslib.es6-dd11ce01.d.ts → tslib.es6-9e07616d.d.ts} +0 -0
  219. package/{dist/tslib.es6-dd11ce01.js → tslib.es6-9e07616d.js} +0 -0
  220. package/{dist/utils.d.ts → utils.d.ts} +0 -0
  221. package/{dist/utils.js → utils.js} +0 -0
  222. package/dist/components/footer/layout.css +0 -84
  223. package/dist/esm/components/footer/layout.css +0 -84
  224. package/dist/esm/transitions.module-e31c29fa.js +0 -4
  225. package/dist/modern/components/footer/layout.css +0 -84
  226. package/dist/modern/transitions.module-e31c29fa.js +0 -4
  227. package/dist/transitions.module-ca322ccc.js +0 -6
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-dd11ce01.js');
5
+ require('./tslib.es6-9e07616d.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-ca322ccc.js');
16
+ require('./transitions.module-853e7be6.js');
17
17
  require('@alfalab/icons-glyph/CrossMIcon');
18
18
  require('./components/header/Component.mobile.js');
19
19
  require('./components/content/Component.mobile.js');
File without changes
@@ -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-e31c29fa.js';
15
+ import { t as transitions } from './transitions.module-dff9fc07.js';
16
16
 
17
- var styles = {"wrapper":"modal__wrapper_93z7e","component":"modal__component_93z7e","fullscreen":"modal__fullscreen_93z7e","s":"modal__s_93z7e","m":"modal__m_93z7e","l":"modal__l_93z7e","xl":"modal__xl_93z7e"};
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"};
18
18
  require('./desktop.css')
19
19
 
20
20
  const ModalDesktopComponent = forwardRef(({ size = 's', fixedPosition, fullscreen, children, className, wrapperClassName, transitionProps = {}, ...restProps }, ref) => {
File without changes
@@ -8,13 +8,13 @@ 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-e31c29fa.js';
11
+ import { t as transitions } from './transitions.module-dff9fc07.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_w0ud4"};
17
+ var styles = {"component":"modal__component_1eotd"};
18
18
  require('./mobile.css')
19
19
 
20
20
  const ModalMobileComponent = forwardRef(({ children, className, ...restProps }, ref) => {
@@ -11,7 +11,7 @@ declare const ModalResponsive: React.ForwardRefExoticComponent<import("packages/
11
11
  fixedPosition?: boolean | undefined;
12
12
  hasCloser?: boolean | undefined;
13
13
  } & React.RefAttributes<HTMLDivElement>> & {
14
- Header: React.FC<import("./components/header/Component.desktop").HeaderDesktopProps> | React.FC<import("./components/header/Component.mobile").HeaderMobileProps>;
14
+ Header: React.FC<import("./components/header/Component.mobile").HeaderMobileProps> | React.FC<import("./components/header/Component.desktop").HeaderDesktopProps>;
15
15
  Content: React.FC<import("./components/content/Component").ContentProps> | React.FC<import("./components/content/Component.desktop").ContentDesktopProps>;
16
16
  Footer: React.FC<import("./components/footer/Component").FooterProps> | React.FC<import("./components/footer/Component.desktop").FooterDesktopProps>;
17
17
  Closer: React.FC<import("./components/closer/Component").CloserProps>;
@@ -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-e31c29fa.js';
16
+ import './transitions.module-dff9fc07.js';
17
17
  import '@alfalab/icons-glyph/CrossMIcon';
18
18
  import './components/header/Component.mobile.js';
19
19
  import './components/content/Component.mobile.js';
File without changes
File without changes
@@ -5,7 +5,7 @@ import { ModalContext } from '../../Context.js';
5
5
  import { IconButton } from '@alfalab/core-components-icon-button/dist/modern';
6
6
  import { CrossHeavyMIcon } from '@alfalab/icons-glyph/CrossHeavyMIcon';
7
7
 
8
- var styles = {"closer":"modal__closer_1djvu","button":"modal__button_1djvu","sticky":"modal__sticky_1djvu"};
8
+ var styles = {"closer":"modal__closer_1upfs","button":"modal__button_1upfs","sticky":"modal__sticky_1upfs"};
9
9
  require('./index.css')
10
10
 
11
11
  /**
@@ -1,4 +1,4 @@
1
- /* hash: qvofq */
1
+ /* hash: 1lmel */
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_1djvu {
32
+ .modal__closer_1upfs {
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_1djvu {
41
+ .modal__button_1upfs {
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_1djvu {
47
+ .modal__sticky_1upfs {
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/dist/modern';
4
4
  import '../../Context.js';
5
5
  import { Content } from './Component.js';
6
6
 
7
- var styles = {"s":"modal__s_i44mg","m":"modal__m_i44mg","l":"modal__l_i44mg","xl":"modal__xl_i44mg","fullscreen":"modal__fullscreen_i44mg"};
7
+ var styles = {"s":"modal__s_1ybq6","m":"modal__m_1ybq6","l":"modal__l_1ybq6","xl":"modal__xl_1ybq6","fullscreen":"modal__fullscreen_1ybq6"};
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/dist/modern';
4
4
  import { ModalContext } from '../../Context.js';
5
5
 
6
- var styles = {"content":"modal__content_1l7ra","flex":"modal__flex_1l7ra"};
6
+ var styles = {"content":"modal__content_1ec4g","flex":"modal__flex_1ec4g"};
7
7
  require('./index.css')
8
8
 
9
9
  const Content = ({ children, flex, className }) => {
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/dist/modern';
4
4
  import '../../Context.js';
5
5
  import { Content } from './Component.js';
6
6
 
7
- var styles = {"content":"modal__content_175cl"};
7
+ var styles = {"content":"modal__content_bwqxe"};
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: 1pumb */
1
+ /* hash: lk8eu */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -24,18 +24,18 @@
24
24
 
25
25
  /* mobile */
26
26
  }
27
- .modal__s_i44mg,
28
- .modal__m_i44mg {
27
+ .modal__s_1ybq6,
28
+ .modal__m_1ybq6 {
29
29
  padding: var(--modal-s-content-paddings)
30
30
  }
31
- .modal__s_i44mg:last-child, .modal__m_i44mg:last-child {
31
+ .modal__s_1ybq6:last-child, .modal__m_1ybq6:last-child {
32
32
  padding-bottom: var(--modal-s-content-only-bottom-padding);
33
33
  }
34
- .modal__l_i44mg,
35
- .modal__xl_i44mg,
36
- .modal__fullscreen_i44mg {
34
+ .modal__l_1ybq6,
35
+ .modal__xl_1ybq6,
36
+ .modal__fullscreen_1ybq6 {
37
37
  padding: 0 var(--gap-6xl)
38
38
  }
39
- .modal__l_i44mg:last-child, .modal__xl_i44mg:last-child, .modal__fullscreen_i44mg:last-child {
39
+ .modal__l_1ybq6:last-child, .modal__xl_1ybq6:last-child, .modal__fullscreen_1ybq6:last-child {
40
40
  padding-bottom: var(--gap-6xl);
41
41
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1j3ke */
1
+ /* hash: ocu8q */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -19,10 +19,10 @@
19
19
 
20
20
  /* mobile */
21
21
  }
22
- .modal__content_1l7ra {
22
+ .modal__content_1ec4g {
23
23
  box-sizing: border-box;
24
24
  width: 100%;
25
25
  }
26
- .modal__flex_1l7ra {
26
+ .modal__flex_1ec4g {
27
27
  flex: 1 1 auto;
28
28
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1tmdp */
1
+ /* hash: pbzt7 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -22,9 +22,9 @@
22
22
 
23
23
  /* mobile */
24
24
  }
25
- .modal__content_175cl {
25
+ .modal__content_bwqxe {
26
26
  padding: 0 var(--gap-m)
27
27
  }
28
- .modal__content_175cl:last-child {
28
+ .modal__content_bwqxe:last-child {
29
29
  padding-bottom: var(--gap-m);
30
30
  }
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/dist/modern';
4
4
  import '../../Context.js';
5
5
  import { Footer } from './Component.js';
6
6
 
7
- var styles = {"footer":"modal__footer_13acp","sticky":"modal__sticky_13acp","fullscreen":"modal__fullscreen_13acp","s":"modal__s_13acp","m":"modal__m_13acp","l":"modal__l_13acp","xl":"modal__xl_13acp"};
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"};
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/dist/modern';
4
4
  import { ModalContext } from '../../Context.js';
5
5
 
6
- var styles = {"footer":"modal__footer_1bvzk","sticky":"modal__sticky_1bvzk","highlighted":"modal__highlighted_1bvzk"};
6
+ var styles = {"footer":"modal__footer_166jf","sticky":"modal__sticky_166jf","highlighted":"modal__highlighted_166jf"};
7
7
  require('./index.css')
8
8
 
9
- var layoutStyles = {"column":"modal__column_a074y","gap-16":"modal__gap-16_a074y","gap-24":"modal__gap-24_a074y","gap-32":"modal__gap-32_a074y","start":"modal__start_a074y","center":"modal__center_a074y","space-between":"modal__space-between_a074y"};
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"};
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/dist/modern';
4
4
  import '../../Context.js';
5
5
  import { Footer } from './Component.js';
6
6
 
7
- var styles = {"footer":"modal__footer_1f80g","sticky":"modal__sticky_1f80g"};
7
+ var styles = {"footer":"modal__footer_11p25","sticky":"modal__sticky_11p25"};
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: tcynv */
1
+ /* hash: 1xnck */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -31,22 +31,22 @@
31
31
 
32
32
  /* mobile */
33
33
  }
34
- .modal__footer_13acp {
34
+ .modal__footer_p1vi0 {
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_13acp {
38
+ .modal__sticky_p1vi0 {
39
39
  bottom: calc(var(--modal-vertical-padding) * -1)
40
40
  }
41
- .modal__sticky_13acp.modal__fullscreen_13acp {
41
+ .modal__sticky_p1vi0.modal__fullscreen_p1vi0 {
42
42
  bottom: 0;
43
43
  }
44
- .modal__s_13acp,
45
- .modal__m_13acp {
44
+ .modal__s_p1vi0,
45
+ .modal__m_p1vi0 {
46
46
  padding: var(--modal-s-footer-paddings);
47
47
  }
48
- .modal__l_13acp,
49
- .modal__xl_13acp,
50
- .modal__fullscreen_13acp {
48
+ .modal__l_p1vi0,
49
+ .modal__xl_p1vi0,
50
+ .modal__fullscreen_p1vi0 {
51
51
  padding: var(--gap-2xl) var(--gap-6xl) var(--gap-6xl);
52
52
  }
@@ -1,4 +1,4 @@
1
- /* hash: 126dv */
1
+ /* hash: 1wx40 */
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_1bvzk {
29
+ .modal__footer_166jf {
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_1bvzk {
34
+ .modal__sticky_166jf {
35
35
  background: var(--modal-footer-background);
36
36
  position: sticky;
37
37
  }
38
- .modal__highlighted_1bvzk {
38
+ .modal__highlighted_166jf {
39
39
  background: var(--modal-footer-highlight-background);
40
40
  box-shadow: var(--modal-footer-highlight-box-shadow);
41
41
  }
@@ -0,0 +1,84 @@
1
+ /* hash: 39lpi */
2
+ :root {
3
+
4
+ /* Hard */
5
+
6
+ /* Up */
7
+
8
+ /* Hard up */
9
+ }
10
+ :root {
11
+ --gap-m: 16px;
12
+ --gap-xl: 24px;
13
+ --gap-2xl: 32px;
14
+ }
15
+ :root {
16
+ --modal-footer-default-gap: var(--gap-m);
17
+
18
+ /* sizes */
19
+
20
+ /* paddings */
21
+
22
+ /* scroll */
23
+
24
+ /* desktop */
25
+
26
+ /* mobile */
27
+ }
28
+ .modal__column_1a3xn {
29
+ display: flex;
30
+ flex-direction: column
31
+ }
32
+ .modal__column_1a3xn > * {
33
+ margin-bottom: var(--modal-footer-default-gap);
34
+ }
35
+ .modal__column_1a3xn > *:last-child,
36
+ .modal__column_1a3xn > *:only-child {
37
+ margin-bottom: 0;
38
+ }
39
+ .modal__column_1a3xn.modal__gap-16_1a3xn > * {
40
+ margin-bottom: var(--gap-m);
41
+ }
42
+ .modal__column_1a3xn.modal__gap-24_1a3xn > * {
43
+ margin-bottom: var(--gap-xl);
44
+ }
45
+ .modal__column_1a3xn.modal__gap-32_1a3xn > * {
46
+ margin-bottom: var(--gap-2xl);
47
+ }
48
+ .modal__start_1a3xn {
49
+ justify-content: flex-start;
50
+ }
51
+ .modal__center_1a3xn {
52
+ justify-content: center;
53
+ }
54
+ .modal__space-between_1a3xn {
55
+ justify-content: space-between
56
+ }
57
+ .modal__space-between_1a3xn > * {
58
+ flex: 1;
59
+ }
60
+ .modal__start_1a3xn,
61
+ .modal__center_1a3xn,
62
+ .modal__space-between_1a3xn {
63
+ display: flex
64
+ }
65
+ .modal__start_1a3xn > *, .modal__center_1a3xn > *, .modal__space-between_1a3xn > * {
66
+ margin-right: var(--modal-footer-default-gap);
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 {
74
+ margin-right: 0;
75
+ }
76
+ .modal__start_1a3xn.modal__gap-16_1a3xn > *, .modal__center_1a3xn.modal__gap-16_1a3xn > *, .modal__space-between_1a3xn.modal__gap-16_1a3xn > * {
77
+ margin-right: var(--gap-m);
78
+ }
79
+ .modal__start_1a3xn.modal__gap-24_1a3xn > *, .modal__center_1a3xn.modal__gap-24_1a3xn > *, .modal__space-between_1a3xn.modal__gap-24_1a3xn > * {
80
+ margin-right: var(--gap-xl);
81
+ }
82
+ .modal__start_1a3xn.modal__gap-32_1a3xn > *, .modal__center_1a3xn.modal__gap-32_1a3xn > *, .modal__space-between_1a3xn.modal__gap-32_1a3xn > * {
83
+ margin-right: var(--gap-2xl);
84
+ }
@@ -1,4 +1,4 @@
1
- /* hash: 3z5ba */
1
+ /* hash: 189j7 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -22,9 +22,9 @@
22
22
 
23
23
  /* mobile */
24
24
  }
25
- .modal__footer_1f80g {
25
+ .modal__footer_11p25 {
26
26
  padding: var(--gap-m);
27
27
  }
28
- .modal__sticky_1f80g {
28
+ .modal__sticky_11p25 {
29
29
  bottom: 0;
30
30
  }
@@ -7,7 +7,7 @@ import '@alfalab/core-components-icon-button/dist/modern';
7
7
  import '@alfalab/icons-glyph/CrossHeavyMIcon';
8
8
  import { Closer } from '../closer/Component.js';
9
9
 
10
- var styles = {"header":"modal__header_1nvt6","content":"modal__content_1nvt6","s":"modal__s_1nvt6","m":"modal__m_1nvt6","l":"modal__l_1nvt6","xl":"modal__xl_1nvt6","fullscreen":"modal__fullscreen_1nvt6","hasContent":"modal__hasContent_1nvt6","sticky":"modal__sticky_1nvt6"};
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"};
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 }) => {
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import '@alfalab/core-components-base-modal/dist/modern';
4
4
  import { ModalContext } from '../../Context.js';
5
5
 
6
- var styles = {"header":"modal__header_1mrms","hasContent":"modal__hasContent_1mrms","highlighted":"modal__highlighted_1mrms","sticky":"modal__sticky_1mrms","content":"modal__content_1mrms","title":"modal__title_1mrms","addon":"modal__addon_1mrms","closer":"modal__closer_1mrms","left":"modal__left_1mrms","center":"modal__center_1mrms","right":"modal__right_1mrms","trim":"modal__trim_1mrms"};
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"};
7
7
  require('./index.css')
8
8
 
9
9
  const Header = ({ className, addonClassName, contentClassName, leftAddons, children, align = 'left', trim = true, title, closer, sticky, }) => {
@@ -8,7 +8,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_q7720","content":"modal__content_q7720"};
11
+ var styles = {"sticky":"modal__sticky_7k0li","content":"modal__content_7k0li"};
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, {
@@ -1,4 +1,4 @@
1
- /* hash: 8ay4a */
1
+ /* hash: 1clc0 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -43,45 +43,45 @@
43
43
 
44
44
  /* mobile */
45
45
  }
46
- .modal__header_1nvt6 {
46
+ .modal__header_35ub1 {
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_1nvt6 {
50
+ .modal__content_35ub1 {
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_1nvt6 .modal__content_1nvt6,
55
- .modal__m_1nvt6 .modal__content_1nvt6 {
54
+ .modal__s_35ub1 .modal__content_35ub1,
55
+ .modal__m_35ub1 .modal__content_35ub1 {
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_1nvt6 .modal__content_1nvt6,
61
- .modal__xl_1nvt6 .modal__content_1nvt6,
62
- .modal__fullscreen_1nvt6 .modal__content_1nvt6 {
60
+ .modal__l_35ub1 .modal__content_35ub1,
61
+ .modal__xl_35ub1 .modal__content_35ub1,
62
+ .modal__fullscreen_35ub1 .modal__content_35ub1 {
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_1nvt6,
68
- .modal__m_1nvt6 {
67
+ .modal__s_35ub1,
68
+ .modal__m_35ub1 {
69
69
  padding: var(--modal-s-header-paddings)
70
70
  }
71
- .modal__s_1nvt6:not(.modal__hasContent_1nvt6), .modal__m_1nvt6:not(.modal__hasContent_1nvt6) {
71
+ .modal__s_35ub1:not(.modal__hasContent_35ub1), .modal__m_35ub1:not(.modal__hasContent_35ub1) {
72
72
  padding-bottom: 0;
73
73
  }
74
- .modal__l_1nvt6,
75
- .modal__xl_1nvt6,
76
- .modal__fullscreen_1nvt6 {
74
+ .modal__l_35ub1,
75
+ .modal__xl_35ub1,
76
+ .modal__fullscreen_35ub1 {
77
77
  padding: var(--gap-xl) var(--gap-xl) var(--gap-m)
78
78
  }
79
- .modal__l_1nvt6:not(.modal__hasContent_1nvt6), .modal__xl_1nvt6:not(.modal__hasContent_1nvt6), .modal__fullscreen_1nvt6:not(.modal__hasContent_1nvt6) {
79
+ .modal__l_35ub1:not(.modal__hasContent_35ub1), .modal__xl_35ub1:not(.modal__hasContent_35ub1), .modal__fullscreen_35ub1:not(.modal__hasContent_35ub1) {
80
80
  padding-bottom: var(--gap-m);
81
81
  }
82
- .modal__sticky_1nvt6 {
82
+ .modal__sticky_35ub1 {
83
83
  top: calc(var(--modal-vertical-padding) * -1)
84
84
  }
85
- .modal__sticky_1nvt6.modal__fullscreen_1nvt6 {
85
+ .modal__sticky_35ub1.modal__fullscreen_35ub1 {
86
86
  top: 0;
87
87
  }
@@ -1,4 +1,4 @@
1
- /* hash: 102gt */
1
+ /* hash: 1ut6z */
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_1mrms {
28
+ .modal__header_1lwg9 {
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_1mrms:not(.modal__hasContent_1mrms) {
36
+ .modal__header_1lwg9:not(.modal__hasContent_1lwg9) {
37
37
  pointer-events: none;
38
38
  }
39
- .modal__highlighted_1mrms {
39
+ .modal__highlighted_1lwg9 {
40
40
  background: var(--modal-header-highlight-background);
41
41
  box-shadow: var(--modal-header-highlight-box-shadow);
42
42
  }
43
- .modal__sticky_1mrms {
43
+ .modal__sticky_1lwg9 {
44
44
  position: sticky
45
45
  }
46
- .modal__sticky_1mrms.modal__hasContent_1mrms {
46
+ .modal__sticky_1lwg9.modal__hasContent_1lwg9 {
47
47
  background: var(--modal-header-background);
48
48
  }
49
- .modal__content_1mrms {
49
+ .modal__content_1lwg9 {
50
50
  flex-grow: 1;
51
51
  }
52
- .modal__title_1mrms {
52
+ .modal__title_1lwg9 {
53
53
  word-break: break-word;
54
54
  }
55
- .modal__addon_1mrms {
55
+ .modal__addon_1lwg9 {
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_1mrms {
63
+ .modal__closer_1lwg9 {
64
64
  margin-left: auto;
65
65
  }
66
- .modal__left_1mrms {
66
+ .modal__left_1lwg9 {
67
67
  justify-content: flex-start;
68
68
  text-align: left;
69
69
  }
70
- .modal__center_1mrms {
70
+ .modal__center_1lwg9 {
71
71
  justify-content: center;
72
72
  text-align: center;
73
73
  }
74
- .modal__right_1mrms {
74
+ .modal__right_1lwg9 {
75
75
  justify-content: flex-end;
76
76
  text-align: right;
77
77
  }
78
- .modal__trim_1mrms {
78
+ .modal__trim_1lwg9 {
79
79
  overflow: hidden
80
80
  }
81
- .modal__trim_1mrms .modal__title_1mrms {
81
+ .modal__trim_1lwg9 .modal__title_1lwg9 {
82
82
  overflow: hidden;
83
83
  white-space: nowrap;
84
84
  text-overflow: ellipsis;