@alfalab/core-components-notification-manager 4.0.18 → 4.1.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [4.1.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-notification-manager@4.0.18...@alfalab/core-components-notification-manager@4.1.0) (2022-03-04)
7
+
8
+
9
+ ### Features
10
+
11
+ * Исправить импорты в сторях. ([#998](https://github.com/alfa-laboratory/core-components/issues/998)) ([e6a654a](https://github.com/alfa-laboratory/core-components/commit/e6a654a0599451c7d149484cb61d8067eed083b7))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [4.0.18](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-notification-manager@4.0.17...@alfalab/core-components-notification-manager@4.0.18) (2022-02-17)
7
18
 
8
19
  **Note:** Version bump only for package @alfalab/core-components-notification-manager
package/dist/component.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var components_notification_component = require('./component-e3bd1cd2.js');
5
+ var components_notification_component = require('./component-7f49e3f0.js');
6
6
  var React = require('react');
7
7
  var cn = require('classnames');
8
8
  var reactTransitionGroup = require('react-transition-group');
@@ -14,7 +14,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
14
14
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
15
15
  var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
16
16
 
17
- var styles = {"component":"notification-manager__component_gc6ko","notification":"notification-manager__notification_gc6ko","enter":"notification-manager__enter_gc6ko","enterActive":"notification-manager__enterActive_gc6ko","exit":"notification-manager__exit_gc6ko","exitActive":"notification-manager__exitActive_gc6ko"};
17
+ var styles = {"component":"notification-manager__component_1ndv3","notification":"notification-manager__notification_1ndv3","enter":"notification-manager__enter_1ndv3","enterActive":"notification-manager__enterActive_1ndv3","exit":"notification-manager__exit_1ndv3","exitActive":"notification-manager__exitActive_1ndv3"};
18
18
  require('./index.css')
19
19
 
20
20
  var CSS_TRANSITION_CLASS_NAMES = {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var components_notification_component = require('../component-e3bd1cd2.js');
5
+ var components_notification_component = require('../component-7f49e3f0.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var components_notification_component = require('../../component-e3bd1cd2.js');
5
+ var components_notification_component = require('../../component-7f49e3f0.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
 
@@ -1 +1 @@
1
- export * from "../../component-e3bd1cd2";
1
+ export * from "../../component-7f49e3f0";
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var components_notification_component = require('../../component-e3bd1cd2.js');
5
+ var components_notification_component = require('../../component-7f49e3f0.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
 
@@ -1,11 +1,11 @@
1
- import { _ as __rest, a as __assign, N as Notification } from './component-c142ad48.js';
1
+ import { _ as __rest, a as __assign, N as Notification } from './component-b7f6300d.js';
2
2
  import React, { forwardRef } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { TransitionGroup, CSSTransition } from 'react-transition-group';
5
5
  import { Portal } from '@alfalab/core-components-portal/dist/esm';
6
6
  import { stackingOrder, Stack } from '@alfalab/core-components-stack/dist/esm';
7
7
 
8
- var styles = {"component":"notification-manager__component_gc6ko","notification":"notification-manager__notification_gc6ko","enter":"notification-manager__enter_gc6ko","enterActive":"notification-manager__enterActive_gc6ko","exit":"notification-manager__exit_gc6ko","exitActive":"notification-manager__exitActive_gc6ko"};
8
+ var styles = {"component":"notification-manager__component_1ndv3","notification":"notification-manager__notification_1ndv3","enter":"notification-manager__enter_1ndv3","enterActive":"notification-manager__enterActive_1ndv3","exit":"notification-manager__exit_1ndv3","exitActive":"notification-manager__exitActive_1ndv3"};
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-c142ad48.js';
1
+ export { N as Notification } from '../component-b7f6300d.js';
2
2
  import 'react';
3
3
  import 'classnames';
@@ -1,3 +1,3 @@
1
- export { N as Notification } from '../../component-c142ad48.js';
1
+ export { N as Notification } from '../../component-b7f6300d.js';
2
2
  import 'react';
3
3
  import 'classnames';
@@ -1 +1 @@
1
- export * from "../../component-c142ad48";
1
+ export * from "../../component-b7f6300d";
@@ -1,3 +1,3 @@
1
- export { N as Notification } from '../../component-c142ad48.js';
1
+ export { N as Notification } from '../../component-b7f6300d.js';
2
2
  import 'react';
3
3
  import 'classnames';
@@ -1,11 +1,11 @@
1
- /* hash: 11fxz */
1
+ /* hash: w60hx */
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_gc6ko {
8
+ .notification-manager__component_1ndv3 {
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_gc6ko .notification-manager__notification_gc6ko {
16
+ .notification-manager__component_1ndv3 .notification-manager__notification_1ndv3 {
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_gc6ko {
23
+ .notification-manager__enter_1ndv3 {
24
24
  visibility: hidden;
25
25
  transform: translate(0, -500px);
26
26
  transition: transform 0.4s ease-out;
27
27
  }
28
28
 
29
- .notification-manager__enterActive_gc6ko {
29
+ .notification-manager__enterActive_1ndv3 {
30
30
  visibility: visible;
31
31
  transform: translate(0);
32
32
  }
33
33
 
34
- .notification-manager__exit_gc6ko {
34
+ .notification-manager__exit_1ndv3 {
35
35
  opacity: 0;
36
36
  transition: opacity 0.15s ease-in-out;
37
37
  }
38
38
 
39
- .notification-manager__exitActive_gc6ko {
39
+ .notification-manager__exitActive_1ndv3 {
40
40
  visibility: hidden;
41
41
  opacity: 0;
42
42
  }
43
43
 
44
44
  @media (min-width: 600px) {
45
- .notification-manager__component_gc6ko {
45
+ .notification-manager__component_1ndv3 {
46
46
  right: var(--gap-4xl);
47
47
  }
48
48
 
49
- .notification-manager__component_gc6ko .notification-manager__notification_gc6ko {
49
+ .notification-manager__component_1ndv3 .notification-manager__notification_1ndv3 {
50
50
  width: auto;
51
51
  }
52
52
 
53
- .notification-manager__enter_gc6ko {
53
+ .notification-manager__enter_1ndv3 {
54
54
  transform: translate(100%, 0);
55
55
  }
56
56
 
57
- .notification-manager__enterActive_gc6ko {
57
+ .notification-manager__enterActive_1ndv3 {
58
58
  transform: translate(0);
59
59
  }
60
60
  }
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './component-c142ad48.js';
1
+ import './component-b7f6300d.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import 'react-transition-group';
package/dist/index.css CHANGED
@@ -1,11 +1,11 @@
1
- /* hash: 11fxz */
1
+ /* hash: w60hx */
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_gc6ko {
8
+ .notification-manager__component_1ndv3 {
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_gc6ko .notification-manager__notification_gc6ko {
16
+ .notification-manager__component_1ndv3 .notification-manager__notification_1ndv3 {
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_gc6ko {
23
+ .notification-manager__enter_1ndv3 {
24
24
  visibility: hidden;
25
25
  transform: translate(0, -500px);
26
26
  transition: transform 0.4s ease-out;
27
27
  }
28
28
 
29
- .notification-manager__enterActive_gc6ko {
29
+ .notification-manager__enterActive_1ndv3 {
30
30
  visibility: visible;
31
31
  transform: translate(0);
32
32
  }
33
33
 
34
- .notification-manager__exit_gc6ko {
34
+ .notification-manager__exit_1ndv3 {
35
35
  opacity: 0;
36
36
  transition: opacity 0.15s ease-in-out;
37
37
  }
38
38
 
39
- .notification-manager__exitActive_gc6ko {
39
+ .notification-manager__exitActive_1ndv3 {
40
40
  visibility: hidden;
41
41
  opacity: 0;
42
42
  }
43
43
 
44
44
  @media (min-width: 600px) {
45
- .notification-manager__component_gc6ko {
45
+ .notification-manager__component_1ndv3 {
46
46
  right: var(--gap-4xl);
47
47
  }
48
48
 
49
- .notification-manager__component_gc6ko .notification-manager__notification_gc6ko {
49
+ .notification-manager__component_1ndv3 .notification-manager__notification_1ndv3 {
50
50
  width: auto;
51
51
  }
52
52
 
53
- .notification-manager__enter_gc6ko {
53
+ .notification-manager__enter_1ndv3 {
54
54
  transform: translate(100%, 0);
55
55
  }
56
56
 
57
- .notification-manager__enterActive_gc6ko {
57
+ .notification-manager__enterActive_1ndv3 {
58
58
  transform: translate(0);
59
59
  }
60
60
  }
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./component-e3bd1cd2.js');
5
+ require('./component-7f49e3f0.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('react-transition-group');
@@ -5,7 +5,7 @@ import { Portal } from '@alfalab/core-components-portal/dist/modern';
5
5
  import { stackingOrder, Stack } from '@alfalab/core-components-stack/dist/modern';
6
6
  import { Notification } from './components/notification/component.js';
7
7
 
8
- var styles = {"component":"notification-manager__component_gc6ko","notification":"notification-manager__notification_gc6ko","enter":"notification-manager__enter_gc6ko","enterActive":"notification-manager__enterActive_gc6ko","exit":"notification-manager__exit_gc6ko","exitActive":"notification-manager__exitActive_gc6ko"};
8
+ var styles = {"component":"notification-manager__component_1ndv3","notification":"notification-manager__notification_1ndv3","enter":"notification-manager__enter_1ndv3","enterActive":"notification-manager__enterActive_1ndv3","exit":"notification-manager__exit_1ndv3","exitActive":"notification-manager__exitActive_1ndv3"};
9
9
  require('./index.css')
10
10
 
11
11
  const CSS_TRANSITION_CLASS_NAMES = {
@@ -1,11 +1,11 @@
1
- /* hash: 11fxz */
1
+ /* hash: w60hx */
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_gc6ko {
8
+ .notification-manager__component_1ndv3 {
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_gc6ko .notification-manager__notification_gc6ko {
16
+ .notification-manager__component_1ndv3 .notification-manager__notification_1ndv3 {
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_gc6ko {
23
+ .notification-manager__enter_1ndv3 {
24
24
  visibility: hidden;
25
25
  transform: translate(0, -500px);
26
26
  transition: transform 0.4s ease-out;
27
27
  }
28
28
 
29
- .notification-manager__enterActive_gc6ko {
29
+ .notification-manager__enterActive_1ndv3 {
30
30
  visibility: visible;
31
31
  transform: translate(0);
32
32
  }
33
33
 
34
- .notification-manager__exit_gc6ko {
34
+ .notification-manager__exit_1ndv3 {
35
35
  opacity: 0;
36
36
  transition: opacity 0.15s ease-in-out;
37
37
  }
38
38
 
39
- .notification-manager__exitActive_gc6ko {
39
+ .notification-manager__exitActive_1ndv3 {
40
40
  visibility: hidden;
41
41
  opacity: 0;
42
42
  }
43
43
 
44
44
  @media (min-width: 600px) {
45
- .notification-manager__component_gc6ko {
45
+ .notification-manager__component_1ndv3 {
46
46
  right: var(--gap-4xl);
47
47
  }
48
48
 
49
- .notification-manager__component_gc6ko .notification-manager__notification_gc6ko {
49
+ .notification-manager__component_1ndv3 .notification-manager__notification_1ndv3 {
50
50
  width: auto;
51
51
  }
52
52
 
53
- .notification-manager__enter_gc6ko {
53
+ .notification-manager__enter_1ndv3 {
54
54
  transform: translate(100%, 0);
55
55
  }
56
56
 
57
- .notification-manager__enterActive_gc6ko {
57
+ .notification-manager__enterActive_1ndv3 {
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": "4.0.18",
3
+ "version": "4.1.0",
4
4
  "description": "Notification manager",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -19,11 +19,11 @@
19
19
  "react": "^16.9.0 || ^17.0.1"
20
20
  },
21
21
  "dependencies": {
22
- "@alfalab/core-components-notification": "^5.1.1",
22
+ "@alfalab/core-components-notification": "^5.2.0",
23
23
  "@alfalab/core-components-portal": "^2.0.1",
24
24
  "@alfalab/core-components-stack": "^3.0.1",
25
25
  "classnames": "^2.2.6",
26
26
  "react-transition-group": "^4.3.0"
27
27
  },
28
- "gitHead": "45ff10d1efc81a4a1afb82c6b6eca1b428c7c459"
28
+ "gitHead": "5c900d923b3052a3a677c99b7c927e6213e890b6"
29
29
  }