@alfalab/core-components-bottom-sheet 4.4.0 → 4.5.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.
Files changed (56) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/{component-e4bbc212.d.ts → component-581baeb0.d.ts} +4 -0
  3. package/dist/{component-e4bbc212.js → component-581baeb0.js} +5 -5
  4. package/dist/component.js +2 -2
  5. package/dist/components/backer/Component.js +2 -2
  6. package/dist/components/backer/index.css +3 -3
  7. package/dist/components/closer/Component.js +2 -2
  8. package/dist/components/closer/index.css +3 -3
  9. package/dist/components/footer/Component.js +1 -1
  10. package/dist/components/footer/index.css +4 -4
  11. package/dist/components/header/Component.js +2 -2
  12. package/dist/components/header/index.css +17 -17
  13. package/dist/components/swipeable-backdrop/Component.js +1 -1
  14. package/dist/{esm/component-f52911e2.d.ts → cssm/component-eb26b84c.d.ts} +4 -0
  15. package/dist/cssm/{component-1a32e10b.js → component-eb26b84c.js} +2 -2
  16. package/dist/cssm/component.js +1 -1
  17. package/dist/cssm/components/header/Component.js +1 -1
  18. package/dist/cssm/index.d.ts +1 -1
  19. package/dist/cssm/index.js +1 -1
  20. package/dist/{cssm/component-1a32e10b.d.ts → esm/component-454f3d35.d.ts} +4 -0
  21. package/dist/esm/{component-f52911e2.js → component-454f3d35.js} +5 -5
  22. package/dist/esm/component.js +2 -2
  23. package/dist/esm/components/backer/Component.js +2 -2
  24. package/dist/esm/components/backer/index.css +3 -3
  25. package/dist/esm/components/closer/Component.js +2 -2
  26. package/dist/esm/components/closer/index.css +3 -3
  27. package/dist/esm/components/footer/Component.js +1 -1
  28. package/dist/esm/components/footer/index.css +4 -4
  29. package/dist/esm/components/header/Component.js +2 -2
  30. package/dist/esm/components/header/index.css +17 -17
  31. package/dist/esm/components/swipeable-backdrop/Component.js +1 -1
  32. package/dist/esm/index.css +16 -16
  33. package/dist/esm/index.d.ts +1 -1
  34. package/dist/esm/index.js +2 -2
  35. package/dist/esm/{tslib.es6-8e1def13.d.ts → tslib.es6-5475692a.d.ts} +0 -0
  36. package/dist/esm/{tslib.es6-8e1def13.js → tslib.es6-5475692a.js} +0 -0
  37. package/dist/index.css +16 -16
  38. package/dist/index.d.ts +1 -1
  39. package/dist/index.js +2 -2
  40. package/dist/modern/{component-70b7137e.d.ts → component-721db0aa.d.ts} +4 -0
  41. package/dist/modern/{component-70b7137e.js → component-721db0aa.js} +4 -4
  42. package/dist/modern/component.js +1 -1
  43. package/dist/modern/components/backer/Component.js +1 -1
  44. package/dist/modern/components/backer/index.css +3 -3
  45. package/dist/modern/components/closer/Component.js +1 -1
  46. package/dist/modern/components/closer/index.css +3 -3
  47. package/dist/modern/components/footer/Component.js +1 -1
  48. package/dist/modern/components/footer/index.css +4 -4
  49. package/dist/modern/components/header/Component.js +1 -1
  50. package/dist/modern/components/header/index.css +17 -17
  51. package/dist/modern/index.css +16 -16
  52. package/dist/modern/index.d.ts +1 -1
  53. package/dist/modern/index.js +1 -1
  54. package/dist/{tslib.es6-1f5072a8.d.ts → tslib.es6-2a5a9bdd.d.ts} +0 -0
  55. package/dist/{tslib.es6-1f5072a8.js → tslib.es6-2a5a9bdd.js} +0 -0
  56. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-8e1def13.js';
1
+ import '../../tslib.es6-5475692a.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import 'react-div-100vh';
@@ -10,7 +10,7 @@ import '@alfalab/icons-glyph/CrossMIcon';
10
10
  import '../closer/Component.js';
11
11
  import '@alfalab/icons-glyph/ArrowBackMIcon';
12
12
  import '../backer/Component.js';
13
- export { a as Header } from '../../component-f52911e2.js';
13
+ export { a as Header } from '../../component-454f3d35.js';
14
14
  import '../footer/Component.js';
15
15
  import '@alfalab/core-components-backdrop/dist/esm';
16
16
  import '../swipeable-backdrop/Component.js';
@@ -1,4 +1,4 @@
1
- /* hash: 1tvte */
1
+ /* hash: no1e2 */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  }
@@ -30,7 +30,7 @@
30
30
  --bottom-sheet-title-font-family: var(--font-family-system);
31
31
  --bottom-sheet-title-margin-vertical: var(--gap-2xs);
32
32
  }
33
- .bottom-sheet__headerWrapper_bnnzw {
33
+ .bottom-sheet__headerWrapper_1r271 {
34
34
  padding: var(--gap-xs);
35
35
  padding-bottom: 0;
36
36
  background-color: var(--color-light-bg-primary);
@@ -38,38 +38,38 @@
38
38
  border-top-left-radius: var(--border-radius-xl);
39
39
  z-index: 1;
40
40
  }
41
- .bottom-sheet__header_bnnzw {
41
+ .bottom-sheet__header_1r271 {
42
42
  display: flex;
43
43
  }
44
- .bottom-sheet__sticky_bnnzw {
44
+ .bottom-sheet__sticky_1r271 {
45
45
  position: sticky;
46
46
  top: 0;
47
47
  }
48
- .bottom-sheet__highlighted_bnnzw {
48
+ .bottom-sheet__highlighted_1r271 {
49
49
  border-bottom: var(--bottom-sheet-header-border-bottom);
50
50
  }
51
- .bottom-sheet__justifyEnd_bnnzw {
51
+ .bottom-sheet__justifyEnd_1r271 {
52
52
  justify-content: flex-end;
53
53
  }
54
- .bottom-sheet__addon_bnnzw {
54
+ .bottom-sheet__addon_1r271 {
55
55
  display: flex;
56
56
  justify-content: center;
57
57
  align-items: center;
58
58
  min-width: 48px;
59
59
  height: 48px;
60
60
  }
61
- .bottom-sheet__addonFixed_bnnzw {
61
+ .bottom-sheet__addonFixed_1r271 {
62
62
  position: fixed;
63
63
  }
64
- .bottom-sheet__addonLeft_bnnzw {
64
+ .bottom-sheet__addonLeft_1r271 {
65
65
  left: 0;
66
66
  margin-left: var(--gap-xs);
67
67
  }
68
- .bottom-sheet__addonRight_bnnzw {
68
+ .bottom-sheet__addonRight_1r271 {
69
69
  right: 0;
70
70
  margin-right: var(--gap-xs);
71
71
  }
72
- .bottom-sheet__title_bnnzw {
72
+ .bottom-sheet__title_1r271 {
73
73
  padding: var(--gap-xs) var(--gap-xs);
74
74
  margin: var(--bottom-sheet-title-margin-vertical) 0;
75
75
  width: 100%;
@@ -78,23 +78,23 @@
78
78
  line-height: var(--bottom-sheet-title-line-height);
79
79
  font-family: var(--bottom-sheet-title-font-family);
80
80
  }
81
- .bottom-sheet__titleCenter_bnnzw {
81
+ .bottom-sheet__titleCenter_1r271 {
82
82
  text-align: center;
83
83
  }
84
- .bottom-sheet__titleLeft_bnnzw {
84
+ .bottom-sheet__titleLeft_1r271 {
85
85
  text-align: left;
86
86
  }
87
- .bottom-sheet__trimTitle_bnnzw {
87
+ .bottom-sheet__trimTitle_1r271 {
88
88
  white-space: nowrap;
89
89
  overflow: hidden;
90
90
  text-overflow: ellipsis;
91
91
  }
92
- .bottom-sheet__titleBigIndentHorizontal_bnnzw {
92
+ .bottom-sheet__titleBigIndentHorizontal_1r271 {
93
93
  margin: var(--bottom-sheet-title-margin-vertical) var(--gap-4xl);
94
94
  }
95
- .bottom-sheet__titleIndentRight_bnnzw {
95
+ .bottom-sheet__titleIndentRight_1r271 {
96
96
  margin-right: var(--gap-4xl);
97
97
  }
98
- .bottom-sheet__titleIndentLeft_bnnzw {
98
+ .bottom-sheet__titleIndentLeft_1r271 {
99
99
  margin-left: var(--gap-4xl);
100
100
  }
@@ -1,4 +1,4 @@
1
- import { a as __rest, _ as __assign } from '../../tslib.es6-8e1def13.js';
1
+ import { a as __rest, _ as __assign } from '../../tslib.es6-5475692a.js';
2
2
  import React from 'react';
3
3
  import { Backdrop } from '@alfalab/core-components-backdrop/dist/esm';
4
4
 
@@ -1,4 +1,4 @@
1
- /* hash: nm2a8 */
1
+ /* hash: l340t */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-graphic-quaternary: #dbdee1;
@@ -24,14 +24,14 @@
24
24
  --bottom-sheet-in-transition: 0.5s cubic-bezier(0.09, 0.91, 0.18, 0.99);
25
25
  --bottom-sheet-out-transition: 0.3s ease;
26
26
  }
27
- .bottom-sheet__modal_ydhe6 {
27
+ .bottom-sheet__modal_xuxkz {
28
28
  background-color: transparent;
29
29
  position: fixed;
30
30
  bottom: 0;
31
31
  width: 100%;
32
32
  max-width: 600px;
33
33
  }
34
- .bottom-sheet__component_ydhe6 {
34
+ .bottom-sheet__component_xuxkz {
35
35
  overflow: hidden;
36
36
  position: relative;
37
37
  display: flex;
@@ -41,20 +41,20 @@
41
41
  background: var(--color-light-bg-primary);
42
42
  transform: translateY(100%);
43
43
  }
44
- .bottom-sheet__withTransition_ydhe6 {
44
+ .bottom-sheet__withTransition_xuxkz {
45
45
  transition: var(--bottom-sheet-out-transition);
46
46
  }
47
- .bottom-sheet__withZeroTransition_ydhe6 {
47
+ .bottom-sheet__withZeroTransition_xuxkz {
48
48
  transition: 0s linear;
49
49
  }
50
- .bottom-sheet__scrollableContainer_ydhe6 {
50
+ .bottom-sheet__scrollableContainer_xuxkz {
51
51
  overflow: auto;
52
52
  display: flex;
53
53
  flex-direction: column;
54
54
  position: relative;
55
55
  height: 100%;
56
56
  }
57
- .bottom-sheet__marker_ydhe6 {
57
+ .bottom-sheet__marker_xuxkz {
58
58
  position: fixed;
59
59
  top: var(--gap-2xs);
60
60
  left: 50%;
@@ -65,7 +65,7 @@
65
65
  background-color: var(--color-light-graphic-quaternary);
66
66
  z-index: 1000;
67
67
  }
68
- .bottom-sheet__content_ydhe6 {
68
+ .bottom-sheet__content_xuxkz {
69
69
  display: flex;
70
70
  flex-direction: column;
71
71
  flex: 1;
@@ -73,29 +73,29 @@
73
73
  color: var(--color-light-text-primary);
74
74
  background-color: var(--color-light-bg-primary);
75
75
  }
76
- .bottom-sheet__noHeader_ydhe6 {
76
+ .bottom-sheet__noHeader_xuxkz {
77
77
  padding-top: var(--gap-xl);
78
78
  }
79
- .bottom-sheet__noFooter_ydhe6 {
79
+ .bottom-sheet__noFooter_xuxkz {
80
80
  padding-bottom: var(--gap-m);
81
81
  }
82
- .bottom-sheet__scrollLocked_ydhe6 {
82
+ .bottom-sheet__scrollLocked_xuxkz {
83
83
  overflow: hidden;
84
84
  }
85
- .bottom-sheet__appear_ydhe6 .bottom-sheet__component_ydhe6, .bottom-sheet__enter_ydhe6 .bottom-sheet__component_ydhe6 {
85
+ .bottom-sheet__appear_xuxkz .bottom-sheet__component_xuxkz, .bottom-sheet__enter_xuxkz .bottom-sheet__component_xuxkz {
86
86
  transition: none;
87
87
  }
88
- .bottom-sheet__appearActive_ydhe6 .bottom-sheet__component_ydhe6, .bottom-sheet__enterActive_ydhe6 .bottom-sheet__component_ydhe6 {
88
+ .bottom-sheet__appearActive_xuxkz .bottom-sheet__component_xuxkz, .bottom-sheet__enterActive_xuxkz .bottom-sheet__component_xuxkz {
89
89
  transition: var(--bottom-sheet-in-transition);
90
90
  transform: translateY(0);
91
91
  }
92
- .bottom-sheet__enterDone_ydhe6 .bottom-sheet__component_ydhe6, .bottom-sheet__appearDone_ydhe6 .bottom-sheet__component_ydhe6 {
92
+ .bottom-sheet__enterDone_xuxkz .bottom-sheet__component_xuxkz, .bottom-sheet__appearDone_xuxkz .bottom-sheet__component_xuxkz {
93
93
  transform: translateY(0);
94
94
  }
95
- .bottom-sheet__exit_ydhe6 .bottom-sheet__component_ydhe6 {
95
+ .bottom-sheet__exit_xuxkz .bottom-sheet__component_xuxkz {
96
96
  transform: translateY(0);
97
97
  }
98
- .bottom-sheet__exitActive_ydhe6 .bottom-sheet__component_ydhe6 {
98
+ .bottom-sheet__exitActive_xuxkz .bottom-sheet__component_xuxkz {
99
99
  transition: var(--bottom-sheet-out-transition);
100
100
  transform: translateY(100%);
101
101
  }
@@ -1 +1 @@
1
- export * from "./component-f52911e2";
1
+ export * from "./component-454f3d35";
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './tslib.es6-8e1def13.js';
1
+ import './tslib.es6-5475692a.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import 'react-div-100vh';
@@ -10,7 +10,7 @@ import '@alfalab/icons-glyph/CrossMIcon';
10
10
  import './components/closer/Component.js';
11
11
  import '@alfalab/icons-glyph/ArrowBackMIcon';
12
12
  import './components/backer/Component.js';
13
- export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-f52911e2.js';
13
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-454f3d35.js';
14
14
  import './components/footer/Component.js';
15
15
  import '@alfalab/core-components-backdrop/dist/esm';
16
16
  import './components/swipeable-backdrop/Component.js';
package/dist/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: nm2a8 */
1
+ /* hash: l340t */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-graphic-quaternary: #dbdee1;
@@ -24,14 +24,14 @@
24
24
  --bottom-sheet-in-transition: 0.5s cubic-bezier(0.09, 0.91, 0.18, 0.99);
25
25
  --bottom-sheet-out-transition: 0.3s ease;
26
26
  }
27
- .bottom-sheet__modal_ydhe6 {
27
+ .bottom-sheet__modal_xuxkz {
28
28
  background-color: transparent;
29
29
  position: fixed;
30
30
  bottom: 0;
31
31
  width: 100%;
32
32
  max-width: 600px;
33
33
  }
34
- .bottom-sheet__component_ydhe6 {
34
+ .bottom-sheet__component_xuxkz {
35
35
  overflow: hidden;
36
36
  position: relative;
37
37
  display: flex;
@@ -41,20 +41,20 @@
41
41
  background: var(--color-light-bg-primary);
42
42
  transform: translateY(100%);
43
43
  }
44
- .bottom-sheet__withTransition_ydhe6 {
44
+ .bottom-sheet__withTransition_xuxkz {
45
45
  transition: var(--bottom-sheet-out-transition);
46
46
  }
47
- .bottom-sheet__withZeroTransition_ydhe6 {
47
+ .bottom-sheet__withZeroTransition_xuxkz {
48
48
  transition: 0s linear;
49
49
  }
50
- .bottom-sheet__scrollableContainer_ydhe6 {
50
+ .bottom-sheet__scrollableContainer_xuxkz {
51
51
  overflow: auto;
52
52
  display: flex;
53
53
  flex-direction: column;
54
54
  position: relative;
55
55
  height: 100%;
56
56
  }
57
- .bottom-sheet__marker_ydhe6 {
57
+ .bottom-sheet__marker_xuxkz {
58
58
  position: fixed;
59
59
  top: var(--gap-2xs);
60
60
  left: 50%;
@@ -65,7 +65,7 @@
65
65
  background-color: var(--color-light-graphic-quaternary);
66
66
  z-index: 1000;
67
67
  }
68
- .bottom-sheet__content_ydhe6 {
68
+ .bottom-sheet__content_xuxkz {
69
69
  display: flex;
70
70
  flex-direction: column;
71
71
  flex: 1;
@@ -73,29 +73,29 @@
73
73
  color: var(--color-light-text-primary);
74
74
  background-color: var(--color-light-bg-primary);
75
75
  }
76
- .bottom-sheet__noHeader_ydhe6 {
76
+ .bottom-sheet__noHeader_xuxkz {
77
77
  padding-top: var(--gap-xl);
78
78
  }
79
- .bottom-sheet__noFooter_ydhe6 {
79
+ .bottom-sheet__noFooter_xuxkz {
80
80
  padding-bottom: var(--gap-m);
81
81
  }
82
- .bottom-sheet__scrollLocked_ydhe6 {
82
+ .bottom-sheet__scrollLocked_xuxkz {
83
83
  overflow: hidden;
84
84
  }
85
- .bottom-sheet__appear_ydhe6 .bottom-sheet__component_ydhe6, .bottom-sheet__enter_ydhe6 .bottom-sheet__component_ydhe6 {
85
+ .bottom-sheet__appear_xuxkz .bottom-sheet__component_xuxkz, .bottom-sheet__enter_xuxkz .bottom-sheet__component_xuxkz {
86
86
  transition: none;
87
87
  }
88
- .bottom-sheet__appearActive_ydhe6 .bottom-sheet__component_ydhe6, .bottom-sheet__enterActive_ydhe6 .bottom-sheet__component_ydhe6 {
88
+ .bottom-sheet__appearActive_xuxkz .bottom-sheet__component_xuxkz, .bottom-sheet__enterActive_xuxkz .bottom-sheet__component_xuxkz {
89
89
  transition: var(--bottom-sheet-in-transition);
90
90
  transform: translateY(0);
91
91
  }
92
- .bottom-sheet__enterDone_ydhe6 .bottom-sheet__component_ydhe6, .bottom-sheet__appearDone_ydhe6 .bottom-sheet__component_ydhe6 {
92
+ .bottom-sheet__enterDone_xuxkz .bottom-sheet__component_xuxkz, .bottom-sheet__appearDone_xuxkz .bottom-sheet__component_xuxkz {
93
93
  transform: translateY(0);
94
94
  }
95
- .bottom-sheet__exit_ydhe6 .bottom-sheet__component_ydhe6 {
95
+ .bottom-sheet__exit_xuxkz .bottom-sheet__component_xuxkz {
96
96
  transform: translateY(0);
97
97
  }
98
- .bottom-sheet__exitActive_ydhe6 .bottom-sheet__component_ydhe6 {
98
+ .bottom-sheet__exitActive_xuxkz .bottom-sheet__component_xuxkz {
99
99
  transition: var(--bottom-sheet-out-transition);
100
100
  transform: translateY(100%);
101
101
  }
package/dist/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./component-e4bbc212";
1
+ export * from "./component-581baeb0";
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-1f5072a8.js');
5
+ require('./tslib.es6-2a5a9bdd.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('react-div-100vh');
@@ -14,7 +14,7 @@ require('@alfalab/icons-glyph/CrossMIcon');
14
14
  require('./components/closer/Component.js');
15
15
  require('@alfalab/icons-glyph/ArrowBackMIcon');
16
16
  require('./components/backer/Component.js');
17
- var components_header_Component = require('./component-e4bbc212.js');
17
+ var components_header_Component = require('./component-581baeb0.js');
18
18
  require('./components/footer/Component.js');
19
19
  require('@alfalab/core-components-backdrop');
20
20
  require('./components/swipeable-backdrop/Component.js');
@@ -117,6 +117,10 @@ type BottomSheetProps = {
117
117
  * Дополнительный класс для компонента стрелки назад
118
118
  */
119
119
  backerClassName?: string;
120
+ /**
121
+ * Дополнительный класс для компонента модального окна
122
+ */
123
+ modalClassName?: string;
120
124
  /**
121
125
  * TransitionProps, прокидываются в компонент CSSTransitionProps.
122
126
  */
@@ -9,7 +9,7 @@ import { Backer } from './components/backer/Component.js';
9
9
  import { Footer } from './components/footer/Component.js';
10
10
  import { SwipeableBackdrop } from './components/swipeable-backdrop/Component.js';
11
11
 
12
- var styles = {"headerWrapper":"bottom-sheet__headerWrapper_bnnzw","header":"bottom-sheet__header_bnnzw","sticky":"bottom-sheet__sticky_bnnzw","highlighted":"bottom-sheet__highlighted_bnnzw","justifyEnd":"bottom-sheet__justifyEnd_bnnzw","addon":"bottom-sheet__addon_bnnzw","addonFixed":"bottom-sheet__addonFixed_bnnzw","addonLeft":"bottom-sheet__addonLeft_bnnzw","addonRight":"bottom-sheet__addonRight_bnnzw","title":"bottom-sheet__title_bnnzw","titleCenter":"bottom-sheet__titleCenter_bnnzw","titleLeft":"bottom-sheet__titleLeft_bnnzw","trimTitle":"bottom-sheet__trimTitle_bnnzw","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_bnnzw","titleIndentRight":"bottom-sheet__titleIndentRight_bnnzw","titleIndentLeft":"bottom-sheet__titleIndentLeft_bnnzw"};
12
+ var styles = {"headerWrapper":"bottom-sheet__headerWrapper_1r271","header":"bottom-sheet__header_1r271","sticky":"bottom-sheet__sticky_1r271","highlighted":"bottom-sheet__highlighted_1r271","justifyEnd":"bottom-sheet__justifyEnd_1r271","addon":"bottom-sheet__addon_1r271","addonFixed":"bottom-sheet__addonFixed_1r271","addonLeft":"bottom-sheet__addonLeft_1r271","addonRight":"bottom-sheet__addonRight_1r271","title":"bottom-sheet__title_1r271","titleCenter":"bottom-sheet__titleCenter_1r271","titleLeft":"bottom-sheet__titleLeft_1r271","trimTitle":"bottom-sheet__trimTitle_1r271","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_1r271","titleIndentRight":"bottom-sheet__titleIndentRight_1r271","titleIndentLeft":"bottom-sheet__titleIndentLeft_1r271"};
13
13
  require('./components/header/index.css')
14
14
 
15
15
  const Header = ({ title, headerClassName, addonClassName, closerClassName, backerClassName, leftAddons, rightAddons, bottomAddons, hasCloser, hasBacker, titleAlign, trimTitle, sticky, onBack, }) => {
@@ -56,7 +56,7 @@ const Header = ({ title, headerClassName, addonClassName, closerClassName, backe
56
56
  bottomAddons));
57
57
  };
58
58
 
59
- var styles$1 = {"modal":"bottom-sheet__modal_ydhe6","component":"bottom-sheet__component_ydhe6","withTransition":"bottom-sheet__withTransition_ydhe6","withZeroTransition":"bottom-sheet__withZeroTransition_ydhe6","scrollableContainer":"bottom-sheet__scrollableContainer_ydhe6","marker":"bottom-sheet__marker_ydhe6","content":"bottom-sheet__content_ydhe6","noHeader":"bottom-sheet__noHeader_ydhe6","noFooter":"bottom-sheet__noFooter_ydhe6","scrollLocked":"bottom-sheet__scrollLocked_ydhe6","appear":"bottom-sheet__appear_ydhe6","enter":"bottom-sheet__enter_ydhe6","appearActive":"bottom-sheet__appearActive_ydhe6","enterActive":"bottom-sheet__enterActive_ydhe6","enterDone":"bottom-sheet__enterDone_ydhe6","appearDone":"bottom-sheet__appearDone_ydhe6","exit":"bottom-sheet__exit_ydhe6","exitActive":"bottom-sheet__exitActive_ydhe6"};
59
+ var styles$1 = {"modal":"bottom-sheet__modal_xuxkz","component":"bottom-sheet__component_xuxkz","withTransition":"bottom-sheet__withTransition_xuxkz","withZeroTransition":"bottom-sheet__withZeroTransition_xuxkz","scrollableContainer":"bottom-sheet__scrollableContainer_xuxkz","marker":"bottom-sheet__marker_xuxkz","content":"bottom-sheet__content_xuxkz","noHeader":"bottom-sheet__noHeader_xuxkz","noFooter":"bottom-sheet__noFooter_xuxkz","scrollLocked":"bottom-sheet__scrollLocked_xuxkz","appear":"bottom-sheet__appear_xuxkz","enter":"bottom-sheet__enter_xuxkz","appearActive":"bottom-sheet__appearActive_xuxkz","enterActive":"bottom-sheet__enterActive_xuxkz","enterDone":"bottom-sheet__enterDone_xuxkz","appearDone":"bottom-sheet__appearDone_xuxkz","exit":"bottom-sheet__exit_xuxkz","exitActive":"bottom-sheet__exitActive_xuxkz"};
60
60
  require('./index.css')
61
61
 
62
62
  const TIMEOUT = 300;
@@ -67,7 +67,7 @@ const MARKET_HEIGHT = 24;
67
67
  /* Верхний отступ шторки, если она открыта на максимальную высоту */
68
68
  const HEADER_OFFSET = 24;
69
69
  const CLOSE_OFFSET = 0.2;
70
- const BottomSheet = forwardRef(({ open, title, actionButton, contentClassName, containerClassName, containerProps, headerClassName, footerClassName, addonClassName, closerClassName, backerClassName, className, leftAddons, rightAddons, bottomAddons, hasCloser, hasBacker, titleAlign = 'left', trimTitle, stickyHeader, stickyFooter = true, initialHeight = 'default', hideOverlay, hideHeader, disableOverlayClick, children, zIndex, transitionProps = {}, dataTestId, swipeable = true, ignoreScreenChange = false, onClose, onBack, }, ref) => {
70
+ const BottomSheet = forwardRef(({ open, title, actionButton, contentClassName, containerClassName, containerProps, headerClassName, footerClassName, addonClassName, closerClassName, backerClassName, modalClassName, className, leftAddons, rightAddons, bottomAddons, hasCloser, hasBacker, titleAlign = 'left', trimTitle, stickyHeader, stickyFooter = true, initialHeight = 'default', hideOverlay, hideHeader, disableOverlayClick, children, zIndex, transitionProps = {}, dataTestId, swipeable = true, ignoreScreenChange = false, onClose, onBack, }, ref) => {
71
71
  const [sheetOffset, setSheetOffset] = useState(0);
72
72
  const [backdropOpacity, setBackdropOpacity] = useState(1);
73
73
  const [scrollLocked, setScrollLocked] = useState(false);
@@ -221,7 +221,7 @@ const BottomSheet = forwardRef(({ open, title, actionButton, contentClassName, c
221
221
  handlers: swipeable ? backdropSwipeablehandlers : false,
222
222
  opacityTimeout: TIMEOUT,
223
223
  invisible: initialHeight === 'full' ? false : hideOverlay,
224
- }, disableBackdropClick: hideOverlay ? true : disableOverlayClick, className: styles$1.modal, transitionProps: {
224
+ }, disableBackdropClick: hideOverlay ? true : disableOverlayClick, className: cn(styles$1.modal, modalClassName), transitionProps: {
225
225
  appear: true,
226
226
  timeout: TIMEOUT,
227
227
  classNames: styles$1,
@@ -9,7 +9,7 @@ import '@alfalab/icons-glyph/CrossMIcon';
9
9
  import './components/closer/Component.js';
10
10
  import '@alfalab/icons-glyph/ArrowBackMIcon';
11
11
  import './components/backer/Component.js';
12
- export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-70b7137e.js';
12
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-721db0aa.js';
13
13
  import './components/footer/Component.js';
14
14
  import '@alfalab/core-components-backdrop/dist/modern';
15
15
  import './components/swipeable-backdrop/Component.js';
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import { IconButton } from '@alfalab/core-components-icon-button/dist/modern';
4
4
  import { ArrowBackMIcon } from '@alfalab/icons-glyph/ArrowBackMIcon';
5
5
 
6
- var styles = {"backer":"bottom-sheet__backer_1csb3","button":"bottom-sheet__button_1csb3"};
6
+ var styles = {"backer":"bottom-sheet__backer_kjx3x","button":"bottom-sheet__button_kjx3x"};
7
7
  require('./index.css')
8
8
 
9
9
  const Backer = ({ className, size = 'xs', icon = ArrowBackMIcon, onClick, ...restProps }) => {
@@ -1,9 +1,9 @@
1
- /* hash: 1j145 */
1
+ /* hash: 13vyv */
2
2
  :root {
3
3
  --bottom-sheet-backer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
4
4
  }
5
5
 
6
- .bottom-sheet__backer_1csb3 {
6
+ .bottom-sheet__backer_kjx3x {
7
7
  width: 32px;
8
8
  height: 32px;
9
9
  display: flex;
@@ -13,7 +13,7 @@
13
13
  color: var(--color-light-graphic-primary);
14
14
  }
15
15
 
16
- .bottom-sheet__button_1csb3 {
16
+ .bottom-sheet__button_kjx3x {
17
17
  background: var(--bottom-sheet-backer-bg-color);
18
18
  -webkit-backdrop-filter: blur(10px);
19
19
  backdrop-filter: blur(10px);
@@ -4,7 +4,7 @@ import { BaseModalContext } from '@alfalab/core-components-base-modal/dist/moder
4
4
  import { IconButton } from '@alfalab/core-components-icon-button/dist/modern';
5
5
  import { CrossMIcon } from '@alfalab/icons-glyph/CrossMIcon';
6
6
 
7
- var styles = {"closer":"bottom-sheet__closer_zy1g9","button":"bottom-sheet__button_zy1g9"};
7
+ var styles = {"closer":"bottom-sheet__closer_1iww8","button":"bottom-sheet__button_1iww8"};
8
8
  require('./index.css')
9
9
 
10
10
  const Closer = ({ className, size = 'xs', icon = CrossMIcon, ...restProps }) => {
@@ -1,9 +1,9 @@
1
- /* hash: 45ot6 */
1
+ /* hash: 1g5to */
2
2
  :root {
3
3
  --bottom-sheet-closer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
4
4
  }
5
5
 
6
- .bottom-sheet__closer_zy1g9 {
6
+ .bottom-sheet__closer_1iww8 {
7
7
  width: 32px;
8
8
  height: 32px;
9
9
  display: flex;
@@ -13,7 +13,7 @@
13
13
  color: var(--color-light-graphic-primary);
14
14
  }
15
15
 
16
- .bottom-sheet__button_zy1g9 {
16
+ .bottom-sheet__button_1iww8 {
17
17
  background: var(--bottom-sheet-closer-bg-color);
18
18
  -webkit-backdrop-filter: blur(10px);
19
19
  backdrop-filter: blur(10px);
@@ -2,7 +2,7 @@ import React, { useContext, useEffect } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { BaseModalContext } from '@alfalab/core-components-base-modal/dist/modern';
4
4
 
5
- var styles = {"footer":"bottom-sheet__footer_1kufc","sticky":"bottom-sheet__sticky_1kufc","highlighted":"bottom-sheet__highlighted_1kufc"};
5
+ var styles = {"footer":"bottom-sheet__footer_8arjv","sticky":"bottom-sheet__sticky_8arjv","highlighted":"bottom-sheet__highlighted_8arjv"};
6
6
  require('./index.css')
7
7
 
8
8
  const Footer = ({ children, className, sticky }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1jplk */
1
+ /* hash: 160n6 */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-border-primary: #dbdee1;
@@ -18,15 +18,15 @@
18
18
  --bottom-sheet-footer-border-top: 1px solid var(--color-light-border-primary);
19
19
  --bottom-sheet-footer-background-color: var(--color-light-bg-primary);
20
20
  }
21
- .bottom-sheet__footer_1kufc {
21
+ .bottom-sheet__footer_8arjv {
22
22
  padding: var(--gap-m) var(--gap-m);
23
23
  background-color: var(--color-light-bg-primary);
24
24
  }
25
- .bottom-sheet__sticky_1kufc {
25
+ .bottom-sheet__sticky_8arjv {
26
26
  position: sticky;
27
27
  bottom: 0;
28
28
  }
29
- .bottom-sheet__highlighted_1kufc {
29
+ .bottom-sheet__highlighted_8arjv {
30
30
  border-top: var(--bottom-sheet-footer-border-top);
31
31
  background-color: var(--bottom-sheet-footer-background-color);
32
32
  }
@@ -9,7 +9,7 @@ import '@alfalab/icons-glyph/CrossMIcon';
9
9
  import '../closer/Component.js';
10
10
  import '@alfalab/icons-glyph/ArrowBackMIcon';
11
11
  import '../backer/Component.js';
12
- export { a as Header } from '../../component-70b7137e.js';
12
+ export { a as Header } from '../../component-721db0aa.js';
13
13
  import '../footer/Component.js';
14
14
  import '@alfalab/core-components-backdrop/dist/modern';
15
15
  import '../swipeable-backdrop/Component.js';
@@ -1,4 +1,4 @@
1
- /* hash: 1tvte */
1
+ /* hash: no1e2 */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  }
@@ -30,7 +30,7 @@
30
30
  --bottom-sheet-title-font-family: var(--font-family-system);
31
31
  --bottom-sheet-title-margin-vertical: var(--gap-2xs);
32
32
  }
33
- .bottom-sheet__headerWrapper_bnnzw {
33
+ .bottom-sheet__headerWrapper_1r271 {
34
34
  padding: var(--gap-xs);
35
35
  padding-bottom: 0;
36
36
  background-color: var(--color-light-bg-primary);
@@ -38,38 +38,38 @@
38
38
  border-top-left-radius: var(--border-radius-xl);
39
39
  z-index: 1;
40
40
  }
41
- .bottom-sheet__header_bnnzw {
41
+ .bottom-sheet__header_1r271 {
42
42
  display: flex;
43
43
  }
44
- .bottom-sheet__sticky_bnnzw {
44
+ .bottom-sheet__sticky_1r271 {
45
45
  position: sticky;
46
46
  top: 0;
47
47
  }
48
- .bottom-sheet__highlighted_bnnzw {
48
+ .bottom-sheet__highlighted_1r271 {
49
49
  border-bottom: var(--bottom-sheet-header-border-bottom);
50
50
  }
51
- .bottom-sheet__justifyEnd_bnnzw {
51
+ .bottom-sheet__justifyEnd_1r271 {
52
52
  justify-content: flex-end;
53
53
  }
54
- .bottom-sheet__addon_bnnzw {
54
+ .bottom-sheet__addon_1r271 {
55
55
  display: flex;
56
56
  justify-content: center;
57
57
  align-items: center;
58
58
  min-width: 48px;
59
59
  height: 48px;
60
60
  }
61
- .bottom-sheet__addonFixed_bnnzw {
61
+ .bottom-sheet__addonFixed_1r271 {
62
62
  position: fixed;
63
63
  }
64
- .bottom-sheet__addonLeft_bnnzw {
64
+ .bottom-sheet__addonLeft_1r271 {
65
65
  left: 0;
66
66
  margin-left: var(--gap-xs);
67
67
  }
68
- .bottom-sheet__addonRight_bnnzw {
68
+ .bottom-sheet__addonRight_1r271 {
69
69
  right: 0;
70
70
  margin-right: var(--gap-xs);
71
71
  }
72
- .bottom-sheet__title_bnnzw {
72
+ .bottom-sheet__title_1r271 {
73
73
  padding: var(--gap-xs) var(--gap-xs);
74
74
  margin: var(--bottom-sheet-title-margin-vertical) 0;
75
75
  width: 100%;
@@ -78,23 +78,23 @@
78
78
  line-height: var(--bottom-sheet-title-line-height);
79
79
  font-family: var(--bottom-sheet-title-font-family);
80
80
  }
81
- .bottom-sheet__titleCenter_bnnzw {
81
+ .bottom-sheet__titleCenter_1r271 {
82
82
  text-align: center;
83
83
  }
84
- .bottom-sheet__titleLeft_bnnzw {
84
+ .bottom-sheet__titleLeft_1r271 {
85
85
  text-align: left;
86
86
  }
87
- .bottom-sheet__trimTitle_bnnzw {
87
+ .bottom-sheet__trimTitle_1r271 {
88
88
  white-space: nowrap;
89
89
  overflow: hidden;
90
90
  text-overflow: ellipsis;
91
91
  }
92
- .bottom-sheet__titleBigIndentHorizontal_bnnzw {
92
+ .bottom-sheet__titleBigIndentHorizontal_1r271 {
93
93
  margin: var(--bottom-sheet-title-margin-vertical) var(--gap-4xl);
94
94
  }
95
- .bottom-sheet__titleIndentRight_bnnzw {
95
+ .bottom-sheet__titleIndentRight_1r271 {
96
96
  margin-right: var(--gap-4xl);
97
97
  }
98
- .bottom-sheet__titleIndentLeft_bnnzw {
98
+ .bottom-sheet__titleIndentLeft_1r271 {
99
99
  margin-left: var(--gap-4xl);
100
100
  }