@alfalab/core-components-popup-sheet 1.0.13 → 1.0.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.
package/Component.js CHANGED
@@ -17,7 +17,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
17
17
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
18
18
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
19
19
 
20
- var styles = {"component":"popup-sheet__component_y0tu7","closer":"popup-sheet__closer_y0tu7","content":"popup-sheet__content_y0tu7","appear":"popup-sheet__appear_y0tu7","enter":"popup-sheet__enter_y0tu7","appearActive":"popup-sheet__appearActive_y0tu7","enterActive":"popup-sheet__enterActive_y0tu7","exit":"popup-sheet__exit_y0tu7","exitBySwipe":"popup-sheet__exitBySwipe_y0tu7","exitActiveBySwipe":"popup-sheet__exitActiveBySwipe_y0tu7","exitActive":"popup-sheet__exitActive_y0tu7","exitDone":"popup-sheet__exitDone_y0tu7"};
20
+ var styles = {"component":"popup-sheet__component_ncdxm","closer":"popup-sheet__closer_ncdxm","content":"popup-sheet__content_ncdxm","appear":"popup-sheet__appear_ncdxm","enter":"popup-sheet__enter_ncdxm","appearActive":"popup-sheet__appearActive_ncdxm","enterActive":"popup-sheet__enterActive_ncdxm","exit":"popup-sheet__exit_ncdxm","exitBySwipe":"popup-sheet__exitBySwipe_ncdxm","exitActiveBySwipe":"popup-sheet__exitActiveBySwipe_ncdxm","exitActive":"popup-sheet__exitActive_ncdxm","exitDone":"popup-sheet__exitDone_ncdxm"};
21
21
  require('./index.css')
22
22
 
23
23
  var SWIPE_VELOCITY = 0.3;
@@ -10,7 +10,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
10
10
 
11
11
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
12
12
 
13
- var styles = {"appear":"popup-sheet__appear_stoax","enter":"popup-sheet__enter_stoax","appearActive":"popup-sheet__appearActive_stoax","enterActive":"popup-sheet__enterActive_stoax","appearDone":"popup-sheet__appearDone_stoax","enterDone":"popup-sheet__enterDone_stoax","exit":"popup-sheet__exit_stoax","exitActive":"popup-sheet__exitActive_stoax","exitDone":"popup-sheet__exitDone_stoax"};
13
+ var styles = {"appear":"popup-sheet__appear_p8zd0","enter":"popup-sheet__enter_p8zd0","appearActive":"popup-sheet__appearActive_p8zd0","enterActive":"popup-sheet__enterActive_p8zd0","appearDone":"popup-sheet__appearDone_p8zd0","enterDone":"popup-sheet__enterDone_p8zd0","exit":"popup-sheet__exit_p8zd0","exitActive":"popup-sheet__exitActive_p8zd0","exitDone":"popup-sheet__exitDone_p8zd0"};
14
14
  require('./index.css')
15
15
 
16
16
  var PopupBackdrop = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 89m6x */
1
+ /* hash: 1m4r8 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-overlay-default: rgba(0, 0, 0, 0.6); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -18,19 +18,19 @@
18
18
  } :root {
19
19
  --backdrop-visible-background: var(--color-light-overlay-default);
20
20
  --backdrop-hidden-background: transparent;
21
- } .popup-sheet__appear_stoax,
22
- .popup-sheet__enter_stoax {
21
+ } .popup-sheet__appear_p8zd0,
22
+ .popup-sheet__enter_p8zd0 {
23
23
  background-color: var(--backdrop-hidden-background);
24
- } .popup-sheet__appearActive_stoax,
25
- .popup-sheet__enterActive_stoax,
26
- .popup-sheet__appearDone_stoax,
27
- .popup-sheet__enterDone_stoax {
24
+ } .popup-sheet__appearActive_p8zd0,
25
+ .popup-sheet__enterActive_p8zd0,
26
+ .popup-sheet__appearDone_p8zd0,
27
+ .popup-sheet__enterDone_p8zd0 {
28
28
  background-color: var(--backdrop-visible-background);
29
29
  transition: background-color 300ms cubic-bezier(0.65, 0, 0.35, 1);
30
- } .popup-sheet__exit_stoax {
30
+ } .popup-sheet__exit_p8zd0 {
31
31
  background-color: var(--backdrop-visible-background);
32
- } .popup-sheet__exitActive_stoax,
33
- .popup-sheet__exitDone_stoax {
32
+ } .popup-sheet__exitActive_p8zd0,
33
+ .popup-sheet__exitDone_p8zd0 {
34
34
  background-color: var(--backdrop-hidden-background);
35
35
  transition: background-color 300ms cubic-bezier(0.65, 0, 0.35, 1);
36
36
  }
package/esm/Component.js CHANGED
@@ -8,7 +8,7 @@ import { createPaddingStyle, getDataTestId, easingFns } from '@alfalab/core-comp
8
8
  import { PopupBackdrop } from './components/backdrop/Component.js';
9
9
  import '@alfalab/core-components-backdrop/esm';
10
10
 
11
- var styles = {"component":"popup-sheet__component_y0tu7","closer":"popup-sheet__closer_y0tu7","content":"popup-sheet__content_y0tu7","appear":"popup-sheet__appear_y0tu7","enter":"popup-sheet__enter_y0tu7","appearActive":"popup-sheet__appearActive_y0tu7","enterActive":"popup-sheet__enterActive_y0tu7","exit":"popup-sheet__exit_y0tu7","exitBySwipe":"popup-sheet__exitBySwipe_y0tu7","exitActiveBySwipe":"popup-sheet__exitActiveBySwipe_y0tu7","exitActive":"popup-sheet__exitActive_y0tu7","exitDone":"popup-sheet__exitDone_y0tu7"};
11
+ var styles = {"component":"popup-sheet__component_ncdxm","closer":"popup-sheet__closer_ncdxm","content":"popup-sheet__content_ncdxm","appear":"popup-sheet__appear_ncdxm","enter":"popup-sheet__enter_ncdxm","appearActive":"popup-sheet__appearActive_ncdxm","enterActive":"popup-sheet__enterActive_ncdxm","exit":"popup-sheet__exit_ncdxm","exitBySwipe":"popup-sheet__exitBySwipe_ncdxm","exitActiveBySwipe":"popup-sheet__exitActiveBySwipe_ncdxm","exitActive":"popup-sheet__exitActive_ncdxm","exitDone":"popup-sheet__exitDone_ncdxm"};
12
12
  require('./index.css')
13
13
 
14
14
  var SWIPE_VELOCITY = 0.3;
@@ -2,7 +2,7 @@ import { __rest, __assign } from 'tslib';
2
2
  import React from 'react';
3
3
  import { Backdrop } from '@alfalab/core-components-backdrop/esm';
4
4
 
5
- var styles = {"appear":"popup-sheet__appear_stoax","enter":"popup-sheet__enter_stoax","appearActive":"popup-sheet__appearActive_stoax","enterActive":"popup-sheet__enterActive_stoax","appearDone":"popup-sheet__appearDone_stoax","enterDone":"popup-sheet__enterDone_stoax","exit":"popup-sheet__exit_stoax","exitActive":"popup-sheet__exitActive_stoax","exitDone":"popup-sheet__exitDone_stoax"};
5
+ var styles = {"appear":"popup-sheet__appear_p8zd0","enter":"popup-sheet__enter_p8zd0","appearActive":"popup-sheet__appearActive_p8zd0","enterActive":"popup-sheet__enterActive_p8zd0","appearDone":"popup-sheet__appearDone_p8zd0","enterDone":"popup-sheet__enterDone_p8zd0","exit":"popup-sheet__exit_p8zd0","exitActive":"popup-sheet__exitActive_p8zd0","exitDone":"popup-sheet__exitDone_p8zd0"};
6
6
  require('./index.css')
7
7
 
8
8
  var PopupBackdrop = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 89m6x */
1
+ /* hash: 1m4r8 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-overlay-default: rgba(0, 0, 0, 0.6); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -18,19 +18,19 @@
18
18
  } :root {
19
19
  --backdrop-visible-background: var(--color-light-overlay-default);
20
20
  --backdrop-hidden-background: transparent;
21
- } .popup-sheet__appear_stoax,
22
- .popup-sheet__enter_stoax {
21
+ } .popup-sheet__appear_p8zd0,
22
+ .popup-sheet__enter_p8zd0 {
23
23
  background-color: var(--backdrop-hidden-background);
24
- } .popup-sheet__appearActive_stoax,
25
- .popup-sheet__enterActive_stoax,
26
- .popup-sheet__appearDone_stoax,
27
- .popup-sheet__enterDone_stoax {
24
+ } .popup-sheet__appearActive_p8zd0,
25
+ .popup-sheet__enterActive_p8zd0,
26
+ .popup-sheet__appearDone_p8zd0,
27
+ .popup-sheet__enterDone_p8zd0 {
28
28
  background-color: var(--backdrop-visible-background);
29
29
  transition: background-color 300ms cubic-bezier(0.65, 0, 0.35, 1);
30
- } .popup-sheet__exit_stoax {
30
+ } .popup-sheet__exit_p8zd0 {
31
31
  background-color: var(--backdrop-visible-background);
32
- } .popup-sheet__exitActive_stoax,
33
- .popup-sheet__exitDone_stoax {
32
+ } .popup-sheet__exitActive_p8zd0,
33
+ .popup-sheet__exitDone_p8zd0 {
34
34
  background-color: var(--backdrop-hidden-background);
35
35
  transition: background-color 300ms cubic-bezier(0.65, 0, 0.35, 1);
36
36
  }
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1p18n */
1
+ /* hash: bzeq5 */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -15,7 +15,7 @@
15
15
  --gap-xs: 8px;
16
16
  } :root {
17
17
  } :root {
18
- } .popup-sheet__component_y0tu7 {
18
+ } .popup-sheet__component_ncdxm {
19
19
  position: fixed;
20
20
  bottom: 0;
21
21
  margin: auto var(--gap-xs) var(--gap-xs);
@@ -23,31 +23,31 @@
23
23
  max-width: 600px;
24
24
  border-radius: 36px;
25
25
  overflow: hidden;
26
- } .popup-sheet__closer_y0tu7 {
26
+ } .popup-sheet__closer_ncdxm {
27
27
  position: absolute;
28
28
  top: 8px;
29
29
  right: 8px
30
- } .popup-sheet__closer_y0tu7 > button {
30
+ } .popup-sheet__closer_ncdxm > button {
31
31
  -webkit-backdrop-filter: none;
32
32
  backdrop-filter: none;
33
- } .popup-sheet__content_y0tu7 {
33
+ } .popup-sheet__content_ncdxm {
34
34
  box-sizing: border-box;
35
- } /* 100px нужны для того, чтобы фон успевал немного затемниться перед тем, как начнет выезжать шторка */ .popup-sheet__appear_y0tu7,
36
- .popup-sheet__enter_y0tu7 {
35
+ } /* 100px нужны для того, чтобы фон успевал немного затемниться перед тем, как начнет выезжать шторка */ .popup-sheet__appear_ncdxm,
36
+ .popup-sheet__enter_ncdxm {
37
37
  transform: translateY(calc(100% + 100px));
38
- } .popup-sheet__appearActive_y0tu7,
39
- .popup-sheet__enterActive_y0tu7 {
38
+ } .popup-sheet__appearActive_ncdxm,
39
+ .popup-sheet__enterActive_ncdxm {
40
40
  transform: translateY(0);
41
41
  transition: transform 300ms cubic-bezier(0.65, 0, 0.35, 1);
42
42
  transition-delay: 50ms;
43
- } .popup-sheet__exit_y0tu7 {
43
+ } .popup-sheet__exit_ncdxm {
44
44
  transform: translateY(0);
45
- } .popup-sheet__exitBySwipe_y0tu7 {
45
+ } .popup-sheet__exitBySwipe_ncdxm {
46
46
  transform: translateY(calc(100% + 100px));
47
- } .popup-sheet__exitActiveBySwipe_y0tu7 {
47
+ } .popup-sheet__exitActiveBySwipe_ncdxm {
48
48
  transition: none;
49
- } .popup-sheet__exitActive_y0tu7,
50
- .popup-sheet__exitDone_y0tu7 {
49
+ } .popup-sheet__exitActive_ncdxm,
50
+ .popup-sheet__exitDone_ncdxm {
51
51
  transform: translateY(calc(100% + 100px));
52
52
  transition: transform 300ms cubic-bezier(0.65, 0, 0.35, 1);
53
53
  }
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1p18n */
1
+ /* hash: bzeq5 */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -15,7 +15,7 @@
15
15
  --gap-xs: 8px;
16
16
  } :root {
17
17
  } :root {
18
- } .popup-sheet__component_y0tu7 {
18
+ } .popup-sheet__component_ncdxm {
19
19
  position: fixed;
20
20
  bottom: 0;
21
21
  margin: auto var(--gap-xs) var(--gap-xs);
@@ -23,31 +23,31 @@
23
23
  max-width: 600px;
24
24
  border-radius: 36px;
25
25
  overflow: hidden;
26
- } .popup-sheet__closer_y0tu7 {
26
+ } .popup-sheet__closer_ncdxm {
27
27
  position: absolute;
28
28
  top: 8px;
29
29
  right: 8px
30
- } .popup-sheet__closer_y0tu7 > button {
30
+ } .popup-sheet__closer_ncdxm > button {
31
31
  -webkit-backdrop-filter: none;
32
32
  backdrop-filter: none;
33
- } .popup-sheet__content_y0tu7 {
33
+ } .popup-sheet__content_ncdxm {
34
34
  box-sizing: border-box;
35
- } /* 100px нужны для того, чтобы фон успевал немного затемниться перед тем, как начнет выезжать шторка */ .popup-sheet__appear_y0tu7,
36
- .popup-sheet__enter_y0tu7 {
35
+ } /* 100px нужны для того, чтобы фон успевал немного затемниться перед тем, как начнет выезжать шторка */ .popup-sheet__appear_ncdxm,
36
+ .popup-sheet__enter_ncdxm {
37
37
  transform: translateY(calc(100% + 100px));
38
- } .popup-sheet__appearActive_y0tu7,
39
- .popup-sheet__enterActive_y0tu7 {
38
+ } .popup-sheet__appearActive_ncdxm,
39
+ .popup-sheet__enterActive_ncdxm {
40
40
  transform: translateY(0);
41
41
  transition: transform 300ms cubic-bezier(0.65, 0, 0.35, 1);
42
42
  transition-delay: 50ms;
43
- } .popup-sheet__exit_y0tu7 {
43
+ } .popup-sheet__exit_ncdxm {
44
44
  transform: translateY(0);
45
- } .popup-sheet__exitBySwipe_y0tu7 {
45
+ } .popup-sheet__exitBySwipe_ncdxm {
46
46
  transform: translateY(calc(100% + 100px));
47
- } .popup-sheet__exitActiveBySwipe_y0tu7 {
47
+ } .popup-sheet__exitActiveBySwipe_ncdxm {
48
48
  transition: none;
49
- } .popup-sheet__exitActive_y0tu7,
50
- .popup-sheet__exitDone_y0tu7 {
49
+ } .popup-sheet__exitActive_ncdxm,
50
+ .popup-sheet__exitDone_ncdxm {
51
51
  transform: translateY(calc(100% + 100px));
52
52
  transition: transform 300ms cubic-bezier(0.65, 0, 0.35, 1);
53
53
  }
@@ -7,7 +7,7 @@ import { createPaddingStyle, getDataTestId, easingFns } from '@alfalab/core-comp
7
7
  import { PopupBackdrop } from './components/backdrop/Component.js';
8
8
  import '@alfalab/core-components-backdrop/modern';
9
9
 
10
- const styles = {"component":"popup-sheet__component_y0tu7","closer":"popup-sheet__closer_y0tu7","content":"popup-sheet__content_y0tu7","appear":"popup-sheet__appear_y0tu7","enter":"popup-sheet__enter_y0tu7","appearActive":"popup-sheet__appearActive_y0tu7","enterActive":"popup-sheet__enterActive_y0tu7","exit":"popup-sheet__exit_y0tu7","exitBySwipe":"popup-sheet__exitBySwipe_y0tu7","exitActiveBySwipe":"popup-sheet__exitActiveBySwipe_y0tu7","exitActive":"popup-sheet__exitActive_y0tu7","exitDone":"popup-sheet__exitDone_y0tu7"};
10
+ const styles = {"component":"popup-sheet__component_ncdxm","closer":"popup-sheet__closer_ncdxm","content":"popup-sheet__content_ncdxm","appear":"popup-sheet__appear_ncdxm","enter":"popup-sheet__enter_ncdxm","appearActive":"popup-sheet__appearActive_ncdxm","enterActive":"popup-sheet__enterActive_ncdxm","exit":"popup-sheet__exit_ncdxm","exitBySwipe":"popup-sheet__exitBySwipe_ncdxm","exitActiveBySwipe":"popup-sheet__exitActiveBySwipe_ncdxm","exitActive":"popup-sheet__exitActive_ncdxm","exitDone":"popup-sheet__exitDone_ncdxm"};
11
11
  require('./index.css')
12
12
 
13
13
  const SWIPE_VELOCITY = 0.3;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Backdrop } from '@alfalab/core-components-backdrop/modern';
3
3
 
4
- const styles = {"appear":"popup-sheet__appear_stoax","enter":"popup-sheet__enter_stoax","appearActive":"popup-sheet__appearActive_stoax","enterActive":"popup-sheet__enterActive_stoax","appearDone":"popup-sheet__appearDone_stoax","enterDone":"popup-sheet__enterDone_stoax","exit":"popup-sheet__exit_stoax","exitActive":"popup-sheet__exitActive_stoax","exitDone":"popup-sheet__exitDone_stoax"};
4
+ const styles = {"appear":"popup-sheet__appear_p8zd0","enter":"popup-sheet__enter_p8zd0","appearActive":"popup-sheet__appearActive_p8zd0","enterActive":"popup-sheet__enterActive_p8zd0","appearDone":"popup-sheet__appearDone_p8zd0","enterDone":"popup-sheet__enterDone_p8zd0","exit":"popup-sheet__exit_p8zd0","exitActive":"popup-sheet__exitActive_p8zd0","exitDone":"popup-sheet__exitDone_p8zd0"};
5
5
  require('./index.css')
6
6
 
7
7
  const PopupBackdrop = ({ opacity, opacityTimeout, style, ...backdropProps }) => (React.createElement("div", { style: {
@@ -1,4 +1,4 @@
1
- /* hash: 89m6x */
1
+ /* hash: 1m4r8 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-overlay-default: rgba(0, 0, 0, 0.6); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -18,19 +18,19 @@
18
18
  } :root {
19
19
  --backdrop-visible-background: var(--color-light-overlay-default);
20
20
  --backdrop-hidden-background: transparent;
21
- } .popup-sheet__appear_stoax,
22
- .popup-sheet__enter_stoax {
21
+ } .popup-sheet__appear_p8zd0,
22
+ .popup-sheet__enter_p8zd0 {
23
23
  background-color: var(--backdrop-hidden-background);
24
- } .popup-sheet__appearActive_stoax,
25
- .popup-sheet__enterActive_stoax,
26
- .popup-sheet__appearDone_stoax,
27
- .popup-sheet__enterDone_stoax {
24
+ } .popup-sheet__appearActive_p8zd0,
25
+ .popup-sheet__enterActive_p8zd0,
26
+ .popup-sheet__appearDone_p8zd0,
27
+ .popup-sheet__enterDone_p8zd0 {
28
28
  background-color: var(--backdrop-visible-background);
29
29
  transition: background-color 300ms cubic-bezier(0.65, 0, 0.35, 1);
30
- } .popup-sheet__exit_stoax {
30
+ } .popup-sheet__exit_p8zd0 {
31
31
  background-color: var(--backdrop-visible-background);
32
- } .popup-sheet__exitActive_stoax,
33
- .popup-sheet__exitDone_stoax {
32
+ } .popup-sheet__exitActive_p8zd0,
33
+ .popup-sheet__exitDone_p8zd0 {
34
34
  background-color: var(--backdrop-hidden-background);
35
35
  transition: background-color 300ms cubic-bezier(0.65, 0, 0.35, 1);
36
36
  }
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1p18n */
1
+ /* hash: bzeq5 */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -15,7 +15,7 @@
15
15
  --gap-xs: 8px;
16
16
  } :root {
17
17
  } :root {
18
- } .popup-sheet__component_y0tu7 {
18
+ } .popup-sheet__component_ncdxm {
19
19
  position: fixed;
20
20
  bottom: 0;
21
21
  margin: auto var(--gap-xs) var(--gap-xs);
@@ -23,31 +23,31 @@
23
23
  max-width: 600px;
24
24
  border-radius: 36px;
25
25
  overflow: hidden;
26
- } .popup-sheet__closer_y0tu7 {
26
+ } .popup-sheet__closer_ncdxm {
27
27
  position: absolute;
28
28
  top: 8px;
29
29
  right: 8px
30
- } .popup-sheet__closer_y0tu7 > button {
30
+ } .popup-sheet__closer_ncdxm > button {
31
31
  -webkit-backdrop-filter: none;
32
32
  backdrop-filter: none;
33
- } .popup-sheet__content_y0tu7 {
33
+ } .popup-sheet__content_ncdxm {
34
34
  box-sizing: border-box;
35
- } /* 100px нужны для того, чтобы фон успевал немного затемниться перед тем, как начнет выезжать шторка */ .popup-sheet__appear_y0tu7,
36
- .popup-sheet__enter_y0tu7 {
35
+ } /* 100px нужны для того, чтобы фон успевал немного затемниться перед тем, как начнет выезжать шторка */ .popup-sheet__appear_ncdxm,
36
+ .popup-sheet__enter_ncdxm {
37
37
  transform: translateY(calc(100% + 100px));
38
- } .popup-sheet__appearActive_y0tu7,
39
- .popup-sheet__enterActive_y0tu7 {
38
+ } .popup-sheet__appearActive_ncdxm,
39
+ .popup-sheet__enterActive_ncdxm {
40
40
  transform: translateY(0);
41
41
  transition: transform 300ms cubic-bezier(0.65, 0, 0.35, 1);
42
42
  transition-delay: 50ms;
43
- } .popup-sheet__exit_y0tu7 {
43
+ } .popup-sheet__exit_ncdxm {
44
44
  transform: translateY(0);
45
- } .popup-sheet__exitBySwipe_y0tu7 {
45
+ } .popup-sheet__exitBySwipe_ncdxm {
46
46
  transform: translateY(calc(100% + 100px));
47
- } .popup-sheet__exitActiveBySwipe_y0tu7 {
47
+ } .popup-sheet__exitActiveBySwipe_ncdxm {
48
48
  transition: none;
49
- } .popup-sheet__exitActive_y0tu7,
50
- .popup-sheet__exitDone_y0tu7 {
49
+ } .popup-sheet__exitActive_ncdxm,
50
+ .popup-sheet__exitDone_ncdxm {
51
51
  transform: translateY(calc(100% + 100px));
52
52
  transition: transform 300ms cubic-bezier(0.65, 0, 0.35, 1);
53
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-popup-sheet",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "Popup sheet mobile component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -15,10 +15,10 @@
15
15
  "react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
16
16
  },
17
17
  "dependencies": {
18
- "@alfalab/core-components-base-modal": "^5.7.0",
18
+ "@alfalab/core-components-base-modal": "^5.7.2",
19
19
  "@alfalab/core-components-backdrop": "^3.2.0",
20
- "@alfalab/core-components-shared": "^0.8.0",
21
- "@alfalab/core-components-navigation-bar": "^0.7.0",
20
+ "@alfalab/core-components-shared": "^0.9.1",
21
+ "@alfalab/core-components-navigation-bar": "^0.8.1",
22
22
  "react-swipeable": "^7.0.0",
23
23
  "classnames": "^2.3.1",
24
24
  "tslib": "^2.4.0"