@alfalab/core-components-notification 6.1.10 → 6.1.12

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
@@ -56,7 +56,7 @@ function __rest(s, e) {
56
56
  return t;
57
57
  }
58
58
 
59
- var styles = {"notificationComponent":"notification__notificationComponent_8jvnv","isVisible":"notification__isVisible_8jvnv","isClosing":"notification__isClosing_8jvnv","toastContent":"notification__toastContent_8jvnv","actionSection":"notification__actionSection_8jvnv"};
59
+ var styles = {"notificationComponent":"notification__notificationComponent_ca0bc","isVisible":"notification__isVisible_ca0bc","isClosing":"notification__isClosing_ca0bc","toastContent":"notification__toastContent_ca0bc","actionSection":"notification__actionSection_ca0bc"};
60
60
  require('./index.css')
61
61
 
62
62
  var notificationClassNameSelector = ".".concat(styles.notificationComponent);
package/esm/Component.js CHANGED
@@ -47,7 +47,7 @@ function __rest(s, e) {
47
47
  return t;
48
48
  }
49
49
 
50
- var styles = {"notificationComponent":"notification__notificationComponent_8jvnv","isVisible":"notification__isVisible_8jvnv","isClosing":"notification__isClosing_8jvnv","toastContent":"notification__toastContent_8jvnv","actionSection":"notification__actionSection_8jvnv"};
50
+ var styles = {"notificationComponent":"notification__notificationComponent_ca0bc","isVisible":"notification__isVisible_ca0bc","isClosing":"notification__isClosing_ca0bc","toastContent":"notification__toastContent_ca0bc","actionSection":"notification__actionSection_ca0bc"};
51
51
  require('./index.css')
52
52
 
53
53
  var notificationClassNameSelector = ".".concat(styles.notificationComponent);
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 3h7yc */
1
+ /* hash: ixane */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -17,7 +17,7 @@
17
17
  :root {
18
18
  --notification-desktop-content-width: 278px;
19
19
  }
20
- .notification__notificationComponent_8jvnv {
20
+ .notification__notificationComponent_ca0bc {
21
21
  visibility: hidden;
22
22
  position: fixed;
23
23
  right: var(--gap-s);
@@ -30,31 +30,31 @@
30
30
  transition: transform 0.4s ease-out
31
31
  }
32
32
  @media screen and (min-width: 600px) {
33
- .notification__notificationComponent_8jvnv {
33
+ .notification__notificationComponent_ca0bc {
34
34
  right: var(--gap-4xl);
35
35
  width: auto;
36
36
  transform: translate(calc(100% + var(--gap-4xl)), 0)
37
37
  }
38
38
  }
39
- .notification__notificationComponent_8jvnv.notification__isVisible_8jvnv {
39
+ .notification__notificationComponent_ca0bc.notification__isVisible_ca0bc {
40
40
  visibility: visible;
41
41
  transform: translate(0, 0);
42
42
  }
43
- .notification__notificationComponent_8jvnv.notification__isClosing_8jvnv {
43
+ .notification__notificationComponent_ca0bc.notification__isClosing_ca0bc {
44
44
  transition: transform 0.1s ease-out;
45
45
  transform: translate(100vw, 0)
46
46
  }
47
47
  @media screen and (min-width: 600px) {
48
- .notification__notificationComponent_8jvnv.notification__isClosing_8jvnv {
48
+ .notification__notificationComponent_ca0bc.notification__isClosing_ca0bc {
49
49
  transform: translate(calc(100% + var(--gap-4xl)), 0)
50
50
  }
51
51
  }
52
52
  @media screen and (min-width: 600px) {
53
- .notification__toastContent_8jvnv {
53
+ .notification__toastContent_ca0bc {
54
54
  width: var(--notification-desktop-content-width)
55
55
  }
56
56
  }
57
- .notification__actionSection_8jvnv {
57
+ .notification__actionSection_ca0bc {
58
58
  min-width: 104px;
59
59
  min-height: 48px;
60
60
  padding: 0 var(--gap-xs);
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 3h7yc */
1
+ /* hash: ixane */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -17,7 +17,7 @@
17
17
  :root {
18
18
  --notification-desktop-content-width: 278px;
19
19
  }
20
- .notification__notificationComponent_8jvnv {
20
+ .notification__notificationComponent_ca0bc {
21
21
  visibility: hidden;
22
22
  position: fixed;
23
23
  right: var(--gap-s);
@@ -30,31 +30,31 @@
30
30
  transition: transform 0.4s ease-out
31
31
  }
32
32
  @media screen and (min-width: 600px) {
33
- .notification__notificationComponent_8jvnv {
33
+ .notification__notificationComponent_ca0bc {
34
34
  right: var(--gap-4xl);
35
35
  width: auto;
36
36
  transform: translate(calc(100% + var(--gap-4xl)), 0)
37
37
  }
38
38
  }
39
- .notification__notificationComponent_8jvnv.notification__isVisible_8jvnv {
39
+ .notification__notificationComponent_ca0bc.notification__isVisible_ca0bc {
40
40
  visibility: visible;
41
41
  transform: translate(0, 0);
42
42
  }
43
- .notification__notificationComponent_8jvnv.notification__isClosing_8jvnv {
43
+ .notification__notificationComponent_ca0bc.notification__isClosing_ca0bc {
44
44
  transition: transform 0.1s ease-out;
45
45
  transform: translate(100vw, 0)
46
46
  }
47
47
  @media screen and (min-width: 600px) {
48
- .notification__notificationComponent_8jvnv.notification__isClosing_8jvnv {
48
+ .notification__notificationComponent_ca0bc.notification__isClosing_ca0bc {
49
49
  transform: translate(calc(100% + var(--gap-4xl)), 0)
50
50
  }
51
51
  }
52
52
  @media screen and (min-width: 600px) {
53
- .notification__toastContent_8jvnv {
53
+ .notification__toastContent_ca0bc {
54
54
  width: var(--notification-desktop-content-width)
55
55
  }
56
56
  }
57
- .notification__actionSection_8jvnv {
57
+ .notification__actionSection_ca0bc {
58
58
  min-width: 104px;
59
59
  min-height: 48px;
60
60
  padding: 0 var(--gap-xs);
@@ -8,7 +8,7 @@ import { Stack, stackingOrder } from '@alfalab/core-components-stack/modern';
8
8
  import { ToastPlate } from '@alfalab/core-components-toast-plate/modern';
9
9
  import { useClickOutside } from './utils/index.js';
10
10
 
11
- const styles = {"notificationComponent":"notification__notificationComponent_8jvnv","isVisible":"notification__isVisible_8jvnv","isClosing":"notification__isClosing_8jvnv","toastContent":"notification__toastContent_8jvnv","actionSection":"notification__actionSection_8jvnv"};
11
+ const styles = {"notificationComponent":"notification__notificationComponent_ca0bc","isVisible":"notification__isVisible_ca0bc","isClosing":"notification__isClosing_ca0bc","toastContent":"notification__toastContent_ca0bc","actionSection":"notification__actionSection_ca0bc"};
12
12
  require('./index.css')
13
13
 
14
14
  const notificationClassNameSelector = `.${styles.notificationComponent}`;
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 3h7yc */
1
+ /* hash: ixane */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -17,7 +17,7 @@
17
17
  :root {
18
18
  --notification-desktop-content-width: 278px;
19
19
  }
20
- .notification__notificationComponent_8jvnv {
20
+ .notification__notificationComponent_ca0bc {
21
21
  visibility: hidden;
22
22
  position: fixed;
23
23
  right: var(--gap-s);
@@ -30,31 +30,31 @@
30
30
  transition: transform 0.4s ease-out
31
31
  }
32
32
  @media screen and (min-width: 600px) {
33
- .notification__notificationComponent_8jvnv {
33
+ .notification__notificationComponent_ca0bc {
34
34
  right: var(--gap-4xl);
35
35
  width: auto;
36
36
  transform: translate(calc(100% + var(--gap-4xl)), 0)
37
37
  }
38
38
  }
39
- .notification__notificationComponent_8jvnv.notification__isVisible_8jvnv {
39
+ .notification__notificationComponent_ca0bc.notification__isVisible_ca0bc {
40
40
  visibility: visible;
41
41
  transform: translate(0, 0);
42
42
  }
43
- .notification__notificationComponent_8jvnv.notification__isClosing_8jvnv {
43
+ .notification__notificationComponent_ca0bc.notification__isClosing_ca0bc {
44
44
  transition: transform 0.1s ease-out;
45
45
  transform: translate(100vw, 0)
46
46
  }
47
47
  @media screen and (min-width: 600px) {
48
- .notification__notificationComponent_8jvnv.notification__isClosing_8jvnv {
48
+ .notification__notificationComponent_ca0bc.notification__isClosing_ca0bc {
49
49
  transform: translate(calc(100% + var(--gap-4xl)), 0)
50
50
  }
51
51
  }
52
52
  @media screen and (min-width: 600px) {
53
- .notification__toastContent_8jvnv {
53
+ .notification__toastContent_ca0bc {
54
54
  width: var(--notification-desktop-content-width)
55
55
  }
56
56
  }
57
- .notification__actionSection_8jvnv {
57
+ .notification__actionSection_ca0bc {
58
58
  min-width: 104px;
59
59
  min-height: 48px;
60
60
  padding: 0 var(--gap-xs);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-notification",
3
- "version": "6.1.10",
3
+ "version": "6.1.12",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -19,7 +19,7 @@
19
19
  "dependencies": {
20
20
  "@alfalab/core-components-portal": "^3.1.2",
21
21
  "@alfalab/core-components-stack": "^4.0.2",
22
- "@alfalab/core-components-toast-plate": "^5.1.8",
22
+ "@alfalab/core-components-toast-plate": "^5.1.10",
23
23
  "classnames": "^2.3.1",
24
24
  "element-closest": "^3.0.2",
25
25
  "react-merge-refs": "^1.1.0",