@alfalab/core-components-modal 3.0.0 → 4.0.1

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 (94) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/dist/Component.desktop.js +3 -3
  3. package/dist/Component.mobile.js +3 -3
  4. package/dist/Component.responsive.d.ts +3 -3
  5. package/dist/Component.responsive.js +2 -2
  6. package/dist/components/closer/Component.js +2 -2
  7. package/dist/components/closer/index.css +9 -9
  8. package/dist/components/content/Component.desktop.js +2 -2
  9. package/dist/components/content/Component.mobile.js +2 -2
  10. package/dist/components/content/desktop.css +20 -13
  11. package/dist/components/content/mobile.css +15 -8
  12. package/dist/components/footer/Component.desktop.js +2 -2
  13. package/dist/components/footer/Component.js +1 -1
  14. package/dist/components/footer/Component.mobile.js +2 -2
  15. package/dist/components/footer/desktop.css +20 -13
  16. package/dist/components/footer/layout.css +25 -25
  17. package/dist/components/footer/mobile.css +15 -8
  18. package/dist/components/header/Component.desktop.js +2 -2
  19. package/dist/components/header/Component.js +1 -1
  20. package/dist/components/header/Component.mobile.js +2 -2
  21. package/dist/components/header/desktop.css +24 -17
  22. package/dist/components/header/mobile.css +19 -12
  23. package/dist/cssm/components/closer/index.module.css +1 -1
  24. package/dist/desktop.css +8 -8
  25. package/dist/desktop.js +2 -2
  26. package/dist/esm/Component.desktop.js +3 -3
  27. package/dist/esm/Component.mobile.js +3 -3
  28. package/dist/esm/Component.responsive.js +2 -2
  29. package/dist/esm/components/closer/Component.js +2 -2
  30. package/dist/esm/components/closer/index.css +9 -9
  31. package/dist/esm/components/content/Component.desktop.js +2 -2
  32. package/dist/esm/components/content/Component.mobile.js +2 -2
  33. package/dist/esm/components/content/desktop.css +20 -13
  34. package/dist/esm/components/content/mobile.css +15 -8
  35. package/dist/esm/components/footer/Component.desktop.js +2 -2
  36. package/dist/esm/components/footer/Component.js +1 -1
  37. package/dist/esm/components/footer/Component.mobile.js +2 -2
  38. package/dist/esm/components/footer/desktop.css +20 -13
  39. package/dist/esm/components/footer/layout.css +25 -25
  40. package/dist/esm/components/footer/mobile.css +15 -8
  41. package/dist/esm/components/header/Component.desktop.js +2 -2
  42. package/dist/esm/components/header/Component.js +1 -1
  43. package/dist/esm/components/header/Component.mobile.js +2 -2
  44. package/dist/esm/components/header/desktop.css +24 -17
  45. package/dist/esm/components/header/mobile.css +19 -12
  46. package/dist/esm/desktop.css +8 -8
  47. package/dist/esm/desktop.js +2 -2
  48. package/dist/esm/index.js +2 -2
  49. package/dist/esm/mobile.css +2 -2
  50. package/dist/esm/mobile.js +2 -2
  51. package/dist/esm/responsive.js +2 -2
  52. package/dist/esm/transitions.css +8 -8
  53. package/dist/esm/transitions.module-4c2889a7.js +4 -0
  54. package/dist/esm/{tslib.es6-95890331.d.ts → tslib.es6-5d3a812f.d.ts} +0 -0
  55. package/dist/esm/{tslib.es6-95890331.js → tslib.es6-5d3a812f.js} +0 -0
  56. package/dist/index.js +2 -2
  57. package/dist/mobile.css +2 -2
  58. package/dist/mobile.js +2 -2
  59. package/dist/modern/Component.desktop.js +2 -2
  60. package/dist/modern/Component.mobile.js +2 -2
  61. package/dist/modern/Component.responsive.js +1 -1
  62. package/dist/modern/components/closer/Component.js +1 -1
  63. package/dist/modern/components/closer/index.css +9 -9
  64. package/dist/modern/components/content/Component.desktop.js +1 -1
  65. package/dist/modern/components/content/Component.mobile.js +1 -1
  66. package/dist/modern/components/content/desktop.css +20 -13
  67. package/dist/modern/components/content/mobile.css +15 -8
  68. package/dist/modern/components/footer/Component.desktop.js +1 -1
  69. package/dist/modern/components/footer/Component.js +1 -1
  70. package/dist/modern/components/footer/Component.mobile.js +1 -1
  71. package/dist/modern/components/footer/desktop.css +20 -13
  72. package/dist/modern/components/footer/layout.css +25 -25
  73. package/dist/modern/components/footer/mobile.css +15 -8
  74. package/dist/modern/components/header/Component.desktop.js +1 -1
  75. package/dist/modern/components/header/Component.mobile.js +1 -1
  76. package/dist/modern/components/header/desktop.css +24 -17
  77. package/dist/modern/components/header/mobile.css +19 -12
  78. package/dist/modern/desktop.css +8 -8
  79. package/dist/modern/desktop.js +1 -1
  80. package/dist/modern/index.js +1 -1
  81. package/dist/modern/mobile.css +2 -2
  82. package/dist/modern/mobile.js +1 -1
  83. package/dist/modern/responsive.js +1 -1
  84. package/dist/modern/transitions.css +8 -8
  85. package/dist/modern/transitions.module-4c2889a7.js +4 -0
  86. package/dist/responsive.js +2 -2
  87. package/dist/transitions.css +8 -8
  88. package/dist/transitions.module-ad7c107c.js +6 -0
  89. package/dist/{tslib.es6-e5662dff.d.ts → tslib.es6-810343ad.d.ts} +0 -0
  90. package/dist/{tslib.es6-e5662dff.js → tslib.es6-810343ad.js} +0 -0
  91. package/package.json +3 -3
  92. package/dist/esm/transitions.module-83319c83.js +0 -4
  93. package/dist/modern/transitions.module-83319c83.js +0 -4
  94. package/dist/transitions.module-4040e9db.js +0 -6
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './tslib.es6-95890331.js';
1
+ import './tslib.es6-5d3a812f.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-base-modal/dist/esm';
@@ -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 './Component.desktop.js';
16
- import './transitions.module-83319c83.js';
16
+ import './transitions.module-4c2889a7.js';
17
17
  import '@alfalab/hooks';
18
18
  import './components/header/Component.mobile.js';
19
19
  import './components/content/Component.mobile.js';
@@ -1,4 +1,4 @@
1
- /* hash: jzjv5 */
1
+ /* hash: 6ql44 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -19,7 +19,7 @@
19
19
 
20
20
  /* scroll */
21
21
  }
22
- .modal__component_1cidc {
22
+ .modal__component_124vn {
23
23
  flex: 1;
24
24
  width: 100%;
25
25
  }
@@ -1,4 +1,4 @@
1
- import './tslib.es6-95890331.js';
1
+ import './tslib.es6-5d3a812f.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-base-modal/dist/esm';
@@ -8,7 +8,7 @@ import './components/closer/Component.js';
8
8
  import './components/header/Component.js';
9
9
  import './components/content/Component.js';
10
10
  import './components/footer/Component.js';
11
- import './transitions.module-83319c83.js';
11
+ import './transitions.module-4c2889a7.js';
12
12
  import '@alfalab/hooks';
13
13
  import './components/header/Component.mobile.js';
14
14
  import './components/content/Component.mobile.js';
@@ -1,4 +1,4 @@
1
- import './tslib.es6-95890331.js';
1
+ import './tslib.es6-5d3a812f.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-base-modal/dist/esm';
@@ -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 './Component.desktop.js';
16
- import './transitions.module-83319c83.js';
16
+ import './transitions.module-4c2889a7.js';
17
17
  import '@alfalab/hooks';
18
18
  import './components/header/Component.mobile.js';
19
19
  import './components/content/Component.mobile.js';
@@ -1,24 +1,24 @@
1
- /* hash: 1qgg1 */
2
- .modal__appear_m2csr,
3
- .modal__enter_m2csr {
1
+ /* hash: 8ahnp */
2
+ .modal__appear_bov38,
3
+ .modal__enter_bov38 {
4
4
  opacity: 0;
5
5
  transform: translateY(15px);
6
6
  }
7
7
 
8
- .modal__appearActive_m2csr,
9
- .modal__enterActive_m2csr {
8
+ .modal__appearActive_bov38,
9
+ .modal__enterActive_bov38 {
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_m2csr {
15
+ .modal__exit_bov38 {
16
16
  opacity: 1;
17
17
  transform: translateY(0);
18
18
  }
19
19
 
20
- .modal__exitActive_m2csr,
21
- .modal__exitDone_m2csr {
20
+ .modal__exitActive_bov38,
21
+ .modal__exitDone_bov38 {
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_bov38","enter":"modal__enter_bov38","appearActive":"modal__appearActive_bov38","enterActive":"modal__enterActive_bov38","exit":"modal__exit_bov38","exitActive":"modal__exitActive_bov38","exitDone":"modal__exitDone_bov38"};
2
+ require('./transitions.css')
3
+
4
+ export { transitions as t };
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-e5662dff.js');
5
+ require('./tslib.es6-810343ad.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('@alfalab/core-components-base-modal');
@@ -17,7 +17,7 @@ require('./components/content/Component.desktop.js');
17
17
  require('./components/footer/Component.js');
18
18
  require('./components/footer/Component.desktop.js');
19
19
  require('./Component.desktop.js');
20
- require('./transitions.module-4040e9db.js');
20
+ require('./transitions.module-ad7c107c.js');
21
21
  require('@alfalab/hooks');
22
22
  require('./components/header/Component.mobile.js');
23
23
  require('./components/content/Component.mobile.js');
package/dist/mobile.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: jzjv5 */
1
+ /* hash: 6ql44 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -19,7 +19,7 @@
19
19
 
20
20
  /* scroll */
21
21
  }
22
- .modal__component_1cidc {
22
+ .modal__component_124vn {
23
23
  flex: 1;
24
24
  width: 100%;
25
25
  }
package/dist/mobile.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-e5662dff.js');
5
+ require('./tslib.es6-810343ad.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('@alfalab/core-components-base-modal');
@@ -12,7 +12,7 @@ require('./components/closer/Component.js');
12
12
  require('./components/header/Component.js');
13
13
  require('./components/content/Component.js');
14
14
  require('./components/footer/Component.js');
15
- require('./transitions.module-4040e9db.js');
15
+ require('./transitions.module-ad7c107c.js');
16
16
  require('@alfalab/hooks');
17
17
  require('./components/header/Component.mobile.js');
18
18
  require('./components/content/Component.mobile.js');
@@ -11,9 +11,9 @@ import './components/content/Component.js';
11
11
  import { ContentDesktop } from './components/content/Component.desktop.js';
12
12
  import './components/footer/Component.js';
13
13
  import { FooterDesktop } from './components/footer/Component.desktop.js';
14
- import { t as transitions } from './transitions.module-83319c83.js';
14
+ import { t as transitions } from './transitions.module-4c2889a7.js';
15
15
 
16
- var styles = {"wrapper":"modal__wrapper_gl44z","component":"modal__component_gl44z","fullscreen":"modal__fullscreen_gl44z","s":"modal__s_gl44z","m":"modal__m_gl44z","l":"modal__l_gl44z"};
16
+ var styles = {"wrapper":"modal__wrapper_1fi84","component":"modal__component_1fi84","fullscreen":"modal__fullscreen_1fi84","s":"modal__s_1fi84","m":"modal__m_1fi84","l":"modal__l_1fi84"};
17
17
  require('./desktop.css')
18
18
 
19
19
  const ModalDesktopComponent = forwardRef(({ size = 's', fixedPosition, fullscreen, children, className, wrapperClassName, transitionProps = {}, ...restProps }, ref) => {
@@ -7,13 +7,13 @@ import { Closer } from './components/closer/Component.js';
7
7
  import './components/header/Component.js';
8
8
  import './components/content/Component.js';
9
9
  import './components/footer/Component.js';
10
- import { t as transitions } from './transitions.module-83319c83.js';
10
+ import { t as transitions } from './transitions.module-4c2889a7.js';
11
11
  import { useMedia } from '@alfalab/hooks';
12
12
  import { HeaderMobile } from './components/header/Component.mobile.js';
13
13
  import { ContentMobile } from './components/content/Component.mobile.js';
14
14
  import { FooterMobile } from './components/footer/Component.mobile.js';
15
15
 
16
- var styles = {"component":"modal__component_1cidc"};
16
+ var styles = {"component":"modal__component_124vn"};
17
17
  require('./mobile.css')
18
18
 
19
19
  const ModalMobileComponent = forwardRef(({ children, className, ...restProps }, ref) => {
@@ -12,7 +12,7 @@ import './components/content/Component.desktop.js';
12
12
  import './components/footer/Component.js';
13
13
  import './components/footer/Component.desktop.js';
14
14
  import { ModalDesktop } from './Component.desktop.js';
15
- import './transitions.module-83319c83.js';
15
+ import './transitions.module-4c2889a7.js';
16
16
  import { useMedia } from '@alfalab/hooks';
17
17
  import './components/header/Component.mobile.js';
18
18
  import './components/content/Component.mobile.js';
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/dist/modern';
4
4
  import { ModalContext } from '../../Context.js';
5
5
  import { Button } from '@alfalab/core-components-button/dist/modern';
6
6
 
7
- var styles = {"closer":"modal__closer_uf5dn","left":"modal__left_uf5dn","right":"modal__right_uf5dn","fullscreen":"modal__fullscreen_uf5dn"};
7
+ var styles = {"closer":"modal__closer_1tc9d","left":"modal__left_1tc9d","right":"modal__right_1tc9d","fullscreen":"modal__fullscreen_1tc9d"};
8
8
  require('./index.css')
9
9
 
10
10
  const Closer = ({ className, fullscreen, align, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1iq3c */
1
+ /* hash: htd1v */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -18,13 +18,13 @@
18
18
  /* paddings */
19
19
 
20
20
  /* closer */
21
- --modal-closer-icon: url('https://alfabank.st/icons/glyph_cross_m.svg');
21
+ --modal-closer-icon: url('https://alfabank.gcdn.co/icons/glyph_cross_m.svg');
22
22
 
23
23
  /* sticky */
24
24
 
25
25
  /* scroll */
26
26
  }
27
- .modal__closer_uf5dn {
27
+ .modal__closer_1tc9d {
28
28
  width: 48px;
29
29
  height: 48px;
30
30
  background-image: var(--modal-closer-icon);
@@ -33,20 +33,20 @@
33
33
  flex-shrink: 0;
34
34
  transition: opacity 0.2s ease-out
35
35
  }
36
- .modal__closer_uf5dn:hover {
36
+ .modal__closer_1tc9d:hover {
37
37
  opacity: 0.7;
38
38
  }
39
- .modal__closer_uf5dn:active {
39
+ .modal__closer_1tc9d:active {
40
40
  opacity: 0.5;
41
41
  }
42
- .modal__left_uf5dn,
43
- .modal__right_uf5dn {
42
+ .modal__left_1tc9d,
43
+ .modal__right_1tc9d {
44
44
  position: sticky;
45
45
  top: calc(var(--modal-vertical-padding) * -1);
46
46
  }
47
- .modal__right_uf5dn {
47
+ .modal__right_1tc9d {
48
48
  margin-left: auto;
49
49
  }
50
- .modal__fullscreen_uf5dn {
50
+ .modal__fullscreen_1tc9d {
51
51
  top: 0;
52
52
  }
@@ -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_cj0al modal__content_djrnp","flex":"modal__flex_cj0al modal__flex_djrnp","s":"modal__s_cj0al","m":"modal__m_cj0al","l":"modal__l_cj0al","fullscreen":"modal__fullscreen_cj0al"};
7
+ var styles = {"content":"modal__content_mwi04 modal__content_nx9d8","flex":"modal__flex_mwi04 modal__flex_nx9d8","s":"modal__s_mwi04","m":"modal__m_mwi04","l":"modal__l_mwi04","fullscreen":"modal__fullscreen_mwi04"};
8
8
  require('./desktop.css')
9
9
 
10
10
  const ContentDesktop = ({ size, className, fullscreen, ...restProps }) => (React.createElement(Content, Object.assign({ className: cn(className, size && styles[size], fullscreen && styles.fullscreen), styles: styles }, restProps)));
@@ -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_17l4p modal__content_djrnp","flex":"modal__flex_17l4p modal__flex_djrnp"};
7
+ var styles = {"content":"modal__content_1raoc modal__content_nx9d8","flex":"modal__flex_1raoc modal__flex_nx9d8"};
8
8
  require('./mobile.css')
9
9
 
10
10
  const ContentMobile = props => (React.createElement(Content, Object.assign({ styles: styles }, props)));
@@ -1,4 +1,4 @@
1
- /* hash: 1mgj1 */
1
+ /* hash: 1la2j */
2
2
  :root {
3
3
  }:root {
4
4
  }:root {
@@ -34,14 +34,14 @@
34
34
  /* sticky */
35
35
 
36
36
  /* scroll */
37
- }.modal__content_djrnp {
37
+ }.modal__content_nx9d8 {
38
38
  box-sizing: border-box;
39
39
  width: 100%
40
- }.modal__content_djrnp:first-child {
40
+ }.modal__content_nx9d8:first-child {
41
41
  padding-top: var(--modal-content-no-header-top-padding);
42
- }.modal__content_djrnp:last-child {
42
+ }.modal__content_nx9d8:last-child {
43
43
  padding-bottom: var(--modal-content-no-footer-bottom-padding);
44
- }.modal__flex_djrnp {
44
+ }.modal__flex_nx9d8 {
45
45
  flex: 1 1 auto;
46
46
  }
47
47
  :root {
@@ -163,12 +163,19 @@
163
163
  --color-static-status-red: #d91d0b;
164
164
  --color-static-status-teal: #219187;
165
165
  --color-static-status-blue-tint-90: rgb(230, 242, 255);
166
+ --color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
166
167
  --color-static-status-green-tint-90: rgb(231, 246, 239);
168
+ --color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
167
169
  --color-static-status-grey-tint-90: rgb(240, 242, 243);
170
+ --color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
168
171
  --color-static-status-orange-tint-90: rgb(252, 240, 230);
172
+ --color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
169
173
  --color-static-status-purple-tint-90: rgb(240, 235, 248);
174
+ --color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
170
175
  --color-static-status-red-tint-90: rgb(251, 232, 231);
176
+ --color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
171
177
  --color-static-status-teal-tint-90: rgb(233, 244, 243);
178
+ --color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
172
179
  }
173
180
  :root {
174
181
  --color-dark-bg-accent: #ef3124;
@@ -587,7 +594,7 @@
587
594
  --modal-content-no-header-top-padding: var(--gap-2xl);
588
595
 
589
596
  /* closer */
590
- --modal-closer-icon: url('https://alfabank.st/icons/glyph_cross_m.svg');
597
+ --modal-closer-icon: url('https://alfabank.gcdn.co/icons/glyph_cross_m.svg');
591
598
 
592
599
  /* sticky */
593
600
  --modal-footer-sticky-box-shadow: none;
@@ -599,20 +606,20 @@
599
606
  --modal-footer-highlight-box-shadow: var(--shadow-s-up);
600
607
  --modal-footer-highlight-background: var(--color-light-bg-primary);
601
608
  }
602
- .modal__content_cj0al {
609
+ .modal__content_mwi04 {
603
610
  }
604
- .modal__flex_cj0al {
611
+ .modal__flex_mwi04 {
605
612
  }
606
- .modal__s_cj0al {
613
+ .modal__s_mwi04 {
607
614
  padding: var(--modal-s-content-paddings);
608
615
  }
609
- .modal__m_cj0al {
616
+ .modal__m_mwi04 {
610
617
  padding: var(--modal-m-content-paddings);
611
618
  }
612
- .modal__l_cj0al,
613
- .modal__fullscreen_cj0al {
619
+ .modal__l_mwi04,
620
+ .modal__fullscreen_mwi04 {
614
621
  padding: var(--modal-l-content-paddings)
615
622
  }
616
- .modal__l_cj0al:last-child, .modal__fullscreen_cj0al:last-child {
623
+ .modal__l_mwi04:last-child, .modal__fullscreen_mwi04:last-child {
617
624
  padding-bottom: var(--modal-l-content-no-footer-bottom-padding);
618
625
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1haew */
1
+ /* hash: o267q */
2
2
  :root {
3
3
  }:root {
4
4
  }:root {
@@ -30,14 +30,14 @@
30
30
  /* sticky */
31
31
 
32
32
  /* scroll */
33
- }.modal__content_djrnp {
33
+ }.modal__content_nx9d8 {
34
34
  box-sizing: border-box;
35
35
  width: 100%
36
- }.modal__content_djrnp:first-child {
36
+ }.modal__content_nx9d8:first-child {
37
37
  padding-top: var(--modal-content-no-header-top-padding);
38
- }.modal__content_djrnp:last-child {
38
+ }.modal__content_nx9d8:last-child {
39
39
  padding-bottom: var(--modal-content-no-footer-bottom-padding);
40
- }.modal__flex_djrnp {
40
+ }.modal__flex_nx9d8 {
41
41
  flex: 1 1 auto;
42
42
  }
43
43
  :root {
@@ -159,12 +159,19 @@
159
159
  --color-static-status-red: #d91d0b;
160
160
  --color-static-status-teal: #219187;
161
161
  --color-static-status-blue-tint-90: rgb(230, 242, 255);
162
+ --color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
162
163
  --color-static-status-green-tint-90: rgb(231, 246, 239);
164
+ --color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
163
165
  --color-static-status-grey-tint-90: rgb(240, 242, 243);
166
+ --color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
164
167
  --color-static-status-orange-tint-90: rgb(252, 240, 230);
168
+ --color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
165
169
  --color-static-status-purple-tint-90: rgb(240, 235, 248);
170
+ --color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
166
171
  --color-static-status-red-tint-90: rgb(251, 232, 231);
172
+ --color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
167
173
  --color-static-status-teal-tint-90: rgb(233, 244, 243);
174
+ --color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
168
175
  }
169
176
  :root {
170
177
  --color-dark-bg-accent: #ef3124;
@@ -583,7 +590,7 @@
583
590
  --modal-content-no-header-top-padding: var(--gap-2xl);
584
591
 
585
592
  /* closer */
586
- --modal-closer-icon: url('https://alfabank.st/icons/glyph_cross_m.svg');
593
+ --modal-closer-icon: url('https://alfabank.gcdn.co/icons/glyph_cross_m.svg');
587
594
 
588
595
  /* sticky */
589
596
  --modal-footer-sticky-box-shadow: none;
@@ -595,9 +602,9 @@
595
602
  --modal-footer-highlight-box-shadow: var(--shadow-s-up);
596
603
  --modal-footer-highlight-background: var(--color-light-bg-primary);
597
604
  }
598
- .modal__content_17l4p {
605
+ .modal__content_1raoc {
599
606
 
600
607
  padding: 0 var(--gap-m) 0;
601
608
  }
602
- .modal__flex_17l4p {
609
+ .modal__flex_1raoc {
603
610
  }
@@ -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_jdkmp modal__footer_fhvhp","highlighted":"modal__highlighted_jdkmp modal__highlighted_fhvhp","sticky":"modal__sticky_jdkmp modal__sticky_fhvhp","fullscreen":"modal__fullscreen_jdkmp","s":"modal__s_jdkmp","m":"modal__m_jdkmp","l":"modal__l_jdkmp"};
7
+ var styles = {"footer":"modal__footer_1xo4g modal__footer_1tsfb","highlighted":"modal__highlighted_1xo4g modal__highlighted_1tsfb","sticky":"modal__sticky_1xo4g modal__sticky_1tsfb","fullscreen":"modal__fullscreen_1xo4g","s":"modal__s_1xo4g","m":"modal__m_1xo4g","l":"modal__l_1xo4g"};
8
8
  require('./desktop.css')
9
9
 
10
10
  const FooterDesktop = ({ size, className, fullscreen, ...restProps }) => (React.createElement(Footer, Object.assign({ className: cn(className, size && styles[size], fullscreen && styles.fullscreen), styles: styles }, 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 layoutStyles = {"column":"modal__column_1fhkx","gap-16":"modal__gap-16_1fhkx","gap-24":"modal__gap-24_1fhkx","gap-32":"modal__gap-32_1fhkx","start":"modal__start_1fhkx","center":"modal__center_1fhkx","space-between":"modal__space-between_1fhkx"};
6
+ var layoutStyles = {"column":"modal__column_ur0p9","gap-16":"modal__gap-16_ur0p9","gap-24":"modal__gap-24_ur0p9","gap-32":"modal__gap-32_ur0p9","start":"modal__start_ur0p9","center":"modal__center_ur0p9","space-between":"modal__space-between_ur0p9"};
7
7
  require('./layout.css')
8
8
 
9
9
  const Footer = ({ children, className, sticky, layout = 'start', gap, styles, }) => {
@@ -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_2y8ix modal__footer_fhvhp","highlighted":"modal__highlighted_2y8ix modal__highlighted_fhvhp","sticky":"modal__sticky_2y8ix modal__sticky_fhvhp"};
7
+ var styles = {"footer":"modal__footer_1328l modal__footer_1tsfb","highlighted":"modal__highlighted_1328l modal__highlighted_1tsfb","sticky":"modal__sticky_1328l modal__sticky_1tsfb"};
8
8
  require('./mobile.css')
9
9
 
10
10
  const FooterMobile = props => React.createElement(Footer, Object.assign({ styles: styles }, props));
@@ -1,4 +1,4 @@
1
- /* hash: ts8mt */
1
+ /* hash: 1aobl */
2
2
  :root {
3
3
  }:root {
4
4
  }:root {
@@ -42,16 +42,16 @@
42
42
  /* scroll */
43
43
  --modal-footer-highlight-box-shadow: var(--shadow-s-up);
44
44
  --modal-footer-highlight-background: var(--color-light-bg-primary);
45
- }.modal__footer_fhvhp {
45
+ }.modal__footer_1tsfb {
46
46
  width: 100%;
47
47
  box-sizing: border-box;
48
48
  transition: box-shadow 0.2s ease, background 0.2s ease;
49
49
  background: var(--modal-header-background);
50
- }.modal__sticky_fhvhp {
50
+ }.modal__sticky_1tsfb {
51
51
  background: var(--modal-footer-sticky-background);
52
52
  box-shadow: var(--modal-footer-sticky-box-shadow);
53
53
  position: sticky;
54
- }.modal__highlighted_fhvhp {
54
+ }.modal__highlighted_1tsfb {
55
55
  background: var(--modal-footer-highlight-background);
56
56
  box-shadow: var(--modal-footer-highlight-box-shadow);
57
57
  }
@@ -174,12 +174,19 @@
174
174
  --color-static-status-red: #d91d0b;
175
175
  --color-static-status-teal: #219187;
176
176
  --color-static-status-blue-tint-90: rgb(230, 242, 255);
177
+ --color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
177
178
  --color-static-status-green-tint-90: rgb(231, 246, 239);
179
+ --color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
178
180
  --color-static-status-grey-tint-90: rgb(240, 242, 243);
181
+ --color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
179
182
  --color-static-status-orange-tint-90: rgb(252, 240, 230);
183
+ --color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
180
184
  --color-static-status-purple-tint-90: rgb(240, 235, 248);
185
+ --color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
181
186
  --color-static-status-red-tint-90: rgb(251, 232, 231);
187
+ --color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
182
188
  --color-static-status-teal-tint-90: rgb(233, 244, 243);
189
+ --color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
183
190
  }
184
191
  :root {
185
192
  --color-dark-bg-accent: #ef3124;
@@ -598,7 +605,7 @@
598
605
  --modal-content-no-header-top-padding: var(--gap-2xl);
599
606
 
600
607
  /* closer */
601
- --modal-closer-icon: url('https://alfabank.st/icons/glyph_cross_m.svg');
608
+ --modal-closer-icon: url('https://alfabank.gcdn.co/icons/glyph_cross_m.svg');
602
609
 
603
610
  /* sticky */
604
611
  --modal-footer-sticky-box-shadow: none;
@@ -610,27 +617,27 @@
610
617
  --modal-footer-highlight-box-shadow: var(--shadow-s-up);
611
618
  --modal-footer-highlight-background: var(--color-light-bg-primary);
612
619
  }
613
- .modal__footer_jdkmp {
620
+ .modal__footer_1xo4g {
614
621
 
615
622
  border-bottom-left-radius: var(--modal-border-radius);
616
623
  border-bottom-right-radius: var(--modal-border-radius);
617
624
  }
618
- .modal__highlighted_jdkmp {
625
+ .modal__highlighted_1xo4g {
619
626
  }
620
- .modal__sticky_jdkmp {
627
+ .modal__sticky_1xo4g {
621
628
 
622
629
  bottom: calc(var(--modal-vertical-padding) * -1);
623
630
  }
624
- .modal__fullscreen_jdkmp {
631
+ .modal__fullscreen_1xo4g {
625
632
  bottom: 0;
626
633
  }
627
- .modal__s_jdkmp {
634
+ .modal__s_1xo4g {
628
635
  padding: var(--modal-s-footer-paddings);
629
636
  }
630
- .modal__m_jdkmp {
637
+ .modal__m_1xo4g {
631
638
  padding: var(--modal-m-footer-paddings);
632
639
  }
633
- .modal__l_jdkmp,
634
- .modal__fullscreen_jdkmp {
640
+ .modal__l_1xo4g,
641
+ .modal__fullscreen_1xo4g {
635
642
  padding: var(--modal-l-footer-paddings);
636
643
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1w6ug */
1
+ /* hash: 1fbos */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -25,60 +25,60 @@
25
25
 
26
26
  /* scroll */
27
27
  }
28
- .modal__column_1fhkx {
28
+ .modal__column_ur0p9 {
29
29
  display: flex;
30
30
  flex-direction: column
31
31
  }
32
- .modal__column_1fhkx > * {
32
+ .modal__column_ur0p9 > * {
33
33
  margin-bottom: var(--modal-footer-default-gap);
34
34
  }
35
- .modal__column_1fhkx > *:last-child,
36
- .modal__column_1fhkx > *:only-child {
35
+ .modal__column_ur0p9 > *:last-child,
36
+ .modal__column_ur0p9 > *:only-child {
37
37
  margin-bottom: 0;
38
38
  }
39
- .modal__column_1fhkx.modal__gap-16_1fhkx > * {
39
+ .modal__column_ur0p9.modal__gap-16_ur0p9 > * {
40
40
  margin-bottom: var(--gap-m);
41
41
  }
42
- .modal__column_1fhkx.modal__gap-24_1fhkx > * {
42
+ .modal__column_ur0p9.modal__gap-24_ur0p9 > * {
43
43
  margin-bottom: var(--gap-xl);
44
44
  }
45
- .modal__column_1fhkx.modal__gap-32_1fhkx > * {
45
+ .modal__column_ur0p9.modal__gap-32_ur0p9 > * {
46
46
  margin-bottom: var(--gap-2xl);
47
47
  }
48
- .modal__start_1fhkx {
48
+ .modal__start_ur0p9 {
49
49
  justify-content: flex-start;
50
50
  }
51
- .modal__center_1fhkx {
51
+ .modal__center_ur0p9 {
52
52
  justify-content: center;
53
53
  }
54
- .modal__space-between_1fhkx {
54
+ .modal__space-between_ur0p9 {
55
55
  justify-content: space-between
56
56
  }
57
- .modal__space-between_1fhkx > * {
57
+ .modal__space-between_ur0p9 > * {
58
58
  flex: 1;
59
59
  }
60
- .modal__start_1fhkx,
61
- .modal__center_1fhkx,
62
- .modal__space-between_1fhkx {
60
+ .modal__start_ur0p9,
61
+ .modal__center_ur0p9,
62
+ .modal__space-between_ur0p9 {
63
63
  display: flex
64
64
  }
65
- .modal__start_1fhkx > *, .modal__center_1fhkx > *, .modal__space-between_1fhkx > * {
65
+ .modal__start_ur0p9 > *, .modal__center_ur0p9 > *, .modal__space-between_ur0p9 > * {
66
66
  margin-right: var(--modal-footer-default-gap);
67
67
  }
68
- .modal__start_1fhkx > *:last-child,
69
- .modal__start_1fhkx > *:only-child,
70
- .modal__center_1fhkx > *:last-child,
71
- .modal__center_1fhkx > *:only-child,
72
- .modal__space-between_1fhkx > *:last-child,
73
- .modal__space-between_1fhkx > *:only-child {
68
+ .modal__start_ur0p9 > *:last-child,
69
+ .modal__start_ur0p9 > *:only-child,
70
+ .modal__center_ur0p9 > *:last-child,
71
+ .modal__center_ur0p9 > *:only-child,
72
+ .modal__space-between_ur0p9 > *:last-child,
73
+ .modal__space-between_ur0p9 > *:only-child {
74
74
  margin-right: 0;
75
75
  }
76
- .modal__start_1fhkx.modal__gap-16_1fhkx > *, .modal__center_1fhkx.modal__gap-16_1fhkx > *, .modal__space-between_1fhkx.modal__gap-16_1fhkx > * {
76
+ .modal__start_ur0p9.modal__gap-16_ur0p9 > *, .modal__center_ur0p9.modal__gap-16_ur0p9 > *, .modal__space-between_ur0p9.modal__gap-16_ur0p9 > * {
77
77
  margin-right: var(--gap-m);
78
78
  }
79
- .modal__start_1fhkx.modal__gap-24_1fhkx > *, .modal__center_1fhkx.modal__gap-24_1fhkx > *, .modal__space-between_1fhkx.modal__gap-24_1fhkx > * {
79
+ .modal__start_ur0p9.modal__gap-24_ur0p9 > *, .modal__center_ur0p9.modal__gap-24_ur0p9 > *, .modal__space-between_ur0p9.modal__gap-24_ur0p9 > * {
80
80
  margin-right: var(--gap-xl);
81
81
  }
82
- .modal__start_1fhkx.modal__gap-32_1fhkx > *, .modal__center_1fhkx.modal__gap-32_1fhkx > *, .modal__space-between_1fhkx.modal__gap-32_1fhkx > * {
82
+ .modal__start_ur0p9.modal__gap-32_ur0p9 > *, .modal__center_ur0p9.modal__gap-32_ur0p9 > *, .modal__space-between_ur0p9.modal__gap-32_ur0p9 > * {
83
83
  margin-right: var(--gap-2xl);
84
84
  }