@alfalab/core-components-drawer 3.2.5 → 3.3.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,41 @@
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
+ # [3.3.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-drawer@3.2.8...@alfalab/core-components-drawer@3.3.0) (2022-08-04)
7
+
8
+
9
+ ### Features
10
+
11
+ * react 18 support ([#159](https://github.com/core-ds/core-components/issues/159)) ([2e6693c](https://github.com/core-ds/core-components/commit/2e6693c62f534e333aadb7d3fff4ffd78ac84c63))
12
+
13
+
14
+
15
+
16
+
17
+ ## [3.2.8](https://github.com/core-ds/core-components/compare/@alfalab/core-components-drawer@3.2.7...@alfalab/core-components-drawer@3.2.8) (2022-07-25)
18
+
19
+ **Note:** Version bump only for package @alfalab/core-components-drawer
20
+
21
+
22
+
23
+
24
+
25
+ ## [3.2.7](https://github.com/core-ds/core-components/compare/@alfalab/core-components-drawer@3.2.6...@alfalab/core-components-drawer@3.2.7) (2022-07-18)
26
+
27
+ **Note:** Version bump only for package @alfalab/core-components-drawer
28
+
29
+
30
+
31
+
32
+
33
+ ## [3.2.6](https://github.com/core-ds/core-components/compare/@alfalab/core-components-drawer@3.2.5...@alfalab/core-components-drawer@3.2.6) (2022-07-15)
34
+
35
+ **Note:** Version bump only for package @alfalab/core-components-drawer
36
+
37
+
38
+
39
+
40
+
6
41
  ## [3.2.5](https://github.com/core-ds/core-components/compare/@alfalab/core-components-drawer@3.2.4...@alfalab/core-components-drawer@3.2.5) (2022-07-15)
7
42
 
8
43
 
package/Component.d.ts CHANGED
@@ -11,7 +11,7 @@ type DrawerProps = Omit<BaseModalProps, 'container'> & {
11
11
  contentTransitionProps?: Partial<TransitionProps>;
12
12
  };
13
13
  declare const DrawerContext: React.Context<BaseModalContext>;
14
- declare const Drawer: React.ForwardRefExoticComponent<Pick<BaseModalProps, "children" | "className" | "open" | "onClose" | "dataTestId" | "Backdrop" | "backdropProps" | "disableAutoFocus" | "disableFocusLock" | "disableRestoreFocus" | "disableEscapeKeyDown" | "disableBackdropClick" | "keepMounted" | "contentClassName" | "wrapperClassName" | "scrollHandler" | "transitionProps" | "onBackdropClick" | "onEscapeKeyDown" | "onMount" | "onUnmount" | "zIndex" | "componentRef"> & {
14
+ declare const Drawer: React.ForwardRefExoticComponent<Pick<BaseModalProps, "children" | "className" | "open" | "onClose" | "dataTestId" | "Backdrop" | "backdropProps" | "disableAutoFocus" | "disableFocusLock" | "disableRestoreFocus" | "disableEscapeKeyDown" | "disableBackdropClick" | "disableBlockingScroll" | "keepMounted" | "contentClassName" | "wrapperClassName" | "scrollHandler" | "transitionProps" | "onBackdropClick" | "onEscapeKeyDown" | "onMount" | "onUnmount" | "zIndex" | "componentRef"> & {
15
15
  /**
16
16
  * Пропсы для анимации контента (CSSTransition)
17
17
  */
package/Component.js CHANGED
@@ -51,7 +51,7 @@ function __rest(s, e) {
51
51
  return t;
52
52
  }
53
53
 
54
- var styles = {"component":"drawer__component_owkc6","content":"drawer__content_owkc6","enter":"drawer__enter_owkc6","contentEnter":"drawer__contentEnter_owkc6","backdropEnter":"drawer__backdropEnter_owkc6","enterActive":"drawer__enterActive_owkc6","backdropEnterActive":"drawer__backdropEnterActive_owkc6","backdropEnterDone":"drawer__backdropEnterDone_owkc6","contentEnterActive":"drawer__contentEnterActive_owkc6","exit":"drawer__exit_owkc6","backdropExit":"drawer__backdropExit_owkc6","contentExit":"drawer__contentExit_owkc6","exitActive":"drawer__exitActive_owkc6","backdropExitActive":"drawer__backdropExitActive_owkc6","backdropExitDone":"drawer__backdropExitDone_owkc6","contentExitActive":"drawer__contentExitActive_owkc6"};
54
+ var styles = {"component":"drawer__component_icr5m","content":"drawer__content_icr5m","enter":"drawer__enter_icr5m","contentEnter":"drawer__contentEnter_icr5m","backdropEnter":"drawer__backdropEnter_icr5m","enterActive":"drawer__enterActive_icr5m","backdropEnterActive":"drawer__backdropEnterActive_icr5m","backdropEnterDone":"drawer__backdropEnterDone_icr5m","contentEnterActive":"drawer__contentEnterActive_icr5m","exit":"drawer__exit_icr5m","backdropExit":"drawer__backdropExit_icr5m","contentExit":"drawer__contentExit_icr5m","exitActive":"drawer__exitActive_icr5m","backdropExitActive":"drawer__backdropExitActive_icr5m","backdropExitDone":"drawer__backdropExitDone_icr5m","contentExitActive":"drawer__contentExitActive_icr5m"};
55
55
  require('./index.css')
56
56
 
57
57
  var ANIMATION_DURATION = 600;
@@ -11,7 +11,7 @@ type DrawerProps = Omit<BaseModalProps, 'container'> & {
11
11
  contentTransitionProps?: Partial<TransitionProps>;
12
12
  };
13
13
  declare const DrawerContext: React.Context<BaseModalContext>;
14
- declare const Drawer: React.ForwardRefExoticComponent<Pick<BaseModalProps, "children" | "className" | "open" | "onClose" | "dataTestId" | "Backdrop" | "backdropProps" | "disableAutoFocus" | "disableFocusLock" | "disableRestoreFocus" | "disableEscapeKeyDown" | "disableBackdropClick" | "keepMounted" | "contentClassName" | "wrapperClassName" | "scrollHandler" | "transitionProps" | "onBackdropClick" | "onEscapeKeyDown" | "onMount" | "onUnmount" | "zIndex" | "componentRef"> & {
14
+ declare const Drawer: React.ForwardRefExoticComponent<Pick<BaseModalProps, "children" | "className" | "open" | "onClose" | "dataTestId" | "Backdrop" | "backdropProps" | "disableAutoFocus" | "disableFocusLock" | "disableRestoreFocus" | "disableEscapeKeyDown" | "disableBackdropClick" | "disableBlockingScroll" | "keepMounted" | "contentClassName" | "wrapperClassName" | "scrollHandler" | "transitionProps" | "onBackdropClick" | "onEscapeKeyDown" | "onMount" | "onUnmount" | "zIndex" | "componentRef"> & {
15
15
  /**
16
16
  * Пропсы для анимации контента (CSSTransition)
17
17
  */
@@ -11,7 +11,7 @@ type DrawerProps = Omit<BaseModalProps, 'container'> & {
11
11
  contentTransitionProps?: Partial<TransitionProps>;
12
12
  };
13
13
  declare const DrawerContext: React.Context<BaseModalContext>;
14
- declare const Drawer: React.ForwardRefExoticComponent<Pick<BaseModalProps, "children" | "className" | "open" | "onClose" | "dataTestId" | "Backdrop" | "backdropProps" | "disableAutoFocus" | "disableFocusLock" | "disableRestoreFocus" | "disableEscapeKeyDown" | "disableBackdropClick" | "keepMounted" | "contentClassName" | "wrapperClassName" | "scrollHandler" | "transitionProps" | "onBackdropClick" | "onEscapeKeyDown" | "onMount" | "onUnmount" | "zIndex" | "componentRef"> & {
14
+ declare const Drawer: React.ForwardRefExoticComponent<Pick<BaseModalProps, "children" | "className" | "open" | "onClose" | "dataTestId" | "Backdrop" | "backdropProps" | "disableAutoFocus" | "disableFocusLock" | "disableRestoreFocus" | "disableEscapeKeyDown" | "disableBackdropClick" | "disableBlockingScroll" | "keepMounted" | "contentClassName" | "wrapperClassName" | "scrollHandler" | "transitionProps" | "onBackdropClick" | "onEscapeKeyDown" | "onMount" | "onUnmount" | "zIndex" | "componentRef"> & {
15
15
  /**
16
16
  * Пропсы для анимации контента (CSSTransition)
17
17
  */
package/esm/Component.js CHANGED
@@ -42,7 +42,7 @@ function __rest(s, e) {
42
42
  return t;
43
43
  }
44
44
 
45
- var styles = {"component":"drawer__component_owkc6","content":"drawer__content_owkc6","enter":"drawer__enter_owkc6","contentEnter":"drawer__contentEnter_owkc6","backdropEnter":"drawer__backdropEnter_owkc6","enterActive":"drawer__enterActive_owkc6","backdropEnterActive":"drawer__backdropEnterActive_owkc6","backdropEnterDone":"drawer__backdropEnterDone_owkc6","contentEnterActive":"drawer__contentEnterActive_owkc6","exit":"drawer__exit_owkc6","backdropExit":"drawer__backdropExit_owkc6","contentExit":"drawer__contentExit_owkc6","exitActive":"drawer__exitActive_owkc6","backdropExitActive":"drawer__backdropExitActive_owkc6","backdropExitDone":"drawer__backdropExitDone_owkc6","contentExitActive":"drawer__contentExitActive_owkc6"};
45
+ var styles = {"component":"drawer__component_icr5m","content":"drawer__content_icr5m","enter":"drawer__enter_icr5m","contentEnter":"drawer__contentEnter_icr5m","backdropEnter":"drawer__backdropEnter_icr5m","enterActive":"drawer__enterActive_icr5m","backdropEnterActive":"drawer__backdropEnterActive_icr5m","backdropEnterDone":"drawer__backdropEnterDone_icr5m","contentEnterActive":"drawer__contentEnterActive_icr5m","exit":"drawer__exit_icr5m","backdropExit":"drawer__backdropExit_icr5m","contentExit":"drawer__contentExit_icr5m","exitActive":"drawer__exitActive_icr5m","backdropExitActive":"drawer__backdropExitActive_icr5m","backdropExitDone":"drawer__backdropExitDone_icr5m","contentExitActive":"drawer__contentExitActive_icr5m"};
46
46
  require('./index.css')
47
47
 
48
48
  var ANIMATION_DURATION = 600;
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1tutg */
1
+ /* hash: 1ynnx */
2
2
  :root {
3
3
  --color-light-bg-overlay: rgba(0, 0, 0, 0.6);
4
4
  }
@@ -17,7 +17,7 @@
17
17
  :root {
18
18
  --drawer-width: 500px;
19
19
  }
20
- .drawer__component_owkc6 {
20
+ .drawer__component_icr5m {
21
21
  position: fixed;
22
22
  top: 0;
23
23
  right: 0;
@@ -28,55 +28,55 @@
28
28
  overflow: auto;
29
29
  will-change: transform;
30
30
  }
31
- .drawer__content_owkc6 {
31
+ .drawer__content_icr5m {
32
32
  width: 100%;
33
33
  display: flex;
34
34
  flex-direction: column;
35
35
  flex: 1;
36
36
  }
37
37
  /* enter */
38
- .drawer__enter_owkc6 {
38
+ .drawer__enter_icr5m {
39
39
  transform: translateX(100%);
40
40
  }
41
- .drawer__contentEnter_owkc6 {
41
+ .drawer__contentEnter_icr5m {
42
42
  opacity: 0;
43
43
  }
44
- .drawer__backdropEnter_owkc6 {
44
+ .drawer__backdropEnter_icr5m {
45
45
  background-color: var(--backdrop-hidden-background);
46
46
  }
47
- .drawer__enterActive_owkc6 {
47
+ .drawer__enterActive_icr5m {
48
48
  transition: transform 0.3s ease-in-out;
49
49
  transform: translateX(0);
50
50
  }
51
- .drawer__backdropEnterActive_owkc6,
52
- .drawer__backdropEnterDone_owkc6 {
51
+ .drawer__backdropEnterActive_icr5m,
52
+ .drawer__backdropEnterDone_icr5m {
53
53
  transition: background 0.3s ease-in-out;
54
54
  background-color: var(--backdrop-visible-background);
55
55
  }
56
- .drawer__contentEnterActive_owkc6 {
56
+ .drawer__contentEnterActive_icr5m {
57
57
  transition: opacity 0.2s ease-in-out 0.3s;
58
58
  opacity: 1;
59
59
  }
60
60
  /* exit */
61
- .drawer__exit_owkc6 {
61
+ .drawer__exit_icr5m {
62
62
  transform: translateX(0);
63
63
  }
64
- .drawer__backdropExit_owkc6 {
64
+ .drawer__backdropExit_icr5m {
65
65
  background-color: var(--backdrop-visible-background);
66
66
  }
67
- .drawer__contentExit_owkc6 {
67
+ .drawer__contentExit_icr5m {
68
68
  opacity: 1;
69
69
  }
70
- .drawer__exitActive_owkc6 {
70
+ .drawer__exitActive_icr5m {
71
71
  transition: transform 0.25s ease-in-out 0.1s;
72
72
  transform: translateX(100%);
73
73
  }
74
- .drawer__backdropExitActive_owkc6,
75
- .drawer__backdropExitDone_owkc6 {
74
+ .drawer__backdropExitActive_icr5m,
75
+ .drawer__backdropExitDone_icr5m {
76
76
  transition: background 0.25s ease-in-out 0.1s;
77
77
  background-color: var(--backdrop-hidden-background);
78
78
  }
79
- .drawer__contentExitActive_owkc6 {
79
+ .drawer__contentExitActive_icr5m {
80
80
  opacity: 0;
81
81
  transition: opacity 0.12s ease-in-out;
82
82
  }
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1tutg */
1
+ /* hash: 1ynnx */
2
2
  :root {
3
3
  --color-light-bg-overlay: rgba(0, 0, 0, 0.6);
4
4
  }
@@ -17,7 +17,7 @@
17
17
  :root {
18
18
  --drawer-width: 500px;
19
19
  }
20
- .drawer__component_owkc6 {
20
+ .drawer__component_icr5m {
21
21
  position: fixed;
22
22
  top: 0;
23
23
  right: 0;
@@ -28,55 +28,55 @@
28
28
  overflow: auto;
29
29
  will-change: transform;
30
30
  }
31
- .drawer__content_owkc6 {
31
+ .drawer__content_icr5m {
32
32
  width: 100%;
33
33
  display: flex;
34
34
  flex-direction: column;
35
35
  flex: 1;
36
36
  }
37
37
  /* enter */
38
- .drawer__enter_owkc6 {
38
+ .drawer__enter_icr5m {
39
39
  transform: translateX(100%);
40
40
  }
41
- .drawer__contentEnter_owkc6 {
41
+ .drawer__contentEnter_icr5m {
42
42
  opacity: 0;
43
43
  }
44
- .drawer__backdropEnter_owkc6 {
44
+ .drawer__backdropEnter_icr5m {
45
45
  background-color: var(--backdrop-hidden-background);
46
46
  }
47
- .drawer__enterActive_owkc6 {
47
+ .drawer__enterActive_icr5m {
48
48
  transition: transform 0.3s ease-in-out;
49
49
  transform: translateX(0);
50
50
  }
51
- .drawer__backdropEnterActive_owkc6,
52
- .drawer__backdropEnterDone_owkc6 {
51
+ .drawer__backdropEnterActive_icr5m,
52
+ .drawer__backdropEnterDone_icr5m {
53
53
  transition: background 0.3s ease-in-out;
54
54
  background-color: var(--backdrop-visible-background);
55
55
  }
56
- .drawer__contentEnterActive_owkc6 {
56
+ .drawer__contentEnterActive_icr5m {
57
57
  transition: opacity 0.2s ease-in-out 0.3s;
58
58
  opacity: 1;
59
59
  }
60
60
  /* exit */
61
- .drawer__exit_owkc6 {
61
+ .drawer__exit_icr5m {
62
62
  transform: translateX(0);
63
63
  }
64
- .drawer__backdropExit_owkc6 {
64
+ .drawer__backdropExit_icr5m {
65
65
  background-color: var(--backdrop-visible-background);
66
66
  }
67
- .drawer__contentExit_owkc6 {
67
+ .drawer__contentExit_icr5m {
68
68
  opacity: 1;
69
69
  }
70
- .drawer__exitActive_owkc6 {
70
+ .drawer__exitActive_icr5m {
71
71
  transition: transform 0.25s ease-in-out 0.1s;
72
72
  transform: translateX(100%);
73
73
  }
74
- .drawer__backdropExitActive_owkc6,
75
- .drawer__backdropExitDone_owkc6 {
74
+ .drawer__backdropExitActive_icr5m,
75
+ .drawer__backdropExitDone_icr5m {
76
76
  transition: background 0.25s ease-in-out 0.1s;
77
77
  background-color: var(--backdrop-hidden-background);
78
78
  }
79
- .drawer__contentExitActive_owkc6 {
79
+ .drawer__contentExitActive_icr5m {
80
80
  opacity: 0;
81
81
  transition: opacity 0.12s ease-in-out;
82
82
  }
@@ -11,7 +11,7 @@ type DrawerProps = Omit<BaseModalProps, 'container'> & {
11
11
  contentTransitionProps?: Partial<TransitionProps>;
12
12
  };
13
13
  declare const DrawerContext: React.Context<BaseModalContext>;
14
- declare const Drawer: React.ForwardRefExoticComponent<Pick<BaseModalProps, "children" | "className" | "open" | "onClose" | "dataTestId" | "Backdrop" | "backdropProps" | "disableAutoFocus" | "disableFocusLock" | "disableRestoreFocus" | "disableEscapeKeyDown" | "disableBackdropClick" | "keepMounted" | "contentClassName" | "wrapperClassName" | "scrollHandler" | "transitionProps" | "onBackdropClick" | "onEscapeKeyDown" | "onMount" | "onUnmount" | "zIndex" | "componentRef"> & {
14
+ declare const Drawer: React.ForwardRefExoticComponent<Pick<BaseModalProps, "children" | "className" | "open" | "onClose" | "dataTestId" | "Backdrop" | "backdropProps" | "disableAutoFocus" | "disableFocusLock" | "disableRestoreFocus" | "disableEscapeKeyDown" | "disableBackdropClick" | "disableBlockingScroll" | "keepMounted" | "contentClassName" | "wrapperClassName" | "scrollHandler" | "transitionProps" | "onBackdropClick" | "onEscapeKeyDown" | "onMount" | "onUnmount" | "zIndex" | "componentRef"> & {
15
15
  /**
16
16
  * Пропсы для анимации контента (CSSTransition)
17
17
  */
@@ -3,7 +3,7 @@ import { CSSTransition } from 'react-transition-group';
3
3
  import cn from 'classnames';
4
4
  import { BaseModalContext, BaseModal } from '@alfalab/core-components-base-modal/modern';
5
5
 
6
- var styles = {"component":"drawer__component_owkc6","content":"drawer__content_owkc6","enter":"drawer__enter_owkc6","contentEnter":"drawer__contentEnter_owkc6","backdropEnter":"drawer__backdropEnter_owkc6","enterActive":"drawer__enterActive_owkc6","backdropEnterActive":"drawer__backdropEnterActive_owkc6","backdropEnterDone":"drawer__backdropEnterDone_owkc6","contentEnterActive":"drawer__contentEnterActive_owkc6","exit":"drawer__exit_owkc6","backdropExit":"drawer__backdropExit_owkc6","contentExit":"drawer__contentExit_owkc6","exitActive":"drawer__exitActive_owkc6","backdropExitActive":"drawer__backdropExitActive_owkc6","backdropExitDone":"drawer__backdropExitDone_owkc6","contentExitActive":"drawer__contentExitActive_owkc6"};
6
+ var styles = {"component":"drawer__component_icr5m","content":"drawer__content_icr5m","enter":"drawer__enter_icr5m","contentEnter":"drawer__contentEnter_icr5m","backdropEnter":"drawer__backdropEnter_icr5m","enterActive":"drawer__enterActive_icr5m","backdropEnterActive":"drawer__backdropEnterActive_icr5m","backdropEnterDone":"drawer__backdropEnterDone_icr5m","contentEnterActive":"drawer__contentEnterActive_icr5m","exit":"drawer__exit_icr5m","backdropExit":"drawer__backdropExit_icr5m","contentExit":"drawer__contentExit_icr5m","exitActive":"drawer__exitActive_icr5m","backdropExitActive":"drawer__backdropExitActive_icr5m","backdropExitDone":"drawer__backdropExitDone_icr5m","contentExitActive":"drawer__contentExitActive_icr5m"};
7
7
  require('./index.css')
8
8
 
9
9
  const ANIMATION_DURATION = 600;
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1tutg */
1
+ /* hash: 1ynnx */
2
2
  :root {
3
3
  --color-light-bg-overlay: rgba(0, 0, 0, 0.6);
4
4
  }
@@ -17,7 +17,7 @@
17
17
  :root {
18
18
  --drawer-width: 500px;
19
19
  }
20
- .drawer__component_owkc6 {
20
+ .drawer__component_icr5m {
21
21
  position: fixed;
22
22
  top: 0;
23
23
  right: 0;
@@ -28,55 +28,55 @@
28
28
  overflow: auto;
29
29
  will-change: transform;
30
30
  }
31
- .drawer__content_owkc6 {
31
+ .drawer__content_icr5m {
32
32
  width: 100%;
33
33
  display: flex;
34
34
  flex-direction: column;
35
35
  flex: 1;
36
36
  }
37
37
  /* enter */
38
- .drawer__enter_owkc6 {
38
+ .drawer__enter_icr5m {
39
39
  transform: translateX(100%);
40
40
  }
41
- .drawer__contentEnter_owkc6 {
41
+ .drawer__contentEnter_icr5m {
42
42
  opacity: 0;
43
43
  }
44
- .drawer__backdropEnter_owkc6 {
44
+ .drawer__backdropEnter_icr5m {
45
45
  background-color: var(--backdrop-hidden-background);
46
46
  }
47
- .drawer__enterActive_owkc6 {
47
+ .drawer__enterActive_icr5m {
48
48
  transition: transform 0.3s ease-in-out;
49
49
  transform: translateX(0);
50
50
  }
51
- .drawer__backdropEnterActive_owkc6,
52
- .drawer__backdropEnterDone_owkc6 {
51
+ .drawer__backdropEnterActive_icr5m,
52
+ .drawer__backdropEnterDone_icr5m {
53
53
  transition: background 0.3s ease-in-out;
54
54
  background-color: var(--backdrop-visible-background);
55
55
  }
56
- .drawer__contentEnterActive_owkc6 {
56
+ .drawer__contentEnterActive_icr5m {
57
57
  transition: opacity 0.2s ease-in-out 0.3s;
58
58
  opacity: 1;
59
59
  }
60
60
  /* exit */
61
- .drawer__exit_owkc6 {
61
+ .drawer__exit_icr5m {
62
62
  transform: translateX(0);
63
63
  }
64
- .drawer__backdropExit_owkc6 {
64
+ .drawer__backdropExit_icr5m {
65
65
  background-color: var(--backdrop-visible-background);
66
66
  }
67
- .drawer__contentExit_owkc6 {
67
+ .drawer__contentExit_icr5m {
68
68
  opacity: 1;
69
69
  }
70
- .drawer__exitActive_owkc6 {
70
+ .drawer__exitActive_icr5m {
71
71
  transition: transform 0.25s ease-in-out 0.1s;
72
72
  transform: translateX(100%);
73
73
  }
74
- .drawer__backdropExitActive_owkc6,
75
- .drawer__backdropExitDone_owkc6 {
74
+ .drawer__backdropExitActive_icr5m,
75
+ .drawer__backdropExitDone_icr5m {
76
76
  transition: background 0.25s ease-in-out 0.1s;
77
77
  background-color: var(--backdrop-hidden-background);
78
78
  }
79
- .drawer__contentExitActive_owkc6 {
79
+ .drawer__contentExitActive_icr5m {
80
80
  opacity: 0;
81
81
  transition: opacity 0.12s ease-in-out;
82
82
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-drawer",
3
- "version": "3.2.5",
3
+ "version": "3.3.0",
4
4
  "description": "Drawer component",
5
5
  "gitHead": "f054fef20200664c65e2501ef1f916c555cdf05d",
6
6
  "keywords": [],
@@ -8,18 +8,18 @@
8
8
  "main": "index.js",
9
9
  "module": "./esm/index.js",
10
10
  "scripts": {
11
- "postinstall": "node ./send-stats.js > /dev/null 2>&1 || exit 0"
11
+ "postinstall": "node -e \"if (require('fs').existsSync('./send-stats.js')){require('./send-stats.js')} \""
12
12
  },
13
13
  "publishConfig": {
14
14
  "access": "public",
15
15
  "directory": "dist"
16
16
  },
17
17
  "peerDependencies": {
18
- "react": "^16.9.0 || ^17.0.1",
19
- "react-dom": "^16.9.0 || ^17.0.1"
18
+ "react": "^16.9.0 || ^17.0.1 || ^18.0.0",
19
+ "react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
20
20
  },
21
21
  "dependencies": {
22
- "@alfalab/core-components-base-modal": "^4.1.5",
23
- "classnames": "^2.2.6"
22
+ "@alfalab/core-components-base-modal": "^4.3.0",
23
+ "classnames": "^2.3.1"
24
24
  }
25
25
  }