@alfalab/core-components-notification-manager 5.1.14 → 5.1.15

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.
File without changes
package/component.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var components_notification_component = require('./component-99919bbf.js');
3
+ var components_notification_component = require('./component-ecaaf866.js');
4
4
  var React = require('react');
5
5
  var reactTransitionGroup = require('react-transition-group');
6
6
  var cn = require('classnames');
@@ -12,7 +12,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
12
12
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
13
13
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
14
14
 
15
- var styles = {"component":"notification-manager__component_1mtot","notification":"notification-manager__notification_1mtot","enter":"notification-manager__enter_1mtot","enterActive":"notification-manager__enterActive_1mtot","exit":"notification-manager__exit_1mtot","exitActive":"notification-manager__exitActive_1mtot"};
15
+ var styles = {"component":"notification-manager__component_1bwyg","notification":"notification-manager__notification_1bwyg","enter":"notification-manager__enter_1bwyg","enterActive":"notification-manager__enterActive_1bwyg","exit":"notification-manager__exit_1bwyg","exitActive":"notification-manager__exitActive_1bwyg"};
16
16
  require('./index.css')
17
17
 
18
18
  var CSS_TRANSITION_CLASS_NAMES = {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var components_notification_component = require('../component-99919bbf.js');
3
+ var components_notification_component = require('../component-ecaaf866.js');
4
4
  require('react');
5
5
  require('classnames');
6
6
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var components_notification_component = require('../../component-99919bbf.js');
3
+ var components_notification_component = require('../../component-ecaaf866.js');
4
4
  require('react');
5
5
  require('classnames');
6
6
 
@@ -1 +1 @@
1
- export * from "../../component-99919bbf";
1
+ export * from "../../component-ecaaf866";
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var components_notification_component = require('../../component-99919bbf.js');
3
+ var components_notification_component = require('../../component-ecaaf866.js');
4
4
  require('react');
5
5
  require('classnames');
6
6
 
package/esm/component.js CHANGED
@@ -1,11 +1,11 @@
1
- import { _ as __rest, a as __assign, N as Notification } from './component-c85c6f6b.js';
1
+ import { _ as __rest, a as __assign, N as Notification } from './component-db4a6a95.js';
2
2
  import React, { forwardRef } from 'react';
3
3
  import { TransitionGroup, CSSTransition } from 'react-transition-group';
4
4
  import cn from 'classnames';
5
5
  import { Portal } from '@alfalab/core-components-portal/esm';
6
6
  import { stackingOrder, Stack } from '@alfalab/core-components-stack/esm';
7
7
 
8
- var styles = {"component":"notification-manager__component_1mtot","notification":"notification-manager__notification_1mtot","enter":"notification-manager__enter_1mtot","enterActive":"notification-manager__enterActive_1mtot","exit":"notification-manager__exit_1mtot","exitActive":"notification-manager__exitActive_1mtot"};
8
+ var styles = {"component":"notification-manager__component_1bwyg","notification":"notification-manager__notification_1bwyg","enter":"notification-manager__enter_1bwyg","enterActive":"notification-manager__enterActive_1bwyg","exit":"notification-manager__exit_1bwyg","exitActive":"notification-manager__exitActive_1bwyg"};
9
9
  require('./index.css')
10
10
 
11
11
  var CSS_TRANSITION_CLASS_NAMES = {
@@ -1,3 +1,3 @@
1
- export { N as Notification } from '../component-c85c6f6b.js';
1
+ export { N as Notification } from '../component-db4a6a95.js';
2
2
  import 'react';
3
3
  import 'classnames';
@@ -1,3 +1,3 @@
1
- export { N as Notification } from '../../component-c85c6f6b.js';
1
+ export { N as Notification } from '../../component-db4a6a95.js';
2
2
  import 'react';
3
3
  import 'classnames';
@@ -1 +1 @@
1
- export * from "../../component-c85c6f6b";
1
+ export * from "../../component-db4a6a95";
@@ -1,3 +1,3 @@
1
- export { N as Notification } from '../../component-c85c6f6b.js';
1
+ export { N as Notification } from '../../component-db4a6a95.js';
2
2
  import 'react';
3
3
  import 'classnames';
package/esm/index.css CHANGED
@@ -1,11 +1,11 @@
1
- /* hash: 1qw53 */
1
+ /* hash: 8axf7 */
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_1mtot {
8
+ .notification-manager__component_1bwyg {
9
9
  position: fixed;
10
10
  top: 0;
11
11
  right: var(--gap-s);
@@ -13,48 +13,48 @@
13
13
  flex-direction: column;
14
14
  }
15
15
 
16
- .notification-manager__component_1mtot .notification-manager__notification_1mtot {
16
+ .notification-manager__component_1bwyg .notification-manager__notification_1bwyg {
17
17
  position: static;
18
18
  width: calc(100vw - var(--gap-xl));
19
19
  margin-top: var(--gap-s);
20
20
  will-change: transform;
21
21
  }
22
22
 
23
- .notification-manager__enter_1mtot {
23
+ .notification-manager__enter_1bwyg {
24
24
  visibility: hidden;
25
25
  transform: translate(0, -500px);
26
26
  }
27
27
 
28
- .notification-manager__enterActive_1mtot {
28
+ .notification-manager__enterActive_1bwyg {
29
29
  visibility: visible;
30
30
  transform: translate(0);
31
31
  transition: transform 0.4s ease-out;
32
32
  }
33
33
 
34
- .notification-manager__exit_1mtot {
34
+ .notification-manager__exit_1bwyg {
35
35
  opacity: 0;
36
36
  }
37
37
 
38
- .notification-manager__exitActive_1mtot {
38
+ .notification-manager__exitActive_1bwyg {
39
39
  visibility: hidden;
40
40
  opacity: 0;
41
41
  transition: opacity 0.15s ease-in-out;
42
42
  }
43
43
 
44
44
  @media (min-width: 600px) {
45
- .notification-manager__component_1mtot {
45
+ .notification-manager__component_1bwyg {
46
46
  right: var(--gap-4xl);
47
47
  }
48
48
 
49
- .notification-manager__component_1mtot .notification-manager__notification_1mtot {
49
+ .notification-manager__component_1bwyg .notification-manager__notification_1bwyg {
50
50
  width: auto;
51
51
  }
52
52
 
53
- .notification-manager__enter_1mtot {
53
+ .notification-manager__enter_1bwyg {
54
54
  transform: translate(100%, 0);
55
55
  }
56
56
 
57
- .notification-manager__enterActive_1mtot {
57
+ .notification-manager__enterActive_1bwyg {
58
58
  transform: translate(0);
59
59
  }
60
60
  }
package/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export { NotificationManager } from './component.js';
2
- import './component-c85c6f6b.js';
2
+ import './component-db4a6a95.js';
3
3
  import 'react';
4
4
  import 'classnames';
5
5
  import 'react-transition-group';
package/index.css CHANGED
@@ -1,11 +1,11 @@
1
- /* hash: 1qw53 */
1
+ /* hash: 8axf7 */
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_1mtot {
8
+ .notification-manager__component_1bwyg {
9
9
  position: fixed;
10
10
  top: 0;
11
11
  right: var(--gap-s);
@@ -13,48 +13,48 @@
13
13
  flex-direction: column;
14
14
  }
15
15
 
16
- .notification-manager__component_1mtot .notification-manager__notification_1mtot {
16
+ .notification-manager__component_1bwyg .notification-manager__notification_1bwyg {
17
17
  position: static;
18
18
  width: calc(100vw - var(--gap-xl));
19
19
  margin-top: var(--gap-s);
20
20
  will-change: transform;
21
21
  }
22
22
 
23
- .notification-manager__enter_1mtot {
23
+ .notification-manager__enter_1bwyg {
24
24
  visibility: hidden;
25
25
  transform: translate(0, -500px);
26
26
  }
27
27
 
28
- .notification-manager__enterActive_1mtot {
28
+ .notification-manager__enterActive_1bwyg {
29
29
  visibility: visible;
30
30
  transform: translate(0);
31
31
  transition: transform 0.4s ease-out;
32
32
  }
33
33
 
34
- .notification-manager__exit_1mtot {
34
+ .notification-manager__exit_1bwyg {
35
35
  opacity: 0;
36
36
  }
37
37
 
38
- .notification-manager__exitActive_1mtot {
38
+ .notification-manager__exitActive_1bwyg {
39
39
  visibility: hidden;
40
40
  opacity: 0;
41
41
  transition: opacity 0.15s ease-in-out;
42
42
  }
43
43
 
44
44
  @media (min-width: 600px) {
45
- .notification-manager__component_1mtot {
45
+ .notification-manager__component_1bwyg {
46
46
  right: var(--gap-4xl);
47
47
  }
48
48
 
49
- .notification-manager__component_1mtot .notification-manager__notification_1mtot {
49
+ .notification-manager__component_1bwyg .notification-manager__notification_1bwyg {
50
50
  width: auto;
51
51
  }
52
52
 
53
- .notification-manager__enter_1mtot {
53
+ .notification-manager__enter_1bwyg {
54
54
  transform: translate(100%, 0);
55
55
  }
56
56
 
57
- .notification-manager__enterActive_1mtot {
57
+ .notification-manager__enterActive_1bwyg {
58
58
  transform: translate(0);
59
59
  }
60
60
  }
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var component = require('./component.js');
4
- require('./component-99919bbf.js');
4
+ require('./component-ecaaf866.js');
5
5
  require('react');
6
6
  require('classnames');
7
7
  require('react-transition-group');
@@ -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_1mtot","notification":"notification-manager__notification_1mtot","enter":"notification-manager__enter_1mtot","enterActive":"notification-manager__enterActive_1mtot","exit":"notification-manager__exit_1mtot","exitActive":"notification-manager__exitActive_1mtot"};
8
+ const styles = {"component":"notification-manager__component_1bwyg","notification":"notification-manager__notification_1bwyg","enter":"notification-manager__enter_1bwyg","enterActive":"notification-manager__enterActive_1bwyg","exit":"notification-manager__exit_1bwyg","exitActive":"notification-manager__exitActive_1bwyg"};
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: 1qw53 */
1
+ /* hash: 8axf7 */
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_1mtot {
8
+ .notification-manager__component_1bwyg {
9
9
  position: fixed;
10
10
  top: 0;
11
11
  right: var(--gap-s);
@@ -13,48 +13,48 @@
13
13
  flex-direction: column;
14
14
  }
15
15
 
16
- .notification-manager__component_1mtot .notification-manager__notification_1mtot {
16
+ .notification-manager__component_1bwyg .notification-manager__notification_1bwyg {
17
17
  position: static;
18
18
  width: calc(100vw - var(--gap-xl));
19
19
  margin-top: var(--gap-s);
20
20
  will-change: transform;
21
21
  }
22
22
 
23
- .notification-manager__enter_1mtot {
23
+ .notification-manager__enter_1bwyg {
24
24
  visibility: hidden;
25
25
  transform: translate(0, -500px);
26
26
  }
27
27
 
28
- .notification-manager__enterActive_1mtot {
28
+ .notification-manager__enterActive_1bwyg {
29
29
  visibility: visible;
30
30
  transform: translate(0);
31
31
  transition: transform 0.4s ease-out;
32
32
  }
33
33
 
34
- .notification-manager__exit_1mtot {
34
+ .notification-manager__exit_1bwyg {
35
35
  opacity: 0;
36
36
  }
37
37
 
38
- .notification-manager__exitActive_1mtot {
38
+ .notification-manager__exitActive_1bwyg {
39
39
  visibility: hidden;
40
40
  opacity: 0;
41
41
  transition: opacity 0.15s ease-in-out;
42
42
  }
43
43
 
44
44
  @media (min-width: 600px) {
45
- .notification-manager__component_1mtot {
45
+ .notification-manager__component_1bwyg {
46
46
  right: var(--gap-4xl);
47
47
  }
48
48
 
49
- .notification-manager__component_1mtot .notification-manager__notification_1mtot {
49
+ .notification-manager__component_1bwyg .notification-manager__notification_1bwyg {
50
50
  width: auto;
51
51
  }
52
52
 
53
- .notification-manager__enter_1mtot {
53
+ .notification-manager__enter_1bwyg {
54
54
  transform: translate(100%, 0);
55
55
  }
56
56
 
57
- .notification-manager__enterActive_1mtot {
57
+ .notification-manager__enterActive_1bwyg {
58
58
  transform: translate(0);
59
59
  }
60
60
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-notification-manager",
3
- "version": "5.1.14",
3
+ "version": "5.1.15",
4
4
  "description": "Notification manager",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -17,7 +17,7 @@
17
17
  "react": "^16.9.0 || ^17.0.1 || ^18.0.0"
18
18
  },
19
19
  "dependencies": {
20
- "@alfalab/core-components-notification": "^6.1.13",
20
+ "@alfalab/core-components-notification": "^6.1.14",
21
21
  "@alfalab/core-components-portal": "^3.1.2",
22
22
  "@alfalab/core-components-stack": "^4.0.2",
23
23
  "classnames": "^2.3.1",