@alfalab/core-components-bottom-sheet 4.0.1 → 4.1.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.
Files changed (59) hide show
  1. package/CHANGELOG.md +31 -23
  2. package/dist/{component-99884ac1.d.ts → component-28032140.d.ts} +9 -1
  3. package/dist/{component-99884ac1.js → component-28032140.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-dbec5cad.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-e48c555e.d.ts} +9 -1
  24. package/dist/esm/{component-dbec5cad.js → component-e48c555e.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-eedcd3d6.d.ts → tslib.es6-db6f88c7.d.ts} +0 -0
  39. package/dist/esm/{tslib.es6-eedcd3d6.js → tslib.es6-db6f88c7.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-5b171f70.d.ts → component-e7a8300d.d.ts} +9 -1
  44. package/dist/modern/{component-5b171f70.js → component-e7a8300d.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-1f6a7f15.d.ts → tslib.es6-18f76d7f.d.ts} +0 -0
  58. package/dist/{tslib.es6-1f6a7f15.js → tslib.es6-18f76d7f.js} +0 -0
  59. package/package.json +10 -10
package/CHANGELOG.md CHANGED
@@ -3,24 +3,32 @@
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.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)
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
+
8
+ **Note:** Version bump only for package @alfalab/core-components-bottom-sheet
9
+
10
+
11
+
12
+
13
+
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)
7
15
 
8
16
 
9
17
  ### Bug Fixes
10
18
 
11
- * 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))
12
- * **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))
13
21
 
14
22
 
15
23
 
16
24
 
17
25
 
18
- # [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)
19
27
 
20
28
 
21
29
  ### Features
22
30
 
23
- * **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)
24
32
 
25
33
 
26
34
  ### BREAKING CHANGES
@@ -31,7 +39,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
31
39
 
32
40
 
33
41
 
34
- ## [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)
35
43
 
36
44
  **Note:** Version bump only for package @alfalab/core-components-bottom-sheet
37
45
 
@@ -39,29 +47,29 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
39
47
 
40
48
 
41
49
 
42
- # [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)
43
51
 
44
52
 
45
53
  ### Features
46
54
 
47
- * Исправить импорты в сторях. ([#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))
48
56
 
49
57
 
50
58
 
51
59
 
52
60
 
53
- ## [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)
54
62
 
55
63
 
56
64
  ### Bug Fixes
57
65
 
58
- * **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))
59
67
 
60
68
 
61
69
 
62
70
 
63
71
 
64
- ## [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)
65
73
 
66
74
  **Note:** Version bump only for package @alfalab/core-components-bottom-sheet
67
75
 
@@ -69,12 +77,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
69
77
 
70
78
 
71
79
 
72
- # [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)
73
81
 
74
82
 
75
83
  ### Features
76
84
 
77
- * **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)
78
86
 
79
87
 
80
88
  ### BREAKING CHANGES
@@ -109,29 +117,29 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
109
117
 
110
118
 
111
119
 
112
- ## [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)
113
121
 
114
122
 
115
123
  ### Bug Fixes
116
124
 
117
- * **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))
118
126
 
119
127
 
120
128
 
121
129
 
122
130
 
123
- # [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)
124
132
 
125
133
 
126
134
  ### Features
127
135
 
128
- * **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))
129
137
 
130
138
 
131
139
 
132
140
 
133
141
 
134
- ## [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)
135
143
 
136
144
  **Note:** Version bump only for package @alfalab/core-components-bottom-sheet
137
145
 
@@ -139,7 +147,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
139
147
 
140
148
 
141
149
 
142
- ## [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)
143
151
 
144
152
  **Note:** Version bump only for package @alfalab/core-components-bottom-sheet
145
153
 
@@ -147,14 +155,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
147
155
 
148
156
 
149
157
 
150
- # [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)
151
159
 
152
160
 
153
161
  ### Features
154
162
 
155
- * 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))
156
164
 
157
- ## [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)
158
166
 
159
167
  **Note:** Version bump only for package @alfalab/core-components-bottom-sheet
160
168
 
@@ -167,4 +175,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
167
175
 
168
176
  ### Features
169
177
 
170
- * **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-1f6a7f15.js');
3
+ var tslib_es6 = require('./tslib.es6-18f76d7f.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_1qzdw","sticky":"bottom-sheet__sticky_1qzdw","highlighted":"bottom-sheet__highlighted_1qzdw","justifyEnd":"bottom-sheet__justifyEnd_1qzdw","addon":"bottom-sheet__addon_1qzdw","addonFixed":"bottom-sheet__addonFixed_1qzdw","addonLeft":"bottom-sheet__addonLeft_1qzdw","addonRight":"bottom-sheet__addonRight_1qzdw","title":"bottom-sheet__title_1qzdw","titleCenter":"bottom-sheet__titleCenter_1qzdw","titleLeft":"bottom-sheet__titleLeft_1qzdw","trimTitle":"bottom-sheet__trimTitle_1qzdw","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_1qzdw","titleIndentRight":"bottom-sheet__titleIndentRight_1qzdw","titleIndentLeft":"bottom-sheet__titleIndentLeft_1qzdw"};
20
+ var styles = {"header":"bottom-sheet__header_zwocr","sticky":"bottom-sheet__sticky_zwocr","highlighted":"bottom-sheet__highlighted_zwocr","justifyEnd":"bottom-sheet__justifyEnd_zwocr","addon":"bottom-sheet__addon_zwocr","addonFixed":"bottom-sheet__addonFixed_zwocr","addonLeft":"bottom-sheet__addonLeft_zwocr","addonRight":"bottom-sheet__addonRight_zwocr","title":"bottom-sheet__title_zwocr","titleCenter":"bottom-sheet__titleCenter_zwocr","titleLeft":"bottom-sheet__titleLeft_zwocr","trimTitle":"bottom-sheet__trimTitle_zwocr","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_zwocr","titleIndentRight":"bottom-sheet__titleIndentRight_zwocr","titleIndentLeft":"bottom-sheet__titleIndentLeft_zwocr"};
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_b5hs7","component":"bottom-sheet__component_b5hs7","withTransition":"bottom-sheet__withTransition_b5hs7","scrollableContainer":"bottom-sheet__scrollableContainer_b5hs7","marker":"bottom-sheet__marker_b5hs7","content":"bottom-sheet__content_b5hs7","noHeader":"bottom-sheet__noHeader_b5hs7","noFooter":"bottom-sheet__noFooter_b5hs7","scrollLocked":"bottom-sheet__scrollLocked_b5hs7","appear":"bottom-sheet__appear_b5hs7","enter":"bottom-sheet__enter_b5hs7","appearActive":"bottom-sheet__appearActive_b5hs7","enterActive":"bottom-sheet__enterActive_b5hs7","enterDone":"bottom-sheet__enterDone_b5hs7","appearDone":"bottom-sheet__appearDone_b5hs7","exit":"bottom-sheet__exit_b5hs7","exitActive":"bottom-sheet__exitActive_b5hs7"};
67
+ var styles$1 = {"modal":"bottom-sheet__modal_1j3w9","component":"bottom-sheet__component_1j3w9","withTransition":"bottom-sheet__withTransition_1j3w9","scrollableContainer":"bottom-sheet__scrollableContainer_1j3w9","marker":"bottom-sheet__marker_1j3w9","content":"bottom-sheet__content_1j3w9","noHeader":"bottom-sheet__noHeader_1j3w9","noFooter":"bottom-sheet__noFooter_1j3w9","scrollLocked":"bottom-sheet__scrollLocked_1j3w9","appear":"bottom-sheet__appear_1j3w9","enter":"bottom-sheet__enter_1j3w9","appearActive":"bottom-sheet__appearActive_1j3w9","enterActive":"bottom-sheet__enterActive_1j3w9","enterDone":"bottom-sheet__enterDone_1j3w9","appearDone":"bottom-sheet__appearDone_1j3w9","exit":"bottom-sheet__exit_1j3w9","exitActive":"bottom-sheet__exitActive_1j3w9"};
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-1f6a7f15.js');
5
+ require('./tslib.es6-18f76d7f.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-99884ac1.js');
17
+ var components_header_Component = require('./component-28032140.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-1f6a7f15.js');
5
+ var tslib_es6 = require('../../tslib.es6-18f76d7f.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_1wvld","button":"bottom-sheet__button_1wvld"};
16
+ var styles = {"backer":"bottom-sheet__backer_15svs","button":"bottom-sheet__button_15svs"};
17
17
  require('./index.css')
18
18
 
19
19
  var Backer = function (_a) {
@@ -1,18 +1,19 @@
1
- /* hash: 1q51x */
1
+ /* hash: 18rvm */
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_1wvld {
6
+ .bottom-sheet__backer_15svs {
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_1wvld {
16
+ .bottom-sheet__button_15svs {
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-1f6a7f15.js');
5
+ var tslib_es6 = require('../../tslib.es6-18f76d7f.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_cc5pc","button":"bottom-sheet__button_cc5pc"};
17
+ var styles = {"closer":"bottom-sheet__closer_1kak7","button":"bottom-sheet__button_1kak7"};
18
18
  require('./index.css')
19
19
 
20
20
  var Closer = function (_a) {
@@ -1,18 +1,19 @@
1
- /* hash: 1s5go */
1
+ /* hash: 1ji3h */
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_cc5pc {
6
+ .bottom-sheet__closer_1kak7 {
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_cc5pc {
16
+ .bottom-sheet__button_1kak7 {
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_10r52","sticky":"bottom-sheet__sticky_10r52","highlighted":"bottom-sheet__highlighted_10r52"};
14
+ var styles = {"footer":"bottom-sheet__footer_9ofio","sticky":"bottom-sheet__sticky_9ofio","highlighted":"bottom-sheet__highlighted_9ofio"};
15
15
  require('./index.css')
16
16
 
17
17
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1s9q9 */
1
+ /* hash: alshr */
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_10r52 {
21
+ .bottom-sheet__footer_9ofio {
22
22
  padding: var(--gap-m) var(--gap-m);
23
23
  background-color: var(--color-light-bg-primary);
24
24
  }
25
- .bottom-sheet__sticky_10r52 {
25
+ .bottom-sheet__sticky_9ofio {
26
26
  position: sticky;
27
27
  bottom: 0;
28
28
  }
29
- .bottom-sheet__highlighted_10r52 {
29
+ .bottom-sheet__highlighted_9ofio {
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-1f6a7f15.js');
5
+ require('../../tslib.es6-18f76d7f.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-99884ac1.js');
17
+ var components_header_Component = require('../../component-28032140.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: 1hcnd */
1
+ /* hash: 1ypto */
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_1qzdw {
33
+ .bottom-sheet__header_zwocr {
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_1qzdw {
42
+ .bottom-sheet__sticky_zwocr {
43
43
  position: sticky;
44
44
  top: 0;
45
45
  }
46
- .bottom-sheet__highlighted_1qzdw {
46
+ .bottom-sheet__highlighted_zwocr {
47
47
  border-bottom: var(--bottom-sheet-header-border-bottom);
48
48
  }
49
- .bottom-sheet__justifyEnd_1qzdw {
49
+ .bottom-sheet__justifyEnd_zwocr {
50
50
  justify-content: flex-end;
51
51
  }
52
- .bottom-sheet__addon_1qzdw {
52
+ .bottom-sheet__addon_zwocr {
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_1qzdw {
59
+ .bottom-sheet__addonFixed_zwocr {
60
60
  position: fixed;
61
61
  }
62
- .bottom-sheet__addonLeft_1qzdw {
62
+ .bottom-sheet__addonLeft_zwocr {
63
63
  left: 0;
64
64
  margin-left: var(--gap-xs);
65
65
  }
66
- .bottom-sheet__addonRight_1qzdw {
66
+ .bottom-sheet__addonRight_zwocr {
67
67
  right: 0;
68
68
  margin-right: var(--gap-xs);
69
69
  }
70
- .bottom-sheet__title_1qzdw {
71
- height: 24px;
70
+ .bottom-sheet__title_zwocr {
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_1qzdw {
79
+ .bottom-sheet__titleCenter_zwocr {
81
80
  text-align: center;
82
81
  }
83
- .bottom-sheet__titleLeft_1qzdw {
82
+ .bottom-sheet__titleLeft_zwocr {
84
83
  text-align: left;
85
84
  }
86
- .bottom-sheet__trimTitle_1qzdw {
85
+ .bottom-sheet__trimTitle_zwocr {
87
86
  white-space: nowrap;
88
87
  overflow: hidden;
89
88
  text-overflow: ellipsis;
90
89
  }
91
- .bottom-sheet__titleBigIndentHorizontal_1qzdw {
90
+ .bottom-sheet__titleBigIndentHorizontal_zwocr {
92
91
  margin: var(--bottom-sheet-title-margin-vertical) var(--gap-4xl);
93
92
  }
94
- .bottom-sheet__titleIndentRight_1qzdw {
93
+ .bottom-sheet__titleIndentRight_zwocr {
95
94
  margin-right: var(--gap-4xl);
96
95
  }
97
- .bottom-sheet__titleIndentLeft_1qzdw {
96
+ .bottom-sheet__titleIndentLeft_zwocr {
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-1f6a7f15.js');
5
+ var tslib_es6 = require('../../tslib.es6-18f76d7f.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');