@alfalab/core-components-base-modal 7.1.0 → 7.1.1
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/esm/index.css +14 -14
- package/esm/index.module.css.js +1 -1
- package/index.css +14 -14
- package/index.module.css.js +1 -1
- package/modern/index.css +14 -14
- package/modern/index.module.css.js +1 -1
- package/package.json +2 -2
package/esm/index.css
CHANGED
|
@@ -12,14 +12,14 @@ body.is-locked {
|
|
|
12
12
|
position: fixed;
|
|
13
13
|
overflow: hidden;
|
|
14
14
|
}
|
|
15
|
-
.base-
|
|
15
|
+
.base-modal__component_xim9d {
|
|
16
16
|
position: relative;
|
|
17
17
|
box-sizing: border-box;
|
|
18
18
|
background: var(--color-light-modal-bg-primary);
|
|
19
19
|
margin: auto;
|
|
20
20
|
flex-shrink: 0;
|
|
21
21
|
}
|
|
22
|
-
.base-
|
|
22
|
+
.base-modal__wrapper_xim9d {
|
|
23
23
|
position: fixed;
|
|
24
24
|
top: var(--gap-0);
|
|
25
25
|
left: var(--gap-0);
|
|
@@ -33,7 +33,7 @@ body.is-locked {
|
|
|
33
33
|
outline: 0;
|
|
34
34
|
overscroll-behavior: none;
|
|
35
35
|
}
|
|
36
|
-
.base-
|
|
36
|
+
.base-modal__content_xim9d {
|
|
37
37
|
width: 100%;
|
|
38
38
|
height: 100%;
|
|
39
39
|
display: flex;
|
|
@@ -41,37 +41,37 @@ body.is-locked {
|
|
|
41
41
|
flex: 1;
|
|
42
42
|
}
|
|
43
43
|
@media (display-mode: standalone) {
|
|
44
|
-
.base-
|
|
44
|
+
.base-modal__content_xim9d.base-modal__hasFooter_xim9d {
|
|
45
45
|
padding-bottom: 0;
|
|
46
46
|
padding-bottom: initial;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
@media (display-mode: standalone) {
|
|
50
|
-
.base-
|
|
50
|
+
.base-modal__content_xim9d.base-modal__hasHeader_xim9d {
|
|
51
51
|
padding-top: 0;
|
|
52
52
|
padding-top: initial;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
.base-
|
|
55
|
+
.base-modal__hidden_xim9d {
|
|
56
56
|
display: none;
|
|
57
57
|
}
|
|
58
|
-
.base-
|
|
58
|
+
.base-modal__backdrop_xim9d {
|
|
59
59
|
z-index: 0;
|
|
60
60
|
}
|
|
61
|
-
.base-
|
|
62
|
-
.base-
|
|
61
|
+
.base-modal__appear_xim9d,
|
|
62
|
+
.base-modal__enter_xim9d {
|
|
63
63
|
opacity: 0;
|
|
64
64
|
}
|
|
65
|
-
.base-
|
|
66
|
-
.base-
|
|
65
|
+
.base-modal__appearActive_xim9d,
|
|
66
|
+
.base-modal__enterActive_xim9d {
|
|
67
67
|
opacity: 1;
|
|
68
68
|
transition: opacity 200ms ease-in;
|
|
69
69
|
}
|
|
70
|
-
.base-
|
|
70
|
+
.base-modal__exit_xim9d {
|
|
71
71
|
opacity: 1;
|
|
72
72
|
}
|
|
73
|
-
.base-
|
|
74
|
-
.base-
|
|
73
|
+
.base-modal__exitActive_xim9d,
|
|
74
|
+
.base-modal__exitDone_xim9d {
|
|
75
75
|
opacity: 0;
|
|
76
76
|
transition: opacity 200ms ease-out;
|
|
77
77
|
}
|
package/esm/index.module.css.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"component":"base-
|
|
3
|
+
var styles = {"component":"base-modal__component_xim9d","wrapper":"base-modal__wrapper_xim9d","content":"base-modal__content_xim9d","hasFooter":"base-modal__hasFooter_xim9d","hasHeader":"base-modal__hasHeader_xim9d","hidden":"base-modal__hidden_xim9d","backdrop":"base-modal__backdrop_xim9d","appear":"base-modal__appear_xim9d","enter":"base-modal__enter_xim9d","appearActive":"base-modal__appearActive_xim9d","enterActive":"base-modal__enterActive_xim9d","exit":"base-modal__exit_xim9d","exitActive":"base-modal__exitActive_xim9d","exitDone":"base-modal__exitDone_xim9d"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
package/index.css
CHANGED
|
@@ -12,14 +12,14 @@ body.is-locked {
|
|
|
12
12
|
position: fixed;
|
|
13
13
|
overflow: hidden;
|
|
14
14
|
}
|
|
15
|
-
.base-
|
|
15
|
+
.base-modal__component_xim9d {
|
|
16
16
|
position: relative;
|
|
17
17
|
box-sizing: border-box;
|
|
18
18
|
background: var(--color-light-modal-bg-primary);
|
|
19
19
|
margin: auto;
|
|
20
20
|
flex-shrink: 0;
|
|
21
21
|
}
|
|
22
|
-
.base-
|
|
22
|
+
.base-modal__wrapper_xim9d {
|
|
23
23
|
position: fixed;
|
|
24
24
|
top: var(--gap-0);
|
|
25
25
|
left: var(--gap-0);
|
|
@@ -33,7 +33,7 @@ body.is-locked {
|
|
|
33
33
|
outline: 0;
|
|
34
34
|
overscroll-behavior: none;
|
|
35
35
|
}
|
|
36
|
-
.base-
|
|
36
|
+
.base-modal__content_xim9d {
|
|
37
37
|
width: 100%;
|
|
38
38
|
height: 100%;
|
|
39
39
|
display: flex;
|
|
@@ -41,37 +41,37 @@ body.is-locked {
|
|
|
41
41
|
flex: 1;
|
|
42
42
|
}
|
|
43
43
|
@media (display-mode: standalone) {
|
|
44
|
-
.base-
|
|
44
|
+
.base-modal__content_xim9d.base-modal__hasFooter_xim9d {
|
|
45
45
|
padding-bottom: 0;
|
|
46
46
|
padding-bottom: initial;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
@media (display-mode: standalone) {
|
|
50
|
-
.base-
|
|
50
|
+
.base-modal__content_xim9d.base-modal__hasHeader_xim9d {
|
|
51
51
|
padding-top: 0;
|
|
52
52
|
padding-top: initial;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
.base-
|
|
55
|
+
.base-modal__hidden_xim9d {
|
|
56
56
|
display: none;
|
|
57
57
|
}
|
|
58
|
-
.base-
|
|
58
|
+
.base-modal__backdrop_xim9d {
|
|
59
59
|
z-index: 0;
|
|
60
60
|
}
|
|
61
|
-
.base-
|
|
62
|
-
.base-
|
|
61
|
+
.base-modal__appear_xim9d,
|
|
62
|
+
.base-modal__enter_xim9d {
|
|
63
63
|
opacity: 0;
|
|
64
64
|
}
|
|
65
|
-
.base-
|
|
66
|
-
.base-
|
|
65
|
+
.base-modal__appearActive_xim9d,
|
|
66
|
+
.base-modal__enterActive_xim9d {
|
|
67
67
|
opacity: 1;
|
|
68
68
|
transition: opacity 200ms ease-in;
|
|
69
69
|
}
|
|
70
|
-
.base-
|
|
70
|
+
.base-modal__exit_xim9d {
|
|
71
71
|
opacity: 1;
|
|
72
72
|
}
|
|
73
|
-
.base-
|
|
74
|
-
.base-
|
|
73
|
+
.base-modal__exitActive_xim9d,
|
|
74
|
+
.base-modal__exitDone_xim9d {
|
|
75
75
|
opacity: 0;
|
|
76
76
|
transition: opacity 200ms ease-out;
|
|
77
77
|
}
|
package/index.module.css.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"base-
|
|
5
|
+
var styles = {"component":"base-modal__component_xim9d","wrapper":"base-modal__wrapper_xim9d","content":"base-modal__content_xim9d","hasFooter":"base-modal__hasFooter_xim9d","hasHeader":"base-modal__hasHeader_xim9d","hidden":"base-modal__hidden_xim9d","backdrop":"base-modal__backdrop_xim9d","appear":"base-modal__appear_xim9d","enter":"base-modal__enter_xim9d","appearActive":"base-modal__appearActive_xim9d","enterActive":"base-modal__enterActive_xim9d","exit":"base-modal__exit_xim9d","exitActive":"base-modal__exitActive_xim9d","exitDone":"base-modal__exitDone_xim9d"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
package/modern/index.css
CHANGED
|
@@ -12,14 +12,14 @@ body.is-locked {
|
|
|
12
12
|
position: fixed;
|
|
13
13
|
overflow: hidden;
|
|
14
14
|
}
|
|
15
|
-
.base-
|
|
15
|
+
.base-modal__component_xim9d {
|
|
16
16
|
position: relative;
|
|
17
17
|
box-sizing: border-box;
|
|
18
18
|
background: var(--color-light-modal-bg-primary);
|
|
19
19
|
margin: auto;
|
|
20
20
|
flex-shrink: 0;
|
|
21
21
|
}
|
|
22
|
-
.base-
|
|
22
|
+
.base-modal__wrapper_xim9d {
|
|
23
23
|
position: fixed;
|
|
24
24
|
top: var(--gap-0);
|
|
25
25
|
left: var(--gap-0);
|
|
@@ -33,7 +33,7 @@ body.is-locked {
|
|
|
33
33
|
outline: 0;
|
|
34
34
|
overscroll-behavior: none;
|
|
35
35
|
}
|
|
36
|
-
.base-
|
|
36
|
+
.base-modal__content_xim9d {
|
|
37
37
|
width: 100%;
|
|
38
38
|
height: 100%;
|
|
39
39
|
display: flex;
|
|
@@ -41,37 +41,37 @@ body.is-locked {
|
|
|
41
41
|
flex: 1;
|
|
42
42
|
}
|
|
43
43
|
@media (display-mode: standalone) {
|
|
44
|
-
.base-
|
|
44
|
+
.base-modal__content_xim9d.base-modal__hasFooter_xim9d {
|
|
45
45
|
padding-bottom: 0;
|
|
46
46
|
padding-bottom: initial;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
@media (display-mode: standalone) {
|
|
50
|
-
.base-
|
|
50
|
+
.base-modal__content_xim9d.base-modal__hasHeader_xim9d {
|
|
51
51
|
padding-top: 0;
|
|
52
52
|
padding-top: initial;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
.base-
|
|
55
|
+
.base-modal__hidden_xim9d {
|
|
56
56
|
display: none;
|
|
57
57
|
}
|
|
58
|
-
.base-
|
|
58
|
+
.base-modal__backdrop_xim9d {
|
|
59
59
|
z-index: 0;
|
|
60
60
|
}
|
|
61
|
-
.base-
|
|
62
|
-
.base-
|
|
61
|
+
.base-modal__appear_xim9d,
|
|
62
|
+
.base-modal__enter_xim9d {
|
|
63
63
|
opacity: 0;
|
|
64
64
|
}
|
|
65
|
-
.base-
|
|
66
|
-
.base-
|
|
65
|
+
.base-modal__appearActive_xim9d,
|
|
66
|
+
.base-modal__enterActive_xim9d {
|
|
67
67
|
opacity: 1;
|
|
68
68
|
transition: opacity 200ms ease-in;
|
|
69
69
|
}
|
|
70
|
-
.base-
|
|
70
|
+
.base-modal__exit_xim9d {
|
|
71
71
|
opacity: 1;
|
|
72
72
|
}
|
|
73
|
-
.base-
|
|
74
|
-
.base-
|
|
73
|
+
.base-modal__exitActive_xim9d,
|
|
74
|
+
.base-modal__exitDone_xim9d {
|
|
75
75
|
opacity: 0;
|
|
76
76
|
transition: opacity 200ms ease-out;
|
|
77
77
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"component":"base-
|
|
3
|
+
const styles = {"component":"base-modal__component_xim9d","wrapper":"base-modal__wrapper_xim9d","content":"base-modal__content_xim9d","hasFooter":"base-modal__hasFooter_xim9d","hasHeader":"base-modal__hasHeader_xim9d","hidden":"base-modal__hidden_xim9d","backdrop":"base-modal__backdrop_xim9d","appear":"base-modal__appear_xim9d","enter":"base-modal__enter_xim9d","appearActive":"base-modal__appearActive_xim9d","enterActive":"base-modal__enterActive_xim9d","exit":"base-modal__exit_xim9d","exitActive":"base-modal__exitActive_xim9d","exitDone":"base-modal__exitDone_xim9d"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-base-modal",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.1",
|
|
4
4
|
"description": "BaseModal component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"@alfalab/core-components-backdrop": "^5.0.1",
|
|
14
14
|
"@alfalab/core-components-global-store": "^4.0.1",
|
|
15
15
|
"@alfalab/core-components-portal": "^5.0.1",
|
|
16
|
-
"@alfalab/core-components-shared": "^2.0
|
|
16
|
+
"@alfalab/core-components-shared": "^2.1.0",
|
|
17
17
|
"@alfalab/core-components-stack": "^7.0.1",
|
|
18
18
|
"@juggle/resize-observer": "^3.3.1",
|
|
19
19
|
"@types/react-transition-group": "^4.4.12",
|