@alfalab/core-components-modal 3.0.2 → 4.0.3
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.
- package/CHANGELOG.md +40 -0
- package/dist/Component.desktop.js +3 -3
- package/dist/Component.mobile.js +3 -3
- package/dist/Component.responsive.js +2 -2
- package/dist/components/closer/Component.js +2 -2
- package/dist/components/closer/index.css +9 -9
- package/dist/components/content/Component.desktop.js +2 -2
- package/dist/components/content/Component.mobile.js +2 -2
- package/dist/components/content/desktop.css +20 -20
- package/dist/components/content/mobile.css +15 -15
- package/dist/components/footer/Component.desktop.js +2 -2
- package/dist/components/footer/Component.js +1 -1
- package/dist/components/footer/Component.mobile.js +2 -2
- package/dist/components/footer/desktop.css +20 -20
- package/dist/components/footer/layout.css +25 -25
- package/dist/components/footer/mobile.css +15 -15
- package/dist/components/header/Component.desktop.js +2 -2
- package/dist/components/header/Component.js +1 -1
- package/dist/components/header/Component.mobile.js +2 -2
- package/dist/components/header/desktop.css +24 -24
- package/dist/components/header/mobile.css +19 -19
- package/dist/cssm/components/closer/index.module.css +1 -1
- package/dist/desktop.css +8 -8
- package/dist/desktop.js +2 -2
- package/dist/esm/Component.desktop.js +3 -3
- package/dist/esm/Component.mobile.js +3 -3
- package/dist/esm/Component.responsive.js +2 -2
- package/dist/esm/components/closer/Component.js +2 -2
- package/dist/esm/components/closer/index.css +9 -9
- package/dist/esm/components/content/Component.desktop.js +2 -2
- package/dist/esm/components/content/Component.mobile.js +2 -2
- package/dist/esm/components/content/desktop.css +20 -20
- package/dist/esm/components/content/mobile.css +15 -15
- package/dist/esm/components/footer/Component.desktop.js +2 -2
- package/dist/esm/components/footer/Component.js +1 -1
- package/dist/esm/components/footer/Component.mobile.js +2 -2
- package/dist/esm/components/footer/desktop.css +20 -20
- package/dist/esm/components/footer/layout.css +25 -25
- package/dist/esm/components/footer/mobile.css +15 -15
- package/dist/esm/components/header/Component.desktop.js +2 -2
- package/dist/esm/components/header/Component.js +1 -1
- package/dist/esm/components/header/Component.mobile.js +2 -2
- package/dist/esm/components/header/desktop.css +24 -24
- package/dist/esm/components/header/mobile.css +19 -19
- package/dist/esm/desktop.css +8 -8
- package/dist/esm/desktop.js +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/esm/mobile.css +2 -2
- package/dist/esm/mobile.js +2 -2
- package/dist/esm/responsive.js +2 -2
- package/dist/esm/transitions.css +8 -8
- package/dist/esm/transitions.module-0af128f1.js +4 -0
- package/dist/esm/{tslib.es6-5b22fba8.d.ts → tslib.es6-428cbd49.d.ts} +0 -0
- package/dist/esm/{tslib.es6-5b22fba8.js → tslib.es6-428cbd49.js} +0 -0
- package/dist/index.js +2 -2
- package/dist/mobile.css +2 -2
- package/dist/mobile.js +2 -2
- package/dist/modern/Component.desktop.js +2 -2
- package/dist/modern/Component.mobile.js +2 -2
- package/dist/modern/Component.responsive.js +1 -1
- package/dist/modern/components/closer/Component.js +1 -1
- package/dist/modern/components/closer/index.css +9 -9
- package/dist/modern/components/content/Component.desktop.js +1 -1
- package/dist/modern/components/content/Component.mobile.js +1 -1
- package/dist/modern/components/content/desktop.css +20 -20
- package/dist/modern/components/content/mobile.css +15 -15
- package/dist/modern/components/footer/Component.desktop.js +1 -1
- package/dist/modern/components/footer/Component.js +1 -1
- package/dist/modern/components/footer/Component.mobile.js +1 -1
- package/dist/modern/components/footer/desktop.css +20 -20
- package/dist/modern/components/footer/layout.css +25 -25
- package/dist/modern/components/footer/mobile.css +15 -15
- package/dist/modern/components/header/Component.desktop.js +1 -1
- package/dist/modern/components/header/Component.mobile.js +1 -1
- package/dist/modern/components/header/desktop.css +24 -24
- package/dist/modern/components/header/mobile.css +19 -19
- package/dist/modern/desktop.css +8 -8
- package/dist/modern/desktop.js +1 -1
- package/dist/modern/index.js +1 -1
- package/dist/modern/mobile.css +2 -2
- package/dist/modern/mobile.js +1 -1
- package/dist/modern/responsive.js +1 -1
- package/dist/modern/transitions.css +8 -8
- package/dist/modern/transitions.module-0af128f1.js +4 -0
- package/dist/responsive.js +2 -2
- package/dist/transitions.css +8 -8
- package/dist/transitions.module-ac43ebc6.js +6 -0
- package/dist/{tslib.es6-5b726b20.d.ts → tslib.es6-6205675e.d.ts} +0 -0
- package/dist/{tslib.es6-5b726b20.js → tslib.es6-6205675e.js} +0 -0
- package/package.json +4 -4
- package/dist/esm/transitions.module-c34fafc2.js +0 -4
- package/dist/modern/transitions.module-c34fafc2.js +0 -4
- package/dist/transitions.module-815de616.js +0 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 11vxh */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
/* sticky */
|
|
31
31
|
|
|
32
32
|
/* scroll */
|
|
33
|
-
}.
|
|
33
|
+
}.modal__content_1e4zd {
|
|
34
34
|
box-sizing: border-box;
|
|
35
35
|
width: 100%
|
|
36
|
-
}.
|
|
36
|
+
}.modal__content_1e4zd:first-child {
|
|
37
37
|
padding-top: var(--modal-content-no-header-top-padding);
|
|
38
|
-
}.
|
|
38
|
+
}.modal__content_1e4zd:last-child {
|
|
39
39
|
padding-bottom: var(--modal-content-no-footer-bottom-padding);
|
|
40
|
-
}.
|
|
40
|
+
}.modal__flex_1e4zd {
|
|
41
41
|
flex: 1 1 auto;
|
|
42
42
|
}
|
|
43
43
|
:root {
|
|
@@ -158,13 +158,13 @@
|
|
|
158
158
|
--color-static-status-purple: #673ab7;
|
|
159
159
|
--color-static-status-red: #d91d0b;
|
|
160
160
|
--color-static-status-teal: #219187;
|
|
161
|
-
--color-static-status-blue-
|
|
162
|
-
--color-static-status-green-
|
|
163
|
-
--color-static-status-grey-
|
|
164
|
-
--color-static-status-orange-
|
|
165
|
-
--color-static-status-purple-
|
|
166
|
-
--color-static-status-red-
|
|
167
|
-
--color-static-status-teal-
|
|
161
|
+
--color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
|
|
162
|
+
--color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
|
|
163
|
+
--color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
|
|
164
|
+
--color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
|
|
165
|
+
--color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
|
|
166
|
+
--color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
|
|
167
|
+
--color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
|
|
168
168
|
}
|
|
169
169
|
:root {
|
|
170
170
|
--color-dark-bg-accent: #ef3124;
|
|
@@ -583,7 +583,7 @@
|
|
|
583
583
|
--modal-content-no-header-top-padding: var(--gap-2xl);
|
|
584
584
|
|
|
585
585
|
/* closer */
|
|
586
|
-
--modal-closer-icon: url('https://alfabank.
|
|
586
|
+
--modal-closer-icon: url('https://alfabank.gcdn.co/icons/glyph_cross_m.svg');
|
|
587
587
|
|
|
588
588
|
/* sticky */
|
|
589
589
|
--modal-footer-sticky-box-shadow: none;
|
|
@@ -595,9 +595,9 @@
|
|
|
595
595
|
--modal-footer-highlight-box-shadow: var(--shadow-s-up);
|
|
596
596
|
--modal-footer-highlight-background: var(--color-light-bg-primary);
|
|
597
597
|
}
|
|
598
|
-
.
|
|
598
|
+
.modal__content_1rddq {
|
|
599
599
|
|
|
600
600
|
padding: 0 var(--gap-m) 0;
|
|
601
601
|
}
|
|
602
|
-
.
|
|
602
|
+
.modal__flex_1rddq {
|
|
603
603
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-428cbd49.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import '@alfalab/core-components-base-modal/dist/esm';
|
|
5
5
|
import '../../Context.js';
|
|
6
6
|
import { Footer } from './Component.js';
|
|
7
7
|
|
|
8
|
-
var styles = {"footer":"
|
|
8
|
+
var styles = {"footer":"modal__footer_13kbx modal__footer_3nv7q","highlighted":"modal__highlighted_13kbx modal__highlighted_3nv7q","sticky":"modal__sticky_13kbx modal__sticky_3nv7q","fullscreen":"modal__fullscreen_13kbx","s":"modal__s_13kbx","m":"modal__m_13kbx","l":"modal__l_13kbx"};
|
|
9
9
|
require('./desktop.css')
|
|
10
10
|
|
|
11
11
|
var FooterDesktop = function (_a) {
|
|
@@ -3,7 +3,7 @@ import cn from 'classnames';
|
|
|
3
3
|
import '@alfalab/core-components-base-modal/dist/esm';
|
|
4
4
|
import { ModalContext } from '../../Context.js';
|
|
5
5
|
|
|
6
|
-
var layoutStyles = {"column":"
|
|
6
|
+
var layoutStyles = {"column":"modal__column_n86ia","gap-16":"modal__gap-16_n86ia","gap-24":"modal__gap-24_n86ia","gap-32":"modal__gap-32_n86ia","start":"modal__start_n86ia","center":"modal__center_n86ia","space-between":"modal__space-between_n86ia"};
|
|
7
7
|
require('./layout.css')
|
|
8
8
|
|
|
9
9
|
var Footer = function (_a) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { a as __assign } from '../../tslib.es6-428cbd49.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components-base-modal/dist/esm';
|
|
5
5
|
import '../../Context.js';
|
|
6
6
|
import { Footer } from './Component.js';
|
|
7
7
|
|
|
8
|
-
var styles = {"footer":"
|
|
8
|
+
var styles = {"footer":"modal__footer_1mm0f modal__footer_3nv7q","highlighted":"modal__highlighted_1mm0f modal__highlighted_3nv7q","sticky":"modal__sticky_1mm0f modal__sticky_3nv7q"};
|
|
9
9
|
require('./mobile.css')
|
|
10
10
|
|
|
11
11
|
var FooterMobile = function (props) { return React.createElement(Footer, __assign({ styles: styles }, props)); };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 196q2 */
|
|
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
|
-
}.
|
|
45
|
+
}.modal__footer_3nv7q {
|
|
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
|
-
}.
|
|
50
|
+
}.modal__sticky_3nv7q {
|
|
51
51
|
background: var(--modal-footer-sticky-background);
|
|
52
52
|
box-shadow: var(--modal-footer-sticky-box-shadow);
|
|
53
53
|
position: sticky;
|
|
54
|
-
}.
|
|
54
|
+
}.modal__highlighted_3nv7q {
|
|
55
55
|
background: var(--modal-footer-highlight-background);
|
|
56
56
|
box-shadow: var(--modal-footer-highlight-box-shadow);
|
|
57
57
|
}
|
|
@@ -173,13 +173,13 @@
|
|
|
173
173
|
--color-static-status-purple: #673ab7;
|
|
174
174
|
--color-static-status-red: #d91d0b;
|
|
175
175
|
--color-static-status-teal: #219187;
|
|
176
|
-
--color-static-status-blue-
|
|
177
|
-
--color-static-status-green-
|
|
178
|
-
--color-static-status-grey-
|
|
179
|
-
--color-static-status-orange-
|
|
180
|
-
--color-static-status-purple-
|
|
181
|
-
--color-static-status-red-
|
|
182
|
-
--color-static-status-teal-
|
|
176
|
+
--color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
|
|
177
|
+
--color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
|
|
178
|
+
--color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
|
|
179
|
+
--color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
|
|
180
|
+
--color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
|
|
181
|
+
--color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
|
|
182
|
+
--color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
|
|
183
183
|
}
|
|
184
184
|
:root {
|
|
185
185
|
--color-dark-bg-accent: #ef3124;
|
|
@@ -598,7 +598,7 @@
|
|
|
598
598
|
--modal-content-no-header-top-padding: var(--gap-2xl);
|
|
599
599
|
|
|
600
600
|
/* closer */
|
|
601
|
-
--modal-closer-icon: url('https://alfabank.
|
|
601
|
+
--modal-closer-icon: url('https://alfabank.gcdn.co/icons/glyph_cross_m.svg');
|
|
602
602
|
|
|
603
603
|
/* sticky */
|
|
604
604
|
--modal-footer-sticky-box-shadow: none;
|
|
@@ -610,27 +610,27 @@
|
|
|
610
610
|
--modal-footer-highlight-box-shadow: var(--shadow-s-up);
|
|
611
611
|
--modal-footer-highlight-background: var(--color-light-bg-primary);
|
|
612
612
|
}
|
|
613
|
-
.
|
|
613
|
+
.modal__footer_13kbx {
|
|
614
614
|
|
|
615
615
|
border-bottom-left-radius: var(--modal-border-radius);
|
|
616
616
|
border-bottom-right-radius: var(--modal-border-radius);
|
|
617
617
|
}
|
|
618
|
-
.
|
|
618
|
+
.modal__highlighted_13kbx {
|
|
619
619
|
}
|
|
620
|
-
.
|
|
620
|
+
.modal__sticky_13kbx {
|
|
621
621
|
|
|
622
622
|
bottom: calc(var(--modal-vertical-padding) * -1);
|
|
623
623
|
}
|
|
624
|
-
.
|
|
624
|
+
.modal__fullscreen_13kbx {
|
|
625
625
|
bottom: 0;
|
|
626
626
|
}
|
|
627
|
-
.
|
|
627
|
+
.modal__s_13kbx {
|
|
628
628
|
padding: var(--modal-s-footer-paddings);
|
|
629
629
|
}
|
|
630
|
-
.
|
|
630
|
+
.modal__m_13kbx {
|
|
631
631
|
padding: var(--modal-m-footer-paddings);
|
|
632
632
|
}
|
|
633
|
-
.
|
|
634
|
-
.
|
|
633
|
+
.modal__l_13kbx,
|
|
634
|
+
.modal__fullscreen_13kbx {
|
|
635
635
|
padding: var(--modal-l-footer-paddings);
|
|
636
636
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1du39 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -25,60 +25,60 @@
|
|
|
25
25
|
|
|
26
26
|
/* scroll */
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.modal__column_n86ia {
|
|
29
29
|
display: flex;
|
|
30
30
|
flex-direction: column
|
|
31
31
|
}
|
|
32
|
-
.
|
|
32
|
+
.modal__column_n86ia > * {
|
|
33
33
|
margin-bottom: var(--modal-footer-default-gap);
|
|
34
34
|
}
|
|
35
|
-
.
|
|
36
|
-
.
|
|
35
|
+
.modal__column_n86ia > *:last-child,
|
|
36
|
+
.modal__column_n86ia > *:only-child {
|
|
37
37
|
margin-bottom: 0;
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.modal__column_n86ia.modal__gap-16_n86ia > * {
|
|
40
40
|
margin-bottom: var(--gap-m);
|
|
41
41
|
}
|
|
42
|
-
.
|
|
42
|
+
.modal__column_n86ia.modal__gap-24_n86ia > * {
|
|
43
43
|
margin-bottom: var(--gap-xl);
|
|
44
44
|
}
|
|
45
|
-
.
|
|
45
|
+
.modal__column_n86ia.modal__gap-32_n86ia > * {
|
|
46
46
|
margin-bottom: var(--gap-2xl);
|
|
47
47
|
}
|
|
48
|
-
.
|
|
48
|
+
.modal__start_n86ia {
|
|
49
49
|
justify-content: flex-start;
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
.modal__center_n86ia {
|
|
52
52
|
justify-content: center;
|
|
53
53
|
}
|
|
54
|
-
.modal__space-
|
|
54
|
+
.modal__space-between_n86ia {
|
|
55
55
|
justify-content: space-between
|
|
56
56
|
}
|
|
57
|
-
.modal__space-
|
|
57
|
+
.modal__space-between_n86ia > * {
|
|
58
58
|
flex: 1;
|
|
59
59
|
}
|
|
60
|
-
.
|
|
61
|
-
.
|
|
62
|
-
.modal__space-
|
|
60
|
+
.modal__start_n86ia,
|
|
61
|
+
.modal__center_n86ia,
|
|
62
|
+
.modal__space-between_n86ia {
|
|
63
63
|
display: flex
|
|
64
64
|
}
|
|
65
|
-
.
|
|
65
|
+
.modal__start_n86ia > *, .modal__center_n86ia > *, .modal__space-between_n86ia > * {
|
|
66
66
|
margin-right: var(--modal-footer-default-gap);
|
|
67
67
|
}
|
|
68
|
-
.
|
|
69
|
-
.
|
|
70
|
-
.
|
|
71
|
-
.
|
|
72
|
-
.modal__space-
|
|
73
|
-
.modal__space-
|
|
68
|
+
.modal__start_n86ia > *:last-child,
|
|
69
|
+
.modal__start_n86ia > *:only-child,
|
|
70
|
+
.modal__center_n86ia > *:last-child,
|
|
71
|
+
.modal__center_n86ia > *:only-child,
|
|
72
|
+
.modal__space-between_n86ia > *:last-child,
|
|
73
|
+
.modal__space-between_n86ia > *:only-child {
|
|
74
74
|
margin-right: 0;
|
|
75
75
|
}
|
|
76
|
-
.
|
|
76
|
+
.modal__start_n86ia.modal__gap-16_n86ia > *, .modal__center_n86ia.modal__gap-16_n86ia > *, .modal__space-between_n86ia.modal__gap-16_n86ia > * {
|
|
77
77
|
margin-right: var(--gap-m);
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
.modal__start_n86ia.modal__gap-24_n86ia > *, .modal__center_n86ia.modal__gap-24_n86ia > *, .modal__space-between_n86ia.modal__gap-24_n86ia > * {
|
|
80
80
|
margin-right: var(--gap-xl);
|
|
81
81
|
}
|
|
82
|
-
.
|
|
82
|
+
.modal__start_n86ia.modal__gap-32_n86ia > *, .modal__center_n86ia.modal__gap-32_n86ia > *, .modal__space-between_n86ia.modal__gap-32_n86ia > * {
|
|
83
83
|
margin-right: var(--gap-2xl);
|
|
84
84
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1x5pu */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
/* scroll */
|
|
35
35
|
--modal-footer-highlight-box-shadow: var(--shadow-s-up);
|
|
36
36
|
--modal-footer-highlight-background: var(--color-light-bg-primary);
|
|
37
|
-
}.
|
|
37
|
+
}.modal__footer_3nv7q {
|
|
38
38
|
width: 100%;
|
|
39
39
|
box-sizing: border-box;
|
|
40
40
|
transition: box-shadow 0.2s ease, background 0.2s ease;
|
|
41
41
|
background: var(--modal-header-background);
|
|
42
|
-
}.
|
|
42
|
+
}.modal__sticky_3nv7q {
|
|
43
43
|
background: var(--modal-footer-sticky-background);
|
|
44
44
|
box-shadow: var(--modal-footer-sticky-box-shadow);
|
|
45
45
|
position: sticky;
|
|
46
|
-
}.
|
|
46
|
+
}.modal__highlighted_3nv7q {
|
|
47
47
|
background: var(--modal-footer-highlight-background);
|
|
48
48
|
box-shadow: var(--modal-footer-highlight-box-shadow);
|
|
49
49
|
}
|
|
@@ -165,13 +165,13 @@
|
|
|
165
165
|
--color-static-status-purple: #673ab7;
|
|
166
166
|
--color-static-status-red: #d91d0b;
|
|
167
167
|
--color-static-status-teal: #219187;
|
|
168
|
-
--color-static-status-blue-
|
|
169
|
-
--color-static-status-green-
|
|
170
|
-
--color-static-status-grey-
|
|
171
|
-
--color-static-status-orange-
|
|
172
|
-
--color-static-status-purple-
|
|
173
|
-
--color-static-status-red-
|
|
174
|
-
--color-static-status-teal-
|
|
168
|
+
--color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
|
|
169
|
+
--color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
|
|
170
|
+
--color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
|
|
171
|
+
--color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
|
|
172
|
+
--color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
|
|
173
|
+
--color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
|
|
174
|
+
--color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
|
|
175
175
|
}
|
|
176
176
|
:root {
|
|
177
177
|
--color-dark-bg-accent: #ef3124;
|
|
@@ -590,7 +590,7 @@
|
|
|
590
590
|
--modal-content-no-header-top-padding: var(--gap-2xl);
|
|
591
591
|
|
|
592
592
|
/* closer */
|
|
593
|
-
--modal-closer-icon: url('https://alfabank.
|
|
593
|
+
--modal-closer-icon: url('https://alfabank.gcdn.co/icons/glyph_cross_m.svg');
|
|
594
594
|
|
|
595
595
|
/* sticky */
|
|
596
596
|
--modal-footer-sticky-box-shadow: none;
|
|
@@ -602,13 +602,13 @@
|
|
|
602
602
|
--modal-footer-highlight-box-shadow: var(--shadow-s-up);
|
|
603
603
|
--modal-footer-highlight-background: var(--color-light-bg-primary);
|
|
604
604
|
}
|
|
605
|
-
.
|
|
605
|
+
.modal__footer_1mm0f {
|
|
606
606
|
|
|
607
607
|
padding: var(--gap-xl) var(--gap-m);
|
|
608
608
|
}
|
|
609
|
-
.
|
|
609
|
+
.modal__highlighted_1mm0f {
|
|
610
610
|
}
|
|
611
|
-
.
|
|
611
|
+
.modal__sticky_1mm0f {
|
|
612
612
|
|
|
613
613
|
bottom: 0;
|
|
614
614
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-428cbd49.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import '@alfalab/core-components-base-modal/dist/esm';
|
|
@@ -7,7 +7,7 @@ import '@alfalab/core-components-button/dist/esm';
|
|
|
7
7
|
import '../closer/Component.js';
|
|
8
8
|
import { Header } from './Component.js';
|
|
9
9
|
|
|
10
|
-
var styles = {"header":"
|
|
10
|
+
var styles = {"header":"modal__header_1g3gj modal__header_vp1kk","s":"modal__s_1g3gj","m":"modal__m_1g3gj","l":"modal__l_1g3gj","fullscreen":"modal__fullscreen_1g3gj","sticky":"modal__sticky_1g3gj modal__sticky_vp1kk","highlighted":"modal__highlighted_1g3gj modal__highlighted_vp1kk","content":"modal__content_1g3gj modal__content_vp1kk","title":"modal__title_1g3gj modal__title_vp1kk"};
|
|
11
11
|
require('./desktop.css')
|
|
12
12
|
|
|
13
13
|
var HeaderDesktop = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { a as __assign } from '../../tslib.es6-428cbd49.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components-base-modal/dist/esm';
|
|
@@ -7,7 +7,7 @@ import '@alfalab/core-components-button/dist/esm';
|
|
|
7
7
|
import '../closer/Component.js';
|
|
8
8
|
import { Header } from './Component.js';
|
|
9
9
|
|
|
10
|
-
var styles = {"header":"
|
|
10
|
+
var styles = {"header":"modal__header_dzsyt modal__header_vp1kk","sticky":"modal__sticky_dzsyt modal__sticky_vp1kk","highlighted":"modal__highlighted_dzsyt modal__highlighted_vp1kk","content":"modal__content_dzsyt modal__content_vp1kk","title":"modal__title_dzsyt modal__title_vp1kk"};
|
|
11
11
|
require('./mobile.css')
|
|
12
12
|
|
|
13
13
|
var HeaderMobile = function (props) { return React.createElement(Header, __assign({ styles: styles }, props)); };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 5zfbo */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
/* scroll */
|
|
46
46
|
--modal-header-highlight-box-shadow: var(--shadow-s);
|
|
47
47
|
--modal-header-highlight-background: var(--color-light-bg-primary);
|
|
48
|
-
}.
|
|
48
|
+
}.modal__header_vp1kk {
|
|
49
49
|
width: 100%;
|
|
50
50
|
box-sizing: border-box;
|
|
51
51
|
display: flex;
|
|
@@ -53,12 +53,12 @@
|
|
|
53
53
|
justify-content: flex-end;
|
|
54
54
|
transition: box-shadow 0.2s ease, background 0.2s ease;
|
|
55
55
|
background: var(--modal-header-background);
|
|
56
|
-
}.
|
|
56
|
+
}.modal__highlighted_vp1kk {
|
|
57
57
|
background: var(--modal-header-highlight-background);
|
|
58
58
|
box-shadow: var(--modal-header-highlight-box-shadow);
|
|
59
|
-
}.
|
|
59
|
+
}.modal__sticky_vp1kk {
|
|
60
60
|
position: sticky;
|
|
61
|
-
}.
|
|
61
|
+
}.modal__content_vp1kk {
|
|
62
62
|
font-size: 24px;
|
|
63
63
|
line-height: 32px;
|
|
64
64
|
font-weight: 500;
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
font-family: var(--font-family-styrene);
|
|
67
67
|
flex-grow: 1;
|
|
68
68
|
margin: var(--gap-xs) var(--gap-m) var(--gap-xs) 0;
|
|
69
|
-
}.
|
|
69
|
+
}.modal__title_vp1kk {
|
|
70
70
|
word-break: break-word;
|
|
71
71
|
}
|
|
72
72
|
:root {
|
|
@@ -187,13 +187,13 @@
|
|
|
187
187
|
--color-static-status-purple: #673ab7;
|
|
188
188
|
--color-static-status-red: #d91d0b;
|
|
189
189
|
--color-static-status-teal: #219187;
|
|
190
|
-
--color-static-status-blue-
|
|
191
|
-
--color-static-status-green-
|
|
192
|
-
--color-static-status-grey-
|
|
193
|
-
--color-static-status-orange-
|
|
194
|
-
--color-static-status-purple-
|
|
195
|
-
--color-static-status-red-
|
|
196
|
-
--color-static-status-teal-
|
|
190
|
+
--color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
|
|
191
|
+
--color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
|
|
192
|
+
--color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
|
|
193
|
+
--color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
|
|
194
|
+
--color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
|
|
195
|
+
--color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
|
|
196
|
+
--color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
|
|
197
197
|
}
|
|
198
198
|
:root {
|
|
199
199
|
--color-dark-bg-accent: #ef3124;
|
|
@@ -612,7 +612,7 @@
|
|
|
612
612
|
--modal-content-no-header-top-padding: var(--gap-2xl);
|
|
613
613
|
|
|
614
614
|
/* closer */
|
|
615
|
-
--modal-closer-icon: url('https://alfabank.
|
|
615
|
+
--modal-closer-icon: url('https://alfabank.gcdn.co/icons/glyph_cross_m.svg');
|
|
616
616
|
|
|
617
617
|
/* sticky */
|
|
618
618
|
--modal-footer-sticky-box-shadow: none;
|
|
@@ -624,33 +624,33 @@
|
|
|
624
624
|
--modal-footer-highlight-box-shadow: var(--shadow-s-up);
|
|
625
625
|
--modal-footer-highlight-background: var(--color-light-bg-primary);
|
|
626
626
|
}
|
|
627
|
-
.
|
|
627
|
+
.modal__header_1g3gj {
|
|
628
628
|
|
|
629
629
|
min-height: var(--modal-header-min-height);
|
|
630
630
|
border-top-left-radius: var(--modal-border-radius);
|
|
631
631
|
border-top-right-radius: var(--modal-border-radius);
|
|
632
632
|
}
|
|
633
|
-
.
|
|
633
|
+
.modal__s_1g3gj {
|
|
634
634
|
padding: var(--modal-s-header-paddings);
|
|
635
635
|
}
|
|
636
|
-
.
|
|
636
|
+
.modal__m_1g3gj {
|
|
637
637
|
padding: var(--modal-m-header-paddings);
|
|
638
638
|
}
|
|
639
|
-
.
|
|
640
|
-
.
|
|
639
|
+
.modal__l_1g3gj,
|
|
640
|
+
.modal__fullscreen_1g3gj {
|
|
641
641
|
min-height: var(--modal-header-l-min-height);
|
|
642
642
|
padding: var(--modal-l-header-paddings);
|
|
643
643
|
}
|
|
644
|
-
.
|
|
644
|
+
.modal__sticky_1g3gj {
|
|
645
645
|
|
|
646
646
|
top: calc(var(--modal-vertical-padding) * -1);
|
|
647
647
|
}
|
|
648
|
-
.
|
|
648
|
+
.modal__fullscreen_1g3gj {
|
|
649
649
|
top: 0;
|
|
650
650
|
}
|
|
651
|
-
.
|
|
651
|
+
.modal__highlighted_1g3gj {
|
|
652
652
|
}
|
|
653
|
-
.
|
|
653
|
+
.modal__content_1g3gj {
|
|
654
654
|
}
|
|
655
|
-
.
|
|
655
|
+
.modal__title_1g3gj {
|
|
656
656
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1a5jb */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
/* scroll */
|
|
36
36
|
--modal-header-highlight-box-shadow: var(--shadow-s);
|
|
37
37
|
--modal-header-highlight-background: var(--color-light-bg-primary);
|
|
38
|
-
}.
|
|
38
|
+
}.modal__header_vp1kk {
|
|
39
39
|
width: 100%;
|
|
40
40
|
box-sizing: border-box;
|
|
41
41
|
display: flex;
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
justify-content: flex-end;
|
|
44
44
|
transition: box-shadow 0.2s ease, background 0.2s ease;
|
|
45
45
|
background: var(--modal-header-background);
|
|
46
|
-
}.
|
|
46
|
+
}.modal__highlighted_vp1kk {
|
|
47
47
|
background: var(--modal-header-highlight-background);
|
|
48
48
|
box-shadow: var(--modal-header-highlight-box-shadow);
|
|
49
|
-
}.
|
|
49
|
+
}.modal__sticky_vp1kk {
|
|
50
50
|
position: sticky;
|
|
51
|
-
}.
|
|
51
|
+
}.modal__content_vp1kk {
|
|
52
52
|
font-size: 24px;
|
|
53
53
|
line-height: 32px;
|
|
54
54
|
font-weight: 500;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
font-family: var(--font-family-styrene);
|
|
57
57
|
flex-grow: 1;
|
|
58
58
|
margin: var(--gap-xs) var(--gap-m) var(--gap-xs) 0;
|
|
59
|
-
}.
|
|
59
|
+
}.modal__title_vp1kk {
|
|
60
60
|
word-break: break-word;
|
|
61
61
|
}
|
|
62
62
|
:root {
|
|
@@ -177,13 +177,13 @@
|
|
|
177
177
|
--color-static-status-purple: #673ab7;
|
|
178
178
|
--color-static-status-red: #d91d0b;
|
|
179
179
|
--color-static-status-teal: #219187;
|
|
180
|
-
--color-static-status-blue-
|
|
181
|
-
--color-static-status-green-
|
|
182
|
-
--color-static-status-grey-
|
|
183
|
-
--color-static-status-orange-
|
|
184
|
-
--color-static-status-purple-
|
|
185
|
-
--color-static-status-red-
|
|
186
|
-
--color-static-status-teal-
|
|
180
|
+
--color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
|
|
181
|
+
--color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
|
|
182
|
+
--color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
|
|
183
|
+
--color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
|
|
184
|
+
--color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
|
|
185
|
+
--color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
|
|
186
|
+
--color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
|
|
187
187
|
}
|
|
188
188
|
:root {
|
|
189
189
|
--color-dark-bg-accent: #ef3124;
|
|
@@ -602,7 +602,7 @@
|
|
|
602
602
|
--modal-content-no-header-top-padding: var(--gap-2xl);
|
|
603
603
|
|
|
604
604
|
/* closer */
|
|
605
|
-
--modal-closer-icon: url('https://alfabank.
|
|
605
|
+
--modal-closer-icon: url('https://alfabank.gcdn.co/icons/glyph_cross_m.svg');
|
|
606
606
|
|
|
607
607
|
/* sticky */
|
|
608
608
|
--modal-footer-sticky-box-shadow: none;
|
|
@@ -614,7 +614,7 @@
|
|
|
614
614
|
--modal-footer-highlight-box-shadow: var(--shadow-s-up);
|
|
615
615
|
--modal-footer-highlight-background: var(--color-light-bg-primary);
|
|
616
616
|
}
|
|
617
|
-
.
|
|
617
|
+
.modal__header_dzsyt {
|
|
618
618
|
|
|
619
619
|
text-align: center;
|
|
620
620
|
flex-direction: row-reverse;
|
|
@@ -622,13 +622,13 @@
|
|
|
622
622
|
padding-right: var(--gap-4xl);
|
|
623
623
|
padding-left: 0;
|
|
624
624
|
}
|
|
625
|
-
.
|
|
625
|
+
.modal__sticky_dzsyt {
|
|
626
626
|
|
|
627
627
|
top: 0;
|
|
628
628
|
}
|
|
629
|
-
.
|
|
629
|
+
.modal__highlighted_dzsyt {
|
|
630
630
|
}
|
|
631
|
-
.
|
|
631
|
+
.modal__content_dzsyt {
|
|
632
632
|
}
|
|
633
|
-
.
|
|
633
|
+
.modal__title_dzsyt {
|
|
634
634
|
}
|
package/dist/esm/desktop.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 10fj5 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -30,29 +30,29 @@
|
|
|
30
30
|
|
|
31
31
|
/* scroll */
|
|
32
32
|
}
|
|
33
|
-
.
|
|
33
|
+
.modal__wrapper_1ffiq {
|
|
34
34
|
padding-top: var(--modal-vertical-padding);
|
|
35
35
|
padding-bottom: var(--modal-vertical-padding);
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
.modal__component_1ffiq {
|
|
38
38
|
width: 100%;
|
|
39
39
|
max-width: 100%;
|
|
40
40
|
border-radius: var(--modal-border-radius);
|
|
41
41
|
}
|
|
42
|
-
.
|
|
42
|
+
.modal__fullscreen_1ffiq {
|
|
43
43
|
padding-top: 0;
|
|
44
44
|
padding-bottom: 0
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.modal__fullscreen_1ffiq .modal__component_1ffiq {
|
|
47
47
|
flex: 1;
|
|
48
48
|
border-radius: 0;
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
.modal__s_1ffiq {
|
|
51
51
|
width: var(--modal-s-width);
|
|
52
52
|
}
|
|
53
|
-
.
|
|
53
|
+
.modal__m_1ffiq {
|
|
54
54
|
width: var(--modal-m-width);
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
.modal__l_1ffiq {
|
|
57
57
|
width: var(--modal-l-width);
|
|
58
58
|
}
|