@alfalab/core-components-notification 5.0.16 → 5.2.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,36 @@
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
+ # [5.2.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-notification@5.1.1...@alfalab/core-components-notification@5.2.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
+
17
+ ## [5.1.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-notification@5.1.0...@alfalab/core-components-notification@5.1.1) (2022-02-17)
18
+
19
+ **Note:** Version bump only for package @alfalab/core-components-notification
20
+
21
+
22
+
23
+
24
+
25
+ # [5.1.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-notification@5.0.16...@alfalab/core-components-notification@5.1.0) (2022-02-15)
26
+
27
+
28
+ ### Features
29
+
30
+ * **notification:** disabled trackMouse ([#987](https://github.com/alfa-laboratory/core-components/issues/987)) ([c237b04](https://github.com/alfa-laboratory/core-components/commit/c237b04be227d370b321bb2d4585ce72b4d9994e))
31
+
32
+
33
+
34
+
35
+
6
36
  ## [5.0.16](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-notification@5.0.15...@alfalab/core-components-notification@5.0.16) (2022-02-09)
7
37
 
8
38
  **Note:** Version bump only for package @alfalab/core-components-notification
package/dist/Component.js CHANGED
@@ -58,7 +58,7 @@ function __rest(s, e) {
58
58
  return t;
59
59
  }
60
60
 
61
- var styles = {"notificationComponent":"notification__notificationComponent_5p0un","isVisible":"notification__isVisible_5p0un","isClosing":"notification__isClosing_5p0un","toastContent":"notification__toastContent_5p0un"};
61
+ var styles = {"notificationComponent":"notification__notificationComponent_kanfo","isVisible":"notification__isVisible_kanfo","isClosing":"notification__isClosing_kanfo","toastContent":"notification__toastContent_kanfo"};
62
62
  require('./index.css')
63
63
 
64
64
  var notificationClassNameSelector = "." + styles.notificationComponent;
@@ -130,7 +130,6 @@ var Notification = React.forwardRef(function (_a, ref) {
130
130
  }
131
131
  },
132
132
  delta: 100,
133
- trackMouse: true,
134
133
  });
135
134
  var Wrapper = usePortal ? coreComponentsPortal.Portal : React.Fragment;
136
135
  return (React__default['default'].createElement(coreComponentsStack.Stack, { value: zIndex }, function (computedZIndex) {
@@ -129,7 +129,6 @@ var Notification = React.forwardRef(function (_a, ref) {
129
129
  }
130
130
  },
131
131
  delta: 100,
132
- trackMouse: true,
133
132
  });
134
133
  var Wrapper = usePortal ? coreComponentsPortal.Portal : React.Fragment;
135
134
  return (React__default['default'].createElement(coreComponentsStack.Stack, { value: zIndex }, function (computedZIndex) {
@@ -47,7 +47,7 @@ function __rest(s, e) {
47
47
  return t;
48
48
  }
49
49
 
50
- var styles = {"notificationComponent":"notification__notificationComponent_5p0un","isVisible":"notification__isVisible_5p0un","isClosing":"notification__isClosing_5p0un","toastContent":"notification__toastContent_5p0un"};
50
+ var styles = {"notificationComponent":"notification__notificationComponent_kanfo","isVisible":"notification__isVisible_kanfo","isClosing":"notification__isClosing_kanfo","toastContent":"notification__toastContent_kanfo"};
51
51
  require('./index.css')
52
52
 
53
53
  var notificationClassNameSelector = "." + styles.notificationComponent;
@@ -119,7 +119,6 @@ var Notification = forwardRef(function (_a, ref) {
119
119
  }
120
120
  },
121
121
  delta: 100,
122
- trackMouse: true,
123
122
  });
124
123
  var Wrapper = usePortal ? Portal : Fragment;
125
124
  return (React.createElement(Stack, { value: zIndex }, function (computedZIndex) {
@@ -1,4 +1,4 @@
1
- /* hash: 1fx07 */
1
+ /* hash: ian1o */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -15,7 +15,7 @@
15
15
  :root {
16
16
  --notification-desktop-content-width: 278px;
17
17
  }
18
- .notification__notificationComponent_5p0un {
18
+ .notification__notificationComponent_kanfo {
19
19
  visibility: hidden;
20
20
  position: fixed;
21
21
  right: var(--gap-s);
@@ -28,22 +28,22 @@
28
28
  transition: transform 0.4s ease-out
29
29
  }
30
30
  @media screen and (min-width: 600px) {
31
- .notification__notificationComponent_5p0un {
31
+ .notification__notificationComponent_kanfo {
32
32
  right: var(--gap-4xl);
33
33
  width: auto;
34
34
  transform: translate(var(--notification-desktop-content-width), 0)
35
35
  }
36
36
  }
37
- .notification__notificationComponent_5p0un.notification__isVisible_5p0un {
37
+ .notification__notificationComponent_kanfo.notification__isVisible_kanfo {
38
38
  visibility: visible;
39
39
  transform: translate(0, 0);
40
40
  }
41
- .notification__notificationComponent_5p0un.notification__isClosing_5p0un {
41
+ .notification__notificationComponent_kanfo.notification__isClosing_kanfo {
42
42
  transition: transform 0.1s ease-out;
43
43
  transform: translate(100vw, 0)
44
44
  }
45
45
  @media screen and (min-width: 600px) {
46
- .notification__notificationComponent_5p0un.notification__isClosing_5p0un {
46
+ .notification__notificationComponent_kanfo.notification__isClosing_kanfo {
47
47
  transform: translate(
48
48
  calc(var(--notification-desktop-content-width) + var(--gap-4xl)),
49
49
  0
@@ -51,7 +51,7 @@
51
51
  }
52
52
  }
53
53
  @media screen and (min-width: 600px) {
54
- .notification__toastContent_5p0un {
54
+ .notification__toastContent_kanfo {
55
55
  width: var(--notification-desktop-content-width)
56
56
  }
57
57
  }
package/dist/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1fx07 */
1
+ /* hash: ian1o */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -15,7 +15,7 @@
15
15
  :root {
16
16
  --notification-desktop-content-width: 278px;
17
17
  }
18
- .notification__notificationComponent_5p0un {
18
+ .notification__notificationComponent_kanfo {
19
19
  visibility: hidden;
20
20
  position: fixed;
21
21
  right: var(--gap-s);
@@ -28,22 +28,22 @@
28
28
  transition: transform 0.4s ease-out
29
29
  }
30
30
  @media screen and (min-width: 600px) {
31
- .notification__notificationComponent_5p0un {
31
+ .notification__notificationComponent_kanfo {
32
32
  right: var(--gap-4xl);
33
33
  width: auto;
34
34
  transform: translate(var(--notification-desktop-content-width), 0)
35
35
  }
36
36
  }
37
- .notification__notificationComponent_5p0un.notification__isVisible_5p0un {
37
+ .notification__notificationComponent_kanfo.notification__isVisible_kanfo {
38
38
  visibility: visible;
39
39
  transform: translate(0, 0);
40
40
  }
41
- .notification__notificationComponent_5p0un.notification__isClosing_5p0un {
41
+ .notification__notificationComponent_kanfo.notification__isClosing_kanfo {
42
42
  transition: transform 0.1s ease-out;
43
43
  transform: translate(100vw, 0)
44
44
  }
45
45
  @media screen and (min-width: 600px) {
46
- .notification__notificationComponent_5p0un.notification__isClosing_5p0un {
46
+ .notification__notificationComponent_kanfo.notification__isClosing_kanfo {
47
47
  transform: translate(
48
48
  calc(var(--notification-desktop-content-width) + var(--gap-4xl)),
49
49
  0
@@ -51,7 +51,7 @@
51
51
  }
52
52
  }
53
53
  @media screen and (min-width: 600px) {
54
- .notification__toastContent_5p0un {
54
+ .notification__toastContent_kanfo {
55
55
  width: var(--notification-desktop-content-width)
56
56
  }
57
57
  }
@@ -8,7 +8,7 @@ import { ToastPlate } from '@alfalab/core-components-toast-plate/dist/modern';
8
8
  import { stackingOrder, Stack } from '@alfalab/core-components-stack/dist/modern';
9
9
  import { useClickOutside } from './utils/index.js';
10
10
 
11
- var styles = {"notificationComponent":"notification__notificationComponent_5p0un","isVisible":"notification__isVisible_5p0un","isClosing":"notification__isClosing_5p0un","toastContent":"notification__toastContent_5p0un"};
11
+ var styles = {"notificationComponent":"notification__notificationComponent_kanfo","isVisible":"notification__isVisible_kanfo","isClosing":"notification__isClosing_kanfo","toastContent":"notification__toastContent_kanfo"};
12
12
  require('./index.css')
13
13
 
14
14
  const notificationClassNameSelector = `.${styles.notificationComponent}`;
@@ -78,7 +78,6 @@ const Notification = forwardRef(({ className, children, visible, offset = 108, h
78
78
  }
79
79
  },
80
80
  delta: 100,
81
- trackMouse: true,
82
81
  });
83
82
  const Wrapper = usePortal ? Portal : Fragment;
84
83
  return (React.createElement(Stack, { value: zIndex }, computedZIndex => (React.createElement(Wrapper, null,
@@ -1,4 +1,4 @@
1
- /* hash: 1fx07 */
1
+ /* hash: ian1o */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -15,7 +15,7 @@
15
15
  :root {
16
16
  --notification-desktop-content-width: 278px;
17
17
  }
18
- .notification__notificationComponent_5p0un {
18
+ .notification__notificationComponent_kanfo {
19
19
  visibility: hidden;
20
20
  position: fixed;
21
21
  right: var(--gap-s);
@@ -28,22 +28,22 @@
28
28
  transition: transform 0.4s ease-out
29
29
  }
30
30
  @media screen and (min-width: 600px) {
31
- .notification__notificationComponent_5p0un {
31
+ .notification__notificationComponent_kanfo {
32
32
  right: var(--gap-4xl);
33
33
  width: auto;
34
34
  transform: translate(var(--notification-desktop-content-width), 0)
35
35
  }
36
36
  }
37
- .notification__notificationComponent_5p0un.notification__isVisible_5p0un {
37
+ .notification__notificationComponent_kanfo.notification__isVisible_kanfo {
38
38
  visibility: visible;
39
39
  transform: translate(0, 0);
40
40
  }
41
- .notification__notificationComponent_5p0un.notification__isClosing_5p0un {
41
+ .notification__notificationComponent_kanfo.notification__isClosing_kanfo {
42
42
  transition: transform 0.1s ease-out;
43
43
  transform: translate(100vw, 0)
44
44
  }
45
45
  @media screen and (min-width: 600px) {
46
- .notification__notificationComponent_5p0un.notification__isClosing_5p0un {
46
+ .notification__notificationComponent_kanfo.notification__isClosing_kanfo {
47
47
  transform: translate(
48
48
  calc(var(--notification-desktop-content-width) + var(--gap-4xl)),
49
49
  0
@@ -51,7 +51,7 @@
51
51
  }
52
52
  }
53
53
  @media screen and (min-width: 600px) {
54
- .notification__toastContent_5p0un {
54
+ .notification__toastContent_kanfo {
55
55
  width: var(--notification-desktop-content-width)
56
56
  }
57
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-notification",
3
- "version": "5.0.16",
3
+ "version": "5.2.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -21,11 +21,11 @@
21
21
  "dependencies": {
22
22
  "@alfalab/core-components-portal": "^2.0.1",
23
23
  "@alfalab/core-components-stack": "^3.0.1",
24
- "@alfalab/core-components-toast-plate": "^4.0.16",
24
+ "@alfalab/core-components-toast-plate": "^4.1.0",
25
25
  "classnames": "^2.2.6",
26
26
  "element-closest": "^3.0.2",
27
27
  "react-merge-refs": "^1.1.0",
28
28
  "react-swipeable": "^5.5.0"
29
29
  },
30
- "gitHead": "d5b56eb1bd377ac6da09c7826de36ae6f0d1a152"
30
+ "gitHead": "5c900d923b3052a3a677c99b7c927e6213e890b6"
31
31
  }