@alfalab/core-components-popup-sheet 1.0.0 → 1.0.1

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_18ukp","closer":"popup-sheet__closer_18ukp","content":"popup-sheet__content_18ukp","appear":"popup-sheet__appear_18ukp","enter":"popup-sheet__enter_18ukp","appearActive":"popup-sheet__appearActive_18ukp","enterActive":"popup-sheet__enterActive_18ukp","exit":"popup-sheet__exit_18ukp","exitBySwipe":"popup-sheet__exitBySwipe_18ukp","exitActiveBySwipe":"popup-sheet__exitActiveBySwipe_18ukp","exitActive":"popup-sheet__exitActive_18ukp","exitDone":"popup-sheet__exitDone_18ukp"};
20
+ var styles = {"component":"popup-sheet__component_1br5q","closer":"popup-sheet__closer_1br5q","content":"popup-sheet__content_1br5q","appear":"popup-sheet__appear_1br5q","enter":"popup-sheet__enter_1br5q","appearActive":"popup-sheet__appearActive_1br5q","enterActive":"popup-sheet__enterActive_1br5q","exit":"popup-sheet__exit_1br5q","exitBySwipe":"popup-sheet__exitBySwipe_1br5q","exitActiveBySwipe":"popup-sheet__exitActiveBySwipe_1br5q","exitActive":"popup-sheet__exitActive_1br5q","exitDone":"popup-sheet__exitDone_1br5q"};
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_1kdlf","enter":"popup-sheet__enter_1kdlf","appearActive":"popup-sheet__appearActive_1kdlf","enterActive":"popup-sheet__enterActive_1kdlf","appearDone":"popup-sheet__appearDone_1kdlf","enterDone":"popup-sheet__enterDone_1kdlf","exit":"popup-sheet__exit_1kdlf","exitActive":"popup-sheet__exitActive_1kdlf","exitDone":"popup-sheet__exitDone_1kdlf"};
13
+ var styles = {"appear":"popup-sheet__appear_u7kb4","enter":"popup-sheet__enter_u7kb4","appearActive":"popup-sheet__appearActive_u7kb4","enterActive":"popup-sheet__enterActive_u7kb4","appearDone":"popup-sheet__appearDone_u7kb4","enterDone":"popup-sheet__enterDone_u7kb4","exit":"popup-sheet__exit_u7kb4","exitActive":"popup-sheet__exitActive_u7kb4","exitDone":"popup-sheet__exitDone_u7kb4"};
14
14
  require('./index.css')
15
15
 
16
16
  var PopupBackdrop = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 19vqu */
1
+ /* hash: 1ltdt */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-overlay: 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-bg-overlay);
20
20
  --backdrop-hidden-background: transparent;
21
- } .popup-sheet__appear_1kdlf,
22
- .popup-sheet__enter_1kdlf {
21
+ } .popup-sheet__appear_u7kb4,
22
+ .popup-sheet__enter_u7kb4 {
23
23
  background-color: var(--backdrop-hidden-background);
24
- } .popup-sheet__appearActive_1kdlf,
25
- .popup-sheet__enterActive_1kdlf,
26
- .popup-sheet__appearDone_1kdlf,
27
- .popup-sheet__enterDone_1kdlf {
24
+ } .popup-sheet__appearActive_u7kb4,
25
+ .popup-sheet__enterActive_u7kb4,
26
+ .popup-sheet__appearDone_u7kb4,
27
+ .popup-sheet__enterDone_u7kb4 {
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_1kdlf {
30
+ } .popup-sheet__exit_u7kb4 {
31
31
  background-color: var(--backdrop-visible-background);
32
- } .popup-sheet__exitActive_1kdlf,
33
- .popup-sheet__exitDone_1kdlf {
32
+ } .popup-sheet__exitActive_u7kb4,
33
+ .popup-sheet__exitDone_u7kb4 {
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_18ukp","closer":"popup-sheet__closer_18ukp","content":"popup-sheet__content_18ukp","appear":"popup-sheet__appear_18ukp","enter":"popup-sheet__enter_18ukp","appearActive":"popup-sheet__appearActive_18ukp","enterActive":"popup-sheet__enterActive_18ukp","exit":"popup-sheet__exit_18ukp","exitBySwipe":"popup-sheet__exitBySwipe_18ukp","exitActiveBySwipe":"popup-sheet__exitActiveBySwipe_18ukp","exitActive":"popup-sheet__exitActive_18ukp","exitDone":"popup-sheet__exitDone_18ukp"};
11
+ var styles = {"component":"popup-sheet__component_1br5q","closer":"popup-sheet__closer_1br5q","content":"popup-sheet__content_1br5q","appear":"popup-sheet__appear_1br5q","enter":"popup-sheet__enter_1br5q","appearActive":"popup-sheet__appearActive_1br5q","enterActive":"popup-sheet__enterActive_1br5q","exit":"popup-sheet__exit_1br5q","exitBySwipe":"popup-sheet__exitBySwipe_1br5q","exitActiveBySwipe":"popup-sheet__exitActiveBySwipe_1br5q","exitActive":"popup-sheet__exitActive_1br5q","exitDone":"popup-sheet__exitDone_1br5q"};
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_1kdlf","enter":"popup-sheet__enter_1kdlf","appearActive":"popup-sheet__appearActive_1kdlf","enterActive":"popup-sheet__enterActive_1kdlf","appearDone":"popup-sheet__appearDone_1kdlf","enterDone":"popup-sheet__enterDone_1kdlf","exit":"popup-sheet__exit_1kdlf","exitActive":"popup-sheet__exitActive_1kdlf","exitDone":"popup-sheet__exitDone_1kdlf"};
5
+ var styles = {"appear":"popup-sheet__appear_u7kb4","enter":"popup-sheet__enter_u7kb4","appearActive":"popup-sheet__appearActive_u7kb4","enterActive":"popup-sheet__enterActive_u7kb4","appearDone":"popup-sheet__appearDone_u7kb4","enterDone":"popup-sheet__enterDone_u7kb4","exit":"popup-sheet__exit_u7kb4","exitActive":"popup-sheet__exitActive_u7kb4","exitDone":"popup-sheet__exitDone_u7kb4"};
6
6
  require('./index.css')
7
7
 
8
8
  var PopupBackdrop = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 19vqu */
1
+ /* hash: 1ltdt */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-overlay: 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-bg-overlay);
20
20
  --backdrop-hidden-background: transparent;
21
- } .popup-sheet__appear_1kdlf,
22
- .popup-sheet__enter_1kdlf {
21
+ } .popup-sheet__appear_u7kb4,
22
+ .popup-sheet__enter_u7kb4 {
23
23
  background-color: var(--backdrop-hidden-background);
24
- } .popup-sheet__appearActive_1kdlf,
25
- .popup-sheet__enterActive_1kdlf,
26
- .popup-sheet__appearDone_1kdlf,
27
- .popup-sheet__enterDone_1kdlf {
24
+ } .popup-sheet__appearActive_u7kb4,
25
+ .popup-sheet__enterActive_u7kb4,
26
+ .popup-sheet__appearDone_u7kb4,
27
+ .popup-sheet__enterDone_u7kb4 {
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_1kdlf {
30
+ } .popup-sheet__exit_u7kb4 {
31
31
  background-color: var(--backdrop-visible-background);
32
- } .popup-sheet__exitActive_1kdlf,
33
- .popup-sheet__exitDone_1kdlf {
32
+ } .popup-sheet__exitActive_u7kb4,
33
+ .popup-sheet__exitDone_u7kb4 {
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: 1qn71 */
1
+ /* hash: 112lt */
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_18ukp {
18
+ } .popup-sheet__component_1br5q {
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_18ukp {
26
+ } .popup-sheet__closer_1br5q {
27
27
  position: absolute;
28
28
  top: 8px;
29
29
  right: 8px
30
- } .popup-sheet__closer_18ukp > button {
30
+ } .popup-sheet__closer_1br5q > button {
31
31
  -webkit-backdrop-filter: none;
32
32
  backdrop-filter: none;
33
- } .popup-sheet__content_18ukp {
33
+ } .popup-sheet__content_1br5q {
34
34
  box-sizing: border-box;
35
- } /* 100px нужны для того, чтобы фон успевал немного затемниться перед тем, как начнет выезжать шторка */ .popup-sheet__appear_18ukp,
36
- .popup-sheet__enter_18ukp {
35
+ } /* 100px нужны для того, чтобы фон успевал немного затемниться перед тем, как начнет выезжать шторка */ .popup-sheet__appear_1br5q,
36
+ .popup-sheet__enter_1br5q {
37
37
  transform: translateY(calc(100% + 100px));
38
- } .popup-sheet__appearActive_18ukp,
39
- .popup-sheet__enterActive_18ukp {
38
+ } .popup-sheet__appearActive_1br5q,
39
+ .popup-sheet__enterActive_1br5q {
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_18ukp {
43
+ } .popup-sheet__exit_1br5q {
44
44
  transform: translateY(0);
45
- } .popup-sheet__exitBySwipe_18ukp {
45
+ } .popup-sheet__exitBySwipe_1br5q {
46
46
  transform: translateY(calc(100% + 100px));
47
- } .popup-sheet__exitActiveBySwipe_18ukp {
47
+ } .popup-sheet__exitActiveBySwipe_1br5q {
48
48
  transition: none;
49
- } .popup-sheet__exitActive_18ukp,
50
- .popup-sheet__exitDone_18ukp {
49
+ } .popup-sheet__exitActive_1br5q,
50
+ .popup-sheet__exitDone_1br5q {
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: 1qn71 */
1
+ /* hash: 112lt */
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_18ukp {
18
+ } .popup-sheet__component_1br5q {
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_18ukp {
26
+ } .popup-sheet__closer_1br5q {
27
27
  position: absolute;
28
28
  top: 8px;
29
29
  right: 8px
30
- } .popup-sheet__closer_18ukp > button {
30
+ } .popup-sheet__closer_1br5q > button {
31
31
  -webkit-backdrop-filter: none;
32
32
  backdrop-filter: none;
33
- } .popup-sheet__content_18ukp {
33
+ } .popup-sheet__content_1br5q {
34
34
  box-sizing: border-box;
35
- } /* 100px нужны для того, чтобы фон успевал немного затемниться перед тем, как начнет выезжать шторка */ .popup-sheet__appear_18ukp,
36
- .popup-sheet__enter_18ukp {
35
+ } /* 100px нужны для того, чтобы фон успевал немного затемниться перед тем, как начнет выезжать шторка */ .popup-sheet__appear_1br5q,
36
+ .popup-sheet__enter_1br5q {
37
37
  transform: translateY(calc(100% + 100px));
38
- } .popup-sheet__appearActive_18ukp,
39
- .popup-sheet__enterActive_18ukp {
38
+ } .popup-sheet__appearActive_1br5q,
39
+ .popup-sheet__enterActive_1br5q {
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_18ukp {
43
+ } .popup-sheet__exit_1br5q {
44
44
  transform: translateY(0);
45
- } .popup-sheet__exitBySwipe_18ukp {
45
+ } .popup-sheet__exitBySwipe_1br5q {
46
46
  transform: translateY(calc(100% + 100px));
47
- } .popup-sheet__exitActiveBySwipe_18ukp {
47
+ } .popup-sheet__exitActiveBySwipe_1br5q {
48
48
  transition: none;
49
- } .popup-sheet__exitActive_18ukp,
50
- .popup-sheet__exitDone_18ukp {
49
+ } .popup-sheet__exitActive_1br5q,
50
+ .popup-sheet__exitDone_1br5q {
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_18ukp","closer":"popup-sheet__closer_18ukp","content":"popup-sheet__content_18ukp","appear":"popup-sheet__appear_18ukp","enter":"popup-sheet__enter_18ukp","appearActive":"popup-sheet__appearActive_18ukp","enterActive":"popup-sheet__enterActive_18ukp","exit":"popup-sheet__exit_18ukp","exitBySwipe":"popup-sheet__exitBySwipe_18ukp","exitActiveBySwipe":"popup-sheet__exitActiveBySwipe_18ukp","exitActive":"popup-sheet__exitActive_18ukp","exitDone":"popup-sheet__exitDone_18ukp"};
10
+ const styles = {"component":"popup-sheet__component_1br5q","closer":"popup-sheet__closer_1br5q","content":"popup-sheet__content_1br5q","appear":"popup-sheet__appear_1br5q","enter":"popup-sheet__enter_1br5q","appearActive":"popup-sheet__appearActive_1br5q","enterActive":"popup-sheet__enterActive_1br5q","exit":"popup-sheet__exit_1br5q","exitBySwipe":"popup-sheet__exitBySwipe_1br5q","exitActiveBySwipe":"popup-sheet__exitActiveBySwipe_1br5q","exitActive":"popup-sheet__exitActive_1br5q","exitDone":"popup-sheet__exitDone_1br5q"};
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_1kdlf","enter":"popup-sheet__enter_1kdlf","appearActive":"popup-sheet__appearActive_1kdlf","enterActive":"popup-sheet__enterActive_1kdlf","appearDone":"popup-sheet__appearDone_1kdlf","enterDone":"popup-sheet__enterDone_1kdlf","exit":"popup-sheet__exit_1kdlf","exitActive":"popup-sheet__exitActive_1kdlf","exitDone":"popup-sheet__exitDone_1kdlf"};
4
+ const styles = {"appear":"popup-sheet__appear_u7kb4","enter":"popup-sheet__enter_u7kb4","appearActive":"popup-sheet__appearActive_u7kb4","enterActive":"popup-sheet__enterActive_u7kb4","appearDone":"popup-sheet__appearDone_u7kb4","enterDone":"popup-sheet__enterDone_u7kb4","exit":"popup-sheet__exit_u7kb4","exitActive":"popup-sheet__exitActive_u7kb4","exitDone":"popup-sheet__exitDone_u7kb4"};
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: 19vqu */
1
+ /* hash: 1ltdt */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-overlay: 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-bg-overlay);
20
20
  --backdrop-hidden-background: transparent;
21
- } .popup-sheet__appear_1kdlf,
22
- .popup-sheet__enter_1kdlf {
21
+ } .popup-sheet__appear_u7kb4,
22
+ .popup-sheet__enter_u7kb4 {
23
23
  background-color: var(--backdrop-hidden-background);
24
- } .popup-sheet__appearActive_1kdlf,
25
- .popup-sheet__enterActive_1kdlf,
26
- .popup-sheet__appearDone_1kdlf,
27
- .popup-sheet__enterDone_1kdlf {
24
+ } .popup-sheet__appearActive_u7kb4,
25
+ .popup-sheet__enterActive_u7kb4,
26
+ .popup-sheet__appearDone_u7kb4,
27
+ .popup-sheet__enterDone_u7kb4 {
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_1kdlf {
30
+ } .popup-sheet__exit_u7kb4 {
31
31
  background-color: var(--backdrop-visible-background);
32
- } .popup-sheet__exitActive_1kdlf,
33
- .popup-sheet__exitDone_1kdlf {
32
+ } .popup-sheet__exitActive_u7kb4,
33
+ .popup-sheet__exitDone_u7kb4 {
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: 1qn71 */
1
+ /* hash: 112lt */
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_18ukp {
18
+ } .popup-sheet__component_1br5q {
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_18ukp {
26
+ } .popup-sheet__closer_1br5q {
27
27
  position: absolute;
28
28
  top: 8px;
29
29
  right: 8px
30
- } .popup-sheet__closer_18ukp > button {
30
+ } .popup-sheet__closer_1br5q > button {
31
31
  -webkit-backdrop-filter: none;
32
32
  backdrop-filter: none;
33
- } .popup-sheet__content_18ukp {
33
+ } .popup-sheet__content_1br5q {
34
34
  box-sizing: border-box;
35
- } /* 100px нужны для того, чтобы фон успевал немного затемниться перед тем, как начнет выезжать шторка */ .popup-sheet__appear_18ukp,
36
- .popup-sheet__enter_18ukp {
35
+ } /* 100px нужны для того, чтобы фон успевал немного затемниться перед тем, как начнет выезжать шторка */ .popup-sheet__appear_1br5q,
36
+ .popup-sheet__enter_1br5q {
37
37
  transform: translateY(calc(100% + 100px));
38
- } .popup-sheet__appearActive_18ukp,
39
- .popup-sheet__enterActive_18ukp {
38
+ } .popup-sheet__appearActive_1br5q,
39
+ .popup-sheet__enterActive_1br5q {
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_18ukp {
43
+ } .popup-sheet__exit_1br5q {
44
44
  transform: translateY(0);
45
- } .popup-sheet__exitBySwipe_18ukp {
45
+ } .popup-sheet__exitBySwipe_1br5q {
46
46
  transform: translateY(calc(100% + 100px));
47
- } .popup-sheet__exitActiveBySwipe_18ukp {
47
+ } .popup-sheet__exitActiveBySwipe_1br5q {
48
48
  transition: none;
49
- } .popup-sheet__exitActive_18ukp,
50
- .popup-sheet__exitDone_18ukp {
49
+ } .popup-sheet__exitActive_1br5q,
50
+ .popup-sheet__exitDone_1br5q {
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.0",
3
+ "version": "1.0.1",
4
4
  "description": "Popup sheet mobile component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -18,7 +18,7 @@
18
18
  "@alfalab/core-components-base-modal": "^5.4.0",
19
19
  "@alfalab/core-components-backdrop": "^3.1.0",
20
20
  "@alfalab/core-components-shared": "^0.2.0",
21
- "@alfalab/core-components-navigation-bar": "^0.5.0",
21
+ "@alfalab/core-components-navigation-bar": "^0.5.1",
22
22
  "react-swipeable": "^7.0.0",
23
23
  "classnames": "^2.3.1",
24
24
  "tslib": "^2.4.0"