@alfalab/core-components-bottom-sheet 4.2.0 → 4.2.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 (50) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{component-a69ef39f.d.ts → component-79cc0f82.d.ts} +0 -0
  3. package/dist/{component-a69ef39f.js → component-79cc0f82.js} +3 -3
  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 +16 -16
  13. package/dist/components/swipeable-backdrop/Component.js +1 -1
  14. package/dist/esm/{component-273ce79d.d.ts → component-d0076513.d.ts} +0 -0
  15. package/dist/esm/{component-273ce79d.js → component-d0076513.js} +3 -3
  16. package/dist/esm/component.js +2 -2
  17. package/dist/esm/components/backer/Component.js +2 -2
  18. package/dist/esm/components/backer/index.css +3 -3
  19. package/dist/esm/components/closer/Component.js +2 -2
  20. package/dist/esm/components/closer/index.css +3 -3
  21. package/dist/esm/components/footer/Component.js +1 -1
  22. package/dist/esm/components/footer/index.css +4 -4
  23. package/dist/esm/components/header/Component.js +2 -2
  24. package/dist/esm/components/header/index.css +16 -16
  25. package/dist/esm/components/swipeable-backdrop/Component.js +1 -1
  26. package/dist/esm/index.css +16 -16
  27. package/dist/esm/index.d.ts +1 -1
  28. package/dist/esm/index.js +2 -2
  29. package/dist/esm/{tslib.es6-702aaccc.d.ts → tslib.es6-0000c249.d.ts} +0 -0
  30. package/dist/esm/{tslib.es6-702aaccc.js → tslib.es6-0000c249.js} +0 -0
  31. package/dist/index.css +16 -16
  32. package/dist/index.d.ts +1 -1
  33. package/dist/index.js +2 -2
  34. package/dist/modern/{component-17606fb9.d.ts → component-6f1cc9e9.d.ts} +0 -0
  35. package/dist/modern/{component-17606fb9.js → component-6f1cc9e9.js} +2 -2
  36. package/dist/modern/component.js +1 -1
  37. package/dist/modern/components/backer/Component.js +1 -1
  38. package/dist/modern/components/backer/index.css +3 -3
  39. package/dist/modern/components/closer/Component.js +1 -1
  40. package/dist/modern/components/closer/index.css +3 -3
  41. package/dist/modern/components/footer/Component.js +1 -1
  42. package/dist/modern/components/footer/index.css +4 -4
  43. package/dist/modern/components/header/Component.js +1 -1
  44. package/dist/modern/components/header/index.css +16 -16
  45. package/dist/modern/index.css +16 -16
  46. package/dist/modern/index.d.ts +1 -1
  47. package/dist/modern/index.js +1 -1
  48. package/dist/{tslib.es6-cbd7f1a3.d.ts → tslib.es6-5c74ee0c.d.ts} +0 -0
  49. package/dist/{tslib.es6-cbd7f1a3.js → tslib.es6-5c74ee0c.js} +0 -0
  50. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
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.2.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@4.2.0...@alfalab/core-components-bottom-sheet@4.2.1) (2022-06-20)
7
+
8
+ **Note:** Version bump only for package @alfalab/core-components-bottom-sheet
9
+
10
+
11
+
12
+
13
+
6
14
  # [4.2.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@4.1.5...@alfalab/core-components-bottom-sheet@4.2.0) (2022-06-16)
7
15
 
8
16
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('./tslib.es6-cbd7f1a3.js');
3
+ var tslib_es6 = require('./tslib.es6-5c74ee0c.js');
4
4
  var React = require('react');
5
5
  var cn = require('classnames');
6
6
  var reactDiv100vh = require('react-div-100vh');
@@ -17,7 +17,7 @@ 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_1jt0k","sticky":"bottom-sheet__sticky_1jt0k","highlighted":"bottom-sheet__highlighted_1jt0k","justifyEnd":"bottom-sheet__justifyEnd_1jt0k","addon":"bottom-sheet__addon_1jt0k","addonFixed":"bottom-sheet__addonFixed_1jt0k","addonLeft":"bottom-sheet__addonLeft_1jt0k","addonRight":"bottom-sheet__addonRight_1jt0k","title":"bottom-sheet__title_1jt0k","titleCenter":"bottom-sheet__titleCenter_1jt0k","titleLeft":"bottom-sheet__titleLeft_1jt0k","trimTitle":"bottom-sheet__trimTitle_1jt0k","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_1jt0k","titleIndentRight":"bottom-sheet__titleIndentRight_1jt0k","titleIndentLeft":"bottom-sheet__titleIndentLeft_1jt0k"};
20
+ var styles = {"header":"bottom-sheet__header_ep490","sticky":"bottom-sheet__sticky_ep490","highlighted":"bottom-sheet__highlighted_ep490","justifyEnd":"bottom-sheet__justifyEnd_ep490","addon":"bottom-sheet__addon_ep490","addonFixed":"bottom-sheet__addonFixed_ep490","addonLeft":"bottom-sheet__addonLeft_ep490","addonRight":"bottom-sheet__addonRight_ep490","title":"bottom-sheet__title_ep490","titleCenter":"bottom-sheet__titleCenter_ep490","titleLeft":"bottom-sheet__titleLeft_ep490","trimTitle":"bottom-sheet__trimTitle_ep490","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_ep490","titleIndentRight":"bottom-sheet__titleIndentRight_ep490","titleIndentLeft":"bottom-sheet__titleIndentLeft_ep490"};
21
21
  require('./components/header/index.css')
22
22
 
23
23
  var Header = function (_a) {
@@ -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_7hpwg","component":"bottom-sheet__component_7hpwg","withTransition":"bottom-sheet__withTransition_7hpwg","withZeroTransition":"bottom-sheet__withZeroTransition_7hpwg","scrollableContainer":"bottom-sheet__scrollableContainer_7hpwg","marker":"bottom-sheet__marker_7hpwg","content":"bottom-sheet__content_7hpwg","noHeader":"bottom-sheet__noHeader_7hpwg","noFooter":"bottom-sheet__noFooter_7hpwg","scrollLocked":"bottom-sheet__scrollLocked_7hpwg","appear":"bottom-sheet__appear_7hpwg","enter":"bottom-sheet__enter_7hpwg","appearActive":"bottom-sheet__appearActive_7hpwg","enterActive":"bottom-sheet__enterActive_7hpwg","enterDone":"bottom-sheet__enterDone_7hpwg","appearDone":"bottom-sheet__appearDone_7hpwg","exit":"bottom-sheet__exit_7hpwg","exitActive":"bottom-sheet__exitActive_7hpwg"};
67
+ var styles$1 = {"modal":"bottom-sheet__modal_589pi","component":"bottom-sheet__component_589pi","withTransition":"bottom-sheet__withTransition_589pi","withZeroTransition":"bottom-sheet__withZeroTransition_589pi","scrollableContainer":"bottom-sheet__scrollableContainer_589pi","marker":"bottom-sheet__marker_589pi","content":"bottom-sheet__content_589pi","noHeader":"bottom-sheet__noHeader_589pi","noFooter":"bottom-sheet__noFooter_589pi","scrollLocked":"bottom-sheet__scrollLocked_589pi","appear":"bottom-sheet__appear_589pi","enter":"bottom-sheet__enter_589pi","appearActive":"bottom-sheet__appearActive_589pi","enterActive":"bottom-sheet__enterActive_589pi","enterDone":"bottom-sheet__enterDone_589pi","appearDone":"bottom-sheet__appearDone_589pi","exit":"bottom-sheet__exit_589pi","exitActive":"bottom-sheet__exitActive_589pi"};
68
68
  require('./index.css')
69
69
 
70
70
  var TIMEOUT = 300;
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-cbd7f1a3.js');
5
+ require('./tslib.es6-5c74ee0c.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-a69ef39f.js');
17
+ var components_header_Component = require('./component-79cc0f82.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-cbd7f1a3.js');
5
+ var tslib_es6 = require('../../tslib.es6-5c74ee0c.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_lwjli","button":"bottom-sheet__button_lwjli"};
16
+ var styles = {"backer":"bottom-sheet__backer_28rwu","button":"bottom-sheet__button_28rwu"};
17
17
  require('./index.css')
18
18
 
19
19
  var Backer = function (_a) {
@@ -1,9 +1,9 @@
1
- /* hash: 1hehw */
1
+ /* hash: 1ck2z */
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_lwjli {
6
+ .bottom-sheet__backer_28rwu {
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_lwjli {
16
+ .bottom-sheet__button_28rwu {
17
17
  background: var(--bottom-sheet-backer-bg-color);
18
18
  -webkit-backdrop-filter: blur(10px);
19
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-cbd7f1a3.js');
5
+ var tslib_es6 = require('../../tslib.es6-5c74ee0c.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_8odtl","button":"bottom-sheet__button_8odtl"};
17
+ var styles = {"closer":"bottom-sheet__closer_6exmn","button":"bottom-sheet__button_6exmn"};
18
18
  require('./index.css')
19
19
 
20
20
  var Closer = function (_a) {
@@ -1,9 +1,9 @@
1
- /* hash: 1s4pr */
1
+ /* hash: 1otxt */
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_8odtl {
6
+ .bottom-sheet__closer_6exmn {
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_8odtl {
16
+ .bottom-sheet__button_6exmn {
17
17
  background: var(--bottom-sheet-closer-bg-color);
18
18
  -webkit-backdrop-filter: blur(10px);
19
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_tkrq3","sticky":"bottom-sheet__sticky_tkrq3","highlighted":"bottom-sheet__highlighted_tkrq3"};
14
+ var styles = {"footer":"bottom-sheet__footer_1sokh","sticky":"bottom-sheet__sticky_1sokh","highlighted":"bottom-sheet__highlighted_1sokh"};
15
15
  require('./index.css')
16
16
 
17
17
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: j8er5 */
1
+ /* hash: 1eorb */
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_tkrq3 {
21
+ .bottom-sheet__footer_1sokh {
22
22
  padding: var(--gap-m) var(--gap-m);
23
23
  background-color: var(--color-light-bg-primary);
24
24
  }
25
- .bottom-sheet__sticky_tkrq3 {
25
+ .bottom-sheet__sticky_1sokh {
26
26
  position: sticky;
27
27
  bottom: 0;
28
28
  }
29
- .bottom-sheet__highlighted_tkrq3 {
29
+ .bottom-sheet__highlighted_1sokh {
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-cbd7f1a3.js');
5
+ require('../../tslib.es6-5c74ee0c.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-a69ef39f.js');
17
+ var components_header_Component = require('../../component-79cc0f82.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: 8bbvn */
1
+ /* hash: 1uxmb */
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__header_1jt0k {
33
+ .bottom-sheet__header_ep490 {
34
34
  display: flex;
35
35
  padding: var(--gap-xs);
36
36
  padding-bottom: 0;
@@ -39,35 +39,35 @@
39
39
  border-top-left-radius: var(--border-radius-xl);
40
40
  z-index: 1;
41
41
  }
42
- .bottom-sheet__sticky_1jt0k {
42
+ .bottom-sheet__sticky_ep490 {
43
43
  position: sticky;
44
44
  top: 0;
45
45
  }
46
- .bottom-sheet__highlighted_1jt0k {
46
+ .bottom-sheet__highlighted_ep490 {
47
47
  border-bottom: var(--bottom-sheet-header-border-bottom);
48
48
  }
49
- .bottom-sheet__justifyEnd_1jt0k {
49
+ .bottom-sheet__justifyEnd_ep490 {
50
50
  justify-content: flex-end;
51
51
  }
52
- .bottom-sheet__addon_1jt0k {
52
+ .bottom-sheet__addon_ep490 {
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_1jt0k {
59
+ .bottom-sheet__addonFixed_ep490 {
60
60
  position: fixed;
61
61
  }
62
- .bottom-sheet__addonLeft_1jt0k {
62
+ .bottom-sheet__addonLeft_ep490 {
63
63
  left: 0;
64
64
  margin-left: var(--gap-xs);
65
65
  }
66
- .bottom-sheet__addonRight_1jt0k {
66
+ .bottom-sheet__addonRight_ep490 {
67
67
  right: 0;
68
68
  margin-right: var(--gap-xs);
69
69
  }
70
- .bottom-sheet__title_1jt0k {
70
+ .bottom-sheet__title_ep490 {
71
71
  padding: var(--gap-xs) var(--gap-xs);
72
72
  margin: var(--bottom-sheet-title-margin-vertical) 0;
73
73
  width: 100%;
@@ -76,23 +76,23 @@
76
76
  line-height: var(--bottom-sheet-title-line-height);
77
77
  font-family: var(--bottom-sheet-title-font-family);
78
78
  }
79
- .bottom-sheet__titleCenter_1jt0k {
79
+ .bottom-sheet__titleCenter_ep490 {
80
80
  text-align: center;
81
81
  }
82
- .bottom-sheet__titleLeft_1jt0k {
82
+ .bottom-sheet__titleLeft_ep490 {
83
83
  text-align: left;
84
84
  }
85
- .bottom-sheet__trimTitle_1jt0k {
85
+ .bottom-sheet__trimTitle_ep490 {
86
86
  white-space: nowrap;
87
87
  overflow: hidden;
88
88
  text-overflow: ellipsis;
89
89
  }
90
- .bottom-sheet__titleBigIndentHorizontal_1jt0k {
90
+ .bottom-sheet__titleBigIndentHorizontal_ep490 {
91
91
  margin: var(--bottom-sheet-title-margin-vertical) var(--gap-4xl);
92
92
  }
93
- .bottom-sheet__titleIndentRight_1jt0k {
93
+ .bottom-sheet__titleIndentRight_ep490 {
94
94
  margin-right: var(--gap-4xl);
95
95
  }
96
- .bottom-sheet__titleIndentLeft_1jt0k {
96
+ .bottom-sheet__titleIndentLeft_ep490 {
97
97
  margin-left: var(--gap-4xl);
98
98
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-cbd7f1a3.js');
5
+ var tslib_es6 = require('../../tslib.es6-5c74ee0c.js');
6
6
  var React = require('react');
7
7
  var coreComponentsBackdrop = require('@alfalab/core-components-backdrop');
8
8
 
@@ -1,4 +1,4 @@
1
- import { _ as __assign } from './tslib.es6-702aaccc.js';
1
+ import { _ as __assign } from './tslib.es6-0000c249.js';
2
2
  import React, { useContext, useEffect, forwardRef, useState, useRef, useCallback } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { use100vh } from 'react-div-100vh';
@@ -10,7 +10,7 @@ import { Backer } from './components/backer/Component.js';
10
10
  import { Footer } from './components/footer/Component.js';
11
11
  import { SwipeableBackdrop } from './components/swipeable-backdrop/Component.js';
12
12
 
13
- var styles = {"header":"bottom-sheet__header_1jt0k","sticky":"bottom-sheet__sticky_1jt0k","highlighted":"bottom-sheet__highlighted_1jt0k","justifyEnd":"bottom-sheet__justifyEnd_1jt0k","addon":"bottom-sheet__addon_1jt0k","addonFixed":"bottom-sheet__addonFixed_1jt0k","addonLeft":"bottom-sheet__addonLeft_1jt0k","addonRight":"bottom-sheet__addonRight_1jt0k","title":"bottom-sheet__title_1jt0k","titleCenter":"bottom-sheet__titleCenter_1jt0k","titleLeft":"bottom-sheet__titleLeft_1jt0k","trimTitle":"bottom-sheet__trimTitle_1jt0k","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_1jt0k","titleIndentRight":"bottom-sheet__titleIndentRight_1jt0k","titleIndentLeft":"bottom-sheet__titleIndentLeft_1jt0k"};
13
+ var styles = {"header":"bottom-sheet__header_ep490","sticky":"bottom-sheet__sticky_ep490","highlighted":"bottom-sheet__highlighted_ep490","justifyEnd":"bottom-sheet__justifyEnd_ep490","addon":"bottom-sheet__addon_ep490","addonFixed":"bottom-sheet__addonFixed_ep490","addonLeft":"bottom-sheet__addonLeft_ep490","addonRight":"bottom-sheet__addonRight_ep490","title":"bottom-sheet__title_ep490","titleCenter":"bottom-sheet__titleCenter_ep490","titleLeft":"bottom-sheet__titleLeft_ep490","trimTitle":"bottom-sheet__trimTitle_ep490","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_ep490","titleIndentRight":"bottom-sheet__titleIndentRight_ep490","titleIndentLeft":"bottom-sheet__titleIndentLeft_ep490"};
14
14
  require('./components/header/index.css')
15
15
 
16
16
  var Header = function (_a) {
@@ -57,7 +57,7 @@ var Header = function (_a) {
57
57
  _e)) }, hasCloser ? React.createElement(Closer, { className: closerClassName }) : rightAddons))));
58
58
  };
59
59
 
60
- var styles$1 = {"modal":"bottom-sheet__modal_7hpwg","component":"bottom-sheet__component_7hpwg","withTransition":"bottom-sheet__withTransition_7hpwg","withZeroTransition":"bottom-sheet__withZeroTransition_7hpwg","scrollableContainer":"bottom-sheet__scrollableContainer_7hpwg","marker":"bottom-sheet__marker_7hpwg","content":"bottom-sheet__content_7hpwg","noHeader":"bottom-sheet__noHeader_7hpwg","noFooter":"bottom-sheet__noFooter_7hpwg","scrollLocked":"bottom-sheet__scrollLocked_7hpwg","appear":"bottom-sheet__appear_7hpwg","enter":"bottom-sheet__enter_7hpwg","appearActive":"bottom-sheet__appearActive_7hpwg","enterActive":"bottom-sheet__enterActive_7hpwg","enterDone":"bottom-sheet__enterDone_7hpwg","appearDone":"bottom-sheet__appearDone_7hpwg","exit":"bottom-sheet__exit_7hpwg","exitActive":"bottom-sheet__exitActive_7hpwg"};
60
+ var styles$1 = {"modal":"bottom-sheet__modal_589pi","component":"bottom-sheet__component_589pi","withTransition":"bottom-sheet__withTransition_589pi","withZeroTransition":"bottom-sheet__withZeroTransition_589pi","scrollableContainer":"bottom-sheet__scrollableContainer_589pi","marker":"bottom-sheet__marker_589pi","content":"bottom-sheet__content_589pi","noHeader":"bottom-sheet__noHeader_589pi","noFooter":"bottom-sheet__noFooter_589pi","scrollLocked":"bottom-sheet__scrollLocked_589pi","appear":"bottom-sheet__appear_589pi","enter":"bottom-sheet__enter_589pi","appearActive":"bottom-sheet__appearActive_589pi","enterActive":"bottom-sheet__enterActive_589pi","enterDone":"bottom-sheet__enterDone_589pi","appearDone":"bottom-sheet__appearDone_589pi","exit":"bottom-sheet__exit_589pi","exitActive":"bottom-sheet__exitActive_589pi"};
61
61
  require('./index.css')
62
62
 
63
63
  var TIMEOUT = 300;
@@ -1,4 +1,4 @@
1
- import './tslib.es6-702aaccc.js';
1
+ import './tslib.es6-0000c249.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-273ce79d.js';
13
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-d0076513.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';
@@ -1,10 +1,10 @@
1
- import { a as __rest, _ as __assign } from '../../tslib.es6-702aaccc.js';
1
+ import { a as __rest, _ as __assign } from '../../tslib.es6-0000c249.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import { IconButton } from '@alfalab/core-components-icon-button/dist/esm';
5
5
  import { ArrowBackMIcon } from '@alfalab/icons-glyph/ArrowBackMIcon';
6
6
 
7
- var styles = {"backer":"bottom-sheet__backer_lwjli","button":"bottom-sheet__button_lwjli"};
7
+ var styles = {"backer":"bottom-sheet__backer_28rwu","button":"bottom-sheet__button_28rwu"};
8
8
  require('./index.css')
9
9
 
10
10
  var Backer = function (_a) {
@@ -1,9 +1,9 @@
1
- /* hash: 1hehw */
1
+ /* hash: 1ck2z */
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_lwjli {
6
+ .bottom-sheet__backer_28rwu {
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_lwjli {
16
+ .bottom-sheet__button_28rwu {
17
17
  background: var(--bottom-sheet-backer-bg-color);
18
18
  -webkit-backdrop-filter: blur(10px);
19
19
  backdrop-filter: blur(10px);
@@ -1,11 +1,11 @@
1
- import { a as __rest, _ as __assign } from '../../tslib.es6-702aaccc.js';
1
+ import { a as __rest, _ as __assign } from '../../tslib.es6-0000c249.js';
2
2
  import React, { useContext, useCallback } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { BaseModalContext } from '@alfalab/core-components-base-modal/dist/esm';
5
5
  import { IconButton } from '@alfalab/core-components-icon-button/dist/esm';
6
6
  import { CrossMIcon } from '@alfalab/icons-glyph/CrossMIcon';
7
7
 
8
- var styles = {"closer":"bottom-sheet__closer_8odtl","button":"bottom-sheet__button_8odtl"};
8
+ var styles = {"closer":"bottom-sheet__closer_6exmn","button":"bottom-sheet__button_6exmn"};
9
9
  require('./index.css')
10
10
 
11
11
  var Closer = function (_a) {
@@ -1,9 +1,9 @@
1
- /* hash: 1s4pr */
1
+ /* hash: 1otxt */
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_8odtl {
6
+ .bottom-sheet__closer_6exmn {
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_8odtl {
16
+ .bottom-sheet__button_6exmn {
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/esm';
4
4
 
5
- var styles = {"footer":"bottom-sheet__footer_tkrq3","sticky":"bottom-sheet__sticky_tkrq3","highlighted":"bottom-sheet__highlighted_tkrq3"};
5
+ var styles = {"footer":"bottom-sheet__footer_1sokh","sticky":"bottom-sheet__sticky_1sokh","highlighted":"bottom-sheet__highlighted_1sokh"};
6
6
  require('./index.css')
7
7
 
8
8
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: j8er5 */
1
+ /* hash: 1eorb */
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_tkrq3 {
21
+ .bottom-sheet__footer_1sokh {
22
22
  padding: var(--gap-m) var(--gap-m);
23
23
  background-color: var(--color-light-bg-primary);
24
24
  }
25
- .bottom-sheet__sticky_tkrq3 {
25
+ .bottom-sheet__sticky_1sokh {
26
26
  position: sticky;
27
27
  bottom: 0;
28
28
  }
29
- .bottom-sheet__highlighted_tkrq3 {
29
+ .bottom-sheet__highlighted_1sokh {
30
30
  border-top: var(--bottom-sheet-footer-border-top);
31
31
  background-color: var(--bottom-sheet-footer-background-color);
32
32
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-702aaccc.js';
1
+ import '../../tslib.es6-0000c249.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-273ce79d.js';
13
+ export { a as Header } from '../../component-d0076513.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: 8bbvn */
1
+ /* hash: 1uxmb */
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__header_1jt0k {
33
+ .bottom-sheet__header_ep490 {
34
34
  display: flex;
35
35
  padding: var(--gap-xs);
36
36
  padding-bottom: 0;
@@ -39,35 +39,35 @@
39
39
  border-top-left-radius: var(--border-radius-xl);
40
40
  z-index: 1;
41
41
  }
42
- .bottom-sheet__sticky_1jt0k {
42
+ .bottom-sheet__sticky_ep490 {
43
43
  position: sticky;
44
44
  top: 0;
45
45
  }
46
- .bottom-sheet__highlighted_1jt0k {
46
+ .bottom-sheet__highlighted_ep490 {
47
47
  border-bottom: var(--bottom-sheet-header-border-bottom);
48
48
  }
49
- .bottom-sheet__justifyEnd_1jt0k {
49
+ .bottom-sheet__justifyEnd_ep490 {
50
50
  justify-content: flex-end;
51
51
  }
52
- .bottom-sheet__addon_1jt0k {
52
+ .bottom-sheet__addon_ep490 {
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_1jt0k {
59
+ .bottom-sheet__addonFixed_ep490 {
60
60
  position: fixed;
61
61
  }
62
- .bottom-sheet__addonLeft_1jt0k {
62
+ .bottom-sheet__addonLeft_ep490 {
63
63
  left: 0;
64
64
  margin-left: var(--gap-xs);
65
65
  }
66
- .bottom-sheet__addonRight_1jt0k {
66
+ .bottom-sheet__addonRight_ep490 {
67
67
  right: 0;
68
68
  margin-right: var(--gap-xs);
69
69
  }
70
- .bottom-sheet__title_1jt0k {
70
+ .bottom-sheet__title_ep490 {
71
71
  padding: var(--gap-xs) var(--gap-xs);
72
72
  margin: var(--bottom-sheet-title-margin-vertical) 0;
73
73
  width: 100%;
@@ -76,23 +76,23 @@
76
76
  line-height: var(--bottom-sheet-title-line-height);
77
77
  font-family: var(--bottom-sheet-title-font-family);
78
78
  }
79
- .bottom-sheet__titleCenter_1jt0k {
79
+ .bottom-sheet__titleCenter_ep490 {
80
80
  text-align: center;
81
81
  }
82
- .bottom-sheet__titleLeft_1jt0k {
82
+ .bottom-sheet__titleLeft_ep490 {
83
83
  text-align: left;
84
84
  }
85
- .bottom-sheet__trimTitle_1jt0k {
85
+ .bottom-sheet__trimTitle_ep490 {
86
86
  white-space: nowrap;
87
87
  overflow: hidden;
88
88
  text-overflow: ellipsis;
89
89
  }
90
- .bottom-sheet__titleBigIndentHorizontal_1jt0k {
90
+ .bottom-sheet__titleBigIndentHorizontal_ep490 {
91
91
  margin: var(--bottom-sheet-title-margin-vertical) var(--gap-4xl);
92
92
  }
93
- .bottom-sheet__titleIndentRight_1jt0k {
93
+ .bottom-sheet__titleIndentRight_ep490 {
94
94
  margin-right: var(--gap-4xl);
95
95
  }
96
- .bottom-sheet__titleIndentLeft_1jt0k {
96
+ .bottom-sheet__titleIndentLeft_ep490 {
97
97
  margin-left: var(--gap-4xl);
98
98
  }
@@ -1,4 +1,4 @@
1
- import { a as __rest, _ as __assign } from '../../tslib.es6-702aaccc.js';
1
+ import { a as __rest, _ as __assign } from '../../tslib.es6-0000c249.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: cjz6e */
1
+ /* hash: 9978r */
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_7hpwg {
27
+ .bottom-sheet__modal_589pi {
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_7hpwg {
34
+ .bottom-sheet__component_589pi {
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_7hpwg {
44
+ .bottom-sheet__withTransition_589pi {
45
45
  transition: var(--bottom-sheet-out-transition);
46
46
  }
47
- .bottom-sheet__withZeroTransition_7hpwg {
47
+ .bottom-sheet__withZeroTransition_589pi {
48
48
  transition: 0s linear;
49
49
  }
50
- .bottom-sheet__scrollableContainer_7hpwg {
50
+ .bottom-sheet__scrollableContainer_589pi {
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_7hpwg {
57
+ .bottom-sheet__marker_589pi {
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_7hpwg {
68
+ .bottom-sheet__content_589pi {
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_7hpwg {
76
+ .bottom-sheet__noHeader_589pi {
77
77
  padding-top: var(--gap-xl);
78
78
  }
79
- .bottom-sheet__noFooter_7hpwg {
79
+ .bottom-sheet__noFooter_589pi {
80
80
  padding-bottom: var(--gap-m);
81
81
  }
82
- .bottom-sheet__scrollLocked_7hpwg {
82
+ .bottom-sheet__scrollLocked_589pi {
83
83
  overflow: hidden;
84
84
  }
85
- .bottom-sheet__appear_7hpwg .bottom-sheet__component_7hpwg, .bottom-sheet__enter_7hpwg .bottom-sheet__component_7hpwg {
85
+ .bottom-sheet__appear_589pi .bottom-sheet__component_589pi, .bottom-sheet__enter_589pi .bottom-sheet__component_589pi {
86
86
  transition: none;
87
87
  }
88
- .bottom-sheet__appearActive_7hpwg .bottom-sheet__component_7hpwg, .bottom-sheet__enterActive_7hpwg .bottom-sheet__component_7hpwg {
88
+ .bottom-sheet__appearActive_589pi .bottom-sheet__component_589pi, .bottom-sheet__enterActive_589pi .bottom-sheet__component_589pi {
89
89
  transition: var(--bottom-sheet-in-transition);
90
90
  transform: translateY(0);
91
91
  }
92
- .bottom-sheet__enterDone_7hpwg .bottom-sheet__component_7hpwg, .bottom-sheet__appearDone_7hpwg .bottom-sheet__component_7hpwg {
92
+ .bottom-sheet__enterDone_589pi .bottom-sheet__component_589pi, .bottom-sheet__appearDone_589pi .bottom-sheet__component_589pi {
93
93
  transform: translateY(0);
94
94
  }
95
- .bottom-sheet__exit_7hpwg .bottom-sheet__component_7hpwg {
95
+ .bottom-sheet__exit_589pi .bottom-sheet__component_589pi {
96
96
  transform: translateY(0);
97
97
  }
98
- .bottom-sheet__exitActive_7hpwg .bottom-sheet__component_7hpwg {
98
+ .bottom-sheet__exitActive_589pi .bottom-sheet__component_589pi {
99
99
  transition: var(--bottom-sheet-out-transition);
100
100
  transform: translateY(100%);
101
101
  }
@@ -1 +1 @@
1
- export * from "./component-273ce79d";
1
+ export * from "./component-d0076513";
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './tslib.es6-702aaccc.js';
1
+ import './tslib.es6-0000c249.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-273ce79d.js';
13
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-d0076513.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: cjz6e */
1
+ /* hash: 9978r */
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_7hpwg {
27
+ .bottom-sheet__modal_589pi {
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_7hpwg {
34
+ .bottom-sheet__component_589pi {
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_7hpwg {
44
+ .bottom-sheet__withTransition_589pi {
45
45
  transition: var(--bottom-sheet-out-transition);
46
46
  }
47
- .bottom-sheet__withZeroTransition_7hpwg {
47
+ .bottom-sheet__withZeroTransition_589pi {
48
48
  transition: 0s linear;
49
49
  }
50
- .bottom-sheet__scrollableContainer_7hpwg {
50
+ .bottom-sheet__scrollableContainer_589pi {
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_7hpwg {
57
+ .bottom-sheet__marker_589pi {
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_7hpwg {
68
+ .bottom-sheet__content_589pi {
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_7hpwg {
76
+ .bottom-sheet__noHeader_589pi {
77
77
  padding-top: var(--gap-xl);
78
78
  }
79
- .bottom-sheet__noFooter_7hpwg {
79
+ .bottom-sheet__noFooter_589pi {
80
80
  padding-bottom: var(--gap-m);
81
81
  }
82
- .bottom-sheet__scrollLocked_7hpwg {
82
+ .bottom-sheet__scrollLocked_589pi {
83
83
  overflow: hidden;
84
84
  }
85
- .bottom-sheet__appear_7hpwg .bottom-sheet__component_7hpwg, .bottom-sheet__enter_7hpwg .bottom-sheet__component_7hpwg {
85
+ .bottom-sheet__appear_589pi .bottom-sheet__component_589pi, .bottom-sheet__enter_589pi .bottom-sheet__component_589pi {
86
86
  transition: none;
87
87
  }
88
- .bottom-sheet__appearActive_7hpwg .bottom-sheet__component_7hpwg, .bottom-sheet__enterActive_7hpwg .bottom-sheet__component_7hpwg {
88
+ .bottom-sheet__appearActive_589pi .bottom-sheet__component_589pi, .bottom-sheet__enterActive_589pi .bottom-sheet__component_589pi {
89
89
  transition: var(--bottom-sheet-in-transition);
90
90
  transform: translateY(0);
91
91
  }
92
- .bottom-sheet__enterDone_7hpwg .bottom-sheet__component_7hpwg, .bottom-sheet__appearDone_7hpwg .bottom-sheet__component_7hpwg {
92
+ .bottom-sheet__enterDone_589pi .bottom-sheet__component_589pi, .bottom-sheet__appearDone_589pi .bottom-sheet__component_589pi {
93
93
  transform: translateY(0);
94
94
  }
95
- .bottom-sheet__exit_7hpwg .bottom-sheet__component_7hpwg {
95
+ .bottom-sheet__exit_589pi .bottom-sheet__component_589pi {
96
96
  transform: translateY(0);
97
97
  }
98
- .bottom-sheet__exitActive_7hpwg .bottom-sheet__component_7hpwg {
98
+ .bottom-sheet__exitActive_589pi .bottom-sheet__component_589pi {
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-a69ef39f";
1
+ export * from "./component-79cc0f82";
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-cbd7f1a3.js');
5
+ require('./tslib.es6-5c74ee0c.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-a69ef39f.js');
17
+ var components_header_Component = require('./component-79cc0f82.js');
18
18
  require('./components/footer/Component.js');
19
19
  require('@alfalab/core-components-backdrop');
20
20
  require('./components/swipeable-backdrop/Component.js');
@@ -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 = {"header":"bottom-sheet__header_1jt0k","sticky":"bottom-sheet__sticky_1jt0k","highlighted":"bottom-sheet__highlighted_1jt0k","justifyEnd":"bottom-sheet__justifyEnd_1jt0k","addon":"bottom-sheet__addon_1jt0k","addonFixed":"bottom-sheet__addonFixed_1jt0k","addonLeft":"bottom-sheet__addonLeft_1jt0k","addonRight":"bottom-sheet__addonRight_1jt0k","title":"bottom-sheet__title_1jt0k","titleCenter":"bottom-sheet__titleCenter_1jt0k","titleLeft":"bottom-sheet__titleLeft_1jt0k","trimTitle":"bottom-sheet__trimTitle_1jt0k","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_1jt0k","titleIndentRight":"bottom-sheet__titleIndentRight_1jt0k","titleIndentLeft":"bottom-sheet__titleIndentLeft_1jt0k"};
12
+ var styles = {"header":"bottom-sheet__header_ep490","sticky":"bottom-sheet__sticky_ep490","highlighted":"bottom-sheet__highlighted_ep490","justifyEnd":"bottom-sheet__justifyEnd_ep490","addon":"bottom-sheet__addon_ep490","addonFixed":"bottom-sheet__addonFixed_ep490","addonLeft":"bottom-sheet__addonLeft_ep490","addonRight":"bottom-sheet__addonRight_ep490","title":"bottom-sheet__title_ep490","titleCenter":"bottom-sheet__titleCenter_ep490","titleLeft":"bottom-sheet__titleLeft_ep490","trimTitle":"bottom-sheet__trimTitle_ep490","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_ep490","titleIndentRight":"bottom-sheet__titleIndentRight_ep490","titleIndentLeft":"bottom-sheet__titleIndentLeft_ep490"};
13
13
  require('./components/header/index.css')
14
14
 
15
15
  const Header = ({ title, headerClassName, addonClassName, closerClassName, backerClassName, leftAddons, rightAddons, hasCloser, hasBacker, titleAlign, trimTitle, sticky, onBack, }) => {
@@ -53,7 +53,7 @@ const Header = ({ title, headerClassName, addonClassName, closerClassName, backe
53
53
  }) }, hasCloser ? React.createElement(Closer, { className: closerClassName }) : rightAddons))));
54
54
  };
55
55
 
56
- var styles$1 = {"modal":"bottom-sheet__modal_7hpwg","component":"bottom-sheet__component_7hpwg","withTransition":"bottom-sheet__withTransition_7hpwg","withZeroTransition":"bottom-sheet__withZeroTransition_7hpwg","scrollableContainer":"bottom-sheet__scrollableContainer_7hpwg","marker":"bottom-sheet__marker_7hpwg","content":"bottom-sheet__content_7hpwg","noHeader":"bottom-sheet__noHeader_7hpwg","noFooter":"bottom-sheet__noFooter_7hpwg","scrollLocked":"bottom-sheet__scrollLocked_7hpwg","appear":"bottom-sheet__appear_7hpwg","enter":"bottom-sheet__enter_7hpwg","appearActive":"bottom-sheet__appearActive_7hpwg","enterActive":"bottom-sheet__enterActive_7hpwg","enterDone":"bottom-sheet__enterDone_7hpwg","appearDone":"bottom-sheet__appearDone_7hpwg","exit":"bottom-sheet__exit_7hpwg","exitActive":"bottom-sheet__exitActive_7hpwg"};
56
+ var styles$1 = {"modal":"bottom-sheet__modal_589pi","component":"bottom-sheet__component_589pi","withTransition":"bottom-sheet__withTransition_589pi","withZeroTransition":"bottom-sheet__withZeroTransition_589pi","scrollableContainer":"bottom-sheet__scrollableContainer_589pi","marker":"bottom-sheet__marker_589pi","content":"bottom-sheet__content_589pi","noHeader":"bottom-sheet__noHeader_589pi","noFooter":"bottom-sheet__noFooter_589pi","scrollLocked":"bottom-sheet__scrollLocked_589pi","appear":"bottom-sheet__appear_589pi","enter":"bottom-sheet__enter_589pi","appearActive":"bottom-sheet__appearActive_589pi","enterActive":"bottom-sheet__enterActive_589pi","enterDone":"bottom-sheet__enterDone_589pi","appearDone":"bottom-sheet__appearDone_589pi","exit":"bottom-sheet__exit_589pi","exitActive":"bottom-sheet__exitActive_589pi"};
57
57
  require('./index.css')
58
58
 
59
59
  const TIMEOUT = 300;
@@ -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-17606fb9.js';
12
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-6f1cc9e9.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_lwjli","button":"bottom-sheet__button_lwjli"};
6
+ var styles = {"backer":"bottom-sheet__backer_28rwu","button":"bottom-sheet__button_28rwu"};
7
7
  require('./index.css')
8
8
 
9
9
  const Backer = ({ className, size = 'xs', icon = ArrowBackMIcon, onClick, ...restProps }) => {
@@ -1,9 +1,9 @@
1
- /* hash: 1hehw */
1
+ /* hash: 1ck2z */
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_lwjli {
6
+ .bottom-sheet__backer_28rwu {
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_lwjli {
16
+ .bottom-sheet__button_28rwu {
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_8odtl","button":"bottom-sheet__button_8odtl"};
7
+ var styles = {"closer":"bottom-sheet__closer_6exmn","button":"bottom-sheet__button_6exmn"};
8
8
  require('./index.css')
9
9
 
10
10
  const Closer = ({ className, size = 'xs', icon = CrossMIcon, ...restProps }) => {
@@ -1,9 +1,9 @@
1
- /* hash: 1s4pr */
1
+ /* hash: 1otxt */
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_8odtl {
6
+ .bottom-sheet__closer_6exmn {
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_8odtl {
16
+ .bottom-sheet__button_6exmn {
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_tkrq3","sticky":"bottom-sheet__sticky_tkrq3","highlighted":"bottom-sheet__highlighted_tkrq3"};
5
+ var styles = {"footer":"bottom-sheet__footer_1sokh","sticky":"bottom-sheet__sticky_1sokh","highlighted":"bottom-sheet__highlighted_1sokh"};
6
6
  require('./index.css')
7
7
 
8
8
  const Footer = ({ children, className, sticky }) => {
@@ -1,4 +1,4 @@
1
- /* hash: j8er5 */
1
+ /* hash: 1eorb */
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_tkrq3 {
21
+ .bottom-sheet__footer_1sokh {
22
22
  padding: var(--gap-m) var(--gap-m);
23
23
  background-color: var(--color-light-bg-primary);
24
24
  }
25
- .bottom-sheet__sticky_tkrq3 {
25
+ .bottom-sheet__sticky_1sokh {
26
26
  position: sticky;
27
27
  bottom: 0;
28
28
  }
29
- .bottom-sheet__highlighted_tkrq3 {
29
+ .bottom-sheet__highlighted_1sokh {
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-17606fb9.js';
12
+ export { a as Header } from '../../component-6f1cc9e9.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: 8bbvn */
1
+ /* hash: 1uxmb */
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__header_1jt0k {
33
+ .bottom-sheet__header_ep490 {
34
34
  display: flex;
35
35
  padding: var(--gap-xs);
36
36
  padding-bottom: 0;
@@ -39,35 +39,35 @@
39
39
  border-top-left-radius: var(--border-radius-xl);
40
40
  z-index: 1;
41
41
  }
42
- .bottom-sheet__sticky_1jt0k {
42
+ .bottom-sheet__sticky_ep490 {
43
43
  position: sticky;
44
44
  top: 0;
45
45
  }
46
- .bottom-sheet__highlighted_1jt0k {
46
+ .bottom-sheet__highlighted_ep490 {
47
47
  border-bottom: var(--bottom-sheet-header-border-bottom);
48
48
  }
49
- .bottom-sheet__justifyEnd_1jt0k {
49
+ .bottom-sheet__justifyEnd_ep490 {
50
50
  justify-content: flex-end;
51
51
  }
52
- .bottom-sheet__addon_1jt0k {
52
+ .bottom-sheet__addon_ep490 {
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_1jt0k {
59
+ .bottom-sheet__addonFixed_ep490 {
60
60
  position: fixed;
61
61
  }
62
- .bottom-sheet__addonLeft_1jt0k {
62
+ .bottom-sheet__addonLeft_ep490 {
63
63
  left: 0;
64
64
  margin-left: var(--gap-xs);
65
65
  }
66
- .bottom-sheet__addonRight_1jt0k {
66
+ .bottom-sheet__addonRight_ep490 {
67
67
  right: 0;
68
68
  margin-right: var(--gap-xs);
69
69
  }
70
- .bottom-sheet__title_1jt0k {
70
+ .bottom-sheet__title_ep490 {
71
71
  padding: var(--gap-xs) var(--gap-xs);
72
72
  margin: var(--bottom-sheet-title-margin-vertical) 0;
73
73
  width: 100%;
@@ -76,23 +76,23 @@
76
76
  line-height: var(--bottom-sheet-title-line-height);
77
77
  font-family: var(--bottom-sheet-title-font-family);
78
78
  }
79
- .bottom-sheet__titleCenter_1jt0k {
79
+ .bottom-sheet__titleCenter_ep490 {
80
80
  text-align: center;
81
81
  }
82
- .bottom-sheet__titleLeft_1jt0k {
82
+ .bottom-sheet__titleLeft_ep490 {
83
83
  text-align: left;
84
84
  }
85
- .bottom-sheet__trimTitle_1jt0k {
85
+ .bottom-sheet__trimTitle_ep490 {
86
86
  white-space: nowrap;
87
87
  overflow: hidden;
88
88
  text-overflow: ellipsis;
89
89
  }
90
- .bottom-sheet__titleBigIndentHorizontal_1jt0k {
90
+ .bottom-sheet__titleBigIndentHorizontal_ep490 {
91
91
  margin: var(--bottom-sheet-title-margin-vertical) var(--gap-4xl);
92
92
  }
93
- .bottom-sheet__titleIndentRight_1jt0k {
93
+ .bottom-sheet__titleIndentRight_ep490 {
94
94
  margin-right: var(--gap-4xl);
95
95
  }
96
- .bottom-sheet__titleIndentLeft_1jt0k {
96
+ .bottom-sheet__titleIndentLeft_ep490 {
97
97
  margin-left: var(--gap-4xl);
98
98
  }
@@ -1,4 +1,4 @@
1
- /* hash: cjz6e */
1
+ /* hash: 9978r */
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_7hpwg {
27
+ .bottom-sheet__modal_589pi {
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_7hpwg {
34
+ .bottom-sheet__component_589pi {
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_7hpwg {
44
+ .bottom-sheet__withTransition_589pi {
45
45
  transition: var(--bottom-sheet-out-transition);
46
46
  }
47
- .bottom-sheet__withZeroTransition_7hpwg {
47
+ .bottom-sheet__withZeroTransition_589pi {
48
48
  transition: 0s linear;
49
49
  }
50
- .bottom-sheet__scrollableContainer_7hpwg {
50
+ .bottom-sheet__scrollableContainer_589pi {
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_7hpwg {
57
+ .bottom-sheet__marker_589pi {
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_7hpwg {
68
+ .bottom-sheet__content_589pi {
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_7hpwg {
76
+ .bottom-sheet__noHeader_589pi {
77
77
  padding-top: var(--gap-xl);
78
78
  }
79
- .bottom-sheet__noFooter_7hpwg {
79
+ .bottom-sheet__noFooter_589pi {
80
80
  padding-bottom: var(--gap-m);
81
81
  }
82
- .bottom-sheet__scrollLocked_7hpwg {
82
+ .bottom-sheet__scrollLocked_589pi {
83
83
  overflow: hidden;
84
84
  }
85
- .bottom-sheet__appear_7hpwg .bottom-sheet__component_7hpwg, .bottom-sheet__enter_7hpwg .bottom-sheet__component_7hpwg {
85
+ .bottom-sheet__appear_589pi .bottom-sheet__component_589pi, .bottom-sheet__enter_589pi .bottom-sheet__component_589pi {
86
86
  transition: none;
87
87
  }
88
- .bottom-sheet__appearActive_7hpwg .bottom-sheet__component_7hpwg, .bottom-sheet__enterActive_7hpwg .bottom-sheet__component_7hpwg {
88
+ .bottom-sheet__appearActive_589pi .bottom-sheet__component_589pi, .bottom-sheet__enterActive_589pi .bottom-sheet__component_589pi {
89
89
  transition: var(--bottom-sheet-in-transition);
90
90
  transform: translateY(0);
91
91
  }
92
- .bottom-sheet__enterDone_7hpwg .bottom-sheet__component_7hpwg, .bottom-sheet__appearDone_7hpwg .bottom-sheet__component_7hpwg {
92
+ .bottom-sheet__enterDone_589pi .bottom-sheet__component_589pi, .bottom-sheet__appearDone_589pi .bottom-sheet__component_589pi {
93
93
  transform: translateY(0);
94
94
  }
95
- .bottom-sheet__exit_7hpwg .bottom-sheet__component_7hpwg {
95
+ .bottom-sheet__exit_589pi .bottom-sheet__component_589pi {
96
96
  transform: translateY(0);
97
97
  }
98
- .bottom-sheet__exitActive_7hpwg .bottom-sheet__component_7hpwg {
98
+ .bottom-sheet__exitActive_589pi .bottom-sheet__component_589pi {
99
99
  transition: var(--bottom-sheet-out-transition);
100
100
  transform: translateY(100%);
101
101
  }
@@ -1 +1 @@
1
- export * from "./component-17606fb9";
1
+ export * from "./component-6f1cc9e9";
@@ -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-17606fb9.js';
12
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-6f1cc9e9.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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-bottom-sheet",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "description": "Bottom sheet mobile component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -22,12 +22,12 @@
22
22
  "dependencies": {
23
23
  "@alfalab/core-components-backdrop": "^2.0.3",
24
24
  "@alfalab/core-components-base-modal": "^4.0.2",
25
- "@alfalab/core-components-icon-button": "^4.1.11",
25
+ "@alfalab/core-components-icon-button": "^4.1.12",
26
26
  "@alfalab/core-components-typography": "^2.5.3",
27
27
  "classnames": "2.2.6",
28
28
  "react-div-100vh": "0.7.0",
29
29
  "react-swipeable": "5.5.1",
30
30
  "react-transition-group": "4.4.1"
31
31
  },
32
- "gitHead": "dc4aed3c70aced5d10e29f0abbd47429784860f0"
32
+ "gitHead": "7b9b0bbb422c34b432003ddc335fe15f596ad6d5"
33
33
  }