@alfalab/core-components-bottom-sheet 5.2.0 → 5.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 (49) hide show
  1. package/{component-f85861da.d.ts → component-ddaa0bee.d.ts} +0 -0
  2. package/{component-f85861da.js → component-ddaa0bee.js} +3 -3
  3. package/component.js +2 -2
  4. package/components/backer/Component.js +2 -2
  5. package/components/backer/index.css +3 -3
  6. package/components/closer/Component.js +2 -2
  7. package/components/closer/index.css +3 -3
  8. package/components/footer/Component.js +1 -1
  9. package/components/footer/index.css +4 -4
  10. package/components/header/Component.js +2 -2
  11. package/components/header/index.css +17 -17
  12. package/components/swipeable-backdrop/Component.js +1 -1
  13. package/esm/{component-62847823.d.ts → component-bf0b04aa.d.ts} +0 -0
  14. package/esm/{component-62847823.js → component-bf0b04aa.js} +3 -3
  15. package/esm/component.js +2 -2
  16. package/esm/components/backer/Component.js +2 -2
  17. package/esm/components/backer/index.css +3 -3
  18. package/esm/components/closer/Component.js +2 -2
  19. package/esm/components/closer/index.css +3 -3
  20. package/esm/components/footer/Component.js +1 -1
  21. package/esm/components/footer/index.css +4 -4
  22. package/esm/components/header/Component.js +2 -2
  23. package/esm/components/header/index.css +17 -17
  24. package/esm/components/swipeable-backdrop/Component.js +1 -1
  25. package/esm/index.css +15 -15
  26. package/esm/index.d.ts +1 -1
  27. package/esm/index.js +2 -2
  28. package/esm/{tslib.es6-54cc9a3d.d.ts → tslib.es6-8f5b3db5.d.ts} +0 -0
  29. package/esm/{tslib.es6-54cc9a3d.js → tslib.es6-8f5b3db5.js} +0 -0
  30. package/index.css +15 -15
  31. package/index.d.ts +1 -1
  32. package/index.js +2 -2
  33. package/modern/{component-d0103215.d.ts → component-d4450eb4.d.ts} +0 -0
  34. package/modern/{component-d0103215.js → component-d4450eb4.js} +2 -2
  35. package/modern/component.js +1 -1
  36. package/modern/components/backer/Component.js +1 -1
  37. package/modern/components/backer/index.css +3 -3
  38. package/modern/components/closer/Component.js +1 -1
  39. package/modern/components/closer/index.css +3 -3
  40. package/modern/components/footer/Component.js +1 -1
  41. package/modern/components/footer/index.css +4 -4
  42. package/modern/components/header/Component.js +1 -1
  43. package/modern/components/header/index.css +17 -17
  44. package/modern/index.css +15 -15
  45. package/modern/index.d.ts +1 -1
  46. package/modern/index.js +1 -1
  47. package/package.json +2 -2
  48. /package/{tslib.es6-63fb5369.d.ts → tslib.es6-9e7d3289.d.ts} +0 -0
  49. /package/{tslib.es6-63fb5369.js → tslib.es6-9e7d3289.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('./tslib.es6-63fb5369.js');
3
+ var tslib_es6 = require('./tslib.es6-9e7d3289.js');
4
4
  var React = require('react');
5
5
  var reactDiv100vh = require('react-div-100vh');
6
6
  var reactSwipeable = require('react-swipeable');
@@ -22,7 +22,7 @@ var getDataTestId = function (dataTestId, element) {
22
22
  return dataTestId ? "".concat(dataTestId).concat(elementPart) : undefined;
23
23
  };
24
24
 
25
- var styles$1 = {"headerWrapper":"bottom-sheet__headerWrapper_kcjgq","header":"bottom-sheet__header_kcjgq","sticky":"bottom-sheet__sticky_kcjgq","highlighted":"bottom-sheet__highlighted_kcjgq","justifyEnd":"bottom-sheet__justifyEnd_kcjgq","addon":"bottom-sheet__addon_kcjgq","addonFixed":"bottom-sheet__addonFixed_kcjgq","addonLeft":"bottom-sheet__addonLeft_kcjgq","addonRight":"bottom-sheet__addonRight_kcjgq","title":"bottom-sheet__title_kcjgq","titleCenter":"bottom-sheet__titleCenter_kcjgq","titleLeft":"bottom-sheet__titleLeft_kcjgq","trimTitle":"bottom-sheet__trimTitle_kcjgq","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_kcjgq","titleIndentRight":"bottom-sheet__titleIndentRight_kcjgq","titleIndentLeft":"bottom-sheet__titleIndentLeft_kcjgq"};
25
+ var styles$1 = {"headerWrapper":"bottom-sheet__headerWrapper_p6esx","header":"bottom-sheet__header_p6esx","sticky":"bottom-sheet__sticky_p6esx","highlighted":"bottom-sheet__highlighted_p6esx","justifyEnd":"bottom-sheet__justifyEnd_p6esx","addon":"bottom-sheet__addon_p6esx","addonFixed":"bottom-sheet__addonFixed_p6esx","addonLeft":"bottom-sheet__addonLeft_p6esx","addonRight":"bottom-sheet__addonRight_p6esx","title":"bottom-sheet__title_p6esx","titleCenter":"bottom-sheet__titleCenter_p6esx","titleLeft":"bottom-sheet__titleLeft_p6esx","trimTitle":"bottom-sheet__trimTitle_p6esx","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_p6esx","titleIndentRight":"bottom-sheet__titleIndentRight_p6esx","titleIndentLeft":"bottom-sheet__titleIndentLeft_p6esx"};
26
26
  require('./components/header/index.css')
27
27
 
28
28
  var Header = function (_a) {
@@ -72,7 +72,7 @@ var Header = function (_a) {
72
72
  bottomAddons));
73
73
  };
74
74
 
75
- var styles = {"modal":"bottom-sheet__modal_ex71y","component":"bottom-sheet__component_ex71y","withTransition":"bottom-sheet__withTransition_ex71y","scrollableContainer":"bottom-sheet__scrollableContainer_ex71y","marker":"bottom-sheet__marker_ex71y","content":"bottom-sheet__content_ex71y","noHeader":"bottom-sheet__noHeader_ex71y","noFooter":"bottom-sheet__noFooter_ex71y","scrollLocked":"bottom-sheet__scrollLocked_ex71y","appear":"bottom-sheet__appear_ex71y","enter":"bottom-sheet__enter_ex71y","appearActive":"bottom-sheet__appearActive_ex71y","enterActive":"bottom-sheet__enterActive_ex71y","enterDone":"bottom-sheet__enterDone_ex71y","appearDone":"bottom-sheet__appearDone_ex71y","exit":"bottom-sheet__exit_ex71y","exitActive":"bottom-sheet__exitActive_ex71y"};
75
+ var styles = {"modal":"bottom-sheet__modal_dmjst","component":"bottom-sheet__component_dmjst","withTransition":"bottom-sheet__withTransition_dmjst","scrollableContainer":"bottom-sheet__scrollableContainer_dmjst","marker":"bottom-sheet__marker_dmjst","content":"bottom-sheet__content_dmjst","noHeader":"bottom-sheet__noHeader_dmjst","noFooter":"bottom-sheet__noFooter_dmjst","scrollLocked":"bottom-sheet__scrollLocked_dmjst","appear":"bottom-sheet__appear_dmjst","enter":"bottom-sheet__enter_dmjst","appearActive":"bottom-sheet__appearActive_dmjst","enterActive":"bottom-sheet__enterActive_dmjst","enterDone":"bottom-sheet__enterDone_dmjst","appearDone":"bottom-sheet__appearDone_dmjst","exit":"bottom-sheet__exit_dmjst","exitActive":"bottom-sheet__exitActive_dmjst"};
76
76
  require('./index.css')
77
77
 
78
78
  var TIMEOUT = 300;
package/component.js CHANGED
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- require('./tslib.es6-63fb5369.js');
3
+ require('./tslib.es6-9e7d3289.js');
4
4
  require('react');
5
5
  require('react-div-100vh');
6
6
  require('react-swipeable');
7
7
  require('classnames');
8
8
  require('@alfalab/core-components-base-modal');
9
- var components_header_Component = require('./component-f85861da.js');
9
+ var components_header_Component = require('./component-ddaa0bee.js');
10
10
  require('./components/footer/Component.js');
11
11
  require('./components/swipeable-backdrop/Component.js');
12
12
  require('@alfalab/core-components-typography');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../../tslib.es6-63fb5369.js');
3
+ var tslib_es6 = require('../../tslib.es6-9e7d3289.js');
4
4
  var React = require('react');
5
5
  var cn = require('classnames');
6
6
  var coreComponentsIconButton = require('@alfalab/core-components-icon-button');
@@ -11,7 +11,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
11
11
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
12
12
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
13
13
 
14
- var styles = {"backer":"bottom-sheet__backer_1nbdj","button":"bottom-sheet__button_1nbdj"};
14
+ var styles = {"backer":"bottom-sheet__backer_1ihi7","button":"bottom-sheet__button_1ihi7"};
15
15
  require('./index.css')
16
16
 
17
17
  var Backer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: eg7zl */
1
+ /* hash: 15p3d */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-primary: #0b1f35;
@@ -18,7 +18,7 @@
18
18
  } :root {
19
19
  } :root {
20
20
  --bottom-sheet-backer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
21
- } .bottom-sheet__backer_1nbdj {
21
+ } .bottom-sheet__backer_1ihi7 {
22
22
  width: 32px;
23
23
  height: 32px;
24
24
  display: flex;
@@ -26,7 +26,7 @@
26
26
  align-items: center;
27
27
  cursor: pointer;
28
28
  color: var(--color-light-graphic-primary);
29
- } .bottom-sheet__button_1nbdj {
29
+ } .bottom-sheet__button_1ihi7 {
30
30
  background: var(--bottom-sheet-backer-bg-color);
31
31
  -webkit-backdrop-filter: blur(10px);
32
32
  backdrop-filter: blur(10px);
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../../tslib.es6-63fb5369.js');
3
+ var tslib_es6 = require('../../tslib.es6-9e7d3289.js');
4
4
  var React = require('react');
5
5
  var cn = require('classnames');
6
6
  var coreComponentsBaseModal = require('@alfalab/core-components-base-modal');
@@ -12,7 +12,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
12
12
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
13
13
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
14
14
 
15
- var styles = {"closer":"bottom-sheet__closer_g3uz3","button":"bottom-sheet__button_g3uz3"};
15
+ var styles = {"closer":"bottom-sheet__closer_et7py","button":"bottom-sheet__button_et7py"};
16
16
  require('./index.css')
17
17
 
18
18
  var Closer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: ia0kw */
1
+ /* hash: 1urxi */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-primary: #0b1f35;
@@ -18,7 +18,7 @@
18
18
  } :root {
19
19
  } :root {
20
20
  --bottom-sheet-closer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
21
- } .bottom-sheet__closer_g3uz3 {
21
+ } .bottom-sheet__closer_et7py {
22
22
  width: 32px;
23
23
  height: 32px;
24
24
  display: flex;
@@ -26,7 +26,7 @@
26
26
  align-items: center;
27
27
  cursor: pointer;
28
28
  color: var(--color-light-graphic-primary);
29
- } .bottom-sheet__button_g3uz3 {
29
+ } .bottom-sheet__button_et7py {
30
30
  background: var(--bottom-sheet-closer-bg-color);
31
31
  -webkit-backdrop-filter: blur(10px);
32
32
  backdrop-filter: blur(10px);
@@ -9,7 +9,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
9
9
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
10
10
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
11
11
 
12
- var styles = {"footer":"bottom-sheet__footer_1ykmx","sticky":"bottom-sheet__sticky_1ykmx","highlighted":"bottom-sheet__highlighted_1ykmx"};
12
+ var styles = {"footer":"bottom-sheet__footer_4de7j","sticky":"bottom-sheet__sticky_4de7j","highlighted":"bottom-sheet__highlighted_4de7j"};
13
13
  require('./index.css')
14
14
 
15
15
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1c3qz */
1
+ /* hash: 1bmmm */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -20,13 +20,13 @@
20
20
  } :root {
21
21
  --bottom-sheet-footer-border-top: 1px solid var(--color-light-border-primary);
22
22
  --bottom-sheet-footer-background-color: var(--color-light-bg-primary);
23
- } .bottom-sheet__footer_1ykmx {
23
+ } .bottom-sheet__footer_4de7j {
24
24
  padding: var(--gap-m) var(--gap-m);
25
25
  background-color: var(--color-light-bg-primary);
26
- } .bottom-sheet__sticky_1ykmx {
26
+ } .bottom-sheet__sticky_4de7j {
27
27
  position: sticky;
28
28
  bottom: 0;
29
- } .bottom-sheet__highlighted_1ykmx {
29
+ } .bottom-sheet__highlighted_4de7j {
30
30
  border-top: var(--bottom-sheet-footer-border-top);
31
31
  background-color: var(--bottom-sheet-footer-background-color);
32
32
  }
@@ -4,10 +4,10 @@ require('react');
4
4
  require('classnames');
5
5
  require('@alfalab/core-components-base-modal');
6
6
  require('@alfalab/core-components-typography');
7
- var components_header_Component = require('../../component-f85861da.js');
7
+ var components_header_Component = require('../../component-ddaa0bee.js');
8
8
  require('../backer/Component.js');
9
9
  require('../closer/Component.js');
10
- require('../../tslib.es6-63fb5369.js');
10
+ require('../../tslib.es6-9e7d3289.js');
11
11
  require('react-div-100vh');
12
12
  require('react-swipeable');
13
13
  require('../footer/Component.js');
@@ -1,4 +1,4 @@
1
- /* hash: 1yot3 */
1
+ /* hash: 86q3s */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -28,37 +28,37 @@
28
28
  --bottom-sheet-title-line-height: 24px;
29
29
  --bottom-sheet-title-font-family: var(--font-family-system);
30
30
  --bottom-sheet-title-margin-vertical: var(--gap-2xs);
31
- } .bottom-sheet__headerWrapper_kcjgq {
31
+ } .bottom-sheet__headerWrapper_p6esx {
32
32
  padding: var(--gap-xs);
33
33
  padding-bottom: 0;
34
34
  background-color: var(--color-light-bg-primary);
35
35
  border-top-right-radius: var(--border-radius-xl);
36
36
  border-top-left-radius: var(--border-radius-xl);
37
37
  z-index: 1;
38
- } .bottom-sheet__header_kcjgq {
38
+ } .bottom-sheet__header_p6esx {
39
39
  display: flex;
40
- } .bottom-sheet__sticky_kcjgq {
40
+ } .bottom-sheet__sticky_p6esx {
41
41
  position: sticky;
42
42
  top: 0;
43
- } .bottom-sheet__highlighted_kcjgq {
43
+ } .bottom-sheet__highlighted_p6esx {
44
44
  border-bottom: var(--bottom-sheet-header-border-bottom);
45
- } .bottom-sheet__justifyEnd_kcjgq {
45
+ } .bottom-sheet__justifyEnd_p6esx {
46
46
  justify-content: flex-end;
47
- } .bottom-sheet__addon_kcjgq {
47
+ } .bottom-sheet__addon_p6esx {
48
48
  display: flex;
49
49
  justify-content: center;
50
50
  align-items: center;
51
51
  min-width: 48px;
52
52
  height: 48px;
53
- } .bottom-sheet__addonFixed_kcjgq {
53
+ } .bottom-sheet__addonFixed_p6esx {
54
54
  position: fixed;
55
- } .bottom-sheet__addonLeft_kcjgq {
55
+ } .bottom-sheet__addonLeft_p6esx {
56
56
  left: 0;
57
57
  margin-left: var(--gap-xs);
58
- } .bottom-sheet__addonRight_kcjgq {
58
+ } .bottom-sheet__addonRight_p6esx {
59
59
  right: 0;
60
60
  margin-right: var(--gap-xs);
61
- } .bottom-sheet__title_kcjgq {
61
+ } .bottom-sheet__title_p6esx {
62
62
  padding: var(--gap-xs) var(--gap-xs);
63
63
  margin: var(--bottom-sheet-title-margin-vertical) 0;
64
64
  width: 100%;
@@ -66,18 +66,18 @@
66
66
  font-weight: var(--bottom-sheet-title-font-weight);
67
67
  line-height: var(--bottom-sheet-title-line-height);
68
68
  font-family: var(--bottom-sheet-title-font-family);
69
- } .bottom-sheet__titleCenter_kcjgq {
69
+ } .bottom-sheet__titleCenter_p6esx {
70
70
  text-align: center;
71
- } .bottom-sheet__titleLeft_kcjgq {
71
+ } .bottom-sheet__titleLeft_p6esx {
72
72
  text-align: left;
73
- } .bottom-sheet__trimTitle_kcjgq {
73
+ } .bottom-sheet__trimTitle_p6esx {
74
74
  white-space: nowrap;
75
75
  overflow: hidden;
76
76
  text-overflow: ellipsis;
77
- } .bottom-sheet__titleBigIndentHorizontal_kcjgq {
77
+ } .bottom-sheet__titleBigIndentHorizontal_p6esx {
78
78
  margin: var(--bottom-sheet-title-margin-vertical) var(--gap-4xl);
79
- } .bottom-sheet__titleIndentRight_kcjgq {
79
+ } .bottom-sheet__titleIndentRight_p6esx {
80
80
  margin-right: var(--gap-4xl);
81
- } .bottom-sheet__titleIndentLeft_kcjgq {
81
+ } .bottom-sheet__titleIndentLeft_p6esx {
82
82
  margin-left: var(--gap-4xl);
83
83
  }
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../../tslib.es6-63fb5369.js');
3
+ var tslib_es6 = require('../../tslib.es6-9e7d3289.js');
4
4
  var React = require('react');
5
5
  var coreComponentsBackdrop = require('@alfalab/core-components-backdrop');
6
6
 
@@ -1,4 +1,4 @@
1
- import { _ as __assign } from './tslib.es6-54cc9a3d.js';
1
+ import { _ as __assign } from './tslib.es6-8f5b3db5.js';
2
2
  import React, { useContext, useEffect, forwardRef, useState, useRef, useCallback } from 'react';
3
3
  import { use100vh } from 'react-div-100vh';
4
4
  import { useSwipeable } from 'react-swipeable';
@@ -15,7 +15,7 @@ var getDataTestId = function (dataTestId, element) {
15
15
  return dataTestId ? "".concat(dataTestId).concat(elementPart) : undefined;
16
16
  };
17
17
 
18
- var styles$1 = {"headerWrapper":"bottom-sheet__headerWrapper_kcjgq","header":"bottom-sheet__header_kcjgq","sticky":"bottom-sheet__sticky_kcjgq","highlighted":"bottom-sheet__highlighted_kcjgq","justifyEnd":"bottom-sheet__justifyEnd_kcjgq","addon":"bottom-sheet__addon_kcjgq","addonFixed":"bottom-sheet__addonFixed_kcjgq","addonLeft":"bottom-sheet__addonLeft_kcjgq","addonRight":"bottom-sheet__addonRight_kcjgq","title":"bottom-sheet__title_kcjgq","titleCenter":"bottom-sheet__titleCenter_kcjgq","titleLeft":"bottom-sheet__titleLeft_kcjgq","trimTitle":"bottom-sheet__trimTitle_kcjgq","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_kcjgq","titleIndentRight":"bottom-sheet__titleIndentRight_kcjgq","titleIndentLeft":"bottom-sheet__titleIndentLeft_kcjgq"};
18
+ var styles$1 = {"headerWrapper":"bottom-sheet__headerWrapper_p6esx","header":"bottom-sheet__header_p6esx","sticky":"bottom-sheet__sticky_p6esx","highlighted":"bottom-sheet__highlighted_p6esx","justifyEnd":"bottom-sheet__justifyEnd_p6esx","addon":"bottom-sheet__addon_p6esx","addonFixed":"bottom-sheet__addonFixed_p6esx","addonLeft":"bottom-sheet__addonLeft_p6esx","addonRight":"bottom-sheet__addonRight_p6esx","title":"bottom-sheet__title_p6esx","titleCenter":"bottom-sheet__titleCenter_p6esx","titleLeft":"bottom-sheet__titleLeft_p6esx","trimTitle":"bottom-sheet__trimTitle_p6esx","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_p6esx","titleIndentRight":"bottom-sheet__titleIndentRight_p6esx","titleIndentLeft":"bottom-sheet__titleIndentLeft_p6esx"};
19
19
  require('./components/header/index.css')
20
20
 
21
21
  var Header = function (_a) {
@@ -65,7 +65,7 @@ var Header = function (_a) {
65
65
  bottomAddons));
66
66
  };
67
67
 
68
- var styles = {"modal":"bottom-sheet__modal_ex71y","component":"bottom-sheet__component_ex71y","withTransition":"bottom-sheet__withTransition_ex71y","scrollableContainer":"bottom-sheet__scrollableContainer_ex71y","marker":"bottom-sheet__marker_ex71y","content":"bottom-sheet__content_ex71y","noHeader":"bottom-sheet__noHeader_ex71y","noFooter":"bottom-sheet__noFooter_ex71y","scrollLocked":"bottom-sheet__scrollLocked_ex71y","appear":"bottom-sheet__appear_ex71y","enter":"bottom-sheet__enter_ex71y","appearActive":"bottom-sheet__appearActive_ex71y","enterActive":"bottom-sheet__enterActive_ex71y","enterDone":"bottom-sheet__enterDone_ex71y","appearDone":"bottom-sheet__appearDone_ex71y","exit":"bottom-sheet__exit_ex71y","exitActive":"bottom-sheet__exitActive_ex71y"};
68
+ var styles = {"modal":"bottom-sheet__modal_dmjst","component":"bottom-sheet__component_dmjst","withTransition":"bottom-sheet__withTransition_dmjst","scrollableContainer":"bottom-sheet__scrollableContainer_dmjst","marker":"bottom-sheet__marker_dmjst","content":"bottom-sheet__content_dmjst","noHeader":"bottom-sheet__noHeader_dmjst","noFooter":"bottom-sheet__noFooter_dmjst","scrollLocked":"bottom-sheet__scrollLocked_dmjst","appear":"bottom-sheet__appear_dmjst","enter":"bottom-sheet__enter_dmjst","appearActive":"bottom-sheet__appearActive_dmjst","enterActive":"bottom-sheet__enterActive_dmjst","enterDone":"bottom-sheet__enterDone_dmjst","appearDone":"bottom-sheet__appearDone_dmjst","exit":"bottom-sheet__exit_dmjst","exitActive":"bottom-sheet__exitActive_dmjst"};
69
69
  require('./index.css')
70
70
 
71
71
  var TIMEOUT = 300;
package/esm/component.js CHANGED
@@ -1,10 +1,10 @@
1
- import './tslib.es6-54cc9a3d.js';
1
+ import './tslib.es6-8f5b3db5.js';
2
2
  import 'react';
3
3
  import 'react-div-100vh';
4
4
  import 'react-swipeable';
5
5
  import 'classnames';
6
6
  import '@alfalab/core-components-base-modal/esm';
7
- export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-62847823.js';
7
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-bf0b04aa.js';
8
8
  import './components/footer/Component.js';
9
9
  import './components/swipeable-backdrop/Component.js';
10
10
  import '@alfalab/core-components-typography/esm';
@@ -1,10 +1,10 @@
1
- import { a as __rest, _ as __assign } from '../../tslib.es6-54cc9a3d.js';
1
+ import { a as __rest, _ as __assign } from '../../tslib.es6-8f5b3db5.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import { IconButton } from '@alfalab/core-components-icon-button/esm';
5
5
  import { ArrowBackMIcon } from '@alfalab/icons-glyph/ArrowBackMIcon';
6
6
 
7
- var styles = {"backer":"bottom-sheet__backer_1nbdj","button":"bottom-sheet__button_1nbdj"};
7
+ var styles = {"backer":"bottom-sheet__backer_1ihi7","button":"bottom-sheet__button_1ihi7"};
8
8
  require('./index.css')
9
9
 
10
10
  var Backer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: eg7zl */
1
+ /* hash: 15p3d */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-primary: #0b1f35;
@@ -18,7 +18,7 @@
18
18
  } :root {
19
19
  } :root {
20
20
  --bottom-sheet-backer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
21
- } .bottom-sheet__backer_1nbdj {
21
+ } .bottom-sheet__backer_1ihi7 {
22
22
  width: 32px;
23
23
  height: 32px;
24
24
  display: flex;
@@ -26,7 +26,7 @@
26
26
  align-items: center;
27
27
  cursor: pointer;
28
28
  color: var(--color-light-graphic-primary);
29
- } .bottom-sheet__button_1nbdj {
29
+ } .bottom-sheet__button_1ihi7 {
30
30
  background: var(--bottom-sheet-backer-bg-color);
31
31
  -webkit-backdrop-filter: blur(10px);
32
32
  backdrop-filter: blur(10px);
@@ -1,11 +1,11 @@
1
- import { a as __rest, _ as __assign } from '../../tslib.es6-54cc9a3d.js';
1
+ import { a as __rest, _ as __assign } from '../../tslib.es6-8f5b3db5.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/esm';
5
5
  import { IconButton } from '@alfalab/core-components-icon-button/esm';
6
6
  import { CrossMIcon } from '@alfalab/icons-glyph/CrossMIcon';
7
7
 
8
- var styles = {"closer":"bottom-sheet__closer_g3uz3","button":"bottom-sheet__button_g3uz3"};
8
+ var styles = {"closer":"bottom-sheet__closer_et7py","button":"bottom-sheet__button_et7py"};
9
9
  require('./index.css')
10
10
 
11
11
  var Closer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: ia0kw */
1
+ /* hash: 1urxi */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-primary: #0b1f35;
@@ -18,7 +18,7 @@
18
18
  } :root {
19
19
  } :root {
20
20
  --bottom-sheet-closer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
21
- } .bottom-sheet__closer_g3uz3 {
21
+ } .bottom-sheet__closer_et7py {
22
22
  width: 32px;
23
23
  height: 32px;
24
24
  display: flex;
@@ -26,7 +26,7 @@
26
26
  align-items: center;
27
27
  cursor: pointer;
28
28
  color: var(--color-light-graphic-primary);
29
- } .bottom-sheet__button_g3uz3 {
29
+ } .bottom-sheet__button_et7py {
30
30
  background: var(--bottom-sheet-closer-bg-color);
31
31
  -webkit-backdrop-filter: blur(10px);
32
32
  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/esm';
4
4
 
5
- var styles = {"footer":"bottom-sheet__footer_1ykmx","sticky":"bottom-sheet__sticky_1ykmx","highlighted":"bottom-sheet__highlighted_1ykmx"};
5
+ var styles = {"footer":"bottom-sheet__footer_4de7j","sticky":"bottom-sheet__sticky_4de7j","highlighted":"bottom-sheet__highlighted_4de7j"};
6
6
  require('./index.css')
7
7
 
8
8
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1c3qz */
1
+ /* hash: 1bmmm */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -20,13 +20,13 @@
20
20
  } :root {
21
21
  --bottom-sheet-footer-border-top: 1px solid var(--color-light-border-primary);
22
22
  --bottom-sheet-footer-background-color: var(--color-light-bg-primary);
23
- } .bottom-sheet__footer_1ykmx {
23
+ } .bottom-sheet__footer_4de7j {
24
24
  padding: var(--gap-m) var(--gap-m);
25
25
  background-color: var(--color-light-bg-primary);
26
- } .bottom-sheet__sticky_1ykmx {
26
+ } .bottom-sheet__sticky_4de7j {
27
27
  position: sticky;
28
28
  bottom: 0;
29
- } .bottom-sheet__highlighted_1ykmx {
29
+ } .bottom-sheet__highlighted_4de7j {
30
30
  border-top: var(--bottom-sheet-footer-border-top);
31
31
  background-color: var(--bottom-sheet-footer-background-color);
32
32
  }
@@ -2,10 +2,10 @@ import 'react';
2
2
  import 'classnames';
3
3
  import '@alfalab/core-components-base-modal/esm';
4
4
  import '@alfalab/core-components-typography/esm';
5
- export { a as Header } from '../../component-62847823.js';
5
+ export { a as Header } from '../../component-bf0b04aa.js';
6
6
  import '../backer/Component.js';
7
7
  import '../closer/Component.js';
8
- import '../../tslib.es6-54cc9a3d.js';
8
+ import '../../tslib.es6-8f5b3db5.js';
9
9
  import 'react-div-100vh';
10
10
  import 'react-swipeable';
11
11
  import '../footer/Component.js';
@@ -1,4 +1,4 @@
1
- /* hash: 1yot3 */
1
+ /* hash: 86q3s */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -28,37 +28,37 @@
28
28
  --bottom-sheet-title-line-height: 24px;
29
29
  --bottom-sheet-title-font-family: var(--font-family-system);
30
30
  --bottom-sheet-title-margin-vertical: var(--gap-2xs);
31
- } .bottom-sheet__headerWrapper_kcjgq {
31
+ } .bottom-sheet__headerWrapper_p6esx {
32
32
  padding: var(--gap-xs);
33
33
  padding-bottom: 0;
34
34
  background-color: var(--color-light-bg-primary);
35
35
  border-top-right-radius: var(--border-radius-xl);
36
36
  border-top-left-radius: var(--border-radius-xl);
37
37
  z-index: 1;
38
- } .bottom-sheet__header_kcjgq {
38
+ } .bottom-sheet__header_p6esx {
39
39
  display: flex;
40
- } .bottom-sheet__sticky_kcjgq {
40
+ } .bottom-sheet__sticky_p6esx {
41
41
  position: sticky;
42
42
  top: 0;
43
- } .bottom-sheet__highlighted_kcjgq {
43
+ } .bottom-sheet__highlighted_p6esx {
44
44
  border-bottom: var(--bottom-sheet-header-border-bottom);
45
- } .bottom-sheet__justifyEnd_kcjgq {
45
+ } .bottom-sheet__justifyEnd_p6esx {
46
46
  justify-content: flex-end;
47
- } .bottom-sheet__addon_kcjgq {
47
+ } .bottom-sheet__addon_p6esx {
48
48
  display: flex;
49
49
  justify-content: center;
50
50
  align-items: center;
51
51
  min-width: 48px;
52
52
  height: 48px;
53
- } .bottom-sheet__addonFixed_kcjgq {
53
+ } .bottom-sheet__addonFixed_p6esx {
54
54
  position: fixed;
55
- } .bottom-sheet__addonLeft_kcjgq {
55
+ } .bottom-sheet__addonLeft_p6esx {
56
56
  left: 0;
57
57
  margin-left: var(--gap-xs);
58
- } .bottom-sheet__addonRight_kcjgq {
58
+ } .bottom-sheet__addonRight_p6esx {
59
59
  right: 0;
60
60
  margin-right: var(--gap-xs);
61
- } .bottom-sheet__title_kcjgq {
61
+ } .bottom-sheet__title_p6esx {
62
62
  padding: var(--gap-xs) var(--gap-xs);
63
63
  margin: var(--bottom-sheet-title-margin-vertical) 0;
64
64
  width: 100%;
@@ -66,18 +66,18 @@
66
66
  font-weight: var(--bottom-sheet-title-font-weight);
67
67
  line-height: var(--bottom-sheet-title-line-height);
68
68
  font-family: var(--bottom-sheet-title-font-family);
69
- } .bottom-sheet__titleCenter_kcjgq {
69
+ } .bottom-sheet__titleCenter_p6esx {
70
70
  text-align: center;
71
- } .bottom-sheet__titleLeft_kcjgq {
71
+ } .bottom-sheet__titleLeft_p6esx {
72
72
  text-align: left;
73
- } .bottom-sheet__trimTitle_kcjgq {
73
+ } .bottom-sheet__trimTitle_p6esx {
74
74
  white-space: nowrap;
75
75
  overflow: hidden;
76
76
  text-overflow: ellipsis;
77
- } .bottom-sheet__titleBigIndentHorizontal_kcjgq {
77
+ } .bottom-sheet__titleBigIndentHorizontal_p6esx {
78
78
  margin: var(--bottom-sheet-title-margin-vertical) var(--gap-4xl);
79
- } .bottom-sheet__titleIndentRight_kcjgq {
79
+ } .bottom-sheet__titleIndentRight_p6esx {
80
80
  margin-right: var(--gap-4xl);
81
- } .bottom-sheet__titleIndentLeft_kcjgq {
81
+ } .bottom-sheet__titleIndentLeft_p6esx {
82
82
  margin-left: var(--gap-4xl);
83
83
  }
@@ -1,4 +1,4 @@
1
- import { a as __rest, _ as __assign } from '../../tslib.es6-54cc9a3d.js';
1
+ import { a as __rest, _ as __assign } from '../../tslib.es6-8f5b3db5.js';
2
2
  import React from 'react';
3
3
  import { Backdrop } from '@alfalab/core-components-backdrop/esm';
4
4
 
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1syp5 */
1
+ /* hash: f76x5 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -25,13 +25,13 @@
25
25
  } :root {
26
26
  --bottom-sheet-in-transition: 0.5s cubic-bezier(0.09, 0.91, 0.18, 0.99);
27
27
  --bottom-sheet-out-transition: 0.3s ease;
28
- } .bottom-sheet__modal_ex71y {
28
+ } .bottom-sheet__modal_dmjst {
29
29
  background-color: transparent;
30
30
  position: fixed;
31
31
  bottom: 0;
32
32
  width: 100%;
33
33
  max-width: 600px;
34
- } .bottom-sheet__component_ex71y {
34
+ } .bottom-sheet__component_dmjst {
35
35
  overflow: hidden;
36
36
  position: relative;
37
37
  display: flex;
@@ -40,15 +40,15 @@
40
40
  border-top-left-radius: var(--border-radius-3xl);
41
41
  background: var(--color-light-bg-primary);
42
42
  transform: translateY(100%);
43
- } .bottom-sheet__withTransition_ex71y {
43
+ } .bottom-sheet__withTransition_dmjst {
44
44
  transition: var(--bottom-sheet-out-transition);
45
- } .bottom-sheet__scrollableContainer_ex71y {
45
+ } .bottom-sheet__scrollableContainer_dmjst {
46
46
  overflow: auto;
47
47
  display: flex;
48
48
  flex-direction: column;
49
49
  position: relative;
50
50
  height: 100%;
51
- } .bottom-sheet__marker_ex71y {
51
+ } .bottom-sheet__marker_dmjst {
52
52
  position: fixed;
53
53
  top: var(--gap-2xs);
54
54
  left: 50%;
@@ -58,29 +58,29 @@
58
58
  transform: translateX(-50%);
59
59
  background-color: var(--color-light-graphic-quaternary);
60
60
  z-index: 1000;
61
- } .bottom-sheet__content_ex71y {
61
+ } .bottom-sheet__content_dmjst {
62
62
  display: flex;
63
63
  flex-direction: column;
64
64
  flex: 1;
65
65
  padding: 0 var(--gap-m);
66
66
  color: var(--color-light-text-primary);
67
67
  background-color: var(--color-light-bg-primary);
68
- } .bottom-sheet__noHeader_ex71y {
68
+ } .bottom-sheet__noHeader_dmjst {
69
69
  padding-top: var(--gap-xl);
70
- } .bottom-sheet__noFooter_ex71y {
70
+ } .bottom-sheet__noFooter_dmjst {
71
71
  padding-bottom: var(--gap-m);
72
- } .bottom-sheet__scrollLocked_ex71y {
72
+ } .bottom-sheet__scrollLocked_dmjst {
73
73
  overflow: hidden;
74
- } .bottom-sheet__appear_ex71y .bottom-sheet__component_ex71y, .bottom-sheet__enter_ex71y .bottom-sheet__component_ex71y {
74
+ } .bottom-sheet__appear_dmjst .bottom-sheet__component_dmjst, .bottom-sheet__enter_dmjst .bottom-sheet__component_dmjst {
75
75
  transition: none;
76
- } .bottom-sheet__appearActive_ex71y .bottom-sheet__component_ex71y, .bottom-sheet__enterActive_ex71y .bottom-sheet__component_ex71y {
76
+ } .bottom-sheet__appearActive_dmjst .bottom-sheet__component_dmjst, .bottom-sheet__enterActive_dmjst .bottom-sheet__component_dmjst {
77
77
  transition: var(--bottom-sheet-in-transition);
78
78
  transform: translateY(0);
79
- } .bottom-sheet__enterDone_ex71y .bottom-sheet__component_ex71y, .bottom-sheet__appearDone_ex71y .bottom-sheet__component_ex71y {
79
+ } .bottom-sheet__enterDone_dmjst .bottom-sheet__component_dmjst, .bottom-sheet__appearDone_dmjst .bottom-sheet__component_dmjst {
80
80
  transform: translateY(0);
81
- } .bottom-sheet__exit_ex71y .bottom-sheet__component_ex71y {
81
+ } .bottom-sheet__exit_dmjst .bottom-sheet__component_dmjst {
82
82
  transform: translateY(0);
83
- } .bottom-sheet__exitActive_ex71y .bottom-sheet__component_ex71y {
83
+ } .bottom-sheet__exitActive_dmjst .bottom-sheet__component_dmjst {
84
84
  transition: var(--bottom-sheet-out-transition);
85
85
  transform: translateY(100%);
86
86
  }
package/esm/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./component-62847823";
1
+ export * from "./component-bf0b04aa";
package/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-62847823.js';
2
- import './tslib.es6-54cc9a3d.js';
1
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-bf0b04aa.js';
2
+ import './tslib.es6-8f5b3db5.js';
3
3
  import 'react';
4
4
  import 'react-div-100vh';
5
5
  import 'react-swipeable';
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1syp5 */
1
+ /* hash: f76x5 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -25,13 +25,13 @@
25
25
  } :root {
26
26
  --bottom-sheet-in-transition: 0.5s cubic-bezier(0.09, 0.91, 0.18, 0.99);
27
27
  --bottom-sheet-out-transition: 0.3s ease;
28
- } .bottom-sheet__modal_ex71y {
28
+ } .bottom-sheet__modal_dmjst {
29
29
  background-color: transparent;
30
30
  position: fixed;
31
31
  bottom: 0;
32
32
  width: 100%;
33
33
  max-width: 600px;
34
- } .bottom-sheet__component_ex71y {
34
+ } .bottom-sheet__component_dmjst {
35
35
  overflow: hidden;
36
36
  position: relative;
37
37
  display: flex;
@@ -40,15 +40,15 @@
40
40
  border-top-left-radius: var(--border-radius-3xl);
41
41
  background: var(--color-light-bg-primary);
42
42
  transform: translateY(100%);
43
- } .bottom-sheet__withTransition_ex71y {
43
+ } .bottom-sheet__withTransition_dmjst {
44
44
  transition: var(--bottom-sheet-out-transition);
45
- } .bottom-sheet__scrollableContainer_ex71y {
45
+ } .bottom-sheet__scrollableContainer_dmjst {
46
46
  overflow: auto;
47
47
  display: flex;
48
48
  flex-direction: column;
49
49
  position: relative;
50
50
  height: 100%;
51
- } .bottom-sheet__marker_ex71y {
51
+ } .bottom-sheet__marker_dmjst {
52
52
  position: fixed;
53
53
  top: var(--gap-2xs);
54
54
  left: 50%;
@@ -58,29 +58,29 @@
58
58
  transform: translateX(-50%);
59
59
  background-color: var(--color-light-graphic-quaternary);
60
60
  z-index: 1000;
61
- } .bottom-sheet__content_ex71y {
61
+ } .bottom-sheet__content_dmjst {
62
62
  display: flex;
63
63
  flex-direction: column;
64
64
  flex: 1;
65
65
  padding: 0 var(--gap-m);
66
66
  color: var(--color-light-text-primary);
67
67
  background-color: var(--color-light-bg-primary);
68
- } .bottom-sheet__noHeader_ex71y {
68
+ } .bottom-sheet__noHeader_dmjst {
69
69
  padding-top: var(--gap-xl);
70
- } .bottom-sheet__noFooter_ex71y {
70
+ } .bottom-sheet__noFooter_dmjst {
71
71
  padding-bottom: var(--gap-m);
72
- } .bottom-sheet__scrollLocked_ex71y {
72
+ } .bottom-sheet__scrollLocked_dmjst {
73
73
  overflow: hidden;
74
- } .bottom-sheet__appear_ex71y .bottom-sheet__component_ex71y, .bottom-sheet__enter_ex71y .bottom-sheet__component_ex71y {
74
+ } .bottom-sheet__appear_dmjst .bottom-sheet__component_dmjst, .bottom-sheet__enter_dmjst .bottom-sheet__component_dmjst {
75
75
  transition: none;
76
- } .bottom-sheet__appearActive_ex71y .bottom-sheet__component_ex71y, .bottom-sheet__enterActive_ex71y .bottom-sheet__component_ex71y {
76
+ } .bottom-sheet__appearActive_dmjst .bottom-sheet__component_dmjst, .bottom-sheet__enterActive_dmjst .bottom-sheet__component_dmjst {
77
77
  transition: var(--bottom-sheet-in-transition);
78
78
  transform: translateY(0);
79
- } .bottom-sheet__enterDone_ex71y .bottom-sheet__component_ex71y, .bottom-sheet__appearDone_ex71y .bottom-sheet__component_ex71y {
79
+ } .bottom-sheet__enterDone_dmjst .bottom-sheet__component_dmjst, .bottom-sheet__appearDone_dmjst .bottom-sheet__component_dmjst {
80
80
  transform: translateY(0);
81
- } .bottom-sheet__exit_ex71y .bottom-sheet__component_ex71y {
81
+ } .bottom-sheet__exit_dmjst .bottom-sheet__component_dmjst {
82
82
  transform: translateY(0);
83
- } .bottom-sheet__exitActive_ex71y .bottom-sheet__component_ex71y {
83
+ } .bottom-sheet__exitActive_dmjst .bottom-sheet__component_dmjst {
84
84
  transition: var(--bottom-sheet-out-transition);
85
85
  transform: translateY(100%);
86
86
  }
package/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./component-f85861da";
1
+ export * from "./component-ddaa0bee";
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var components_header_Component = require('./component-f85861da.js');
4
- require('./tslib.es6-63fb5369.js');
3
+ var components_header_Component = require('./component-ddaa0bee.js');
4
+ require('./tslib.es6-9e7d3289.js');
5
5
  require('react');
6
6
  require('react-div-100vh');
7
7
  require('react-swipeable');
@@ -14,7 +14,7 @@ const getDataTestId = (dataTestId, element) => {
14
14
  return dataTestId ? `${dataTestId}${elementPart}` : undefined;
15
15
  };
16
16
 
17
- const styles$1 = {"headerWrapper":"bottom-sheet__headerWrapper_kcjgq","header":"bottom-sheet__header_kcjgq","sticky":"bottom-sheet__sticky_kcjgq","highlighted":"bottom-sheet__highlighted_kcjgq","justifyEnd":"bottom-sheet__justifyEnd_kcjgq","addon":"bottom-sheet__addon_kcjgq","addonFixed":"bottom-sheet__addonFixed_kcjgq","addonLeft":"bottom-sheet__addonLeft_kcjgq","addonRight":"bottom-sheet__addonRight_kcjgq","title":"bottom-sheet__title_kcjgq","titleCenter":"bottom-sheet__titleCenter_kcjgq","titleLeft":"bottom-sheet__titleLeft_kcjgq","trimTitle":"bottom-sheet__trimTitle_kcjgq","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_kcjgq","titleIndentRight":"bottom-sheet__titleIndentRight_kcjgq","titleIndentLeft":"bottom-sheet__titleIndentLeft_kcjgq"};
17
+ const styles$1 = {"headerWrapper":"bottom-sheet__headerWrapper_p6esx","header":"bottom-sheet__header_p6esx","sticky":"bottom-sheet__sticky_p6esx","highlighted":"bottom-sheet__highlighted_p6esx","justifyEnd":"bottom-sheet__justifyEnd_p6esx","addon":"bottom-sheet__addon_p6esx","addonFixed":"bottom-sheet__addonFixed_p6esx","addonLeft":"bottom-sheet__addonLeft_p6esx","addonRight":"bottom-sheet__addonRight_p6esx","title":"bottom-sheet__title_p6esx","titleCenter":"bottom-sheet__titleCenter_p6esx","titleLeft":"bottom-sheet__titleLeft_p6esx","trimTitle":"bottom-sheet__trimTitle_p6esx","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_p6esx","titleIndentRight":"bottom-sheet__titleIndentRight_p6esx","titleIndentLeft":"bottom-sheet__titleIndentLeft_p6esx"};
18
18
  require('./components/header/index.css')
19
19
 
20
20
  const Header = ({ title, headerClassName, addonClassName, closerClassName, backerClassName, leftAddons, rightAddons, bottomAddons, hasCloser, hasBacker, titleAlign, trimTitle, sticky, dataTestId, onBack, }) => {
@@ -61,7 +61,7 @@ const Header = ({ title, headerClassName, addonClassName, closerClassName, backe
61
61
  bottomAddons));
62
62
  };
63
63
 
64
- const styles = {"modal":"bottom-sheet__modal_ex71y","component":"bottom-sheet__component_ex71y","withTransition":"bottom-sheet__withTransition_ex71y","scrollableContainer":"bottom-sheet__scrollableContainer_ex71y","marker":"bottom-sheet__marker_ex71y","content":"bottom-sheet__content_ex71y","noHeader":"bottom-sheet__noHeader_ex71y","noFooter":"bottom-sheet__noFooter_ex71y","scrollLocked":"bottom-sheet__scrollLocked_ex71y","appear":"bottom-sheet__appear_ex71y","enter":"bottom-sheet__enter_ex71y","appearActive":"bottom-sheet__appearActive_ex71y","enterActive":"bottom-sheet__enterActive_ex71y","enterDone":"bottom-sheet__enterDone_ex71y","appearDone":"bottom-sheet__appearDone_ex71y","exit":"bottom-sheet__exit_ex71y","exitActive":"bottom-sheet__exitActive_ex71y"};
64
+ const styles = {"modal":"bottom-sheet__modal_dmjst","component":"bottom-sheet__component_dmjst","withTransition":"bottom-sheet__withTransition_dmjst","scrollableContainer":"bottom-sheet__scrollableContainer_dmjst","marker":"bottom-sheet__marker_dmjst","content":"bottom-sheet__content_dmjst","noHeader":"bottom-sheet__noHeader_dmjst","noFooter":"bottom-sheet__noFooter_dmjst","scrollLocked":"bottom-sheet__scrollLocked_dmjst","appear":"bottom-sheet__appear_dmjst","enter":"bottom-sheet__enter_dmjst","appearActive":"bottom-sheet__appearActive_dmjst","enterActive":"bottom-sheet__enterActive_dmjst","enterDone":"bottom-sheet__enterDone_dmjst","appearDone":"bottom-sheet__appearDone_dmjst","exit":"bottom-sheet__exit_dmjst","exitActive":"bottom-sheet__exitActive_dmjst"};
65
65
  require('./index.css')
66
66
 
67
67
  const TIMEOUT = 300;
@@ -3,7 +3,7 @@ import 'react-div-100vh';
3
3
  import 'react-swipeable';
4
4
  import 'classnames';
5
5
  import '@alfalab/core-components-base-modal/modern';
6
- export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-d0103215.js';
6
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-d4450eb4.js';
7
7
  import './components/footer/Component.js';
8
8
  import './components/swipeable-backdrop/Component.js';
9
9
  import '@alfalab/core-components-typography/modern';
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import { IconButton } from '@alfalab/core-components-icon-button/modern';
4
4
  import { ArrowBackMIcon } from '@alfalab/icons-glyph/ArrowBackMIcon';
5
5
 
6
- const styles = {"backer":"bottom-sheet__backer_1nbdj","button":"bottom-sheet__button_1nbdj"};
6
+ const styles = {"backer":"bottom-sheet__backer_1ihi7","button":"bottom-sheet__button_1ihi7"};
7
7
  require('./index.css')
8
8
 
9
9
  const Backer = ({ className, size = 'xs', icon = ArrowBackMIcon, dataTestId, onClick, ...restProps }) => (React.createElement("div", { className: cn(styles.backer, className) },
@@ -1,4 +1,4 @@
1
- /* hash: eg7zl */
1
+ /* hash: 15p3d */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-primary: #0b1f35;
@@ -18,7 +18,7 @@
18
18
  } :root {
19
19
  } :root {
20
20
  --bottom-sheet-backer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
21
- } .bottom-sheet__backer_1nbdj {
21
+ } .bottom-sheet__backer_1ihi7 {
22
22
  width: 32px;
23
23
  height: 32px;
24
24
  display: flex;
@@ -26,7 +26,7 @@
26
26
  align-items: center;
27
27
  cursor: pointer;
28
28
  color: var(--color-light-graphic-primary);
29
- } .bottom-sheet__button_1nbdj {
29
+ } .bottom-sheet__button_1ihi7 {
30
30
  background: var(--bottom-sheet-backer-bg-color);
31
31
  -webkit-backdrop-filter: blur(10px);
32
32
  backdrop-filter: blur(10px);
@@ -4,7 +4,7 @@ import { BaseModalContext } from '@alfalab/core-components-base-modal/modern';
4
4
  import { IconButton } from '@alfalab/core-components-icon-button/modern';
5
5
  import { CrossMIcon } from '@alfalab/icons-glyph/CrossMIcon';
6
6
 
7
- const styles = {"closer":"bottom-sheet__closer_g3uz3","button":"bottom-sheet__button_g3uz3"};
7
+ const styles = {"closer":"bottom-sheet__closer_et7py","button":"bottom-sheet__button_et7py"};
8
8
  require('./index.css')
9
9
 
10
10
  const Closer = ({ className, size = 'xs', icon = CrossMIcon, dataTestId, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: ia0kw */
1
+ /* hash: 1urxi */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-primary: #0b1f35;
@@ -18,7 +18,7 @@
18
18
  } :root {
19
19
  } :root {
20
20
  --bottom-sheet-closer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
21
- } .bottom-sheet__closer_g3uz3 {
21
+ } .bottom-sheet__closer_et7py {
22
22
  width: 32px;
23
23
  height: 32px;
24
24
  display: flex;
@@ -26,7 +26,7 @@
26
26
  align-items: center;
27
27
  cursor: pointer;
28
28
  color: var(--color-light-graphic-primary);
29
- } .bottom-sheet__button_g3uz3 {
29
+ } .bottom-sheet__button_et7py {
30
30
  background: var(--bottom-sheet-closer-bg-color);
31
31
  -webkit-backdrop-filter: blur(10px);
32
32
  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/modern';
4
4
 
5
- const styles = {"footer":"bottom-sheet__footer_1ykmx","sticky":"bottom-sheet__sticky_1ykmx","highlighted":"bottom-sheet__highlighted_1ykmx"};
5
+ const styles = {"footer":"bottom-sheet__footer_4de7j","sticky":"bottom-sheet__sticky_4de7j","highlighted":"bottom-sheet__highlighted_4de7j"};
6
6
  require('./index.css')
7
7
 
8
8
  const Footer = ({ children, className, sticky }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1c3qz */
1
+ /* hash: 1bmmm */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -20,13 +20,13 @@
20
20
  } :root {
21
21
  --bottom-sheet-footer-border-top: 1px solid var(--color-light-border-primary);
22
22
  --bottom-sheet-footer-background-color: var(--color-light-bg-primary);
23
- } .bottom-sheet__footer_1ykmx {
23
+ } .bottom-sheet__footer_4de7j {
24
24
  padding: var(--gap-m) var(--gap-m);
25
25
  background-color: var(--color-light-bg-primary);
26
- } .bottom-sheet__sticky_1ykmx {
26
+ } .bottom-sheet__sticky_4de7j {
27
27
  position: sticky;
28
28
  bottom: 0;
29
- } .bottom-sheet__highlighted_1ykmx {
29
+ } .bottom-sheet__highlighted_4de7j {
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 @@ import 'react';
2
2
  import 'classnames';
3
3
  import '@alfalab/core-components-base-modal/modern';
4
4
  import '@alfalab/core-components-typography/modern';
5
- export { a as Header } from '../../component-d0103215.js';
5
+ export { a as Header } from '../../component-d4450eb4.js';
6
6
  import '../backer/Component.js';
7
7
  import '../closer/Component.js';
8
8
  import 'react-div-100vh';
@@ -1,4 +1,4 @@
1
- /* hash: 1yot3 */
1
+ /* hash: 86q3s */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -28,37 +28,37 @@
28
28
  --bottom-sheet-title-line-height: 24px;
29
29
  --bottom-sheet-title-font-family: var(--font-family-system);
30
30
  --bottom-sheet-title-margin-vertical: var(--gap-2xs);
31
- } .bottom-sheet__headerWrapper_kcjgq {
31
+ } .bottom-sheet__headerWrapper_p6esx {
32
32
  padding: var(--gap-xs);
33
33
  padding-bottom: 0;
34
34
  background-color: var(--color-light-bg-primary);
35
35
  border-top-right-radius: var(--border-radius-xl);
36
36
  border-top-left-radius: var(--border-radius-xl);
37
37
  z-index: 1;
38
- } .bottom-sheet__header_kcjgq {
38
+ } .bottom-sheet__header_p6esx {
39
39
  display: flex;
40
- } .bottom-sheet__sticky_kcjgq {
40
+ } .bottom-sheet__sticky_p6esx {
41
41
  position: sticky;
42
42
  top: 0;
43
- } .bottom-sheet__highlighted_kcjgq {
43
+ } .bottom-sheet__highlighted_p6esx {
44
44
  border-bottom: var(--bottom-sheet-header-border-bottom);
45
- } .bottom-sheet__justifyEnd_kcjgq {
45
+ } .bottom-sheet__justifyEnd_p6esx {
46
46
  justify-content: flex-end;
47
- } .bottom-sheet__addon_kcjgq {
47
+ } .bottom-sheet__addon_p6esx {
48
48
  display: flex;
49
49
  justify-content: center;
50
50
  align-items: center;
51
51
  min-width: 48px;
52
52
  height: 48px;
53
- } .bottom-sheet__addonFixed_kcjgq {
53
+ } .bottom-sheet__addonFixed_p6esx {
54
54
  position: fixed;
55
- } .bottom-sheet__addonLeft_kcjgq {
55
+ } .bottom-sheet__addonLeft_p6esx {
56
56
  left: 0;
57
57
  margin-left: var(--gap-xs);
58
- } .bottom-sheet__addonRight_kcjgq {
58
+ } .bottom-sheet__addonRight_p6esx {
59
59
  right: 0;
60
60
  margin-right: var(--gap-xs);
61
- } .bottom-sheet__title_kcjgq {
61
+ } .bottom-sheet__title_p6esx {
62
62
  padding: var(--gap-xs) var(--gap-xs);
63
63
  margin: var(--bottom-sheet-title-margin-vertical) 0;
64
64
  width: 100%;
@@ -66,18 +66,18 @@
66
66
  font-weight: var(--bottom-sheet-title-font-weight);
67
67
  line-height: var(--bottom-sheet-title-line-height);
68
68
  font-family: var(--bottom-sheet-title-font-family);
69
- } .bottom-sheet__titleCenter_kcjgq {
69
+ } .bottom-sheet__titleCenter_p6esx {
70
70
  text-align: center;
71
- } .bottom-sheet__titleLeft_kcjgq {
71
+ } .bottom-sheet__titleLeft_p6esx {
72
72
  text-align: left;
73
- } .bottom-sheet__trimTitle_kcjgq {
73
+ } .bottom-sheet__trimTitle_p6esx {
74
74
  white-space: nowrap;
75
75
  overflow: hidden;
76
76
  text-overflow: ellipsis;
77
- } .bottom-sheet__titleBigIndentHorizontal_kcjgq {
77
+ } .bottom-sheet__titleBigIndentHorizontal_p6esx {
78
78
  margin: var(--bottom-sheet-title-margin-vertical) var(--gap-4xl);
79
- } .bottom-sheet__titleIndentRight_kcjgq {
79
+ } .bottom-sheet__titleIndentRight_p6esx {
80
80
  margin-right: var(--gap-4xl);
81
- } .bottom-sheet__titleIndentLeft_kcjgq {
81
+ } .bottom-sheet__titleIndentLeft_p6esx {
82
82
  margin-left: var(--gap-4xl);
83
83
  }
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1syp5 */
1
+ /* hash: f76x5 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -25,13 +25,13 @@
25
25
  } :root {
26
26
  --bottom-sheet-in-transition: 0.5s cubic-bezier(0.09, 0.91, 0.18, 0.99);
27
27
  --bottom-sheet-out-transition: 0.3s ease;
28
- } .bottom-sheet__modal_ex71y {
28
+ } .bottom-sheet__modal_dmjst {
29
29
  background-color: transparent;
30
30
  position: fixed;
31
31
  bottom: 0;
32
32
  width: 100%;
33
33
  max-width: 600px;
34
- } .bottom-sheet__component_ex71y {
34
+ } .bottom-sheet__component_dmjst {
35
35
  overflow: hidden;
36
36
  position: relative;
37
37
  display: flex;
@@ -40,15 +40,15 @@
40
40
  border-top-left-radius: var(--border-radius-3xl);
41
41
  background: var(--color-light-bg-primary);
42
42
  transform: translateY(100%);
43
- } .bottom-sheet__withTransition_ex71y {
43
+ } .bottom-sheet__withTransition_dmjst {
44
44
  transition: var(--bottom-sheet-out-transition);
45
- } .bottom-sheet__scrollableContainer_ex71y {
45
+ } .bottom-sheet__scrollableContainer_dmjst {
46
46
  overflow: auto;
47
47
  display: flex;
48
48
  flex-direction: column;
49
49
  position: relative;
50
50
  height: 100%;
51
- } .bottom-sheet__marker_ex71y {
51
+ } .bottom-sheet__marker_dmjst {
52
52
  position: fixed;
53
53
  top: var(--gap-2xs);
54
54
  left: 50%;
@@ -58,29 +58,29 @@
58
58
  transform: translateX(-50%);
59
59
  background-color: var(--color-light-graphic-quaternary);
60
60
  z-index: 1000;
61
- } .bottom-sheet__content_ex71y {
61
+ } .bottom-sheet__content_dmjst {
62
62
  display: flex;
63
63
  flex-direction: column;
64
64
  flex: 1;
65
65
  padding: 0 var(--gap-m);
66
66
  color: var(--color-light-text-primary);
67
67
  background-color: var(--color-light-bg-primary);
68
- } .bottom-sheet__noHeader_ex71y {
68
+ } .bottom-sheet__noHeader_dmjst {
69
69
  padding-top: var(--gap-xl);
70
- } .bottom-sheet__noFooter_ex71y {
70
+ } .bottom-sheet__noFooter_dmjst {
71
71
  padding-bottom: var(--gap-m);
72
- } .bottom-sheet__scrollLocked_ex71y {
72
+ } .bottom-sheet__scrollLocked_dmjst {
73
73
  overflow: hidden;
74
- } .bottom-sheet__appear_ex71y .bottom-sheet__component_ex71y, .bottom-sheet__enter_ex71y .bottom-sheet__component_ex71y {
74
+ } .bottom-sheet__appear_dmjst .bottom-sheet__component_dmjst, .bottom-sheet__enter_dmjst .bottom-sheet__component_dmjst {
75
75
  transition: none;
76
- } .bottom-sheet__appearActive_ex71y .bottom-sheet__component_ex71y, .bottom-sheet__enterActive_ex71y .bottom-sheet__component_ex71y {
76
+ } .bottom-sheet__appearActive_dmjst .bottom-sheet__component_dmjst, .bottom-sheet__enterActive_dmjst .bottom-sheet__component_dmjst {
77
77
  transition: var(--bottom-sheet-in-transition);
78
78
  transform: translateY(0);
79
- } .bottom-sheet__enterDone_ex71y .bottom-sheet__component_ex71y, .bottom-sheet__appearDone_ex71y .bottom-sheet__component_ex71y {
79
+ } .bottom-sheet__enterDone_dmjst .bottom-sheet__component_dmjst, .bottom-sheet__appearDone_dmjst .bottom-sheet__component_dmjst {
80
80
  transform: translateY(0);
81
- } .bottom-sheet__exit_ex71y .bottom-sheet__component_ex71y {
81
+ } .bottom-sheet__exit_dmjst .bottom-sheet__component_dmjst {
82
82
  transform: translateY(0);
83
- } .bottom-sheet__exitActive_ex71y .bottom-sheet__component_ex71y {
83
+ } .bottom-sheet__exitActive_dmjst .bottom-sheet__component_dmjst {
84
84
  transition: var(--bottom-sheet-out-transition);
85
85
  transform: translateY(100%);
86
86
  }
package/modern/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./component-d0103215";
1
+ export * from "./component-d4450eb4";
package/modern/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-d0103215.js';
1
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-d4450eb4.js';
2
2
  import 'react';
3
3
  import 'react-div-100vh';
4
4
  import 'react-swipeable';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-bottom-sheet",
3
- "version": "5.2.0",
3
+ "version": "5.2.1",
4
4
  "description": "Bottom sheet mobile component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "@alfalab/core-components-backdrop": "^3.0.3",
22
22
  "@alfalab/core-components-base-modal": "^5.0.8",
23
- "@alfalab/core-components-icon-button": "^6.0.4",
23
+ "@alfalab/core-components-icon-button": "^6.0.5",
24
24
  "@alfalab/core-components-typography": "^3.1.0",
25
25
  "classnames": "^2.3.1",
26
26
  "react-div-100vh": "^0.7.0",