@alfalab/core-components-notification-manager 5.4.2 → 5.4.3

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 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-manager__component_1w4ko","notification":"notification-manager__notification_1w4ko","withoutMargin":"notification-manager__withoutMargin_1w4ko","enter":"notification-manager__enter_1w4ko","enterActive":"notification-manager__enterActive_1w4ko"};
18
+ var styles = {"component":"notification-manager__component_1xrx7","notification":"notification-manager__notification_1xrx7","withoutMargin":"notification-manager__withoutMargin_1xrx7","enter":"notification-manager__enter_1xrx7","enterActive":"notification-manager__enterActive_1xrx7"};
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-manager__component_1w4ko","notification":"notification-manager__notification_1w4ko","withoutMargin":"notification-manager__withoutMargin_1w4ko","enter":"notification-manager__enter_1w4ko","enterActive":"notification-manager__enterActive_1w4ko"};
9
+ var styles = {"component":"notification-manager__component_1xrx7","notification":"notification-manager__notification_1xrx7","withoutMargin":"notification-manager__withoutMargin_1xrx7","enter":"notification-manager__enter_1xrx7","enterActive":"notification-manager__enterActive_1xrx7"};
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: g1zzk */
1
+ /* hash: 1aagb */
2
2
  :root {
3
3
  --gap-s: 12px;
4
4
  --gap-xl: 24px;
5
5
  --gap-4xl: 48px;
6
6
  }
7
7
 
8
- .notification-manager__component_1w4ko {
8
+ .notification-manager__component_1xrx7 {
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-manager__component_1w4ko .notification-manager__notification_1w4ko {
16
+ .notification-manager__component_1xrx7 .notification-manager__notification_1xrx7 {
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-manager__component_1w4ko .notification-manager__notification_1w4ko.notification-manager__withoutMargin_1w4ko {
22
+ .notification-manager__component_1xrx7 .notification-manager__notification_1xrx7.notification-manager__withoutMargin_1xrx7 {
23
23
  margin-top: 0;
24
24
  }
25
25
 
26
- .notification-manager__component_1w4ko .notification-manager__notification_1w4ko.notification-manager__notification_1w4ko {
26
+ .notification-manager__component_1xrx7 .notification-manager__notification_1xrx7.notification-manager__notification_1xrx7 {
27
27
  position: static;
28
28
  }
29
29
 
30
- .notification-manager__enter_1w4ko {
30
+ .notification-manager__enter_1xrx7 {
31
31
  visibility: hidden;
32
32
  transform: translate(0, -500px);
33
33
  }
34
34
 
35
- .notification-manager__enterActive_1w4ko {
35
+ .notification-manager__enterActive_1xrx7 {
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-manager__component_1w4ko {
42
+ .notification-manager__component_1xrx7 {
43
43
  right: var(--gap-4xl);
44
44
  }
45
45
 
46
- .notification-manager__component_1w4ko .notification-manager__notification_1w4ko {
46
+ .notification-manager__component_1xrx7 .notification-manager__notification_1xrx7 {
47
47
  width: auto;
48
48
  }
49
49
 
50
- .notification-manager__enter_1w4ko {
50
+ .notification-manager__enter_1xrx7 {
51
51
  transform: translate(100%, 0);
52
52
  }
53
53
 
54
- .notification-manager__enterActive_1w4ko {
54
+ .notification-manager__enterActive_1xrx7 {
55
55
  transform: translate(0);
56
56
  }
57
57
  }
package/index.css CHANGED
@@ -1,11 +1,11 @@
1
- /* hash: g1zzk */
1
+ /* hash: 1aagb */
2
2
  :root {
3
3
  --gap-s: 12px;
4
4
  --gap-xl: 24px;
5
5
  --gap-4xl: 48px;
6
6
  }
7
7
 
8
- .notification-manager__component_1w4ko {
8
+ .notification-manager__component_1xrx7 {
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-manager__component_1w4ko .notification-manager__notification_1w4ko {
16
+ .notification-manager__component_1xrx7 .notification-manager__notification_1xrx7 {
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-manager__component_1w4ko .notification-manager__notification_1w4ko.notification-manager__withoutMargin_1w4ko {
22
+ .notification-manager__component_1xrx7 .notification-manager__notification_1xrx7.notification-manager__withoutMargin_1xrx7 {
23
23
  margin-top: 0;
24
24
  }
25
25
 
26
- .notification-manager__component_1w4ko .notification-manager__notification_1w4ko.notification-manager__notification_1w4ko {
26
+ .notification-manager__component_1xrx7 .notification-manager__notification_1xrx7.notification-manager__notification_1xrx7 {
27
27
  position: static;
28
28
  }
29
29
 
30
- .notification-manager__enter_1w4ko {
30
+ .notification-manager__enter_1xrx7 {
31
31
  visibility: hidden;
32
32
  transform: translate(0, -500px);
33
33
  }
34
34
 
35
- .notification-manager__enterActive_1w4ko {
35
+ .notification-manager__enterActive_1xrx7 {
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-manager__component_1w4ko {
42
+ .notification-manager__component_1xrx7 {
43
43
  right: var(--gap-4xl);
44
44
  }
45
45
 
46
- .notification-manager__component_1w4ko .notification-manager__notification_1w4ko {
46
+ .notification-manager__component_1xrx7 .notification-manager__notification_1xrx7 {
47
47
  width: auto;
48
48
  }
49
49
 
50
- .notification-manager__enter_1w4ko {
50
+ .notification-manager__enter_1xrx7 {
51
51
  transform: translate(100%, 0);
52
52
  }
53
53
 
54
- .notification-manager__enterActive_1w4ko {
54
+ .notification-manager__enterActive_1xrx7 {
55
55
  transform: translate(0);
56
56
  }
57
57
  }
@@ -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-manager__component_1w4ko","notification":"notification-manager__notification_1w4ko","withoutMargin":"notification-manager__withoutMargin_1w4ko","enter":"notification-manager__enter_1w4ko","enterActive":"notification-manager__enterActive_1w4ko"};
8
+ const styles = {"component":"notification-manager__component_1xrx7","notification":"notification-manager__notification_1xrx7","withoutMargin":"notification-manager__withoutMargin_1xrx7","enter":"notification-manager__enter_1xrx7","enterActive":"notification-manager__enterActive_1xrx7"};
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: g1zzk */
1
+ /* hash: 1aagb */
2
2
  :root {
3
3
  --gap-s: 12px;
4
4
  --gap-xl: 24px;
5
5
  --gap-4xl: 48px;
6
6
  }
7
7
 
8
- .notification-manager__component_1w4ko {
8
+ .notification-manager__component_1xrx7 {
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-manager__component_1w4ko .notification-manager__notification_1w4ko {
16
+ .notification-manager__component_1xrx7 .notification-manager__notification_1xrx7 {
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-manager__component_1w4ko .notification-manager__notification_1w4ko.notification-manager__withoutMargin_1w4ko {
22
+ .notification-manager__component_1xrx7 .notification-manager__notification_1xrx7.notification-manager__withoutMargin_1xrx7 {
23
23
  margin-top: 0;
24
24
  }
25
25
 
26
- .notification-manager__component_1w4ko .notification-manager__notification_1w4ko.notification-manager__notification_1w4ko {
26
+ .notification-manager__component_1xrx7 .notification-manager__notification_1xrx7.notification-manager__notification_1xrx7 {
27
27
  position: static;
28
28
  }
29
29
 
30
- .notification-manager__enter_1w4ko {
30
+ .notification-manager__enter_1xrx7 {
31
31
  visibility: hidden;
32
32
  transform: translate(0, -500px);
33
33
  }
34
34
 
35
- .notification-manager__enterActive_1w4ko {
35
+ .notification-manager__enterActive_1xrx7 {
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-manager__component_1w4ko {
42
+ .notification-manager__component_1xrx7 {
43
43
  right: var(--gap-4xl);
44
44
  }
45
45
 
46
- .notification-manager__component_1w4ko .notification-manager__notification_1w4ko {
46
+ .notification-manager__component_1xrx7 .notification-manager__notification_1xrx7 {
47
47
  width: auto;
48
48
  }
49
49
 
50
- .notification-manager__enter_1w4ko {
50
+ .notification-manager__enter_1xrx7 {
51
51
  transform: translate(100%, 0);
52
52
  }
53
53
 
54
- .notification-manager__enterActive_1w4ko {
54
+ .notification-manager__enterActive_1xrx7 {
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.2",
3
+ "version": "5.4.3",
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": "^7.0.0",
17
+ "@alfalab/core-components-notification": "^7.0.1",
18
18
  "@alfalab/core-components-portal": "^3.2.0",
19
19
  "@alfalab/core-components-stack": "^4.1.0",
20
20
  "classnames": "^2.3.1",