@alfalab/core-components-bottom-sheet 4.0.2 → 4.1.2

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 (59) hide show
  1. package/CHANGELOG.md +24 -24
  2. package/dist/{component-67cb6035.d.ts → component-ca22bc82.d.ts} +9 -1
  3. package/dist/{component-67cb6035.js → component-ca22bc82.js} +8 -8
  4. package/dist/component.js +2 -2
  5. package/dist/components/backer/Component.js +2 -2
  6. package/dist/components/backer/index.css +5 -4
  7. package/dist/components/closer/Component.js +2 -2
  8. package/dist/components/closer/index.css +5 -4
  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 -18
  13. package/dist/components/swipeable-backdrop/Component.js +1 -1
  14. package/dist/{esm/component-ea51573a.d.ts → cssm/component-d1b19e73.d.ts} +9 -1
  15. package/dist/cssm/{component-1deadd87.js → component-d1b19e73.js} +5 -5
  16. package/dist/cssm/component.js +1 -1
  17. package/dist/cssm/components/backer/index.module.css +2 -1
  18. package/dist/cssm/components/closer/index.module.css +2 -1
  19. package/dist/cssm/components/header/Component.js +1 -1
  20. package/dist/cssm/components/header/index.module.css +1 -2
  21. package/dist/cssm/index.d.ts +1 -1
  22. package/dist/cssm/index.js +1 -1
  23. package/dist/{cssm/component-1deadd87.d.ts → esm/component-0b02dd93.d.ts} +9 -1
  24. package/dist/esm/{component-ea51573a.js → component-0b02dd93.js} +8 -8
  25. package/dist/esm/component.js +2 -2
  26. package/dist/esm/components/backer/Component.js +2 -2
  27. package/dist/esm/components/backer/index.css +5 -4
  28. package/dist/esm/components/closer/Component.js +2 -2
  29. package/dist/esm/components/closer/index.css +5 -4
  30. package/dist/esm/components/footer/Component.js +1 -1
  31. package/dist/esm/components/footer/index.css +4 -4
  32. package/dist/esm/components/header/Component.js +2 -2
  33. package/dist/esm/components/header/index.css +17 -18
  34. package/dist/esm/components/swipeable-backdrop/Component.js +1 -1
  35. package/dist/esm/index.css +15 -15
  36. package/dist/esm/index.d.ts +1 -1
  37. package/dist/esm/index.js +2 -2
  38. package/dist/esm/{tslib.es6-b6293862.d.ts → tslib.es6-9d33ee58.d.ts} +0 -0
  39. package/dist/esm/{tslib.es6-b6293862.js → tslib.es6-9d33ee58.js} +0 -0
  40. package/dist/index.css +15 -15
  41. package/dist/index.d.ts +1 -1
  42. package/dist/index.js +2 -2
  43. package/dist/modern/{component-af296d00.d.ts → component-cc744bab.d.ts} +9 -1
  44. package/dist/modern/{component-af296d00.js → component-cc744bab.js} +7 -7
  45. package/dist/modern/component.js +1 -1
  46. package/dist/modern/components/backer/Component.js +1 -1
  47. package/dist/modern/components/backer/index.css +5 -4
  48. package/dist/modern/components/closer/Component.js +1 -1
  49. package/dist/modern/components/closer/index.css +5 -4
  50. package/dist/modern/components/footer/Component.js +1 -1
  51. package/dist/modern/components/footer/index.css +4 -4
  52. package/dist/modern/components/header/Component.js +1 -1
  53. package/dist/modern/components/header/index.css +17 -18
  54. package/dist/modern/index.css +15 -15
  55. package/dist/modern/index.d.ts +1 -1
  56. package/dist/modern/index.js +1 -1
  57. package/dist/{tslib.es6-80cc1ada.d.ts → tslib.es6-2202b5c2.d.ts} +0 -0
  58. package/dist/{tslib.es6-80cc1ada.js → tslib.es6-2202b5c2.js} +0 -0
  59. package/package.json +10 -10
package/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
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
- ## [4.0.2](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-bottom-sheet@4.0.1...@alfalab/core-components-bottom-sheet@4.0.2) (2022-03-30)
6
+ ## [4.0.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@4.0.1...@alfalab/core-components-bottom-sheet@4.0.2) (2022-03-30)
7
7
 
8
8
  **Note:** Version bump only for package @alfalab/core-components-bottom-sheet
9
9
 
@@ -11,24 +11,24 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
- ## [4.0.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-bottom-sheet@4.0.0...@alfalab/core-components-bottom-sheet@4.0.1) (2022-03-28)
14
+ ## [4.0.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@4.0.0...@alfalab/core-components-bottom-sheet@4.0.1) (2022-03-28)
15
15
 
16
16
 
17
17
  ### Bug Fixes
18
18
 
19
- * fix modal and bottom-sheet dark mode ([#1043](https://github.com/alfa-laboratory/core-components/issues/1043)) ([cad36a2](https://github.com/alfa-laboratory/core-components/commit/cad36a25b28bfa71296c3dd9dc325eec28b5c241))
20
- * **bottom-sheet:** fix bottom-sheet swipeable marker ([#1044](https://github.com/alfa-laboratory/core-components/issues/1044)) ([0734e55](https://github.com/alfa-laboratory/core-components/commit/0734e55cc0e394fb33452f875ffcf47819277aee))
19
+ * fix modal and bottom-sheet dark mode ([#1043](https://github.com/core-ds/core-components/issues/1043)) ([cad36a2](https://github.com/core-ds/core-components/commit/cad36a25b28bfa71296c3dd9dc325eec28b5c241))
20
+ * **bottom-sheet:** fix bottom-sheet swipeable marker ([#1044](https://github.com/core-ds/core-components/issues/1044)) ([0734e55](https://github.com/core-ds/core-components/commit/0734e55cc0e394fb33452f875ffcf47819277aee))
21
21
 
22
22
 
23
23
 
24
24
 
25
25
 
26
- # [4.0.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-bottom-sheet@3.1.1...@alfalab/core-components-bottom-sheet@4.0.0) (2022-03-24)
26
+ # [4.0.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@3.1.1...@alfalab/core-components-bottom-sheet@4.0.0) (2022-03-24)
27
27
 
28
28
 
29
29
  ### Features
30
30
 
31
- * **bottom-sheet:** update-bottom-sheet ([#1025](https://github.com/alfa-laboratory/core-components/issues/1025)) ([26fa9aa](https://github.com/alfa-laboratory/core-components/commit/26fa9aab68bebf0f7093a38bc0f18a9b596ccf37)), closes [#1032](https://github.com/alfa-laboratory/core-components/issues/1032)
31
+ * **bottom-sheet:** update-bottom-sheet ([#1025](https://github.com/core-ds/core-components/issues/1025)) ([26fa9aa](https://github.com/core-ds/core-components/commit/26fa9aab68bebf0f7093a38bc0f18a9b596ccf37)), closes [#1032](https://github.com/core-ds/core-components/issues/1032)
32
32
 
33
33
 
34
34
  ### BREAKING CHANGES
@@ -39,7 +39,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
39
39
 
40
40
 
41
41
 
42
- ## [3.1.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-bottom-sheet@3.1.0...@alfalab/core-components-bottom-sheet@3.1.1) (2022-03-03)
42
+ ## [3.1.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@3.1.0...@alfalab/core-components-bottom-sheet@3.1.1) (2022-03-03)
43
43
 
44
44
  **Note:** Version bump only for package @alfalab/core-components-bottom-sheet
45
45
 
@@ -47,29 +47,29 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
47
47
 
48
48
 
49
49
 
50
- # [3.1.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-bottom-sheet@3.0.2...@alfalab/core-components-bottom-sheet@3.1.0) (2022-03-01)
50
+ # [3.1.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@3.0.2...@alfalab/core-components-bottom-sheet@3.1.0) (2022-03-01)
51
51
 
52
52
 
53
53
  ### Features
54
54
 
55
- * Исправить импорты в сторях. ([#998](https://github.com/alfa-laboratory/core-components/issues/998)) ([e6a654a](https://github.com/alfa-laboratory/core-components/commit/e6a654a0599451c7d149484cb61d8067eed083b7))
55
+ * Исправить импорты в сторях. ([#998](https://github.com/core-ds/core-components/issues/998)) ([e6a654a](https://github.com/core-ds/core-components/commit/e6a654a0599451c7d149484cb61d8067eed083b7))
56
56
 
57
57
 
58
58
 
59
59
 
60
60
 
61
- ## [3.0.2](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-bottom-sheet@3.0.1...@alfalab/core-components-bottom-sheet@3.0.2) (2022-01-27)
61
+ ## [3.0.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@3.0.1...@alfalab/core-components-bottom-sheet@3.0.2) (2022-01-27)
62
62
 
63
63
 
64
64
  ### Bug Fixes
65
65
 
66
- * **bottom-sheet:** fix double calling onClose fn ([#962](https://github.com/alfa-laboratory/core-components/issues/962)) ([feda2a4](https://github.com/alfa-laboratory/core-components/commit/feda2a4c8d3a4f40a1ab9c40eb21f5359e4fa538))
66
+ * **bottom-sheet:** fix double calling onClose fn ([#962](https://github.com/core-ds/core-components/issues/962)) ([feda2a4](https://github.com/core-ds/core-components/commit/feda2a4c8d3a4f40a1ab9c40eb21f5359e4fa538))
67
67
 
68
68
 
69
69
 
70
70
 
71
71
 
72
- ## [3.0.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-bottom-sheet@3.0.0...@alfalab/core-components-bottom-sheet@3.0.1) (2022-01-17)
72
+ ## [3.0.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@3.0.0...@alfalab/core-components-bottom-sheet@3.0.1) (2022-01-17)
73
73
 
74
74
  **Note:** Version bump only for package @alfalab/core-components-bottom-sheet
75
75
 
@@ -77,12 +77,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
77
77
 
78
78
 
79
79
 
80
- # [3.0.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-bottom-sheet@2.1.1...@alfalab/core-components-bottom-sheet@3.0.0) (2021-11-26)
80
+ # [3.0.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@2.1.1...@alfalab/core-components-bottom-sheet@3.0.0) (2021-11-26)
81
81
 
82
82
 
83
83
  ### Features
84
84
 
85
- * **button:** добавлена кнопка размера 40px, изменены скругления ([#886](https://github.com/alfa-laboratory/core-components/issues/886)) ([88e657a](https://github.com/alfa-laboratory/core-components/commit/88e657a9f0f68b8b58f6e9437053954ee984f83c)), closes [#890](https://github.com/alfa-laboratory/core-components/issues/890)
85
+ * **button:** добавлена кнопка размера 40px, изменены скругления ([#886](https://github.com/core-ds/core-components/issues/886)) ([88e657a](https://github.com/core-ds/core-components/commit/88e657a9f0f68b8b58f6e9437053954ee984f83c)), closes [#890](https://github.com/core-ds/core-components/issues/890)
86
86
 
87
87
 
88
88
  ### BREAKING CHANGES
@@ -117,29 +117,29 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
117
117
 
118
118
 
119
119
 
120
- ## [2.1.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-bottom-sheet@2.1.0...@alfalab/core-components-bottom-sheet@2.1.1) (2021-09-14)
120
+ ## [2.1.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@2.1.0...@alfalab/core-components-bottom-sheet@2.1.1) (2021-09-14)
121
121
 
122
122
 
123
123
  ### Bug Fixes
124
124
 
125
- * **base-modal:** modal scroll ([#820](https://github.com/alfa-laboratory/core-components/issues/820)) ([1b2d94a](https://github.com/alfa-laboratory/core-components/commit/1b2d94ad45e04145bf1292d749ae2028702dc622))
125
+ * **base-modal:** modal scroll ([#820](https://github.com/core-ds/core-components/issues/820)) ([1b2d94a](https://github.com/core-ds/core-components/commit/1b2d94ad45e04145bf1292d749ae2028702dc622))
126
126
 
127
127
 
128
128
 
129
129
 
130
130
 
131
- # [2.1.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-bottom-sheet@2.0.2...@alfalab/core-components-bottom-sheet@2.1.0) (2021-07-23)
131
+ # [2.1.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@2.0.2...@alfalab/core-components-bottom-sheet@2.1.0) (2021-07-23)
132
132
 
133
133
 
134
134
  ### Features
135
135
 
136
- * **bottom-sheet:** fix marker gap, fix animation duration ([#750](https://github.com/alfa-laboratory/core-components/issues/750)) ([cb04ed8](https://github.com/alfa-laboratory/core-components/commit/cb04ed8cc214fac9dba32a0ab39a4399743d5bfc))
136
+ * **bottom-sheet:** fix marker gap, fix animation duration ([#750](https://github.com/core-ds/core-components/issues/750)) ([cb04ed8](https://github.com/core-ds/core-components/commit/cb04ed8cc214fac9dba32a0ab39a4399743d5bfc))
137
137
 
138
138
 
139
139
 
140
140
 
141
141
 
142
- ## [2.0.2](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-bottom-sheet@2.0.1...@alfalab/core-components-bottom-sheet@2.0.2) (2021-07-19)
142
+ ## [2.0.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@2.0.1...@alfalab/core-components-bottom-sheet@2.0.2) (2021-07-19)
143
143
 
144
144
  **Note:** Version bump only for package @alfalab/core-components-bottom-sheet
145
145
 
@@ -147,7 +147,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
147
147
 
148
148
 
149
149
 
150
- ## [2.0.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-bottom-sheet@2.0.0...@alfalab/core-components-bottom-sheet@2.0.1) (2021-07-09)
150
+ ## [2.0.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@2.0.0...@alfalab/core-components-bottom-sheet@2.0.1) (2021-07-09)
151
151
 
152
152
  **Note:** Version bump only for package @alfalab/core-components-bottom-sheet
153
153
 
@@ -155,14 +155,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
155
155
 
156
156
 
157
157
 
158
- # [2.0.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-bottom-sheet@1.1.1...@alfalab/core-components-bottom-sheet@2.0.0) (2021-07-08)
158
+ # [2.0.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@1.1.1...@alfalab/core-components-bottom-sheet@2.0.0) (2021-07-08)
159
159
 
160
160
 
161
161
  ### Features
162
162
 
163
- * upgrade storybook ([#696](https://github.com/alfa-laboratory/core-components/issues/696))
163
+ * upgrade storybook ([#696](https://github.com/core-ds/core-components/issues/696))
164
164
 
165
- ## [1.1.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-bottom-sheet@1.1.0...@alfalab/core-components-bottom-sheet@1.1.1) (2021-07-02)
165
+ ## [1.1.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@1.1.0...@alfalab/core-components-bottom-sheet@1.1.1) (2021-07-02)
166
166
 
167
167
  **Note:** Version bump only for package @alfalab/core-components-bottom-sheet
168
168
 
@@ -175,4 +175,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
175
175
 
176
176
  ### Features
177
177
 
178
- * **bottom-sheet:** new component (PDS-228) ([#645](https://github.com/alfa-laboratory/core-components/issues/645)) ([1f7391d](https://github.com/alfa-laboratory/core-components/commit/1f7391df16a270d8a3a28b8ebaf98d0ed0928bc8)), closes [#642](https://github.com/alfa-laboratory/core-components/issues/642) [#642](https://github.com/alfa-laboratory/core-components/issues/642) [#646](https://github.com/alfa-laboratory/core-components/issues/646) [#646](https://github.com/alfa-laboratory/core-components/issues/646) [#634](https://github.com/alfa-laboratory/core-components/issues/634) [#635](https://github.com/alfa-laboratory/core-components/issues/635) [#634](https://github.com/alfa-laboratory/core-components/issues/634) [#635](https://github.com/alfa-laboratory/core-components/issues/635) [#648](https://github.com/alfa-laboratory/core-components/issues/648) [#647](https://github.com/alfa-laboratory/core-components/issues/647) [#630](https://github.com/alfa-laboratory/core-components/issues/630) [#648](https://github.com/alfa-laboratory/core-components/issues/648) [#630](https://github.com/alfa-laboratory/core-components/issues/630) [#669](https://github.com/alfa-laboratory/core-components/issues/669)
178
+ * **bottom-sheet:** new component (PDS-228) ([#645](https://github.com/core-ds/core-components/issues/645)) ([1f7391d](https://github.com/core-ds/core-components/commit/1f7391df16a270d8a3a28b8ebaf98d0ed0928bc8)), closes [#642](https://github.com/core-ds/core-components/issues/642) [#642](https://github.com/core-ds/core-components/issues/642) [#646](https://github.com/core-ds/core-components/issues/646) [#646](https://github.com/core-ds/core-components/issues/646) [#634](https://github.com/core-ds/core-components/issues/634) [#635](https://github.com/core-ds/core-components/issues/635) [#634](https://github.com/core-ds/core-components/issues/634) [#635](https://github.com/core-ds/core-components/issues/635) [#648](https://github.com/core-ds/core-components/issues/648) [#647](https://github.com/core-ds/core-components/issues/647) [#630](https://github.com/core-ds/core-components/issues/630) [#648](https://github.com/core-ds/core-components/issues/648) [#630](https://github.com/core-ds/core-components/issues/630) [#669](https://github.com/core-ds/core-components/issues/669)
@@ -12,7 +12,7 @@ type HeaderProps = {
12
12
  /**
13
13
  * Дополнительный класс
14
14
  */
15
- className?: string;
15
+ headerClassName?: string;
16
16
  /**
17
17
  * Дополнительный класс для аддонов
18
18
  */
@@ -85,10 +85,18 @@ type BottomSheetProps = {
85
85
  * Дополнительный класс
86
86
  */
87
87
  contentClassName?: string;
88
+ /**
89
+ * Дополнительный класс
90
+ */
91
+ containerClassName?: string;
88
92
  /**
89
93
  * Дополнительный класс шапки
90
94
  */
91
95
  headerClassName?: string;
96
+ /**
97
+ * Дополнительный класс футера
98
+ */
99
+ footerClassName?: string;
92
100
  /**
93
101
  * Дополнительный класс для аддонов
94
102
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('./tslib.es6-80cc1ada.js');
3
+ var tslib_es6 = require('./tslib.es6-2202b5c2.js');
4
4
  var React = require('react');
5
5
  var cn = require('classnames');
6
6
  var reactDiv100vh = require('react-div-100vh');
@@ -17,12 +17,12 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
17
17
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
18
18
  var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
19
19
 
20
- var styles = {"header":"bottom-sheet__header_1dpes","sticky":"bottom-sheet__sticky_1dpes","highlighted":"bottom-sheet__highlighted_1dpes","justifyEnd":"bottom-sheet__justifyEnd_1dpes","addon":"bottom-sheet__addon_1dpes","addonFixed":"bottom-sheet__addonFixed_1dpes","addonLeft":"bottom-sheet__addonLeft_1dpes","addonRight":"bottom-sheet__addonRight_1dpes","title":"bottom-sheet__title_1dpes","titleCenter":"bottom-sheet__titleCenter_1dpes","titleLeft":"bottom-sheet__titleLeft_1dpes","trimTitle":"bottom-sheet__trimTitle_1dpes","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_1dpes","titleIndentRight":"bottom-sheet__titleIndentRight_1dpes","titleIndentLeft":"bottom-sheet__titleIndentLeft_1dpes"};
20
+ var styles = {"header":"bottom-sheet__header_mmp8b","sticky":"bottom-sheet__sticky_mmp8b","highlighted":"bottom-sheet__highlighted_mmp8b","justifyEnd":"bottom-sheet__justifyEnd_mmp8b","addon":"bottom-sheet__addon_mmp8b","addonFixed":"bottom-sheet__addonFixed_mmp8b","addonLeft":"bottom-sheet__addonLeft_mmp8b","addonRight":"bottom-sheet__addonRight_mmp8b","title":"bottom-sheet__title_mmp8b","titleCenter":"bottom-sheet__titleCenter_mmp8b","titleLeft":"bottom-sheet__titleLeft_mmp8b","trimTitle":"bottom-sheet__trimTitle_mmp8b","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_mmp8b","titleIndentRight":"bottom-sheet__titleIndentRight_mmp8b","titleIndentLeft":"bottom-sheet__titleIndentLeft_mmp8b"};
21
21
  require('./components/header/index.css')
22
22
 
23
23
  var Header = function (_a) {
24
24
  var _b, _c, _d, _e;
25
- var title = _a.title, className = _a.className, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, titleAlign = _a.titleAlign, trimTitle = _a.trimTitle, sticky = _a.sticky, onBack = _a.onBack;
25
+ var title = _a.title, headerClassName = _a.headerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, titleAlign = _a.titleAlign, trimTitle = _a.trimTitle, sticky = _a.sticky, onBack = _a.onBack;
26
26
  var _f = React.useContext(coreComponentsBaseModal.BaseModalContext), headerHighlighted = _f.headerHighlighted, setHasHeader = _f.setHasHeader, setHeaderOffset = _f.setHeaderOffset;
27
27
  var hasLeftPart = hasBacker || leftAddons || titleAlign === 'center';
28
28
  var hasRightPart = hasCloser || rightAddons || titleAlign === 'center';
@@ -44,7 +44,7 @@ var Header = function (_a) {
44
44
  _a[styles.titleIndentRight] = !sticky && !titleAlignedCenter && hasRightPart,
45
45
  _a));
46
46
  };
47
- return (React__default['default'].createElement("div", { className: cn__default['default'](styles.header, className, (_b = {},
47
+ return (React__default['default'].createElement("div", { className: cn__default['default'](styles.header, headerClassName, (_b = {},
48
48
  _b[styles.justifyEnd] = !title,
49
49
  _b[styles.highlighted] = headerHighlighted && sticky,
50
50
  _b[styles.sticky] = sticky,
@@ -64,7 +64,7 @@ var Header = function (_a) {
64
64
  _e)) }, hasCloser ? React__default['default'].createElement(components_closer_Component.Closer, { className: closerClassName }) : rightAddons))));
65
65
  };
66
66
 
67
- var styles$1 = {"modal":"bottom-sheet__modal_j08ny","component":"bottom-sheet__component_j08ny","withTransition":"bottom-sheet__withTransition_j08ny","scrollableContainer":"bottom-sheet__scrollableContainer_j08ny","marker":"bottom-sheet__marker_j08ny","content":"bottom-sheet__content_j08ny","noHeader":"bottom-sheet__noHeader_j08ny","noFooter":"bottom-sheet__noFooter_j08ny","scrollLocked":"bottom-sheet__scrollLocked_j08ny","appear":"bottom-sheet__appear_j08ny","enter":"bottom-sheet__enter_j08ny","appearActive":"bottom-sheet__appearActive_j08ny","enterActive":"bottom-sheet__enterActive_j08ny","enterDone":"bottom-sheet__enterDone_j08ny","appearDone":"bottom-sheet__appearDone_j08ny","exit":"bottom-sheet__exit_j08ny","exitActive":"bottom-sheet__exitActive_j08ny"};
67
+ var styles$1 = {"modal":"bottom-sheet__modal_1qyn5","component":"bottom-sheet__component_1qyn5","withTransition":"bottom-sheet__withTransition_1qyn5","scrollableContainer":"bottom-sheet__scrollableContainer_1qyn5","marker":"bottom-sheet__marker_1qyn5","content":"bottom-sheet__content_1qyn5","noHeader":"bottom-sheet__noHeader_1qyn5","noFooter":"bottom-sheet__noFooter_1qyn5","scrollLocked":"bottom-sheet__scrollLocked_1qyn5","appear":"bottom-sheet__appear_1qyn5","enter":"bottom-sheet__enter_1qyn5","appearActive":"bottom-sheet__appearActive_1qyn5","enterActive":"bottom-sheet__enterActive_1qyn5","enterDone":"bottom-sheet__enterDone_1qyn5","appearDone":"bottom-sheet__appearDone_1qyn5","exit":"bottom-sheet__exit_1qyn5","exitActive":"bottom-sheet__exitActive_1qyn5"};
68
68
  require('./index.css')
69
69
 
70
70
  var TIMEOUT = 300;
@@ -77,7 +77,7 @@ var HEADER_OFFSET = 24;
77
77
  var CLOSE_OFFSET = 0.2;
78
78
  var BottomSheet = React.forwardRef(function (_a, ref) {
79
79
  var _b, _c, _d;
80
- var open = _a.open, title = _a.title, actionButton = _a.actionButton, contentClassName = _a.contentClassName, headerClassName = _a.headerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _e = _a.titleAlign, titleAlign = _e === void 0 ? 'left' : _e, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _f = _a.stickyFooter, stickyFooter = _f === void 0 ? true : _f, _g = _a.initialHeight, initialHeight = _g === void 0 ? 'default' : _g, hideOverlay = _a.hideOverlay, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, children = _a.children, zIndex = _a.zIndex, _h = _a.transitionProps, transitionProps = _h === void 0 ? {} : _h, dataTestId = _a.dataTestId, _j = _a.swipeable, swipeable = _j === void 0 ? true : _j, onClose = _a.onClose, onBack = _a.onBack;
80
+ var open = _a.open, title = _a.title, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _e = _a.titleAlign, titleAlign = _e === void 0 ? 'left' : _e, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _f = _a.stickyFooter, stickyFooter = _f === void 0 ? true : _f, _g = _a.initialHeight, initialHeight = _g === void 0 ? 'default' : _g, hideOverlay = _a.hideOverlay, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, children = _a.children, zIndex = _a.zIndex, _h = _a.transitionProps, transitionProps = _h === void 0 ? {} : _h, dataTestId = _a.dataTestId, _j = _a.swipeable, swipeable = _j === void 0 ? true : _j, onClose = _a.onClose, onBack = _a.onBack;
81
81
  var _k = React.useState(0), sheetOffset = _k[0], setSheetOffset = _k[1];
82
82
  var _l = React.useState(1), backdropOpacity = _l[0], setBackdropOpacity = _l[1];
83
83
  var _m = React.useState(false), scrollLocked = _m[0], setScrollLocked = _m[1];
@@ -221,7 +221,7 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
221
221
  React__default['default'].createElement("div", tslib_es6.__assign({ className: cn__default['default'](styles$1.component, className, (_b = {},
222
222
  _b[styles$1.withTransition] = !sheetOffset,
223
223
  _b)), style: tslib_es6.__assign(tslib_es6.__assign({}, getSwipeStyles()), getHeightStyles()) }, sheetSwipeablehandlers),
224
- React__default['default'].createElement("div", { className: cn__default['default'](styles$1.scrollableContainer, (_c = {},
224
+ React__default['default'].createElement("div", { className: cn__default['default'](styles$1.scrollableContainer, containerClassName, (_c = {},
225
225
  _c[styles$1.scrollLocked] = scrollLocked,
226
226
  _c)), ref: scrollableContainer },
227
227
  swipeable && React__default['default'].createElement("div", { className: cn__default['default'](styles$1.marker) }),
@@ -230,7 +230,7 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
230
230
  _d[styles$1.noHeader] = hideHeader || emptyHeader,
231
231
  _d[styles$1.noFooter] = !actionButton,
232
232
  _d)) }, children),
233
- actionButton && React__default['default'].createElement(components_footer_Component.Footer, { sticky: stickyFooter }, actionButton)))));
233
+ actionButton && (React__default['default'].createElement(components_footer_Component.Footer, { sticky: stickyFooter, className: footerClassName }, actionButton))))));
234
234
  });
235
235
 
236
236
  exports.BottomSheet = BottomSheet;
package/dist/component.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-80cc1ada.js');
5
+ require('./tslib.es6-2202b5c2.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-67cb6035.js');
17
+ var components_header_Component = require('./component-ca22bc82.js');
18
18
  require('./components/footer/Component.js');
19
19
  require('@alfalab/core-components-backdrop');
20
20
  require('./components/swipeable-backdrop/Component.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-80cc1ada.js');
5
+ var tslib_es6 = require('../../tslib.es6-2202b5c2.js');
6
6
  var React = require('react');
7
7
  var cn = require('classnames');
8
8
  var coreComponentsIconButton = require('@alfalab/core-components-icon-button');
@@ -13,7 +13,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
13
13
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
14
14
  var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
15
15
 
16
- var styles = {"backer":"bottom-sheet__backer_bzgs8","button":"bottom-sheet__button_bzgs8"};
16
+ var styles = {"backer":"bottom-sheet__backer_1jxva","button":"bottom-sheet__button_1jxva"};
17
17
  require('./index.css')
18
18
 
19
19
  var Backer = function (_a) {
@@ -1,18 +1,19 @@
1
- /* hash: kd7gh */
1
+ /* hash: q3snn */
2
2
  :root {
3
- --bottom-sheet-backer-bg-color: var(--color-light-bg-primary-alpha-40);
3
+ --bottom-sheet-backer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
4
4
  }
5
5
 
6
- .bottom-sheet__backer_bzgs8 {
6
+ .bottom-sheet__backer_1jxva {
7
7
  width: 32px;
8
8
  height: 32px;
9
9
  display: flex;
10
10
  justify-content: center;
11
11
  align-items: center;
12
12
  cursor: pointer;
13
+ color: var(--color-light-graphic-primary);
13
14
  }
14
15
 
15
- .bottom-sheet__button_bzgs8 {
16
+ .bottom-sheet__button_1jxva {
16
17
  background: var(--bottom-sheet-backer-bg-color);
17
18
  -webkit-backdrop-filter: blur(10px);
18
19
  backdrop-filter: blur(10px);
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-80cc1ada.js');
5
+ var tslib_es6 = require('../../tslib.es6-2202b5c2.js');
6
6
  var React = require('react');
7
7
  var cn = require('classnames');
8
8
  var coreComponentsBaseModal = require('@alfalab/core-components-base-modal');
@@ -14,7 +14,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
14
14
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
15
15
  var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
16
16
 
17
- var styles = {"closer":"bottom-sheet__closer_k6wl3","button":"bottom-sheet__button_k6wl3"};
17
+ var styles = {"closer":"bottom-sheet__closer_1s5b2","button":"bottom-sheet__button_1s5b2"};
18
18
  require('./index.css')
19
19
 
20
20
  var Closer = function (_a) {
@@ -1,18 +1,19 @@
1
- /* hash: 1d8p9 */
1
+ /* hash: u5xvk */
2
2
  :root {
3
- --bottom-sheet-closer-bg-color: var(--color-light-bg-primary-alpha-40);
3
+ --bottom-sheet-closer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
4
4
  }
5
5
 
6
- .bottom-sheet__closer_k6wl3 {
6
+ .bottom-sheet__closer_1s5b2 {
7
7
  width: 32px;
8
8
  height: 32px;
9
9
  display: flex;
10
10
  justify-content: center;
11
11
  align-items: center;
12
12
  cursor: pointer;
13
+ color: var(--color-light-graphic-primary);
13
14
  }
14
15
 
15
- .bottom-sheet__button_k6wl3 {
16
+ .bottom-sheet__button_1s5b2 {
16
17
  background: var(--bottom-sheet-closer-bg-color);
17
18
  -webkit-backdrop-filter: blur(10px);
18
19
  backdrop-filter: blur(10px);
@@ -11,7 +11,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
11
11
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
12
12
  var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
13
13
 
14
- var styles = {"footer":"bottom-sheet__footer_1e147","sticky":"bottom-sheet__sticky_1e147","highlighted":"bottom-sheet__highlighted_1e147"};
14
+ var styles = {"footer":"bottom-sheet__footer_myen4","sticky":"bottom-sheet__sticky_myen4","highlighted":"bottom-sheet__highlighted_myen4"};
15
15
  require('./index.css')
16
16
 
17
17
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1js1g */
1
+ /* hash: qsa2o */
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_1e147 {
21
+ .bottom-sheet__footer_myen4 {
22
22
  padding: var(--gap-m) var(--gap-m);
23
23
  background-color: var(--color-light-bg-primary);
24
24
  }
25
- .bottom-sheet__sticky_1e147 {
25
+ .bottom-sheet__sticky_myen4 {
26
26
  position: sticky;
27
27
  bottom: 0;
28
28
  }
29
- .bottom-sheet__highlighted_1e147 {
29
+ .bottom-sheet__highlighted_myen4 {
30
30
  border-top: var(--bottom-sheet-footer-border-top);
31
31
  background-color: var(--bottom-sheet-footer-background-color);
32
32
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('../../tslib.es6-80cc1ada.js');
5
+ require('../../tslib.es6-2202b5c2.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('../closer/Component.js');
15
15
  require('@alfalab/icons-glyph/ArrowBackMIcon');
16
16
  require('../backer/Component.js');
17
- var components_header_Component = require('../../component-67cb6035.js');
17
+ var components_header_Component = require('../../component-ca22bc82.js');
18
18
  require('../footer/Component.js');
19
19
  require('@alfalab/core-components-backdrop');
20
20
  require('../swipeable-backdrop/Component.js');
@@ -1,4 +1,4 @@
1
- /* hash: tim18 */
1
+ /* hash: ns0u2 */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  }
@@ -30,45 +30,44 @@
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__header_1dpes {
33
+ .bottom-sheet__header_mmp8b {
34
34
  display: flex;
35
- align-items: center;
36
35
  padding: var(--gap-xs);
37
36
  padding-bottom: 0;
38
37
  background-color: var(--color-light-bg-primary);
39
38
  border-top-right-radius: var(--border-radius-xl);
40
39
  border-top-left-radius: var(--border-radius-xl);
40
+ z-index: 1;
41
41
  }
42
- .bottom-sheet__sticky_1dpes {
42
+ .bottom-sheet__sticky_mmp8b {
43
43
  position: sticky;
44
44
  top: 0;
45
45
  }
46
- .bottom-sheet__highlighted_1dpes {
46
+ .bottom-sheet__highlighted_mmp8b {
47
47
  border-bottom: var(--bottom-sheet-header-border-bottom);
48
48
  }
49
- .bottom-sheet__justifyEnd_1dpes {
49
+ .bottom-sheet__justifyEnd_mmp8b {
50
50
  justify-content: flex-end;
51
51
  }
52
- .bottom-sheet__addon_1dpes {
52
+ .bottom-sheet__addon_mmp8b {
53
53
  display: flex;
54
54
  justify-content: center;
55
55
  align-items: center;
56
56
  min-width: 48px;
57
57
  height: 48px;
58
58
  }
59
- .bottom-sheet__addonFixed_1dpes {
59
+ .bottom-sheet__addonFixed_mmp8b {
60
60
  position: fixed;
61
61
  }
62
- .bottom-sheet__addonLeft_1dpes {
62
+ .bottom-sheet__addonLeft_mmp8b {
63
63
  left: 0;
64
64
  margin-left: var(--gap-xs);
65
65
  }
66
- .bottom-sheet__addonRight_1dpes {
66
+ .bottom-sheet__addonRight_mmp8b {
67
67
  right: 0;
68
68
  margin-right: var(--gap-xs);
69
69
  }
70
- .bottom-sheet__title_1dpes {
71
- height: 24px;
70
+ .bottom-sheet__title_mmp8b {
72
71
  padding: var(--gap-xs) var(--gap-xs);
73
72
  margin: var(--bottom-sheet-title-margin-vertical) 0;
74
73
  width: 100%;
@@ -77,23 +76,23 @@
77
76
  line-height: var(--bottom-sheet-title-line-height);
78
77
  font-family: var(--bottom-sheet-title-font-family);
79
78
  }
80
- .bottom-sheet__titleCenter_1dpes {
79
+ .bottom-sheet__titleCenter_mmp8b {
81
80
  text-align: center;
82
81
  }
83
- .bottom-sheet__titleLeft_1dpes {
82
+ .bottom-sheet__titleLeft_mmp8b {
84
83
  text-align: left;
85
84
  }
86
- .bottom-sheet__trimTitle_1dpes {
85
+ .bottom-sheet__trimTitle_mmp8b {
87
86
  white-space: nowrap;
88
87
  overflow: hidden;
89
88
  text-overflow: ellipsis;
90
89
  }
91
- .bottom-sheet__titleBigIndentHorizontal_1dpes {
90
+ .bottom-sheet__titleBigIndentHorizontal_mmp8b {
92
91
  margin: var(--bottom-sheet-title-margin-vertical) var(--gap-4xl);
93
92
  }
94
- .bottom-sheet__titleIndentRight_1dpes {
93
+ .bottom-sheet__titleIndentRight_mmp8b {
95
94
  margin-right: var(--gap-4xl);
96
95
  }
97
- .bottom-sheet__titleIndentLeft_1dpes {
96
+ .bottom-sheet__titleIndentLeft_mmp8b {
98
97
  margin-left: var(--gap-4xl);
99
98
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-80cc1ada.js');
5
+ var tslib_es6 = require('../../tslib.es6-2202b5c2.js');
6
6
  var React = require('react');
7
7
  var coreComponentsBackdrop = require('@alfalab/core-components-backdrop');
8
8
 
@@ -12,7 +12,7 @@ type HeaderProps = {
12
12
  /**
13
13
  * Дополнительный класс
14
14
  */
15
- className?: string;
15
+ headerClassName?: string;
16
16
  /**
17
17
  * Дополнительный класс для аддонов
18
18
  */
@@ -85,10 +85,18 @@ type BottomSheetProps = {
85
85
  * Дополнительный класс
86
86
  */
87
87
  contentClassName?: string;
88
+ /**
89
+ * Дополнительный класс
90
+ */
91
+ containerClassName?: string;
88
92
  /**
89
93
  * Дополнительный класс шапки
90
94
  */
91
95
  headerClassName?: string;
96
+ /**
97
+ * Дополнительный класс футера
98
+ */
99
+ footerClassName?: string;
92
100
  /**
93
101
  * Дополнительный класс для аддонов
94
102
  */
@@ -23,7 +23,7 @@ var styles__default$1 = /*#__PURE__*/_interopDefaultLegacy(styles$1);
23
23
 
24
24
  var Header = function (_a) {
25
25
  var _b, _c, _d, _e;
26
- var title = _a.title, className = _a.className, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, titleAlign = _a.titleAlign, trimTitle = _a.trimTitle, sticky = _a.sticky, onBack = _a.onBack;
26
+ var title = _a.title, headerClassName = _a.headerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, titleAlign = _a.titleAlign, trimTitle = _a.trimTitle, sticky = _a.sticky, onBack = _a.onBack;
27
27
  var _f = React.useContext(coreComponentsBaseModal.BaseModalContext), headerHighlighted = _f.headerHighlighted, setHasHeader = _f.setHasHeader, setHeaderOffset = _f.setHeaderOffset;
28
28
  var hasLeftPart = hasBacker || leftAddons || titleAlign === 'center';
29
29
  var hasRightPart = hasCloser || rightAddons || titleAlign === 'center';
@@ -45,7 +45,7 @@ var Header = function (_a) {
45
45
  _a[styles__default['default'].titleIndentRight] = !sticky && !titleAlignedCenter && hasRightPart,
46
46
  _a));
47
47
  };
48
- return (React__default['default'].createElement("div", { className: cn__default['default'](styles__default['default'].header, className, (_b = {},
48
+ return (React__default['default'].createElement("div", { className: cn__default['default'](styles__default['default'].header, headerClassName, (_b = {},
49
49
  _b[styles__default['default'].justifyEnd] = !title,
50
50
  _b[styles__default['default'].highlighted] = headerHighlighted && sticky,
51
51
  _b[styles__default['default'].sticky] = sticky,
@@ -75,7 +75,7 @@ var HEADER_OFFSET = 24;
75
75
  var CLOSE_OFFSET = 0.2;
76
76
  var BottomSheet = React.forwardRef(function (_a, ref) {
77
77
  var _b, _c, _d;
78
- var open = _a.open, title = _a.title, actionButton = _a.actionButton, contentClassName = _a.contentClassName, headerClassName = _a.headerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _e = _a.titleAlign, titleAlign = _e === void 0 ? 'left' : _e, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _f = _a.stickyFooter, stickyFooter = _f === void 0 ? true : _f, _g = _a.initialHeight, initialHeight = _g === void 0 ? 'default' : _g, hideOverlay = _a.hideOverlay, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, children = _a.children, zIndex = _a.zIndex, _h = _a.transitionProps, transitionProps = _h === void 0 ? {} : _h, dataTestId = _a.dataTestId, _j = _a.swipeable, swipeable = _j === void 0 ? true : _j, onClose = _a.onClose, onBack = _a.onBack;
78
+ var open = _a.open, title = _a.title, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _e = _a.titleAlign, titleAlign = _e === void 0 ? 'left' : _e, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _f = _a.stickyFooter, stickyFooter = _f === void 0 ? true : _f, _g = _a.initialHeight, initialHeight = _g === void 0 ? 'default' : _g, hideOverlay = _a.hideOverlay, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, children = _a.children, zIndex = _a.zIndex, _h = _a.transitionProps, transitionProps = _h === void 0 ? {} : _h, dataTestId = _a.dataTestId, _j = _a.swipeable, swipeable = _j === void 0 ? true : _j, onClose = _a.onClose, onBack = _a.onBack;
79
79
  var _k = React.useState(0), sheetOffset = _k[0], setSheetOffset = _k[1];
80
80
  var _l = React.useState(1), backdropOpacity = _l[0], setBackdropOpacity = _l[1];
81
81
  var _m = React.useState(false), scrollLocked = _m[0], setScrollLocked = _m[1];
@@ -219,7 +219,7 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
219
219
  React__default['default'].createElement("div", tslib_es6.__assign({ className: cn__default['default'](styles__default$1['default'].component, className, (_b = {},
220
220
  _b[styles__default$1['default'].withTransition] = !sheetOffset,
221
221
  _b)), style: tslib_es6.__assign(tslib_es6.__assign({}, getSwipeStyles()), getHeightStyles()) }, sheetSwipeablehandlers),
222
- React__default['default'].createElement("div", { className: cn__default['default'](styles__default$1['default'].scrollableContainer, (_c = {},
222
+ React__default['default'].createElement("div", { className: cn__default['default'](styles__default$1['default'].scrollableContainer, containerClassName, (_c = {},
223
223
  _c[styles__default$1['default'].scrollLocked] = scrollLocked,
224
224
  _c)), ref: scrollableContainer },
225
225
  swipeable && React__default['default'].createElement("div", { className: cn__default['default'](styles__default$1['default'].marker) }),
@@ -228,7 +228,7 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
228
228
  _d[styles__default$1['default'].noHeader] = hideHeader || emptyHeader,
229
229
  _d[styles__default$1['default'].noFooter] = !actionButton,
230
230
  _d)) }, children),
231
- actionButton && React__default['default'].createElement(components_footer_Component.Footer, { sticky: stickyFooter }, actionButton)))));
231
+ actionButton && (React__default['default'].createElement(components_footer_Component.Footer, { sticky: stickyFooter, className: footerClassName }, actionButton))))));
232
232
  });
233
233
 
234
234
  exports.BottomSheet = BottomSheet;
@@ -17,7 +17,7 @@ require('@alfalab/icons-glyph/ArrowBackMIcon');
17
17
  require('./components/backer/index.module.css');
18
18
  require('./components/backer/Component.js');
19
19
  require('./components/header/index.module.css');
20
- var components_header_Component = require('./component-1deadd87.js');
20
+ var components_header_Component = require('./component-d1b19e73.js');
21
21
  require('./components/footer/index.module.css');
22
22
  require('./components/footer/Component.js');
23
23
  require('@alfalab/core-components-backdrop/dist/cssm');