@alfalab/core-components-notification-manager 5.4.1 → 5.4.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 +11 -11
- package/index.css +11 -11
- package/modern/component.js +1 -1
- package/modern/index.css +11 -11
- package/package.json +2 -2
package/component.js
CHANGED
|
@@ -15,7 +15,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
15
15
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
16
16
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
17
17
|
|
|
18
|
-
var styles = {"component":"notification-
|
|
18
|
+
var styles = {"component":"notification-manager__component_1w4ko","notification":"notification-manager__notification_1w4ko","withoutMargin":"notification-manager__withoutMargin_1w4ko","enter":"notification-manager__enter_1w4ko","enterActive":"notification-manager__enterActive_1w4ko"};
|
|
19
19
|
require('./index.css')
|
|
20
20
|
|
|
21
21
|
var CSS_TRANSITION_CLASS_NAMES = {
|
package/esm/component.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Portal } from '@alfalab/core-components-portal/esm';
|
|
|
6
6
|
import { stackingOrder, Stack } from '@alfalab/core-components-stack/esm';
|
|
7
7
|
import { Notification } from './components/notification/component.js';
|
|
8
8
|
|
|
9
|
-
var styles = {"component":"notification-
|
|
9
|
+
var styles = {"component":"notification-manager__component_1w4ko","notification":"notification-manager__notification_1w4ko","withoutMargin":"notification-manager__withoutMargin_1w4ko","enter":"notification-manager__enter_1w4ko","enterActive":"notification-manager__enterActive_1w4ko"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
var CSS_TRANSITION_CLASS_NAMES = {
|
package/esm/index.css
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: g1zzk */
|
|
2
2
|
:root {
|
|
3
3
|
--gap-s: 12px;
|
|
4
4
|
--gap-xl: 24px;
|
|
5
5
|
--gap-4xl: 48px;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.notification-
|
|
8
|
+
.notification-manager__component_1w4ko {
|
|
9
9
|
position: fixed;
|
|
10
10
|
top: 0;
|
|
11
11
|
right: var(--gap-s);
|
|
@@ -13,45 +13,45 @@
|
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.notification-
|
|
16
|
+
.notification-manager__component_1w4ko .notification-manager__notification_1w4ko {
|
|
17
17
|
width: calc(100vw - var(--gap-xl));
|
|
18
18
|
margin-top: var(--gap-s);
|
|
19
19
|
will-change: transform
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.notification-
|
|
22
|
+
.notification-manager__component_1w4ko .notification-manager__notification_1w4ko.notification-manager__withoutMargin_1w4ko {
|
|
23
23
|
margin-top: 0;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.notification-
|
|
26
|
+
.notification-manager__component_1w4ko .notification-manager__notification_1w4ko.notification-manager__notification_1w4ko {
|
|
27
27
|
position: static;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.notification-
|
|
30
|
+
.notification-manager__enter_1w4ko {
|
|
31
31
|
visibility: hidden;
|
|
32
32
|
transform: translate(0, -500px);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.notification-
|
|
35
|
+
.notification-manager__enterActive_1w4ko {
|
|
36
36
|
visibility: visible;
|
|
37
37
|
transform: translate(0);
|
|
38
38
|
transition: transform 0.4s ease-out;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
@media (min-width: 600px) {
|
|
42
|
-
.notification-
|
|
42
|
+
.notification-manager__component_1w4ko {
|
|
43
43
|
right: var(--gap-4xl);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
.notification-
|
|
46
|
+
.notification-manager__component_1w4ko .notification-manager__notification_1w4ko {
|
|
47
47
|
width: auto;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
.notification-
|
|
50
|
+
.notification-manager__enter_1w4ko {
|
|
51
51
|
transform: translate(100%, 0);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
.notification-
|
|
54
|
+
.notification-manager__enterActive_1w4ko {
|
|
55
55
|
transform: translate(0);
|
|
56
56
|
}
|
|
57
57
|
}
|
package/index.css
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: g1zzk */
|
|
2
2
|
:root {
|
|
3
3
|
--gap-s: 12px;
|
|
4
4
|
--gap-xl: 24px;
|
|
5
5
|
--gap-4xl: 48px;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.notification-
|
|
8
|
+
.notification-manager__component_1w4ko {
|
|
9
9
|
position: fixed;
|
|
10
10
|
top: 0;
|
|
11
11
|
right: var(--gap-s);
|
|
@@ -13,45 +13,45 @@
|
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.notification-
|
|
16
|
+
.notification-manager__component_1w4ko .notification-manager__notification_1w4ko {
|
|
17
17
|
width: calc(100vw - var(--gap-xl));
|
|
18
18
|
margin-top: var(--gap-s);
|
|
19
19
|
will-change: transform
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.notification-
|
|
22
|
+
.notification-manager__component_1w4ko .notification-manager__notification_1w4ko.notification-manager__withoutMargin_1w4ko {
|
|
23
23
|
margin-top: 0;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.notification-
|
|
26
|
+
.notification-manager__component_1w4ko .notification-manager__notification_1w4ko.notification-manager__notification_1w4ko {
|
|
27
27
|
position: static;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.notification-
|
|
30
|
+
.notification-manager__enter_1w4ko {
|
|
31
31
|
visibility: hidden;
|
|
32
32
|
transform: translate(0, -500px);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.notification-
|
|
35
|
+
.notification-manager__enterActive_1w4ko {
|
|
36
36
|
visibility: visible;
|
|
37
37
|
transform: translate(0);
|
|
38
38
|
transition: transform 0.4s ease-out;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
@media (min-width: 600px) {
|
|
42
|
-
.notification-
|
|
42
|
+
.notification-manager__component_1w4ko {
|
|
43
43
|
right: var(--gap-4xl);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
.notification-
|
|
46
|
+
.notification-manager__component_1w4ko .notification-manager__notification_1w4ko {
|
|
47
47
|
width: auto;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
.notification-
|
|
50
|
+
.notification-manager__enter_1w4ko {
|
|
51
51
|
transform: translate(100%, 0);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
.notification-
|
|
54
|
+
.notification-manager__enterActive_1w4ko {
|
|
55
55
|
transform: translate(0);
|
|
56
56
|
}
|
|
57
57
|
}
|
package/modern/component.js
CHANGED
|
@@ -5,7 +5,7 @@ import { Portal } from '@alfalab/core-components-portal/modern';
|
|
|
5
5
|
import { Stack, stackingOrder } from '@alfalab/core-components-stack/modern';
|
|
6
6
|
import { Notification } from './components/notification/component.js';
|
|
7
7
|
|
|
8
|
-
const styles = {"component":"notification-
|
|
8
|
+
const styles = {"component":"notification-manager__component_1w4ko","notification":"notification-manager__notification_1w4ko","withoutMargin":"notification-manager__withoutMargin_1w4ko","enter":"notification-manager__enter_1w4ko","enterActive":"notification-manager__enterActive_1w4ko"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
const CSS_TRANSITION_CLASS_NAMES = {
|
package/modern/index.css
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: g1zzk */
|
|
2
2
|
:root {
|
|
3
3
|
--gap-s: 12px;
|
|
4
4
|
--gap-xl: 24px;
|
|
5
5
|
--gap-4xl: 48px;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.notification-
|
|
8
|
+
.notification-manager__component_1w4ko {
|
|
9
9
|
position: fixed;
|
|
10
10
|
top: 0;
|
|
11
11
|
right: var(--gap-s);
|
|
@@ -13,45 +13,45 @@
|
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.notification-
|
|
16
|
+
.notification-manager__component_1w4ko .notification-manager__notification_1w4ko {
|
|
17
17
|
width: calc(100vw - var(--gap-xl));
|
|
18
18
|
margin-top: var(--gap-s);
|
|
19
19
|
will-change: transform
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.notification-
|
|
22
|
+
.notification-manager__component_1w4ko .notification-manager__notification_1w4ko.notification-manager__withoutMargin_1w4ko {
|
|
23
23
|
margin-top: 0;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.notification-
|
|
26
|
+
.notification-manager__component_1w4ko .notification-manager__notification_1w4ko.notification-manager__notification_1w4ko {
|
|
27
27
|
position: static;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.notification-
|
|
30
|
+
.notification-manager__enter_1w4ko {
|
|
31
31
|
visibility: hidden;
|
|
32
32
|
transform: translate(0, -500px);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.notification-
|
|
35
|
+
.notification-manager__enterActive_1w4ko {
|
|
36
36
|
visibility: visible;
|
|
37
37
|
transform: translate(0);
|
|
38
38
|
transition: transform 0.4s ease-out;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
@media (min-width: 600px) {
|
|
42
|
-
.notification-
|
|
42
|
+
.notification-manager__component_1w4ko {
|
|
43
43
|
right: var(--gap-4xl);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
.notification-
|
|
46
|
+
.notification-manager__component_1w4ko .notification-manager__notification_1w4ko {
|
|
47
47
|
width: auto;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
.notification-
|
|
50
|
+
.notification-manager__enter_1w4ko {
|
|
51
51
|
transform: translate(100%, 0);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
.notification-
|
|
54
|
+
.notification-manager__enterActive_1w4ko {
|
|
55
55
|
transform: translate(0);
|
|
56
56
|
}
|
|
57
57
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-notification-manager",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.2",
|
|
4
4
|
"description": "Notification manager",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"react": "^16.9.0 || ^17.0.1 || ^18.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@alfalab/core-components-notification": "^
|
|
17
|
+
"@alfalab/core-components-notification": "^7.0.0",
|
|
18
18
|
"@alfalab/core-components-portal": "^3.2.0",
|
|
19
19
|
"@alfalab/core-components-stack": "^4.1.0",
|
|
20
20
|
"classnames": "^2.3.1",
|