@alfalab/core-components-modal 5.1.2 → 5.2.0
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 +38 -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 +4 -4
- package/dist/components/content/Component.desktop.js +2 -2
- package/dist/components/content/Component.js +1 -1
- package/dist/components/content/Component.mobile.js +2 -2
- package/dist/components/content/desktop.css +8 -8
- package/dist/components/content/index.css +3 -3
- package/dist/components/content/mobile.css +3 -3
- package/dist/components/footer/Component.desktop.js +2 -2
- package/dist/components/footer/Component.js +2 -2
- package/dist/components/footer/Component.mobile.js +2 -2
- package/dist/components/footer/desktop.css +9 -9
- package/dist/components/footer/index.css +4 -4
- package/dist/components/footer/layout.css +25 -25
- package/dist/components/footer/mobile.css +3 -3
- 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 +17 -17
- package/dist/components/header/index.css +15 -15
- package/dist/components/header/mobile.css +3 -3
- package/dist/desktop.css +9 -9
- 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 +4 -4
- package/dist/esm/components/content/Component.desktop.js +2 -2
- package/dist/esm/components/content/Component.js +1 -1
- package/dist/esm/components/content/Component.mobile.js +2 -2
- package/dist/esm/components/content/desktop.css +8 -8
- package/dist/esm/components/content/index.css +3 -3
- package/dist/esm/components/content/mobile.css +3 -3
- package/dist/esm/components/footer/Component.desktop.js +2 -2
- package/dist/esm/components/footer/Component.js +2 -2
- package/dist/esm/components/footer/Component.mobile.js +2 -2
- package/dist/esm/components/footer/desktop.css +9 -9
- package/dist/esm/components/footer/index.css +4 -4
- package/dist/esm/components/footer/layout.css +25 -25
- package/dist/esm/components/footer/mobile.css +3 -3
- 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 +17 -17
- package/dist/esm/components/header/index.css +15 -15
- package/dist/esm/components/header/mobile.css +3 -3
- package/dist/esm/desktop.css +9 -9
- 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-4ba9306a.js +4 -0
- package/dist/esm/{tslib.es6-77c642b5.d.ts → tslib.es6-829c5c15.d.ts} +0 -0
- package/dist/esm/{tslib.es6-77c642b5.js → tslib.es6-829c5c15.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 +4 -4
- package/dist/modern/components/content/Component.desktop.js +1 -1
- package/dist/modern/components/content/Component.js +1 -1
- package/dist/modern/components/content/Component.mobile.js +1 -1
- package/dist/modern/components/content/desktop.css +8 -8
- package/dist/modern/components/content/index.css +3 -3
- package/dist/modern/components/content/mobile.css +3 -3
- package/dist/modern/components/footer/Component.desktop.js +1 -1
- package/dist/modern/components/footer/Component.js +2 -2
- package/dist/modern/components/footer/Component.mobile.js +1 -1
- package/dist/modern/components/footer/desktop.css +9 -9
- package/dist/modern/components/footer/index.css +4 -4
- package/dist/modern/components/footer/layout.css +25 -25
- package/dist/modern/components/footer/mobile.css +3 -3
- package/dist/modern/components/header/Component.desktop.js +1 -1
- package/dist/modern/components/header/Component.js +1 -1
- package/dist/modern/components/header/Component.mobile.js +1 -1
- package/dist/modern/components/header/desktop.css +17 -17
- package/dist/modern/components/header/index.css +15 -15
- package/dist/modern/components/header/mobile.css +3 -3
- package/dist/modern/desktop.css +9 -9
- 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-4ba9306a.js +4 -0
- package/dist/responsive.js +2 -2
- package/dist/transitions.css +8 -8
- package/dist/transitions.module-53bd5185.js +6 -0
- package/dist/{tslib.es6-776208bd.d.ts → tslib.es6-8104c262.d.ts} +0 -0
- package/dist/{tslib.es6-776208bd.js → tslib.es6-8104c262.js} +0 -0
- package/package.json +8 -8
- package/dist/esm/transitions.module-bde35ddf.js +0 -4
- package/dist/modern/transitions.module-bde35ddf.js +0 -4
- package/dist/transitions.module-5dcba89f.js +0 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: i6v6n */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -43,45 +43,45 @@
|
|
|
43
43
|
|
|
44
44
|
/* mobile */
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.modal__header_1xbg4 {
|
|
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_1xbg4 {
|
|
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_1xbg4 .modal__content_1xbg4,
|
|
55
|
+
.modal__m_1xbg4 .modal__content_1xbg4 {
|
|
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_1xbg4 .modal__content_1xbg4,
|
|
61
|
+
.modal__xl_1xbg4 .modal__content_1xbg4,
|
|
62
|
+
.modal__fullscreen_1xbg4 .modal__content_1xbg4 {
|
|
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_1xbg4,
|
|
68
|
+
.modal__m_1xbg4 {
|
|
69
69
|
padding: var(--modal-s-header-paddings)
|
|
70
70
|
}
|
|
71
|
-
.
|
|
71
|
+
.modal__s_1xbg4:not(.modal__hasContent_1xbg4), .modal__m_1xbg4:not(.modal__hasContent_1xbg4) {
|
|
72
72
|
padding-bottom: 0;
|
|
73
73
|
}
|
|
74
|
-
.
|
|
75
|
-
.
|
|
76
|
-
.
|
|
74
|
+
.modal__l_1xbg4,
|
|
75
|
+
.modal__xl_1xbg4,
|
|
76
|
+
.modal__fullscreen_1xbg4 {
|
|
77
77
|
padding: var(--gap-xl) var(--gap-xl) var(--gap-m)
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
.modal__l_1xbg4:not(.modal__hasContent_1xbg4), .modal__xl_1xbg4:not(.modal__hasContent_1xbg4), .modal__fullscreen_1xbg4:not(.modal__hasContent_1xbg4) {
|
|
80
80
|
padding-bottom: var(--gap-m);
|
|
81
81
|
}
|
|
82
|
-
.
|
|
82
|
+
.modal__sticky_1xbg4 {
|
|
83
83
|
top: calc(var(--modal-vertical-padding) * -1)
|
|
84
84
|
}
|
|
85
|
-
.
|
|
85
|
+
.modal__sticky_1xbg4.modal__fullscreen_1xbg4 {
|
|
86
86
|
top: 0;
|
|
87
87
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 10eq5 */
|
|
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_1lw2i {
|
|
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_1lw2i:not(.modal__hasContent_1lw2i) {
|
|
37
37
|
pointer-events: none;
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.modal__highlighted_1lw2i {
|
|
40
40
|
background: var(--modal-header-highlight-background);
|
|
41
41
|
box-shadow: var(--modal-header-highlight-box-shadow);
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.modal__sticky_1lw2i {
|
|
44
44
|
position: sticky
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.modal__sticky_1lw2i.modal__hasContent_1lw2i {
|
|
47
47
|
background: var(--modal-header-background);
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.modal__content_1lw2i {
|
|
50
50
|
flex-grow: 1;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.modal__title_1lw2i {
|
|
53
53
|
word-break: break-word;
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.modal__addon_1lw2i {
|
|
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_1lw2i {
|
|
64
64
|
margin-left: auto;
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
.modal__left_1lw2i {
|
|
67
67
|
justify-content: flex-start;
|
|
68
68
|
text-align: left;
|
|
69
69
|
}
|
|
70
|
-
.
|
|
70
|
+
.modal__center_1lw2i {
|
|
71
71
|
justify-content: center;
|
|
72
72
|
text-align: center;
|
|
73
73
|
}
|
|
74
|
-
.
|
|
74
|
+
.modal__right_1lw2i {
|
|
75
75
|
justify-content: flex-end;
|
|
76
76
|
text-align: right;
|
|
77
77
|
}
|
|
78
|
-
.
|
|
78
|
+
.modal__trim_1lw2i {
|
|
79
79
|
overflow: hidden
|
|
80
80
|
}
|
|
81
|
-
.
|
|
81
|
+
.modal__trim_1lw2i .modal__title_1lw2i {
|
|
82
82
|
overflow: hidden;
|
|
83
83
|
white-space: nowrap;
|
|
84
84
|
text-overflow: ellipsis;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1nwyl */
|
|
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_wjgo2 {
|
|
37
37
|
top: 0;
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.modal__content_wjgo2 {
|
|
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/dist/esm/desktop.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 2e1t9 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -31,32 +31,32 @@
|
|
|
31
31
|
|
|
32
32
|
/* mobile */
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.modal__wrapper_rij7b {
|
|
35
35
|
padding-top: var(--modal-vertical-padding);
|
|
36
36
|
padding-bottom: var(--modal-vertical-padding);
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
.modal__component_rij7b {
|
|
39
39
|
width: 100%;
|
|
40
40
|
max-width: 100%;
|
|
41
41
|
border-radius: var(--modal-border-radius);
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.modal__fullscreen_rij7b {
|
|
44
44
|
padding-top: 0;
|
|
45
45
|
padding-bottom: 0
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
.modal__fullscreen_rij7b .modal__component_rij7b {
|
|
48
48
|
flex: 1;
|
|
49
49
|
border-radius: 0;
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
.modal__s_rij7b {
|
|
52
52
|
width: var(--modal-s-width);
|
|
53
53
|
}
|
|
54
|
-
.
|
|
54
|
+
.modal__m_rij7b {
|
|
55
55
|
width: var(--modal-m-width);
|
|
56
56
|
}
|
|
57
|
-
.
|
|
57
|
+
.modal__l_rij7b {
|
|
58
58
|
width: var(--modal-l-width);
|
|
59
59
|
}
|
|
60
|
-
.
|
|
60
|
+
.modal__xl_rij7b {
|
|
61
61
|
width: var(--modal-xl-width);
|
|
62
62
|
}
|
package/dist/esm/desktop.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-829c5c15.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components-base-modal/dist/esm';
|
|
@@ -14,4 +14,4 @@ import './components/content/Component.desktop.js';
|
|
|
14
14
|
import './components/footer/Component.js';
|
|
15
15
|
import './components/footer/Component.desktop.js';
|
|
16
16
|
export { ModalDesktop } from './Component.desktop.js';
|
|
17
|
-
import './transitions.module-
|
|
17
|
+
import './transitions.module-4ba9306a.js';
|
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-829c5c15.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components-base-modal/dist/esm';
|
|
@@ -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 './Component.desktop.js';
|
|
17
|
-
import './transitions.module-
|
|
17
|
+
import './transitions.module-4ba9306a.js';
|
|
18
18
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
19
19
|
import './components/header/Component.mobile.js';
|
|
20
20
|
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-829c5c15.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components-base-modal/dist/esm';
|
|
@@ -9,7 +9,7 @@ import '@alfalab/icons-glyph/CrossHeavyMIcon';
|
|
|
9
9
|
import './components/closer/Component.js';
|
|
10
10
|
import './components/content/Component.js';
|
|
11
11
|
import './components/footer/Component.js';
|
|
12
|
-
import './transitions.module-
|
|
12
|
+
import './transitions.module-4ba9306a.js';
|
|
13
13
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
14
14
|
import './components/header/Component.mobile.js';
|
|
15
15
|
import './components/content/Component.mobile.js';
|
package/dist/esm/responsive.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-829c5c15.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components-base-modal/dist/esm';
|
|
@@ -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 './Component.desktop.js';
|
|
17
|
-
import './transitions.module-
|
|
17
|
+
import './transitions.module-4ba9306a.js';
|
|
18
18
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
19
19
|
import './components/header/Component.mobile.js';
|
|
20
20
|
import './components/content/Component.mobile.js';
|
package/dist/esm/transitions.css
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
.
|
|
3
|
-
.
|
|
1
|
+
/* hash: oeu95 */
|
|
2
|
+
.modal__appear_zok0f,
|
|
3
|
+
.modal__enter_zok0f {
|
|
4
4
|
opacity: 0;
|
|
5
5
|
transform: translateY(15px);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.
|
|
9
|
-
.
|
|
8
|
+
.modal__appearActive_zok0f,
|
|
9
|
+
.modal__enterActive_zok0f {
|
|
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_zok0f {
|
|
16
16
|
opacity: 1;
|
|
17
17
|
transform: translateY(0);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.
|
|
21
|
-
.
|
|
20
|
+
.modal__exitActive_zok0f,
|
|
21
|
+
.modal__exitDone_zok0f {
|
|
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_zok0f","enter":"modal__enter_zok0f","appearActive":"modal__appearActive_zok0f","enterActive":"modal__enterActive_zok0f","exit":"modal__exit_zok0f","exitActive":"modal__exitActive_zok0f","exitDone":"modal__exitDone_zok0f"};
|
|
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-8104c262.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/core-components-base-modal');
|
|
@@ -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
|
require('./Component.desktop.js');
|
|
21
|
-
require('./transitions.module-
|
|
21
|
+
require('./transitions.module-53bd5185.js');
|
|
22
22
|
require('@alfalab/icons-glyph/CrossMIcon');
|
|
23
23
|
require('./components/header/Component.mobile.js');
|
|
24
24
|
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-8104c262.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/core-components-base-modal');
|
|
@@ -13,7 +13,7 @@ require('@alfalab/icons-glyph/CrossHeavyMIcon');
|
|
|
13
13
|
require('./components/closer/Component.js');
|
|
14
14
|
require('./components/content/Component.js');
|
|
15
15
|
require('./components/footer/Component.js');
|
|
16
|
-
require('./transitions.module-
|
|
16
|
+
require('./transitions.module-53bd5185.js');
|
|
17
17
|
require('@alfalab/icons-glyph/CrossMIcon');
|
|
18
18
|
require('./components/header/Component.mobile.js');
|
|
19
19
|
require('./components/content/Component.mobile.js');
|
|
@@ -12,9 +12,9 @@ import './components/content/Component.js';
|
|
|
12
12
|
import { ContentDesktop } from './components/content/Component.desktop.js';
|
|
13
13
|
import './components/footer/Component.js';
|
|
14
14
|
import { FooterDesktop } from './components/footer/Component.desktop.js';
|
|
15
|
-
import { t as transitions } from './transitions.module-
|
|
15
|
+
import { t as transitions } from './transitions.module-4ba9306a.js';
|
|
16
16
|
|
|
17
|
-
var styles = {"wrapper":"
|
|
17
|
+
var styles = {"wrapper":"modal__wrapper_rij7b","component":"modal__component_rij7b","fullscreen":"modal__fullscreen_rij7b","s":"modal__s_rij7b","m":"modal__m_rij7b","l":"modal__l_rij7b","xl":"modal__xl_rij7b"};
|
|
18
18
|
require('./desktop.css')
|
|
19
19
|
|
|
20
20
|
const ModalDesktopComponent = forwardRef(({ size = 's', fixedPosition, fullscreen, children, className, wrapperClassName, transitionProps = {}, ...restProps }, ref) => {
|
|
@@ -8,13 +8,13 @@ import '@alfalab/icons-glyph/CrossHeavyMIcon';
|
|
|
8
8
|
import { Closer } from './components/closer/Component.js';
|
|
9
9
|
import './components/content/Component.js';
|
|
10
10
|
import './components/footer/Component.js';
|
|
11
|
-
import { t as transitions } from './transitions.module-
|
|
11
|
+
import { t as transitions } from './transitions.module-4ba9306a.js';
|
|
12
12
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
13
13
|
import { HeaderMobile } from './components/header/Component.mobile.js';
|
|
14
14
|
import { ContentMobile } from './components/content/Component.mobile.js';
|
|
15
15
|
import { FooterMobile } from './components/footer/Component.mobile.js';
|
|
16
16
|
|
|
17
|
-
var styles = {"component":"
|
|
17
|
+
var styles = {"component":"modal__component_e56q4"};
|
|
18
18
|
require('./mobile.css')
|
|
19
19
|
|
|
20
20
|
const ModalMobileComponent = forwardRef(({ children, className, ...restProps }, ref) => {
|
|
@@ -13,7 +13,7 @@ import './components/content/Component.desktop.js';
|
|
|
13
13
|
import './components/footer/Component.js';
|
|
14
14
|
import './components/footer/Component.desktop.js';
|
|
15
15
|
import { ModalDesktop } from './Component.desktop.js';
|
|
16
|
-
import './transitions.module-
|
|
16
|
+
import './transitions.module-4ba9306a.js';
|
|
17
17
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
18
18
|
import './components/header/Component.mobile.js';
|
|
19
19
|
import './components/content/Component.mobile.js';
|
|
@@ -5,7 +5,7 @@ import { ModalContext } from '../../Context.js';
|
|
|
5
5
|
import { IconButton } from '@alfalab/core-components-icon-button/dist/modern';
|
|
6
6
|
import { CrossHeavyMIcon } from '@alfalab/icons-glyph/CrossHeavyMIcon';
|
|
7
7
|
|
|
8
|
-
var styles = {"closer":"
|
|
8
|
+
var styles = {"closer":"modal__closer_bepn8","button":"modal__button_bepn8","sticky":"modal__sticky_bepn8"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1o66w */
|
|
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_bepn8 {
|
|
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_bepn8 {
|
|
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_bepn8 {
|
|
48
48
|
position: sticky;
|
|
49
49
|
top: calc(var(--modal-vertical-padding) * -1);
|
|
50
50
|
}
|
|
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/dist/modern';
|
|
|
4
4
|
import '../../Context.js';
|
|
5
5
|
import { Content } from './Component.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"s":"
|
|
7
|
+
var styles = {"s":"modal__s_1402c","m":"modal__m_1402c","l":"modal__l_1402c","xl":"modal__xl_1402c","fullscreen":"modal__fullscreen_1402c"};
|
|
8
8
|
require('./desktop.css')
|
|
9
9
|
|
|
10
10
|
const ContentDesktop = ({ size, className, ...restProps }) => (React.createElement(Content, Object.assign({ className: cn(className, size && styles[size]) }, restProps)));
|
|
@@ -3,7 +3,7 @@ import cn from 'classnames';
|
|
|
3
3
|
import '@alfalab/core-components-base-modal/dist/modern';
|
|
4
4
|
import { ModalContext } from '../../Context.js';
|
|
5
5
|
|
|
6
|
-
var styles = {"content":"
|
|
6
|
+
var styles = {"content":"modal__content_6tp16","flex":"modal__flex_6tp16"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
const Content = ({ children, flex, className }) => {
|
|
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/dist/modern';
|
|
|
4
4
|
import '../../Context.js';
|
|
5
5
|
import { Content } from './Component.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"content":"
|
|
7
|
+
var styles = {"content":"modal__content_9d4mf"};
|
|
8
8
|
require('./mobile.css')
|
|
9
9
|
|
|
10
10
|
const ContentMobile = ({ className, ...restProps }) => (React.createElement(Content, Object.assign({ className: cn(className, styles.content) }, restProps)));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ca8tp */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -24,18 +24,18 @@
|
|
|
24
24
|
|
|
25
25
|
/* mobile */
|
|
26
26
|
}
|
|
27
|
-
.
|
|
28
|
-
.
|
|
27
|
+
.modal__s_1402c,
|
|
28
|
+
.modal__m_1402c {
|
|
29
29
|
padding: var(--modal-s-content-paddings)
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.modal__s_1402c:last-child, .modal__m_1402c:last-child {
|
|
32
32
|
padding-bottom: var(--modal-s-content-only-bottom-padding);
|
|
33
33
|
}
|
|
34
|
-
.
|
|
35
|
-
.
|
|
36
|
-
.
|
|
34
|
+
.modal__l_1402c,
|
|
35
|
+
.modal__xl_1402c,
|
|
36
|
+
.modal__fullscreen_1402c {
|
|
37
37
|
padding: 0 var(--gap-6xl)
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.modal__l_1402c:last-child, .modal__xl_1402c:last-child, .modal__fullscreen_1402c:last-child {
|
|
40
40
|
padding-bottom: var(--gap-6xl);
|
|
41
41
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: f2unl */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
|
|
20
20
|
/* mobile */
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
.modal__content_6tp16 {
|
|
23
23
|
box-sizing: border-box;
|
|
24
24
|
width: 100%;
|
|
25
25
|
}
|
|
26
|
-
.
|
|
26
|
+
.modal__flex_6tp16 {
|
|
27
27
|
flex: 1 1 auto;
|
|
28
28
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 15olb */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
|
|
23
23
|
/* mobile */
|
|
24
24
|
}
|
|
25
|
-
.
|
|
25
|
+
.modal__content_9d4mf {
|
|
26
26
|
padding: 0 var(--gap-m)
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.modal__content_9d4mf:last-child {
|
|
29
29
|
padding-bottom: var(--gap-m);
|
|
30
30
|
}
|
|
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/dist/modern';
|
|
|
4
4
|
import '../../Context.js';
|
|
5
5
|
import { Footer } from './Component.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"footer":"
|
|
7
|
+
var styles = {"footer":"modal__footer_1gkk4","sticky":"modal__sticky_1gkk4","fullscreen":"modal__fullscreen_1gkk4","s":"modal__s_1gkk4","m":"modal__m_1gkk4","l":"modal__l_1gkk4","xl":"modal__xl_1gkk4"};
|
|
8
8
|
require('./desktop.css')
|
|
9
9
|
|
|
10
10
|
const FooterDesktop = ({ size, className, sticky, ...restProps }) => (React.createElement(Footer, Object.assign({ className: cn(className, styles.footer, size && styles[size], {
|
|
@@ -3,10 +3,10 @@ import cn from 'classnames';
|
|
|
3
3
|
import '@alfalab/core-components-base-modal/dist/modern';
|
|
4
4
|
import { ModalContext } from '../../Context.js';
|
|
5
5
|
|
|
6
|
-
var styles = {"footer":"
|
|
6
|
+
var styles = {"footer":"modal__footer_buvld","sticky":"modal__sticky_buvld","highlighted":"modal__highlighted_buvld"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
|
-
var layoutStyles = {"column":"
|
|
9
|
+
var layoutStyles = {"column":"modal__column_6rbs3","gap-16":"modal__gap-16_6rbs3","gap-24":"modal__gap-24_6rbs3","gap-32":"modal__gap-32_6rbs3","start":"modal__start_6rbs3","center":"modal__center_6rbs3","space-between":"modal__space-between_6rbs3"};
|
|
10
10
|
require('./layout.css')
|
|
11
11
|
|
|
12
12
|
const Footer = ({ children, className, sticky, layout = 'start', gap }) => {
|
|
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/dist/modern';
|
|
|
4
4
|
import '../../Context.js';
|
|
5
5
|
import { Footer } from './Component.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"footer":"
|
|
7
|
+
var styles = {"footer":"modal__footer_lyo9c","sticky":"modal__sticky_lyo9c"};
|
|
8
8
|
require('./mobile.css')
|
|
9
9
|
|
|
10
10
|
const FooterMobile = ({ className, sticky, ...restProps }) => (React.createElement(Footer, Object.assign({ className: cn(className, styles.footer, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 8o2a7 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -31,22 +31,22 @@
|
|
|
31
31
|
|
|
32
32
|
/* mobile */
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.modal__footer_1gkk4 {
|
|
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_1gkk4 {
|
|
39
39
|
bottom: calc(var(--modal-vertical-padding) * -1)
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
.modal__sticky_1gkk4.modal__fullscreen_1gkk4 {
|
|
42
42
|
bottom: 0;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
45
|
-
.
|
|
44
|
+
.modal__s_1gkk4,
|
|
45
|
+
.modal__m_1gkk4 {
|
|
46
46
|
padding: var(--modal-s-footer-paddings);
|
|
47
47
|
}
|
|
48
|
-
.
|
|
49
|
-
.
|
|
50
|
-
.
|
|
48
|
+
.modal__l_1gkk4,
|
|
49
|
+
.modal__xl_1gkk4,
|
|
50
|
+
.modal__fullscreen_1gkk4 {
|
|
51
51
|
padding: var(--gap-2xl) var(--gap-6xl) var(--gap-6xl);
|
|
52
52
|
}
|