@alfalab/core-components-base-modal 5.7.1 → 5.7.2
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.js +1 -1
- package/esm/Component.js +1 -1
- package/esm/index.css +13 -13
- package/index.css +13 -13
- package/modern/Component.js +1 -1
- package/modern/index.css +13 -13
- package/package.json +2 -2
package/Component.js
CHANGED
|
@@ -24,7 +24,7 @@ var FocusLock__default = /*#__PURE__*/_interopDefaultCompat(FocusLock);
|
|
|
24
24
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
25
25
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
26
26
|
|
|
27
|
-
var styles = {"component":"base-
|
|
27
|
+
var styles = {"component":"base-modal__component_1b68o","wrapper":"base-modal__wrapper_1b68o","content":"base-modal__content_1b68o","hidden":"base-modal__hidden_1b68o","backdrop":"base-modal__backdrop_1b68o","appear":"base-modal__appear_1b68o","enter":"base-modal__enter_1b68o","appearActive":"base-modal__appearActive_1b68o","enterActive":"base-modal__enterActive_1b68o","exit":"base-modal__exit_1b68o","exitActive":"base-modal__exitActive_1b68o","exitDone":"base-modal__exitDone_1b68o"};
|
|
28
28
|
require('./index.css')
|
|
29
29
|
|
|
30
30
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
package/esm/Component.js
CHANGED
|
@@ -13,7 +13,7 @@ import { isScrolledToTop, isScrolledToBottom, handleContainer, restoreContainerS
|
|
|
13
13
|
import './matches-polyfill.js';
|
|
14
14
|
import '@alfalab/core-components-global-store/esm';
|
|
15
15
|
|
|
16
|
-
var styles = {"component":"base-
|
|
16
|
+
var styles = {"component":"base-modal__component_1b68o","wrapper":"base-modal__wrapper_1b68o","content":"base-modal__content_1b68o","hidden":"base-modal__hidden_1b68o","backdrop":"base-modal__backdrop_1b68o","appear":"base-modal__appear_1b68o","enter":"base-modal__enter_1b68o","appearActive":"base-modal__appearActive_1b68o","enterActive":"base-modal__enterActive_1b68o","exit":"base-modal__exit_1b68o","exitActive":"base-modal__exitActive_1b68o","exitDone":"base-modal__exitDone_1b68o"};
|
|
17
17
|
require('./index.css')
|
|
18
18
|
|
|
19
19
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
package/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1njhy */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-modal-bg-primary: #fff; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .base-
|
|
18
|
+
} .base-modal__component_1b68o {
|
|
19
19
|
position: relative;
|
|
20
20
|
box-sizing: border-box;
|
|
21
21
|
background: var(--color-light-modal-bg-primary);
|
|
22
22
|
margin: auto;
|
|
23
23
|
flex-shrink: 0;
|
|
24
|
-
} .base-
|
|
24
|
+
} .base-modal__wrapper_1b68o {
|
|
25
25
|
position: fixed;
|
|
26
26
|
top: 0;
|
|
27
27
|
left: 0;
|
|
@@ -34,27 +34,27 @@
|
|
|
34
34
|
align-items: center;
|
|
35
35
|
outline: 0;
|
|
36
36
|
overscroll-behavior: none;
|
|
37
|
-
} .base-
|
|
37
|
+
} .base-modal__content_1b68o {
|
|
38
38
|
width: 100%;
|
|
39
39
|
height: 100%;
|
|
40
40
|
display: flex;
|
|
41
41
|
flex-direction: column;
|
|
42
42
|
flex: 1;
|
|
43
|
-
} .base-
|
|
43
|
+
} .base-modal__hidden_1b68o {
|
|
44
44
|
display: none;
|
|
45
|
-
} .base-
|
|
45
|
+
} .base-modal__backdrop_1b68o {
|
|
46
46
|
z-index: 0;
|
|
47
|
-
} .base-
|
|
48
|
-
.base-
|
|
47
|
+
} .base-modal__appear_1b68o,
|
|
48
|
+
.base-modal__enter_1b68o {
|
|
49
49
|
opacity: 0;
|
|
50
|
-
} .base-
|
|
51
|
-
.base-
|
|
50
|
+
} .base-modal__appearActive_1b68o,
|
|
51
|
+
.base-modal__enterActive_1b68o {
|
|
52
52
|
opacity: 1;
|
|
53
53
|
transition: opacity 200ms ease-in;
|
|
54
|
-
} .base-
|
|
54
|
+
} .base-modal__exit_1b68o {
|
|
55
55
|
opacity: 1;
|
|
56
|
-
} .base-
|
|
57
|
-
.base-
|
|
56
|
+
} .base-modal__exitActive_1b68o,
|
|
57
|
+
.base-modal__exitDone_1b68o {
|
|
58
58
|
opacity: 0;
|
|
59
59
|
transition: opacity 200ms ease-out;
|
|
60
60
|
}
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1njhy */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-modal-bg-primary: #fff; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .base-
|
|
18
|
+
} .base-modal__component_1b68o {
|
|
19
19
|
position: relative;
|
|
20
20
|
box-sizing: border-box;
|
|
21
21
|
background: var(--color-light-modal-bg-primary);
|
|
22
22
|
margin: auto;
|
|
23
23
|
flex-shrink: 0;
|
|
24
|
-
} .base-
|
|
24
|
+
} .base-modal__wrapper_1b68o {
|
|
25
25
|
position: fixed;
|
|
26
26
|
top: 0;
|
|
27
27
|
left: 0;
|
|
@@ -34,27 +34,27 @@
|
|
|
34
34
|
align-items: center;
|
|
35
35
|
outline: 0;
|
|
36
36
|
overscroll-behavior: none;
|
|
37
|
-
} .base-
|
|
37
|
+
} .base-modal__content_1b68o {
|
|
38
38
|
width: 100%;
|
|
39
39
|
height: 100%;
|
|
40
40
|
display: flex;
|
|
41
41
|
flex-direction: column;
|
|
42
42
|
flex: 1;
|
|
43
|
-
} .base-
|
|
43
|
+
} .base-modal__hidden_1b68o {
|
|
44
44
|
display: none;
|
|
45
|
-
} .base-
|
|
45
|
+
} .base-modal__backdrop_1b68o {
|
|
46
46
|
z-index: 0;
|
|
47
|
-
} .base-
|
|
48
|
-
.base-
|
|
47
|
+
} .base-modal__appear_1b68o,
|
|
48
|
+
.base-modal__enter_1b68o {
|
|
49
49
|
opacity: 0;
|
|
50
|
-
} .base-
|
|
51
|
-
.base-
|
|
50
|
+
} .base-modal__appearActive_1b68o,
|
|
51
|
+
.base-modal__enterActive_1b68o {
|
|
52
52
|
opacity: 1;
|
|
53
53
|
transition: opacity 200ms ease-in;
|
|
54
|
-
} .base-
|
|
54
|
+
} .base-modal__exit_1b68o {
|
|
55
55
|
opacity: 1;
|
|
56
|
-
} .base-
|
|
57
|
-
.base-
|
|
56
|
+
} .base-modal__exitActive_1b68o,
|
|
57
|
+
.base-modal__exitDone_1b68o {
|
|
58
58
|
opacity: 0;
|
|
59
59
|
transition: opacity 200ms ease-out;
|
|
60
60
|
}
|
package/modern/Component.js
CHANGED
|
@@ -12,7 +12,7 @@ import { isScrolledToTop, isScrolledToBottom, handleContainer, restoreContainerS
|
|
|
12
12
|
import './matches-polyfill.js';
|
|
13
13
|
import '@alfalab/core-components-global-store/modern';
|
|
14
14
|
|
|
15
|
-
const styles = {"component":"base-
|
|
15
|
+
const styles = {"component":"base-modal__component_1b68o","wrapper":"base-modal__wrapper_1b68o","content":"base-modal__content_1b68o","hidden":"base-modal__hidden_1b68o","backdrop":"base-modal__backdrop_1b68o","appear":"base-modal__appear_1b68o","enter":"base-modal__enter_1b68o","appearActive":"base-modal__appearActive_1b68o","enterActive":"base-modal__enterActive_1b68o","exit":"base-modal__exit_1b68o","exitActive":"base-modal__exitActive_1b68o","exitDone":"base-modal__exitDone_1b68o"};
|
|
16
16
|
require('./index.css')
|
|
17
17
|
|
|
18
18
|
/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
|
package/modern/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1njhy */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-modal-bg-primary: #fff; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .base-
|
|
18
|
+
} .base-modal__component_1b68o {
|
|
19
19
|
position: relative;
|
|
20
20
|
box-sizing: border-box;
|
|
21
21
|
background: var(--color-light-modal-bg-primary);
|
|
22
22
|
margin: auto;
|
|
23
23
|
flex-shrink: 0;
|
|
24
|
-
} .base-
|
|
24
|
+
} .base-modal__wrapper_1b68o {
|
|
25
25
|
position: fixed;
|
|
26
26
|
top: 0;
|
|
27
27
|
left: 0;
|
|
@@ -34,27 +34,27 @@
|
|
|
34
34
|
align-items: center;
|
|
35
35
|
outline: 0;
|
|
36
36
|
overscroll-behavior: none;
|
|
37
|
-
} .base-
|
|
37
|
+
} .base-modal__content_1b68o {
|
|
38
38
|
width: 100%;
|
|
39
39
|
height: 100%;
|
|
40
40
|
display: flex;
|
|
41
41
|
flex-direction: column;
|
|
42
42
|
flex: 1;
|
|
43
|
-
} .base-
|
|
43
|
+
} .base-modal__hidden_1b68o {
|
|
44
44
|
display: none;
|
|
45
|
-
} .base-
|
|
45
|
+
} .base-modal__backdrop_1b68o {
|
|
46
46
|
z-index: 0;
|
|
47
|
-
} .base-
|
|
48
|
-
.base-
|
|
47
|
+
} .base-modal__appear_1b68o,
|
|
48
|
+
.base-modal__enter_1b68o {
|
|
49
49
|
opacity: 0;
|
|
50
|
-
} .base-
|
|
51
|
-
.base-
|
|
50
|
+
} .base-modal__appearActive_1b68o,
|
|
51
|
+
.base-modal__enterActive_1b68o {
|
|
52
52
|
opacity: 1;
|
|
53
53
|
transition: opacity 200ms ease-in;
|
|
54
|
-
} .base-
|
|
54
|
+
} .base-modal__exit_1b68o {
|
|
55
55
|
opacity: 1;
|
|
56
|
-
} .base-
|
|
57
|
-
.base-
|
|
56
|
+
} .base-modal__exitActive_1b68o,
|
|
57
|
+
.base-modal__exitDone_1b68o {
|
|
58
58
|
opacity: 0;
|
|
59
59
|
transition: opacity 200ms ease-out;
|
|
60
60
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-base-modal",
|
|
3
|
-
"version": "5.7.
|
|
3
|
+
"version": "5.7.2",
|
|
4
4
|
"description": "BaseModal component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"@alfalab/core-components-global-store": "^2.1.0",
|
|
16
16
|
"@alfalab/core-components-portal": "^3.2.0",
|
|
17
17
|
"@alfalab/core-components-stack": "^4.1.0",
|
|
18
|
-
"@alfalab/core-components-shared": "^0.9.
|
|
18
|
+
"@alfalab/core-components-shared": "^0.9.1",
|
|
19
19
|
"@juggle/resize-observer": "^3.3.1",
|
|
20
20
|
"classnames": "^2.3.1",
|
|
21
21
|
"react-focus-lock": "^2.9.3",
|