@alfalab/core-components-modal 11.0.5 → 11.0.6
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/components/content/desktop.css +6 -6
- package/components/content/desktop.module.css.js +1 -1
- package/components/content/index.css +3 -3
- package/components/content/index.module.css.js +1 -1
- package/components/content/mobile.css +2 -2
- package/components/content/mobile.module.css.js +1 -1
- package/components/controls/index.css +1 -1
- package/components/controls/index.module.css.js +1 -1
- package/components/footer/desktop.css +8 -8
- package/components/footer/desktop.module.css.js +1 -1
- package/components/footer/index.css +3 -3
- package/components/footer/index.module.css.js +1 -1
- package/components/footer/layout.css +16 -16
- package/components/footer/layout.module.css.js +1 -1
- package/components/footer/mobile.css +3 -3
- package/components/footer/mobile.module.css.js +1 -1
- package/components/header/desktop.css +13 -13
- package/components/header/desktop.module.css.js +1 -1
- package/components/header/index.css +3 -3
- package/components/header/index.module.css.js +1 -1
- package/components/header/mobile.css +4 -4
- package/components/header/mobile.module.css.js +1 -1
- package/desktop/desktop.css +8 -8
- package/desktop/desktop.module.css.js +1 -1
- package/esm/components/content/desktop.css +6 -6
- package/esm/components/content/desktop.module.css.js +1 -1
- package/esm/components/content/index.css +3 -3
- package/esm/components/content/index.module.css.js +1 -1
- package/esm/components/content/mobile.css +2 -2
- package/esm/components/content/mobile.module.css.js +1 -1
- package/esm/components/controls/index.css +1 -1
- package/esm/components/controls/index.module.css.js +1 -1
- package/esm/components/footer/desktop.css +8 -8
- package/esm/components/footer/desktop.module.css.js +1 -1
- package/esm/components/footer/index.css +3 -3
- package/esm/components/footer/index.module.css.js +1 -1
- package/esm/components/footer/layout.css +16 -16
- package/esm/components/footer/layout.module.css.js +1 -1
- package/esm/components/footer/mobile.css +3 -3
- package/esm/components/footer/mobile.module.css.js +1 -1
- package/esm/components/header/desktop.css +13 -13
- package/esm/components/header/desktop.module.css.js +1 -1
- package/esm/components/header/index.css +3 -3
- package/esm/components/header/index.module.css.js +1 -1
- package/esm/components/header/mobile.css +4 -4
- package/esm/components/header/mobile.module.css.js +1 -1
- package/esm/desktop/desktop.css +8 -8
- package/esm/desktop/desktop.module.css.js +1 -1
- package/esm/mobile/mobile.css +2 -2
- package/esm/mobile/mobile.module.css.js +1 -1
- package/esm/transitions.css +7 -7
- package/esm/transitions.module.css.js +1 -1
- package/mobile/mobile.css +2 -2
- package/mobile/mobile.module.css.js +1 -1
- package/modern/components/content/desktop.css +6 -6
- package/modern/components/content/desktop.module.css.js +1 -1
- package/modern/components/content/index.css +3 -3
- package/modern/components/content/index.module.css.js +1 -1
- package/modern/components/content/mobile.css +2 -2
- package/modern/components/content/mobile.module.css.js +1 -1
- package/modern/components/controls/index.css +1 -1
- package/modern/components/controls/index.module.css.js +1 -1
- package/modern/components/footer/desktop.css +8 -8
- package/modern/components/footer/desktop.module.css.js +1 -1
- package/modern/components/footer/index.css +3 -3
- package/modern/components/footer/index.module.css.js +1 -1
- package/modern/components/footer/layout.css +16 -16
- package/modern/components/footer/layout.module.css.js +1 -1
- package/modern/components/footer/mobile.css +3 -3
- package/modern/components/footer/mobile.module.css.js +1 -1
- package/modern/components/header/desktop.css +13 -13
- package/modern/components/header/desktop.module.css.js +1 -1
- package/modern/components/header/index.css +3 -3
- package/modern/components/header/index.module.css.js +1 -1
- package/modern/components/header/mobile.css +4 -4
- package/modern/components/header/mobile.module.css.js +1 -1
- package/modern/desktop/desktop.css +8 -8
- package/modern/desktop/desktop.module.css.js +1 -1
- package/modern/mobile/mobile.css +2 -2
- package/modern/mobile/mobile.module.css.js +1 -1
- package/modern/transitions.css +7 -7
- package/modern/transitions.module.css.js +1 -1
- package/package.json +2 -2
- package/transitions.css +7 -7
- package/transitions.module.css.js +1 -1
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
--gap-0: 0px;
|
|
7
7
|
--gap-16: var(--gap-m);
|
|
8
8
|
}
|
|
9
|
-
.
|
|
9
|
+
.modal__footer_czgof {
|
|
10
10
|
padding: var(--gap-16);
|
|
11
11
|
}
|
|
12
12
|
@media (display-mode: standalone) {
|
|
13
|
-
.
|
|
13
|
+
.modal__footer_czgof {
|
|
14
14
|
padding-bottom: calc(var(--sab) + var(--gap-16));
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
.
|
|
17
|
+
.modal__sticky_czgof {
|
|
18
18
|
bottom: var(--gap-0);
|
|
19
19
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './mobile.css';
|
|
2
2
|
|
|
3
|
-
const mobileStyles = {"footer":"
|
|
3
|
+
const mobileStyles = {"footer":"modal__footer_czgof","sticky":"modal__sticky_czgof"};
|
|
4
4
|
|
|
5
5
|
export { mobileStyles as default };
|
|
6
6
|
//# sourceMappingURL=mobile.module.css.js.map
|
|
@@ -23,37 +23,37 @@
|
|
|
23
23
|
--modal-s-header-desktop-content-paddings: var(--gap-12);
|
|
24
24
|
--modal-l-header-desktop-content-paddings: var(--gap-6) var(--gap-12) var(--gap-16);
|
|
25
25
|
}
|
|
26
|
-
.
|
|
26
|
+
.modal__header_1jo01 {
|
|
27
27
|
border-top-left-radius: var(--modal-border-radius);
|
|
28
28
|
border-top-right-radius: var(--modal-border-radius);
|
|
29
29
|
}
|
|
30
|
-
.modal__size-
|
|
31
|
-
.modal__size-
|
|
30
|
+
.modal__size-500_1jo01 .modal__content_1jo01,
|
|
31
|
+
.modal__size-600_1jo01 .modal__content_1jo01 {
|
|
32
32
|
padding: var(--modal-s-header-desktop-content-paddings);
|
|
33
33
|
font-size: 22px;
|
|
34
34
|
line-height: 26px;
|
|
35
35
|
font-weight: 700;
|
|
36
36
|
font-family: var(--font-family-system);
|
|
37
37
|
}
|
|
38
|
-
.modal__size-
|
|
39
|
-
.modal__size-
|
|
40
|
-
.
|
|
38
|
+
.modal__size-800_1jo01 .modal__content_1jo01,
|
|
39
|
+
.modal__size-1140_1jo01 .modal__content_1jo01,
|
|
40
|
+
.modal__fullscreen_1jo01 .modal__content_1jo01 {
|
|
41
41
|
padding: var(--modal-l-header-desktop-content-paddings);
|
|
42
42
|
font-size: 30px;
|
|
43
43
|
line-height: 36px;
|
|
44
44
|
font-weight: 700;
|
|
45
45
|
font-family: var(--font-family-system);
|
|
46
46
|
}
|
|
47
|
-
.modal__size-
|
|
48
|
-
.modal__size-
|
|
49
|
-
.modal__size-
|
|
50
|
-
.modal__size-
|
|
51
|
-
.
|
|
47
|
+
.modal__size-500_1jo01,
|
|
48
|
+
.modal__size-600_1jo01,
|
|
49
|
+
.modal__size-800_1jo01,
|
|
50
|
+
.modal__size-1140_1jo01,
|
|
51
|
+
.modal__fullscreen_1jo01 {
|
|
52
52
|
padding: var(--modal-s-header-paddings);
|
|
53
53
|
}
|
|
54
|
-
.
|
|
54
|
+
.modal__sticky_1jo01 {
|
|
55
55
|
top: calc(var(--modal-vertical-padding) * -1);
|
|
56
56
|
}
|
|
57
|
-
.
|
|
57
|
+
.modal__sticky_1jo01.modal__fullscreen_1jo01 {
|
|
58
58
|
top: var(--gap-0);
|
|
59
59
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './desktop.css';
|
|
2
2
|
|
|
3
|
-
const desktopStyles = {"header":"
|
|
3
|
+
const desktopStyles = {"header":"modal__header_1jo01","size-500":"modal__size-500_1jo01","content":"modal__content_1jo01","size-600":"modal__size-600_1jo01","size-800":"modal__size-800_1jo01","size-1140":"modal__size-1140_1jo01","fullscreen":"modal__fullscreen_1jo01","sticky":"modal__sticky_1jo01"};
|
|
4
4
|
|
|
5
5
|
export { desktopStyles as default };
|
|
6
6
|
//# sourceMappingURL=desktop.module.css.js.map
|
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
--modal-header-highlight-background: var(--color-light-modal-bg-primary);
|
|
8
8
|
--modal-header-highlight-box-shadow: 0 1px 0 0 var(--color-light-neutral-300);
|
|
9
9
|
}
|
|
10
|
-
.
|
|
10
|
+
.modal__highlighted_sbjtc {
|
|
11
11
|
background: var(--modal-header-highlight-background);
|
|
12
12
|
box-shadow: var(--modal-header-highlight-box-shadow);
|
|
13
13
|
}
|
|
14
|
-
.
|
|
14
|
+
.modal__sticky_sbjtc {
|
|
15
15
|
position: sticky;
|
|
16
16
|
z-index: 1;
|
|
17
17
|
}
|
|
18
|
-
.
|
|
18
|
+
.modal__sticky_sbjtc.modal__hasContent_sbjtc {
|
|
19
19
|
background: var(--modal-header-background);
|
|
20
20
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"highlighted":"
|
|
3
|
+
const styles = {"highlighted":"modal__highlighted_sbjtc","sticky":"modal__sticky_sbjtc","hasContent":"modal__hasContent_sbjtc"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -19,18 +19,18 @@
|
|
|
19
19
|
--modal-header-mobile-paddings: var(--modal-header-mobile-top-padding) var(--gap-8) var(--gap-4)
|
|
20
20
|
var(--gap-8);
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
.modal__header_18nw1 {
|
|
23
23
|
padding: var(--modal-header-mobile-paddings);
|
|
24
24
|
}
|
|
25
25
|
@media (display-mode: standalone) {
|
|
26
|
-
.
|
|
26
|
+
.modal__header_18nw1 {
|
|
27
27
|
padding-top: calc(var(--sat) + var(--modal-header-mobile-top-padding));
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
.modal__sticky_18nw1 {
|
|
31
31
|
top: var(--gap-0);
|
|
32
32
|
}
|
|
33
|
-
.
|
|
33
|
+
.modal__content_18nw1 {
|
|
34
34
|
padding: var(--modal-header-mobile-content-paddings);
|
|
35
35
|
font-size: 20px;
|
|
36
36
|
line-height: 28px;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './mobile.css';
|
|
2
2
|
|
|
3
|
-
const mobileStyles = {"header":"
|
|
3
|
+
const mobileStyles = {"header":"modal__header_18nw1","sticky":"modal__sticky_18nw1","content":"modal__content_18nw1"};
|
|
4
4
|
|
|
5
5
|
export { mobileStyles as default };
|
|
6
6
|
//# sourceMappingURL=mobile.module.css.js.map
|
|
@@ -16,34 +16,34 @@
|
|
|
16
16
|
--modal-l-width: 800px;
|
|
17
17
|
--modal-xl-width: 1140px;
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
.modal__wrapper_kkhdo {
|
|
20
20
|
padding-top: var(--modal-vertical-padding);
|
|
21
21
|
padding-bottom: var(--modal-vertical-padding);
|
|
22
22
|
}
|
|
23
|
-
.
|
|
23
|
+
.modal__component_kkhdo {
|
|
24
24
|
width: 100%;
|
|
25
25
|
max-width: 100%;
|
|
26
26
|
border-radius: var(--modal-border-radius);
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.modal__fullscreen_kkhdo {
|
|
29
29
|
padding-top: var(--gap-0);
|
|
30
30
|
padding-bottom: var(--gap-0);
|
|
31
31
|
overflow: hidden;
|
|
32
32
|
}
|
|
33
|
-
.
|
|
33
|
+
.modal__fullscreen_kkhdo .modal__component_kkhdo {
|
|
34
34
|
flex: 1;
|
|
35
35
|
border-radius: var(--border-radius-0);
|
|
36
36
|
overflow: auto;
|
|
37
37
|
}
|
|
38
|
-
.modal__size-
|
|
38
|
+
.modal__size-500_kkhdo {
|
|
39
39
|
width: var(--modal-s-width);
|
|
40
40
|
}
|
|
41
|
-
.modal__size-
|
|
41
|
+
.modal__size-600_kkhdo {
|
|
42
42
|
width: var(--modal-m-width);
|
|
43
43
|
}
|
|
44
|
-
.modal__size-
|
|
44
|
+
.modal__size-800_kkhdo {
|
|
45
45
|
width: var(--modal-l-width);
|
|
46
46
|
}
|
|
47
|
-
.modal__size-
|
|
47
|
+
.modal__size-1140_kkhdo {
|
|
48
48
|
width: var(--modal-xl-width);
|
|
49
49
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './desktop.css';
|
|
2
2
|
|
|
3
|
-
const desktopStyles = {"wrapper":"
|
|
3
|
+
const desktopStyles = {"wrapper":"modal__wrapper_kkhdo","component":"modal__component_kkhdo","fullscreen":"modal__fullscreen_kkhdo","size-500":"modal__size-500_kkhdo","size-600":"modal__size-600_kkhdo","size-800":"modal__size-800_kkhdo","size-1140":"modal__size-1140_kkhdo"};
|
|
4
4
|
|
|
5
5
|
export { desktopStyles as default };
|
|
6
6
|
//# sourceMappingURL=desktop.module.css.js.map
|
package/modern/mobile/mobile.css
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
:root {
|
|
6
6
|
--gap-0: 0px;
|
|
7
7
|
}
|
|
8
|
-
.
|
|
8
|
+
.modal__component_tfpb3 {
|
|
9
9
|
flex: 1;
|
|
10
10
|
width: 100%;
|
|
11
11
|
max-width: 600px;
|
|
12
12
|
}
|
|
13
13
|
@media (display-mode: standalone) {
|
|
14
|
-
.
|
|
14
|
+
.modal__content_tfpb3 {
|
|
15
15
|
padding-top: var(--sat);
|
|
16
16
|
padding-bottom: var(--sab);
|
|
17
17
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './mobile.css';
|
|
2
2
|
|
|
3
|
-
const mobileStyles = {"component":"
|
|
3
|
+
const mobileStyles = {"component":"modal__component_tfpb3","content":"modal__content_tfpb3"};
|
|
4
4
|
|
|
5
5
|
export { mobileStyles as default };
|
|
6
6
|
//# sourceMappingURL=mobile.module.css.js.map
|
package/modern/transitions.css
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
1
|
+
.modal__appear_2207n,
|
|
2
|
+
.modal__enter_2207n {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: translateY(15px);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.
|
|
8
|
-
.
|
|
7
|
+
.modal__appearActive_2207n,
|
|
8
|
+
.modal__enterActive_2207n {
|
|
9
9
|
opacity: 1;
|
|
10
10
|
transform: translateY(0);
|
|
11
11
|
transition:
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
transform 200ms ease-in;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.
|
|
16
|
+
.modal__exit_2207n {
|
|
17
17
|
opacity: 1;
|
|
18
18
|
transform: translateY(0);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.
|
|
22
|
-
.
|
|
21
|
+
.modal__exitActive_2207n,
|
|
22
|
+
.modal__exitDone_2207n {
|
|
23
23
|
opacity: 0;
|
|
24
24
|
transform: translateY(15px);
|
|
25
25
|
transition:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './transitions.css';
|
|
2
2
|
|
|
3
|
-
const transitions = {"appear":"
|
|
3
|
+
const transitions = {"appear":"modal__appear_2207n","enter":"modal__enter_2207n","appearActive":"modal__appearActive_2207n","enterActive":"modal__enterActive_2207n","exit":"modal__exit_2207n","exitActive":"modal__exitActive_2207n","exitDone":"modal__exitDone_2207n"};
|
|
4
4
|
|
|
5
5
|
export { transitions as default };
|
|
6
6
|
//# sourceMappingURL=transitions.module.css.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-modal",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.6",
|
|
4
4
|
"description": "Modal component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@alfalab/core-components-base-modal": "^7.1.2",
|
|
14
14
|
"@alfalab/core-components-mq": "^6.0.3",
|
|
15
|
-
"@alfalab/core-components-navigation-bar-private": "^2.0.
|
|
15
|
+
"@alfalab/core-components-navigation-bar-private": "^2.0.6",
|
|
16
16
|
"@alfalab/core-components-shared": "^2.1.1",
|
|
17
17
|
"classnames": "^2.5.1",
|
|
18
18
|
"react-merge-refs": "^1.1.0",
|
package/transitions.css
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
1
|
+
.modal__appear_2207n,
|
|
2
|
+
.modal__enter_2207n {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: translateY(15px);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.
|
|
8
|
-
.
|
|
7
|
+
.modal__appearActive_2207n,
|
|
8
|
+
.modal__enterActive_2207n {
|
|
9
9
|
opacity: 1;
|
|
10
10
|
transform: translateY(0);
|
|
11
11
|
transition:
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
transform 200ms ease-in;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.
|
|
16
|
+
.modal__exit_2207n {
|
|
17
17
|
opacity: 1;
|
|
18
18
|
transform: translateY(0);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.
|
|
22
|
-
.
|
|
21
|
+
.modal__exitActive_2207n,
|
|
22
|
+
.modal__exitDone_2207n {
|
|
23
23
|
opacity: 0;
|
|
24
24
|
transform: translateY(15px);
|
|
25
25
|
transition:
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./transitions.css');
|
|
4
4
|
|
|
5
|
-
var transitions = {"appear":"
|
|
5
|
+
var transitions = {"appear":"modal__appear_2207n","enter":"modal__enter_2207n","appearActive":"modal__appearActive_2207n","enterActive":"modal__enterActive_2207n","exit":"modal__exit_2207n","exitActive":"modal__exitActive_2207n","exitDone":"modal__exitDone_2207n"};
|
|
6
6
|
|
|
7
7
|
module.exports = transitions;
|
|
8
8
|
//# sourceMappingURL=transitions.module.css.js.map
|