@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
package/dist/esm/desktop.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-428cbd49.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components-base-modal/dist/esm';
|
|
@@ -13,4 +13,4 @@ import './components/content/Component.desktop.js';
|
|
|
13
13
|
import './components/footer/Component.js';
|
|
14
14
|
import './components/footer/Component.desktop.js';
|
|
15
15
|
export { ModalDesktop } from './Component.desktop.js';
|
|
16
|
-
import './transitions.module-
|
|
16
|
+
import './transitions.module-0af128f1.js';
|
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-428cbd49.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-
|
|
16
|
+
import './transitions.module-0af128f1.js';
|
|
17
17
|
import '@alfalab/hooks';
|
|
18
18
|
import './components/header/Component.mobile.js';
|
|
19
19
|
import './components/content/Component.mobile.js';
|
package/dist/esm/mobile.css
CHANGED
package/dist/esm/mobile.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-428cbd49.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-
|
|
11
|
+
import './transitions.module-0af128f1.js';
|
|
12
12
|
import '@alfalab/hooks';
|
|
13
13
|
import './components/header/Component.mobile.js';
|
|
14
14
|
import './components/content/Component.mobile.js';
|
package/dist/esm/responsive.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-428cbd49.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-
|
|
16
|
+
import './transitions.module-0af128f1.js';
|
|
17
17
|
import '@alfalab/hooks';
|
|
18
18
|
import './components/header/Component.mobile.js';
|
|
19
19
|
import './components/content/Component.mobile.js';
|
package/dist/esm/transitions.css
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
.
|
|
3
|
-
.
|
|
1
|
+
/* hash: 9s36r */
|
|
2
|
+
.modal__appear_1ki94,
|
|
3
|
+
.modal__enter_1ki94 {
|
|
4
4
|
opacity: 0;
|
|
5
5
|
transform: translateY(15px);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.
|
|
9
|
-
.
|
|
8
|
+
.modal__appearActive_1ki94,
|
|
9
|
+
.modal__enterActive_1ki94 {
|
|
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
|
-
.
|
|
15
|
+
.modal__exit_1ki94 {
|
|
16
16
|
opacity: 1;
|
|
17
17
|
transform: translateY(0);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.
|
|
21
|
-
.
|
|
20
|
+
.modal__exitActive_1ki94,
|
|
21
|
+
.modal__exitDone_1ki94 {
|
|
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_1ki94","enter":"modal__enter_1ki94","appearActive":"modal__appearActive_1ki94","enterActive":"modal__enterActive_1ki94","exit":"modal__exit_1ki94","exitActive":"modal__exitActive_1ki94","exitDone":"modal__exitDone_1ki94"};
|
|
2
|
+
require('./transitions.css')
|
|
3
|
+
|
|
4
|
+
export { transitions as t };
|
|
File without changes
|
|
File without changes
|
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-
|
|
5
|
+
require('./tslib.es6-6205675e.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-
|
|
20
|
+
require('./transitions.module-ac43ebc6.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
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-
|
|
5
|
+
require('./tslib.es6-6205675e.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-
|
|
15
|
+
require('./transitions.module-ac43ebc6.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-
|
|
14
|
+
import { t as transitions } from './transitions.module-0af128f1.js';
|
|
15
15
|
|
|
16
|
-
var styles = {"wrapper":"
|
|
16
|
+
var styles = {"wrapper":"modal__wrapper_1ffiq","component":"modal__component_1ffiq","fullscreen":"modal__fullscreen_1ffiq","s":"modal__s_1ffiq","m":"modal__m_1ffiq","l":"modal__l_1ffiq"};
|
|
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-
|
|
10
|
+
import { t as transitions } from './transitions.module-0af128f1.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":"
|
|
16
|
+
var styles = {"component":"modal__component_17xx7"};
|
|
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-
|
|
15
|
+
import './transitions.module-0af128f1.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":"
|
|
7
|
+
var styles = {"closer":"modal__closer_x8sea","left":"modal__left_x8sea","right":"modal__right_x8sea","fullscreen":"modal__fullscreen_x8sea"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const Closer = ({ className, fullscreen, align, ...restProps }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: wq7y8 */
|
|
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.
|
|
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
|
-
.
|
|
27
|
+
.modal__closer_x8sea {
|
|
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
|
-
.
|
|
36
|
+
.modal__closer_x8sea:hover {
|
|
37
37
|
opacity: 0.7;
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.modal__closer_x8sea:active {
|
|
40
40
|
opacity: 0.5;
|
|
41
41
|
}
|
|
42
|
-
.
|
|
43
|
-
.
|
|
42
|
+
.modal__left_x8sea,
|
|
43
|
+
.modal__right_x8sea {
|
|
44
44
|
position: sticky;
|
|
45
45
|
top: calc(var(--modal-vertical-padding) * -1);
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
.modal__right_x8sea {
|
|
48
48
|
margin-left: auto;
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
.modal__fullscreen_x8sea {
|
|
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":"
|
|
7
|
+
var styles = {"content":"modal__content_h3gg1 modal__content_1e4zd","flex":"modal__flex_h3gg1 modal__flex_1e4zd","s":"modal__s_h3gg1","m":"modal__m_h3gg1","l":"modal__l_h3gg1","fullscreen":"modal__fullscreen_h3gg1"};
|
|
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":"
|
|
7
|
+
var styles = {"content":"modal__content_1rddq modal__content_1e4zd","flex":"modal__flex_1rddq modal__flex_1e4zd"};
|
|
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:
|
|
1
|
+
/* hash: 10gnn */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
/* sticky */
|
|
35
35
|
|
|
36
36
|
/* scroll */
|
|
37
|
-
}.
|
|
37
|
+
}.modal__content_1e4zd {
|
|
38
38
|
box-sizing: border-box;
|
|
39
39
|
width: 100%
|
|
40
|
-
}.
|
|
40
|
+
}.modal__content_1e4zd:first-child {
|
|
41
41
|
padding-top: var(--modal-content-no-header-top-padding);
|
|
42
|
-
}.
|
|
42
|
+
}.modal__content_1e4zd:last-child {
|
|
43
43
|
padding-bottom: var(--modal-content-no-footer-bottom-padding);
|
|
44
|
-
}.
|
|
44
|
+
}.modal__flex_1e4zd {
|
|
45
45
|
flex: 1 1 auto;
|
|
46
46
|
}
|
|
47
47
|
:root {
|
|
@@ -162,13 +162,13 @@
|
|
|
162
162
|
--color-static-status-purple: #673ab7;
|
|
163
163
|
--color-static-status-red: #d91d0b;
|
|
164
164
|
--color-static-status-teal: #219187;
|
|
165
|
-
--color-static-status-blue-
|
|
166
|
-
--color-static-status-green-
|
|
167
|
-
--color-static-status-grey-
|
|
168
|
-
--color-static-status-orange-
|
|
169
|
-
--color-static-status-purple-
|
|
170
|
-
--color-static-status-red-
|
|
171
|
-
--color-static-status-teal-
|
|
165
|
+
--color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
|
|
166
|
+
--color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
|
|
167
|
+
--color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
|
|
168
|
+
--color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
|
|
169
|
+
--color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
|
|
170
|
+
--color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
|
|
171
|
+
--color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
|
|
172
172
|
}
|
|
173
173
|
:root {
|
|
174
174
|
--color-dark-bg-accent: #ef3124;
|
|
@@ -587,7 +587,7 @@
|
|
|
587
587
|
--modal-content-no-header-top-padding: var(--gap-2xl);
|
|
588
588
|
|
|
589
589
|
/* closer */
|
|
590
|
-
--modal-closer-icon: url('https://alfabank.
|
|
590
|
+
--modal-closer-icon: url('https://alfabank.gcdn.co/icons/glyph_cross_m.svg');
|
|
591
591
|
|
|
592
592
|
/* sticky */
|
|
593
593
|
--modal-footer-sticky-box-shadow: none;
|
|
@@ -599,20 +599,20 @@
|
|
|
599
599
|
--modal-footer-highlight-box-shadow: var(--shadow-s-up);
|
|
600
600
|
--modal-footer-highlight-background: var(--color-light-bg-primary);
|
|
601
601
|
}
|
|
602
|
-
.
|
|
602
|
+
.modal__content_h3gg1 {
|
|
603
603
|
}
|
|
604
|
-
.
|
|
604
|
+
.modal__flex_h3gg1 {
|
|
605
605
|
}
|
|
606
|
-
.
|
|
606
|
+
.modal__s_h3gg1 {
|
|
607
607
|
padding: var(--modal-s-content-paddings);
|
|
608
608
|
}
|
|
609
|
-
.
|
|
609
|
+
.modal__m_h3gg1 {
|
|
610
610
|
padding: var(--modal-m-content-paddings);
|
|
611
611
|
}
|
|
612
|
-
.
|
|
613
|
-
.
|
|
612
|
+
.modal__l_h3gg1,
|
|
613
|
+
.modal__fullscreen_h3gg1 {
|
|
614
614
|
padding: var(--modal-l-content-paddings)
|
|
615
615
|
}
|
|
616
|
-
.
|
|
616
|
+
.modal__l_h3gg1:last-child, .modal__fullscreen_h3gg1:last-child {
|
|
617
617
|
padding-bottom: var(--modal-l-content-no-footer-bottom-padding);
|
|
618
618
|
}
|
|
@@ -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
|
}
|
|
@@ -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":"
|
|
7
|
+
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"};
|
|
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":"
|
|
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
|
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":"
|
|
7
|
+
var styles = {"footer":"modal__footer_1mm0f modal__footer_3nv7q","highlighted":"modal__highlighted_1mm0f modal__highlighted_3nv7q","sticky":"modal__sticky_1mm0f modal__sticky_3nv7q"};
|
|
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:
|
|
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
|
}
|