@alfalab/core-components-modal 6.0.3 → 6.0.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.
- package/{Component-f7ec5254.d.ts → Component-566064e7.d.ts} +0 -0
- package/{Component-f7ec5254.js → Component-566064e7.js} +1 -1
- package/Component.desktop.js +4 -4
- package/Component.mobile.js +4 -4
- package/Component.responsive.d.ts +1 -1
- package/Component.responsive.js +3 -3
- package/components/closer/Component.js +2 -2
- package/components/closer/index.css +4 -4
- package/components/content/Component.desktop.js +2 -2
- package/components/content/Component.js +1 -1
- package/components/content/Component.mobile.js +2 -2
- package/components/content/desktop.css +8 -8
- package/components/content/index.css +3 -3
- package/components/content/mobile.css +3 -3
- package/components/footer/Component.desktop.js +2 -2
- package/components/footer/Component.js +2 -2
- package/components/footer/Component.mobile.js +2 -2
- package/components/footer/desktop.css +9 -9
- package/components/footer/index.css +4 -4
- package/components/footer/layout.css +25 -25
- package/components/footer/mobile.css +3 -3
- package/components/header/Component.desktop.d.ts +1 -1
- package/components/header/Component.desktop.js +3 -3
- package/components/header/Component.js +1 -1
- package/components/header/Component.mobile.d.ts +1 -1
- package/components/header/Component.mobile.js +3 -3
- package/components/header/desktop.css +17 -17
- package/components/header/index.css +15 -15
- package/components/header/mobile.css +3 -3
- package/desktop.css +9 -9
- package/desktop.js +3 -3
- package/esm/{Component-1b9a558f.d.ts → Component-82b3af34.d.ts} +0 -0
- package/esm/{Component-1b9a558f.js → Component-82b3af34.js} +1 -1
- package/esm/Component.desktop.js +4 -4
- package/esm/Component.mobile.js +4 -4
- package/esm/Component.responsive.js +3 -3
- package/esm/components/closer/Component.js +2 -2
- package/esm/components/closer/index.css +4 -4
- package/esm/components/content/Component.desktop.js +2 -2
- package/esm/components/content/Component.js +1 -1
- package/esm/components/content/Component.mobile.js +2 -2
- package/esm/components/content/desktop.css +8 -8
- package/esm/components/content/index.css +3 -3
- package/esm/components/content/mobile.css +3 -3
- package/esm/components/footer/Component.desktop.js +2 -2
- package/esm/components/footer/Component.js +2 -2
- package/esm/components/footer/Component.mobile.js +2 -2
- package/esm/components/footer/desktop.css +9 -9
- package/esm/components/footer/index.css +4 -4
- package/esm/components/footer/layout.css +25 -25
- package/esm/components/footer/mobile.css +3 -3
- package/esm/components/header/Component.desktop.d.ts +1 -1
- package/esm/components/header/Component.desktop.js +3 -3
- package/esm/components/header/Component.js +1 -1
- package/esm/components/header/Component.mobile.d.ts +1 -1
- package/esm/components/header/Component.mobile.js +3 -3
- package/esm/components/header/desktop.css +17 -17
- package/esm/components/header/index.css +15 -15
- package/esm/components/header/mobile.css +3 -3
- package/esm/desktop.css +9 -9
- package/esm/desktop.js +3 -3
- package/esm/index.js +3 -3
- package/esm/mobile.css +2 -2
- package/esm/mobile.js +3 -3
- package/esm/responsive.js +3 -3
- package/esm/transitions.css +8 -8
- package/esm/transitions.module-b985b84f.js +4 -0
- package/esm/{tslib.es6-bf67a697.d.ts → tslib.es6-9f786756.d.ts} +0 -0
- package/esm/{tslib.es6-bf67a697.js → tslib.es6-9f786756.js} +0 -0
- package/index.js +3 -3
- package/mobile.css +2 -2
- package/mobile.js +3 -3
- package/modern/{Component-c74dbd5a.d.ts → Component-e5d83f73.d.ts} +0 -0
- package/modern/{Component-c74dbd5a.js → Component-e5d83f73.js} +1 -1
- package/modern/Component.desktop.js +3 -3
- package/modern/Component.mobile.js +3 -3
- package/modern/Component.responsive.js +2 -2
- package/modern/components/closer/Component.js +1 -1
- package/modern/components/closer/index.css +4 -4
- package/modern/components/content/Component.desktop.js +1 -1
- package/modern/components/content/Component.js +1 -1
- package/modern/components/content/Component.mobile.js +1 -1
- package/modern/components/content/desktop.css +8 -8
- package/modern/components/content/index.css +3 -3
- package/modern/components/content/mobile.css +3 -3
- package/modern/components/footer/Component.desktop.js +1 -1
- package/modern/components/footer/Component.js +2 -2
- package/modern/components/footer/Component.mobile.js +1 -1
- package/modern/components/footer/desktop.css +9 -9
- package/modern/components/footer/index.css +4 -4
- package/modern/components/footer/layout.css +25 -25
- package/modern/components/footer/mobile.css +3 -3
- package/modern/components/header/Component.desktop.d.ts +1 -1
- package/modern/components/header/Component.desktop.js +2 -2
- package/modern/components/header/Component.js +1 -1
- package/modern/components/header/Component.mobile.d.ts +1 -1
- package/modern/components/header/Component.mobile.js +2 -2
- package/modern/components/header/desktop.css +17 -17
- package/modern/components/header/index.css +15 -15
- package/modern/components/header/mobile.css +3 -3
- package/modern/desktop.css +9 -9
- package/modern/desktop.js +2 -2
- package/modern/index.js +2 -2
- package/modern/mobile.css +2 -2
- package/modern/mobile.js +2 -2
- package/modern/responsive.js +2 -2
- package/modern/transitions.css +8 -8
- package/modern/transitions.module-b985b84f.js +4 -0
- package/package.json +4 -4
- package/responsive.js +3 -3
- package/transitions.css +8 -8
- package/transitions.module-9690f4ef.js +6 -0
- package/{tslib.es6-0407ec41.d.ts → tslib.es6-8733813d.d.ts} +0 -0
- package/{tslib.es6-0407ec41.js → tslib.es6-8733813d.js} +0 -0
- package/esm/transitions.module-1b9153ed.js +0 -4
- package/modern/transitions.module-1b9153ed.js +0 -4
- package/transitions.module-b0e31163.js +0 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: psyhr */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -43,45 +43,45 @@
|
|
|
43
43
|
|
|
44
44
|
/* mobile */
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.modal__header_14efw {
|
|
47
47
|
border-top-left-radius: var(--modal-border-radius);
|
|
48
48
|
border-top-right-radius: var(--modal-border-radius);
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
.modal__content_14efw {
|
|
51
51
|
font-weight: var(--modal-header-desktop-font-weight);
|
|
52
52
|
font-family: var(--modal-header-desktop-font-family);
|
|
53
53
|
}
|
|
54
|
-
.
|
|
55
|
-
.
|
|
54
|
+
.modal__s_14efw .modal__content_14efw,
|
|
55
|
+
.modal__m_14efw .modal__content_14efw {
|
|
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
|
-
.
|
|
61
|
-
.
|
|
62
|
-
.
|
|
60
|
+
.modal__l_14efw .modal__content_14efw,
|
|
61
|
+
.modal__xl_14efw .modal__content_14efw,
|
|
62
|
+
.modal__fullscreen_14efw .modal__content_14efw {
|
|
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
|
-
.
|
|
68
|
-
.
|
|
67
|
+
.modal__s_14efw,
|
|
68
|
+
.modal__m_14efw {
|
|
69
69
|
padding: var(--modal-s-header-paddings)
|
|
70
70
|
}
|
|
71
|
-
.
|
|
71
|
+
.modal__s_14efw:not(.modal__hasContent_14efw), .modal__m_14efw:not(.modal__hasContent_14efw) {
|
|
72
72
|
padding-bottom: 0;
|
|
73
73
|
}
|
|
74
|
-
.
|
|
75
|
-
.
|
|
76
|
-
.
|
|
74
|
+
.modal__l_14efw,
|
|
75
|
+
.modal__xl_14efw,
|
|
76
|
+
.modal__fullscreen_14efw {
|
|
77
77
|
padding: var(--gap-xl) var(--gap-xl) var(--gap-m)
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
.modal__l_14efw:not(.modal__hasContent_14efw), .modal__xl_14efw:not(.modal__hasContent_14efw), .modal__fullscreen_14efw:not(.modal__hasContent_14efw) {
|
|
80
80
|
padding-bottom: var(--gap-m);
|
|
81
81
|
}
|
|
82
|
-
.
|
|
82
|
+
.modal__sticky_14efw {
|
|
83
83
|
top: calc(var(--modal-vertical-padding) * -1)
|
|
84
84
|
}
|
|
85
|
-
.
|
|
85
|
+
.modal__sticky_14efw.modal__fullscreen_14efw {
|
|
86
86
|
top: 0;
|
|
87
87
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1hkh7 */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-primary: #fff;
|
|
4
4
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
/* mobile */
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.modal__header_1g0si {
|
|
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
|
-
.
|
|
36
|
+
.modal__header_1g0si:not(.modal__hasContent_1g0si) {
|
|
37
37
|
pointer-events: none;
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.modal__highlighted_1g0si {
|
|
40
40
|
background: var(--modal-header-highlight-background);
|
|
41
41
|
box-shadow: var(--modal-header-highlight-box-shadow);
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.modal__sticky_1g0si {
|
|
44
44
|
position: sticky
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.modal__sticky_1g0si.modal__hasContent_1g0si {
|
|
47
47
|
background: var(--modal-header-background);
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.modal__content_1g0si {
|
|
50
50
|
flex-grow: 1;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.modal__title_1g0si {
|
|
53
53
|
word-break: break-word;
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.modal__addon_1g0si {
|
|
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
|
-
.
|
|
63
|
+
.modal__closer_1g0si {
|
|
64
64
|
margin-left: auto;
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
.modal__left_1g0si {
|
|
67
67
|
justify-content: flex-start;
|
|
68
68
|
text-align: left;
|
|
69
69
|
}
|
|
70
|
-
.
|
|
70
|
+
.modal__center_1g0si {
|
|
71
71
|
justify-content: center;
|
|
72
72
|
text-align: center;
|
|
73
73
|
}
|
|
74
|
-
.
|
|
74
|
+
.modal__right_1g0si {
|
|
75
75
|
justify-content: flex-end;
|
|
76
76
|
text-align: right;
|
|
77
77
|
}
|
|
78
|
-
.
|
|
78
|
+
.modal__trim_1g0si {
|
|
79
79
|
overflow: hidden
|
|
80
80
|
}
|
|
81
|
-
.
|
|
81
|
+
.modal__trim_1g0si .modal__title_1g0si {
|
|
82
82
|
overflow: hidden;
|
|
83
83
|
white-space: nowrap;
|
|
84
84
|
text-overflow: ellipsis;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: holf0 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
--modal-header-mobile-font-family: var(--font-family-system);
|
|
34
34
|
--modal-header-mobile-font-weight: bold;
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
.modal__sticky_x1qmk {
|
|
37
37
|
top: 0;
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.modal__content_x1qmk {
|
|
40
40
|
font-size: var(--modal-header-mobile-font-size);
|
|
41
41
|
line-height: var(--modal-header-mobile-line-height);
|
|
42
42
|
font-family: var(--modal-header-mobile-font-family);
|
package/desktop.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: shda0 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -31,32 +31,32 @@
|
|
|
31
31
|
|
|
32
32
|
/* mobile */
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.modal__wrapper_xdt71 {
|
|
35
35
|
padding-top: var(--modal-vertical-padding);
|
|
36
36
|
padding-bottom: var(--modal-vertical-padding);
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
.modal__component_xdt71 {
|
|
39
39
|
width: 100%;
|
|
40
40
|
max-width: 100%;
|
|
41
41
|
border-radius: var(--modal-border-radius);
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.modal__fullscreen_xdt71 {
|
|
44
44
|
padding-top: 0;
|
|
45
45
|
padding-bottom: 0
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
.modal__fullscreen_xdt71 .modal__component_xdt71 {
|
|
48
48
|
flex: 1;
|
|
49
49
|
border-radius: 0;
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
.modal__s_xdt71 {
|
|
52
52
|
width: var(--modal-s-width);
|
|
53
53
|
}
|
|
54
|
-
.
|
|
54
|
+
.modal__m_xdt71 {
|
|
55
55
|
width: var(--modal-m-width);
|
|
56
56
|
}
|
|
57
|
-
.
|
|
57
|
+
.modal__l_xdt71 {
|
|
58
58
|
width: var(--modal-l-width);
|
|
59
59
|
}
|
|
60
|
-
.
|
|
60
|
+
.modal__xl_xdt71 {
|
|
61
61
|
width: var(--modal-xl-width);
|
|
62
62
|
}
|
package/desktop.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./tslib.es6-
|
|
5
|
+
require('./tslib.es6-8733813d.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/core-components-base-modal');
|
|
9
9
|
require('react-merge-refs');
|
|
10
10
|
require('./Context.js');
|
|
11
|
-
require('./Component-
|
|
11
|
+
require('./Component-566064e7.js');
|
|
12
12
|
require('@alfalab/core-components-icon-button');
|
|
13
13
|
require('@alfalab/icons-glyph/CrossHeavyMIcon');
|
|
14
14
|
require('./components/closer/Component.js');
|
|
@@ -18,7 +18,7 @@ require('./components/content/Component.desktop.js');
|
|
|
18
18
|
require('./components/footer/Component.js');
|
|
19
19
|
require('./components/footer/Component.desktop.js');
|
|
20
20
|
var Component_desktop = require('./Component.desktop.js');
|
|
21
|
-
require('./transitions.module-
|
|
21
|
+
require('./transitions.module-9690f4ef.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
File without changes
|
|
@@ -7,7 +7,7 @@ var getDataTestId = function (dataTestId, element) {
|
|
|
7
7
|
return dataTestId ? "" + dataTestId + elementPart : undefined;
|
|
8
8
|
};
|
|
9
9
|
|
|
10
|
-
var styles = {"header":"
|
|
10
|
+
var styles = {"header":"modal__header_1g0si","hasContent":"modal__hasContent_1g0si","highlighted":"modal__highlighted_1g0si","sticky":"modal__sticky_1g0si","content":"modal__content_1g0si","title":"modal__title_1g0si","addon":"modal__addon_1g0si","closer":"modal__closer_1g0si","left":"modal__left_1g0si","center":"modal__center_1g0si","right":"modal__right_1g0si","trim":"modal__trim_1g0si"};
|
|
11
11
|
require('./components/header/index.css')
|
|
12
12
|
|
|
13
13
|
var Header = function (_a) {
|
package/esm/Component.desktop.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-9f786756.js';
|
|
2
2
|
import React, { forwardRef, useRef, useCallback, isValidElement, cloneElement } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { BaseModal } from '@alfalab/core-components-base-modal/esm';
|
|
5
5
|
import mergeRefs from 'react-merge-refs';
|
|
6
6
|
import './Context.js';
|
|
7
|
-
import './Component-
|
|
7
|
+
import './Component-82b3af34.js';
|
|
8
8
|
import '@alfalab/core-components-icon-button/esm';
|
|
9
9
|
import '@alfalab/icons-glyph/CrossHeavyMIcon';
|
|
10
10
|
import { Closer } from './components/closer/Component.js';
|
|
@@ -13,9 +13,9 @@ import './components/content/Component.js';
|
|
|
13
13
|
import { ContentDesktop } from './components/content/Component.desktop.js';
|
|
14
14
|
import './components/footer/Component.js';
|
|
15
15
|
import { FooterDesktop } from './components/footer/Component.desktop.js';
|
|
16
|
-
import { t as transitions } from './transitions.module-
|
|
16
|
+
import { t as transitions } from './transitions.module-b985b84f.js';
|
|
17
17
|
|
|
18
|
-
var styles = {"wrapper":"
|
|
18
|
+
var styles = {"wrapper":"modal__wrapper_xdt71","component":"modal__component_xdt71","fullscreen":"modal__fullscreen_xdt71","s":"modal__s_xdt71","m":"modal__m_xdt71","l":"modal__l_xdt71","xl":"modal__xl_xdt71"};
|
|
19
19
|
require('./desktop.css')
|
|
20
20
|
|
|
21
21
|
var ModalDesktopComponent = forwardRef(function (_a, ref) {
|
package/esm/Component.mobile.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-9f786756.js';
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { BaseModal } from '@alfalab/core-components-base-modal/esm';
|
|
5
5
|
import './Context.js';
|
|
6
|
-
import './Component-
|
|
6
|
+
import './Component-82b3af34.js';
|
|
7
7
|
import '@alfalab/core-components-icon-button/esm';
|
|
8
8
|
import '@alfalab/icons-glyph/CrossHeavyMIcon';
|
|
9
9
|
import { Closer } from './components/closer/Component.js';
|
|
10
10
|
import './components/content/Component.js';
|
|
11
11
|
import './components/footer/Component.js';
|
|
12
|
-
import { t as transitions } from './transitions.module-
|
|
12
|
+
import { t as transitions } from './transitions.module-b985b84f.js';
|
|
13
13
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
14
14
|
import { HeaderMobile } from './components/header/Component.mobile.js';
|
|
15
15
|
import { ContentMobile } from './components/content/Component.mobile.js';
|
|
16
16
|
import { FooterMobile } from './components/footer/Component.mobile.js';
|
|
17
17
|
|
|
18
|
-
var styles = {"component":"
|
|
18
|
+
var styles = {"component":"modal__component_1pmal"};
|
|
19
19
|
require('./mobile.css')
|
|
20
20
|
|
|
21
21
|
var ModalMobileComponent = forwardRef(function (_a, ref) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-9f786756.js';
|
|
2
2
|
import React, { forwardRef, useMemo, useContext } from 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components-base-modal/esm';
|
|
5
5
|
import 'react-merge-refs';
|
|
6
6
|
import './Context.js';
|
|
7
|
-
import './Component-
|
|
7
|
+
import './Component-82b3af34.js';
|
|
8
8
|
import '@alfalab/core-components-icon-button/esm';
|
|
9
9
|
import '@alfalab/icons-glyph/CrossHeavyMIcon';
|
|
10
10
|
import { Closer } from './components/closer/Component.js';
|
|
@@ -14,7 +14,7 @@ import './components/content/Component.desktop.js';
|
|
|
14
14
|
import './components/footer/Component.js';
|
|
15
15
|
import './components/footer/Component.desktop.js';
|
|
16
16
|
import { ModalDesktop } from './Component.desktop.js';
|
|
17
|
-
import './transitions.module-
|
|
17
|
+
import './transitions.module-b985b84f.js';
|
|
18
18
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
19
19
|
import './components/header/Component.mobile.js';
|
|
20
20
|
import './components/content/Component.mobile.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-9f786756.js';
|
|
2
2
|
import React, { useContext, useCallback } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import '@alfalab/core-components-base-modal/esm';
|
|
@@ -6,7 +6,7 @@ import { ModalContext } from '../../Context.js';
|
|
|
6
6
|
import { IconButton } from '@alfalab/core-components-icon-button/esm';
|
|
7
7
|
import { CrossHeavyMIcon } from '@alfalab/icons-glyph/CrossHeavyMIcon';
|
|
8
8
|
|
|
9
|
-
var styles = {"closer":"
|
|
9
|
+
var styles = {"closer":"modal__closer_1b7uf","button":"modal__button_1b7uf","sticky":"modal__sticky_1b7uf"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: os22j */
|
|
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
|
-
.
|
|
32
|
+
.modal__closer_1b7uf {
|
|
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
|
-
.
|
|
41
|
+
.modal__button_1b7uf {
|
|
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
|
-
.
|
|
47
|
+
.modal__sticky_1b7uf {
|
|
48
48
|
position: sticky;
|
|
49
49
|
top: calc(var(--modal-vertical-padding) * -1);
|
|
50
50
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-9f786756.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import '@alfalab/core-components-base-modal/esm';
|
|
5
5
|
import '../../Context.js';
|
|
6
6
|
import { Content } from './Component.js';
|
|
7
7
|
|
|
8
|
-
var styles = {"s":"
|
|
8
|
+
var styles = {"s":"modal__s_2y3rb","m":"modal__m_2y3rb","l":"modal__l_2y3rb","xl":"modal__xl_2y3rb","fullscreen":"modal__fullscreen_2y3rb"};
|
|
9
9
|
require('./desktop.css')
|
|
10
10
|
|
|
11
11
|
var ContentDesktop = function (_a) {
|
|
@@ -3,7 +3,7 @@ import cn from 'classnames';
|
|
|
3
3
|
import '@alfalab/core-components-base-modal/esm';
|
|
4
4
|
import { ModalContext } from '../../Context.js';
|
|
5
5
|
|
|
6
|
-
var styles = {"content":"
|
|
6
|
+
var styles = {"content":"modal__content_3yv4f","flex":"modal__flex_3yv4f"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
var Content = function (_a) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-9f786756.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import '@alfalab/core-components-base-modal/esm';
|
|
5
5
|
import '../../Context.js';
|
|
6
6
|
import { Content } from './Component.js';
|
|
7
7
|
|
|
8
|
-
var styles = {"content":"
|
|
8
|
+
var styles = {"content":"modal__content_1mk96"};
|
|
9
9
|
require('./mobile.css')
|
|
10
10
|
|
|
11
11
|
var ContentMobile = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: mulwm */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -24,18 +24,18 @@
|
|
|
24
24
|
|
|
25
25
|
/* mobile */
|
|
26
26
|
}
|
|
27
|
-
.
|
|
28
|
-
.
|
|
27
|
+
.modal__s_2y3rb,
|
|
28
|
+
.modal__m_2y3rb {
|
|
29
29
|
padding: var(--modal-s-content-paddings)
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.modal__s_2y3rb:last-child, .modal__m_2y3rb:last-child {
|
|
32
32
|
padding-bottom: var(--modal-s-content-only-bottom-padding);
|
|
33
33
|
}
|
|
34
|
-
.
|
|
35
|
-
.
|
|
36
|
-
.
|
|
34
|
+
.modal__l_2y3rb,
|
|
35
|
+
.modal__xl_2y3rb,
|
|
36
|
+
.modal__fullscreen_2y3rb {
|
|
37
37
|
padding: 0 var(--gap-6xl)
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.modal__l_2y3rb:last-child, .modal__xl_2y3rb:last-child, .modal__fullscreen_2y3rb:last-child {
|
|
40
40
|
padding-bottom: var(--gap-6xl);
|
|
41
41
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: g3jzl */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
|
|
20
20
|
/* mobile */
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
.modal__content_3yv4f {
|
|
23
23
|
box-sizing: border-box;
|
|
24
24
|
width: 100%;
|
|
25
25
|
}
|
|
26
|
-
.
|
|
26
|
+
.modal__flex_3yv4f {
|
|
27
27
|
flex: 1 1 auto;
|
|
28
28
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: fl9v1 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
|
|
23
23
|
/* mobile */
|
|
24
24
|
}
|
|
25
|
-
.
|
|
25
|
+
.modal__content_1mk96 {
|
|
26
26
|
padding: 0 var(--gap-m)
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.modal__content_1mk96:last-child {
|
|
29
29
|
padding-bottom: var(--gap-m);
|
|
30
30
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-9f786756.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import '@alfalab/core-components-base-modal/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_fa4di","sticky":"modal__sticky_fa4di","fullscreen":"modal__fullscreen_fa4di","s":"modal__s_fa4di","m":"modal__m_fa4di","l":"modal__l_fa4di","xl":"modal__xl_fa4di"};
|
|
9
9
|
require('./desktop.css')
|
|
10
10
|
|
|
11
11
|
var FooterDesktop = function (_a) {
|
|
@@ -3,10 +3,10 @@ import cn from 'classnames';
|
|
|
3
3
|
import '@alfalab/core-components-base-modal/esm';
|
|
4
4
|
import { ModalContext } from '../../Context.js';
|
|
5
5
|
|
|
6
|
-
var styles = {"footer":"
|
|
6
|
+
var styles = {"footer":"modal__footer_bef8i","sticky":"modal__sticky_bef8i","highlighted":"modal__highlighted_bef8i"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
|
-
var layoutStyles = {"column":"
|
|
9
|
+
var layoutStyles = {"column":"modal__column_1be4o","gap-16":"modal__gap-16_1be4o","gap-24":"modal__gap-24_1be4o","gap-32":"modal__gap-32_1be4o","start":"modal__start_1be4o","center":"modal__center_1be4o","space-between":"modal__space-between_1be4o"};
|
|
10
10
|
require('./layout.css')
|
|
11
11
|
|
|
12
12
|
var Footer = function (_a) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-9f786756.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import '@alfalab/core-components-base-modal/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_j80yz","sticky":"modal__sticky_j80yz"};
|
|
9
9
|
require('./mobile.css')
|
|
10
10
|
|
|
11
11
|
var FooterMobile = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 9orm7 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -31,22 +31,22 @@
|
|
|
31
31
|
|
|
32
32
|
/* mobile */
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.modal__footer_fa4di {
|
|
35
35
|
border-bottom-left-radius: var(--modal-border-radius);
|
|
36
36
|
border-bottom-right-radius: var(--modal-border-radius);
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
.modal__sticky_fa4di {
|
|
39
39
|
bottom: calc(var(--modal-vertical-padding) * -1)
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
.modal__sticky_fa4di.modal__fullscreen_fa4di {
|
|
42
42
|
bottom: 0;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
45
|
-
.
|
|
44
|
+
.modal__s_fa4di,
|
|
45
|
+
.modal__m_fa4di {
|
|
46
46
|
padding: var(--modal-s-footer-paddings);
|
|
47
47
|
}
|
|
48
|
-
.
|
|
49
|
-
.
|
|
50
|
-
.
|
|
48
|
+
.modal__l_fa4di,
|
|
49
|
+
.modal__xl_fa4di,
|
|
50
|
+
.modal__fullscreen_fa4di {
|
|
51
51
|
padding: var(--gap-2xl) var(--gap-6xl) var(--gap-6xl);
|
|
52
52
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ii6td */
|
|
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
|
-
.
|
|
29
|
+
.modal__footer_bef8i {
|
|
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
|
-
.
|
|
34
|
+
.modal__sticky_bef8i {
|
|
35
35
|
background: var(--modal-footer-background);
|
|
36
36
|
position: sticky;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
.modal__highlighted_bef8i {
|
|
39
39
|
background: var(--modal-footer-highlight-background);
|
|
40
40
|
box-shadow: var(--modal-footer-highlight-box-shadow);
|
|
41
41
|
}
|