@alfalab/core-components-bottom-sheet 5.1.2 → 5.1.3

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-14b78262.d.ts → component-fc28e5ef.d.ts} +0 -0
  2. package/{component-14b78262.js → component-fc28e5ef.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-17d2f965.d.ts → component-730e0a75.d.ts} +0 -0
  14. package/esm/{component-17d2f965.js → component-730e0a75.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-8a13b0e3.d.ts → tslib.es6-52c1f77b.d.ts} +0 -0
  29. package/esm/{tslib.es6-8a13b0e3.js → tslib.es6-52c1f77b.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-7c5e56a7.d.ts → component-0ec104da.d.ts} +0 -0
  34. package/modern/{component-7c5e56a7.js → component-0ec104da.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-ff6c9c8e.d.ts → tslib.es6-215543d2.d.ts} +0 -0
  49. /package/{tslib.es6-ff6c9c8e.js → tslib.es6-215543d2.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('./tslib.es6-ff6c9c8e.js');
3
+ var tslib_es6 = require('./tslib.es6-215543d2.js');
4
4
  var React = require('react');
5
5
  var cn = require('classnames');
6
6
  var reactDiv100vh = require('react-div-100vh');
@@ -22,7 +22,7 @@ var getDataTestId = function (dataTestId, element) {
22
22
  return dataTestId ? "" + dataTestId + elementPart : undefined;
23
23
  };
24
24
 
25
- var styles = {"headerWrapper":"bottom-sheet__headerWrapper_1osag","header":"bottom-sheet__header_1osag","sticky":"bottom-sheet__sticky_1osag","highlighted":"bottom-sheet__highlighted_1osag","justifyEnd":"bottom-sheet__justifyEnd_1osag","addon":"bottom-sheet__addon_1osag","addonFixed":"bottom-sheet__addonFixed_1osag","addonLeft":"bottom-sheet__addonLeft_1osag","addonRight":"bottom-sheet__addonRight_1osag","title":"bottom-sheet__title_1osag","titleCenter":"bottom-sheet__titleCenter_1osag","titleLeft":"bottom-sheet__titleLeft_1osag","trimTitle":"bottom-sheet__trimTitle_1osag","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_1osag","titleIndentRight":"bottom-sheet__titleIndentRight_1osag","titleIndentLeft":"bottom-sheet__titleIndentLeft_1osag"};
25
+ var styles = {"headerWrapper":"bottom-sheet__headerWrapper_lx5i0","header":"bottom-sheet__header_lx5i0","sticky":"bottom-sheet__sticky_lx5i0","highlighted":"bottom-sheet__highlighted_lx5i0","justifyEnd":"bottom-sheet__justifyEnd_lx5i0","addon":"bottom-sheet__addon_lx5i0","addonFixed":"bottom-sheet__addonFixed_lx5i0","addonLeft":"bottom-sheet__addonLeft_lx5i0","addonRight":"bottom-sheet__addonRight_lx5i0","title":"bottom-sheet__title_lx5i0","titleCenter":"bottom-sheet__titleCenter_lx5i0","titleLeft":"bottom-sheet__titleLeft_lx5i0","trimTitle":"bottom-sheet__trimTitle_lx5i0","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_lx5i0","titleIndentRight":"bottom-sheet__titleIndentRight_lx5i0","titleIndentLeft":"bottom-sheet__titleIndentLeft_lx5i0"};
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$1 = {"modal":"bottom-sheet__modal_saaqk","component":"bottom-sheet__component_saaqk","withTransition":"bottom-sheet__withTransition_saaqk","scrollableContainer":"bottom-sheet__scrollableContainer_saaqk","marker":"bottom-sheet__marker_saaqk","content":"bottom-sheet__content_saaqk","noHeader":"bottom-sheet__noHeader_saaqk","noFooter":"bottom-sheet__noFooter_saaqk","scrollLocked":"bottom-sheet__scrollLocked_saaqk","appear":"bottom-sheet__appear_saaqk","enter":"bottom-sheet__enter_saaqk","appearActive":"bottom-sheet__appearActive_saaqk","enterActive":"bottom-sheet__enterActive_saaqk","enterDone":"bottom-sheet__enterDone_saaqk","appearDone":"bottom-sheet__appearDone_saaqk","exit":"bottom-sheet__exit_saaqk","exitActive":"bottom-sheet__exitActive_saaqk"};
75
+ var styles$1 = {"modal":"bottom-sheet__modal_134fr","component":"bottom-sheet__component_134fr","withTransition":"bottom-sheet__withTransition_134fr","scrollableContainer":"bottom-sheet__scrollableContainer_134fr","marker":"bottom-sheet__marker_134fr","content":"bottom-sheet__content_134fr","noHeader":"bottom-sheet__noHeader_134fr","noFooter":"bottom-sheet__noFooter_134fr","scrollLocked":"bottom-sheet__scrollLocked_134fr","appear":"bottom-sheet__appear_134fr","enter":"bottom-sheet__enter_134fr","appearActive":"bottom-sheet__appearActive_134fr","enterActive":"bottom-sheet__enterActive_134fr","enterDone":"bottom-sheet__enterDone_134fr","appearDone":"bottom-sheet__appearDone_134fr","exit":"bottom-sheet__exit_134fr","exitActive":"bottom-sheet__exitActive_134fr"};
76
76
  require('./index.css')
77
77
 
78
78
  var TIMEOUT = 300;
package/component.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-ff6c9c8e.js');
5
+ require('./tslib.es6-215543d2.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-14b78262.js');
17
+ var components_header_Component = require('./component-fc28e5ef.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-ff6c9c8e.js');
5
+ var tslib_es6 = require('../../tslib.es6-215543d2.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_ur5hv","button":"bottom-sheet__button_ur5hv"};
16
+ var styles = {"backer":"bottom-sheet__backer_chi6k","button":"bottom-sheet__button_chi6k"};
17
17
  require('./index.css')
18
18
 
19
19
  var Backer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1h98k */
1
+ /* hash: wys9o */
2
2
  :root {
3
3
  --color-light-graphic-primary: #0b1f35;
4
4
  --color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
@@ -14,7 +14,7 @@
14
14
  :root {
15
15
  --bottom-sheet-backer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
16
16
  }
17
- .bottom-sheet__backer_ur5hv {
17
+ .bottom-sheet__backer_chi6k {
18
18
  width: 32px;
19
19
  height: 32px;
20
20
  display: flex;
@@ -23,7 +23,7 @@
23
23
  cursor: pointer;
24
24
  color: var(--color-light-graphic-primary);
25
25
  }
26
- .bottom-sheet__button_ur5hv {
26
+ .bottom-sheet__button_chi6k {
27
27
  background: var(--bottom-sheet-backer-bg-color);
28
28
  -webkit-backdrop-filter: blur(10px);
29
29
  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-ff6c9c8e.js');
5
+ var tslib_es6 = require('../../tslib.es6-215543d2.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_tgynp","button":"bottom-sheet__button_tgynp"};
17
+ var styles = {"closer":"bottom-sheet__closer_14b3o","button":"bottom-sheet__button_14b3o"};
18
18
  require('./index.css')
19
19
 
20
20
  var Closer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1pg36 */
1
+ /* hash: 1txab */
2
2
  :root {
3
3
  --color-light-graphic-primary: #0b1f35;
4
4
  --color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
@@ -14,7 +14,7 @@
14
14
  :root {
15
15
  --bottom-sheet-closer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
16
16
  }
17
- .bottom-sheet__closer_tgynp {
17
+ .bottom-sheet__closer_14b3o {
18
18
  width: 32px;
19
19
  height: 32px;
20
20
  display: flex;
@@ -23,7 +23,7 @@
23
23
  cursor: pointer;
24
24
  color: var(--color-light-graphic-primary);
25
25
  }
26
- .bottom-sheet__button_tgynp {
26
+ .bottom-sheet__button_14b3o {
27
27
  background: var(--bottom-sheet-closer-bg-color);
28
28
  -webkit-backdrop-filter: blur(10px);
29
29
  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_x24yq","sticky":"bottom-sheet__sticky_x24yq","highlighted":"bottom-sheet__highlighted_x24yq"};
14
+ var styles = {"footer":"bottom-sheet__footer_nqrkf","sticky":"bottom-sheet__sticky_nqrkf","highlighted":"bottom-sheet__highlighted_nqrkf"};
15
15
  require('./index.css')
16
16
 
17
17
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: mw0cg */
1
+ /* hash: tues4 */
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_x24yq {
21
+ .bottom-sheet__footer_nqrkf {
22
22
  padding: var(--gap-m) var(--gap-m);
23
23
  background-color: var(--color-light-bg-primary);
24
24
  }
25
- .bottom-sheet__sticky_x24yq {
25
+ .bottom-sheet__sticky_nqrkf {
26
26
  position: sticky;
27
27
  bottom: 0;
28
28
  }
29
- .bottom-sheet__highlighted_x24yq {
29
+ .bottom-sheet__highlighted_nqrkf {
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-ff6c9c8e.js');
5
+ require('../../tslib.es6-215543d2.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-14b78262.js');
17
+ var components_header_Component = require('../../component-fc28e5ef.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: 1vnoy */
1
+ /* hash: bhszc */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  }
@@ -30,7 +30,7 @@
30
30
  --bottom-sheet-title-font-family: var(--font-family-system);
31
31
  --bottom-sheet-title-margin-vertical: var(--gap-2xs);
32
32
  }
33
- .bottom-sheet__headerWrapper_1osag {
33
+ .bottom-sheet__headerWrapper_lx5i0 {
34
34
  padding: var(--gap-xs);
35
35
  padding-bottom: 0;
36
36
  background-color: var(--color-light-bg-primary);
@@ -38,38 +38,38 @@
38
38
  border-top-left-radius: var(--border-radius-xl);
39
39
  z-index: 1;
40
40
  }
41
- .bottom-sheet__header_1osag {
41
+ .bottom-sheet__header_lx5i0 {
42
42
  display: flex;
43
43
  }
44
- .bottom-sheet__sticky_1osag {
44
+ .bottom-sheet__sticky_lx5i0 {
45
45
  position: sticky;
46
46
  top: 0;
47
47
  }
48
- .bottom-sheet__highlighted_1osag {
48
+ .bottom-sheet__highlighted_lx5i0 {
49
49
  border-bottom: var(--bottom-sheet-header-border-bottom);
50
50
  }
51
- .bottom-sheet__justifyEnd_1osag {
51
+ .bottom-sheet__justifyEnd_lx5i0 {
52
52
  justify-content: flex-end;
53
53
  }
54
- .bottom-sheet__addon_1osag {
54
+ .bottom-sheet__addon_lx5i0 {
55
55
  display: flex;
56
56
  justify-content: center;
57
57
  align-items: center;
58
58
  min-width: 48px;
59
59
  height: 48px;
60
60
  }
61
- .bottom-sheet__addonFixed_1osag {
61
+ .bottom-sheet__addonFixed_lx5i0 {
62
62
  position: fixed;
63
63
  }
64
- .bottom-sheet__addonLeft_1osag {
64
+ .bottom-sheet__addonLeft_lx5i0 {
65
65
  left: 0;
66
66
  margin-left: var(--gap-xs);
67
67
  }
68
- .bottom-sheet__addonRight_1osag {
68
+ .bottom-sheet__addonRight_lx5i0 {
69
69
  right: 0;
70
70
  margin-right: var(--gap-xs);
71
71
  }
72
- .bottom-sheet__title_1osag {
72
+ .bottom-sheet__title_lx5i0 {
73
73
  padding: var(--gap-xs) var(--gap-xs);
74
74
  margin: var(--bottom-sheet-title-margin-vertical) 0;
75
75
  width: 100%;
@@ -78,23 +78,23 @@
78
78
  line-height: var(--bottom-sheet-title-line-height);
79
79
  font-family: var(--bottom-sheet-title-font-family);
80
80
  }
81
- .bottom-sheet__titleCenter_1osag {
81
+ .bottom-sheet__titleCenter_lx5i0 {
82
82
  text-align: center;
83
83
  }
84
- .bottom-sheet__titleLeft_1osag {
84
+ .bottom-sheet__titleLeft_lx5i0 {
85
85
  text-align: left;
86
86
  }
87
- .bottom-sheet__trimTitle_1osag {
87
+ .bottom-sheet__trimTitle_lx5i0 {
88
88
  white-space: nowrap;
89
89
  overflow: hidden;
90
90
  text-overflow: ellipsis;
91
91
  }
92
- .bottom-sheet__titleBigIndentHorizontal_1osag {
92
+ .bottom-sheet__titleBigIndentHorizontal_lx5i0 {
93
93
  margin: var(--bottom-sheet-title-margin-vertical) var(--gap-4xl);
94
94
  }
95
- .bottom-sheet__titleIndentRight_1osag {
95
+ .bottom-sheet__titleIndentRight_lx5i0 {
96
96
  margin-right: var(--gap-4xl);
97
97
  }
98
- .bottom-sheet__titleIndentLeft_1osag {
98
+ .bottom-sheet__titleIndentLeft_lx5i0 {
99
99
  margin-left: var(--gap-4xl);
100
100
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-ff6c9c8e.js');
5
+ var tslib_es6 = require('../../tslib.es6-215543d2.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-8a13b0e3.js';
1
+ import { _ as __assign } from './tslib.es6-52c1f77b.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';
@@ -15,7 +15,7 @@ var getDataTestId = function (dataTestId, element) {
15
15
  return dataTestId ? "" + dataTestId + elementPart : undefined;
16
16
  };
17
17
 
18
- var styles = {"headerWrapper":"bottom-sheet__headerWrapper_1osag","header":"bottom-sheet__header_1osag","sticky":"bottom-sheet__sticky_1osag","highlighted":"bottom-sheet__highlighted_1osag","justifyEnd":"bottom-sheet__justifyEnd_1osag","addon":"bottom-sheet__addon_1osag","addonFixed":"bottom-sheet__addonFixed_1osag","addonLeft":"bottom-sheet__addonLeft_1osag","addonRight":"bottom-sheet__addonRight_1osag","title":"bottom-sheet__title_1osag","titleCenter":"bottom-sheet__titleCenter_1osag","titleLeft":"bottom-sheet__titleLeft_1osag","trimTitle":"bottom-sheet__trimTitle_1osag","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_1osag","titleIndentRight":"bottom-sheet__titleIndentRight_1osag","titleIndentLeft":"bottom-sheet__titleIndentLeft_1osag"};
18
+ var styles = {"headerWrapper":"bottom-sheet__headerWrapper_lx5i0","header":"bottom-sheet__header_lx5i0","sticky":"bottom-sheet__sticky_lx5i0","highlighted":"bottom-sheet__highlighted_lx5i0","justifyEnd":"bottom-sheet__justifyEnd_lx5i0","addon":"bottom-sheet__addon_lx5i0","addonFixed":"bottom-sheet__addonFixed_lx5i0","addonLeft":"bottom-sheet__addonLeft_lx5i0","addonRight":"bottom-sheet__addonRight_lx5i0","title":"bottom-sheet__title_lx5i0","titleCenter":"bottom-sheet__titleCenter_lx5i0","titleLeft":"bottom-sheet__titleLeft_lx5i0","trimTitle":"bottom-sheet__trimTitle_lx5i0","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_lx5i0","titleIndentRight":"bottom-sheet__titleIndentRight_lx5i0","titleIndentLeft":"bottom-sheet__titleIndentLeft_lx5i0"};
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$1 = {"modal":"bottom-sheet__modal_saaqk","component":"bottom-sheet__component_saaqk","withTransition":"bottom-sheet__withTransition_saaqk","scrollableContainer":"bottom-sheet__scrollableContainer_saaqk","marker":"bottom-sheet__marker_saaqk","content":"bottom-sheet__content_saaqk","noHeader":"bottom-sheet__noHeader_saaqk","noFooter":"bottom-sheet__noFooter_saaqk","scrollLocked":"bottom-sheet__scrollLocked_saaqk","appear":"bottom-sheet__appear_saaqk","enter":"bottom-sheet__enter_saaqk","appearActive":"bottom-sheet__appearActive_saaqk","enterActive":"bottom-sheet__enterActive_saaqk","enterDone":"bottom-sheet__enterDone_saaqk","appearDone":"bottom-sheet__appearDone_saaqk","exit":"bottom-sheet__exit_saaqk","exitActive":"bottom-sheet__exitActive_saaqk"};
68
+ var styles$1 = {"modal":"bottom-sheet__modal_134fr","component":"bottom-sheet__component_134fr","withTransition":"bottom-sheet__withTransition_134fr","scrollableContainer":"bottom-sheet__scrollableContainer_134fr","marker":"bottom-sheet__marker_134fr","content":"bottom-sheet__content_134fr","noHeader":"bottom-sheet__noHeader_134fr","noFooter":"bottom-sheet__noFooter_134fr","scrollLocked":"bottom-sheet__scrollLocked_134fr","appear":"bottom-sheet__appear_134fr","enter":"bottom-sheet__enter_134fr","appearActive":"bottom-sheet__appearActive_134fr","enterActive":"bottom-sheet__enterActive_134fr","enterDone":"bottom-sheet__enterDone_134fr","appearDone":"bottom-sheet__appearDone_134fr","exit":"bottom-sheet__exit_134fr","exitActive":"bottom-sheet__exitActive_134fr"};
69
69
  require('./index.css')
70
70
 
71
71
  var TIMEOUT = 300;
package/esm/component.js CHANGED
@@ -1,4 +1,4 @@
1
- import './tslib.es6-8a13b0e3.js';
1
+ import './tslib.es6-52c1f77b.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-17d2f965.js';
13
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-730e0a75.js';
14
14
  import './components/footer/Component.js';
15
15
  import '@alfalab/core-components-backdrop/esm';
16
16
  import './components/swipeable-backdrop/Component.js';
@@ -1,10 +1,10 @@
1
- import { a as __rest, _ as __assign } from '../../tslib.es6-8a13b0e3.js';
1
+ import { a as __rest, _ as __assign } from '../../tslib.es6-52c1f77b.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_ur5hv","button":"bottom-sheet__button_ur5hv"};
7
+ var styles = {"backer":"bottom-sheet__backer_chi6k","button":"bottom-sheet__button_chi6k"};
8
8
  require('./index.css')
9
9
 
10
10
  var Backer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1h98k */
1
+ /* hash: wys9o */
2
2
  :root {
3
3
  --color-light-graphic-primary: #0b1f35;
4
4
  --color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
@@ -14,7 +14,7 @@
14
14
  :root {
15
15
  --bottom-sheet-backer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
16
16
  }
17
- .bottom-sheet__backer_ur5hv {
17
+ .bottom-sheet__backer_chi6k {
18
18
  width: 32px;
19
19
  height: 32px;
20
20
  display: flex;
@@ -23,7 +23,7 @@
23
23
  cursor: pointer;
24
24
  color: var(--color-light-graphic-primary);
25
25
  }
26
- .bottom-sheet__button_ur5hv {
26
+ .bottom-sheet__button_chi6k {
27
27
  background: var(--bottom-sheet-backer-bg-color);
28
28
  -webkit-backdrop-filter: blur(10px);
29
29
  backdrop-filter: blur(10px);
@@ -1,11 +1,11 @@
1
- import { a as __rest, _ as __assign } from '../../tslib.es6-8a13b0e3.js';
1
+ import { a as __rest, _ as __assign } from '../../tslib.es6-52c1f77b.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_tgynp","button":"bottom-sheet__button_tgynp"};
8
+ var styles = {"closer":"bottom-sheet__closer_14b3o","button":"bottom-sheet__button_14b3o"};
9
9
  require('./index.css')
10
10
 
11
11
  var Closer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1pg36 */
1
+ /* hash: 1txab */
2
2
  :root {
3
3
  --color-light-graphic-primary: #0b1f35;
4
4
  --color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
@@ -14,7 +14,7 @@
14
14
  :root {
15
15
  --bottom-sheet-closer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
16
16
  }
17
- .bottom-sheet__closer_tgynp {
17
+ .bottom-sheet__closer_14b3o {
18
18
  width: 32px;
19
19
  height: 32px;
20
20
  display: flex;
@@ -23,7 +23,7 @@
23
23
  cursor: pointer;
24
24
  color: var(--color-light-graphic-primary);
25
25
  }
26
- .bottom-sheet__button_tgynp {
26
+ .bottom-sheet__button_14b3o {
27
27
  background: var(--bottom-sheet-closer-bg-color);
28
28
  -webkit-backdrop-filter: blur(10px);
29
29
  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_x24yq","sticky":"bottom-sheet__sticky_x24yq","highlighted":"bottom-sheet__highlighted_x24yq"};
5
+ var styles = {"footer":"bottom-sheet__footer_nqrkf","sticky":"bottom-sheet__sticky_nqrkf","highlighted":"bottom-sheet__highlighted_nqrkf"};
6
6
  require('./index.css')
7
7
 
8
8
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: mw0cg */
1
+ /* hash: tues4 */
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_x24yq {
21
+ .bottom-sheet__footer_nqrkf {
22
22
  padding: var(--gap-m) var(--gap-m);
23
23
  background-color: var(--color-light-bg-primary);
24
24
  }
25
- .bottom-sheet__sticky_x24yq {
25
+ .bottom-sheet__sticky_nqrkf {
26
26
  position: sticky;
27
27
  bottom: 0;
28
28
  }
29
- .bottom-sheet__highlighted_x24yq {
29
+ .bottom-sheet__highlighted_nqrkf {
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-8a13b0e3.js';
1
+ import '../../tslib.es6-52c1f77b.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-17d2f965.js';
13
+ export { a as Header } from '../../component-730e0a75.js';
14
14
  import '../footer/Component.js';
15
15
  import '@alfalab/core-components-backdrop/esm';
16
16
  import '../swipeable-backdrop/Component.js';
@@ -1,4 +1,4 @@
1
- /* hash: 1vnoy */
1
+ /* hash: bhszc */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  }
@@ -30,7 +30,7 @@
30
30
  --bottom-sheet-title-font-family: var(--font-family-system);
31
31
  --bottom-sheet-title-margin-vertical: var(--gap-2xs);
32
32
  }
33
- .bottom-sheet__headerWrapper_1osag {
33
+ .bottom-sheet__headerWrapper_lx5i0 {
34
34
  padding: var(--gap-xs);
35
35
  padding-bottom: 0;
36
36
  background-color: var(--color-light-bg-primary);
@@ -38,38 +38,38 @@
38
38
  border-top-left-radius: var(--border-radius-xl);
39
39
  z-index: 1;
40
40
  }
41
- .bottom-sheet__header_1osag {
41
+ .bottom-sheet__header_lx5i0 {
42
42
  display: flex;
43
43
  }
44
- .bottom-sheet__sticky_1osag {
44
+ .bottom-sheet__sticky_lx5i0 {
45
45
  position: sticky;
46
46
  top: 0;
47
47
  }
48
- .bottom-sheet__highlighted_1osag {
48
+ .bottom-sheet__highlighted_lx5i0 {
49
49
  border-bottom: var(--bottom-sheet-header-border-bottom);
50
50
  }
51
- .bottom-sheet__justifyEnd_1osag {
51
+ .bottom-sheet__justifyEnd_lx5i0 {
52
52
  justify-content: flex-end;
53
53
  }
54
- .bottom-sheet__addon_1osag {
54
+ .bottom-sheet__addon_lx5i0 {
55
55
  display: flex;
56
56
  justify-content: center;
57
57
  align-items: center;
58
58
  min-width: 48px;
59
59
  height: 48px;
60
60
  }
61
- .bottom-sheet__addonFixed_1osag {
61
+ .bottom-sheet__addonFixed_lx5i0 {
62
62
  position: fixed;
63
63
  }
64
- .bottom-sheet__addonLeft_1osag {
64
+ .bottom-sheet__addonLeft_lx5i0 {
65
65
  left: 0;
66
66
  margin-left: var(--gap-xs);
67
67
  }
68
- .bottom-sheet__addonRight_1osag {
68
+ .bottom-sheet__addonRight_lx5i0 {
69
69
  right: 0;
70
70
  margin-right: var(--gap-xs);
71
71
  }
72
- .bottom-sheet__title_1osag {
72
+ .bottom-sheet__title_lx5i0 {
73
73
  padding: var(--gap-xs) var(--gap-xs);
74
74
  margin: var(--bottom-sheet-title-margin-vertical) 0;
75
75
  width: 100%;
@@ -78,23 +78,23 @@
78
78
  line-height: var(--bottom-sheet-title-line-height);
79
79
  font-family: var(--bottom-sheet-title-font-family);
80
80
  }
81
- .bottom-sheet__titleCenter_1osag {
81
+ .bottom-sheet__titleCenter_lx5i0 {
82
82
  text-align: center;
83
83
  }
84
- .bottom-sheet__titleLeft_1osag {
84
+ .bottom-sheet__titleLeft_lx5i0 {
85
85
  text-align: left;
86
86
  }
87
- .bottom-sheet__trimTitle_1osag {
87
+ .bottom-sheet__trimTitle_lx5i0 {
88
88
  white-space: nowrap;
89
89
  overflow: hidden;
90
90
  text-overflow: ellipsis;
91
91
  }
92
- .bottom-sheet__titleBigIndentHorizontal_1osag {
92
+ .bottom-sheet__titleBigIndentHorizontal_lx5i0 {
93
93
  margin: var(--bottom-sheet-title-margin-vertical) var(--gap-4xl);
94
94
  }
95
- .bottom-sheet__titleIndentRight_1osag {
95
+ .bottom-sheet__titleIndentRight_lx5i0 {
96
96
  margin-right: var(--gap-4xl);
97
97
  }
98
- .bottom-sheet__titleIndentLeft_1osag {
98
+ .bottom-sheet__titleIndentLeft_lx5i0 {
99
99
  margin-left: var(--gap-4xl);
100
100
  }
@@ -1,4 +1,4 @@
1
- import { a as __rest, _ as __assign } from '../../tslib.es6-8a13b0e3.js';
1
+ import { a as __rest, _ as __assign } from '../../tslib.es6-52c1f77b.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: 9vcle */
1
+ /* hash: ecjqj */
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_saaqk {
27
+ .bottom-sheet__modal_134fr {
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_saaqk {
34
+ .bottom-sheet__component_134fr {
35
35
  overflow: hidden;
36
36
  position: relative;
37
37
  display: flex;
@@ -41,17 +41,17 @@
41
41
  background: var(--color-light-bg-primary);
42
42
  transform: translateY(100%);
43
43
  }
44
- .bottom-sheet__withTransition_saaqk {
44
+ .bottom-sheet__withTransition_134fr {
45
45
  transition: var(--bottom-sheet-out-transition);
46
46
  }
47
- .bottom-sheet__scrollableContainer_saaqk {
47
+ .bottom-sheet__scrollableContainer_134fr {
48
48
  overflow: auto;
49
49
  display: flex;
50
50
  flex-direction: column;
51
51
  position: relative;
52
52
  height: 100%;
53
53
  }
54
- .bottom-sheet__marker_saaqk {
54
+ .bottom-sheet__marker_134fr {
55
55
  position: fixed;
56
56
  top: var(--gap-2xs);
57
57
  left: 50%;
@@ -62,7 +62,7 @@
62
62
  background-color: var(--color-light-graphic-quaternary);
63
63
  z-index: 1000;
64
64
  }
65
- .bottom-sheet__content_saaqk {
65
+ .bottom-sheet__content_134fr {
66
66
  display: flex;
67
67
  flex-direction: column;
68
68
  flex: 1;
@@ -70,29 +70,29 @@
70
70
  color: var(--color-light-text-primary);
71
71
  background-color: var(--color-light-bg-primary);
72
72
  }
73
- .bottom-sheet__noHeader_saaqk {
73
+ .bottom-sheet__noHeader_134fr {
74
74
  padding-top: var(--gap-xl);
75
75
  }
76
- .bottom-sheet__noFooter_saaqk {
76
+ .bottom-sheet__noFooter_134fr {
77
77
  padding-bottom: var(--gap-m);
78
78
  }
79
- .bottom-sheet__scrollLocked_saaqk {
79
+ .bottom-sheet__scrollLocked_134fr {
80
80
  overflow: hidden;
81
81
  }
82
- .bottom-sheet__appear_saaqk .bottom-sheet__component_saaqk, .bottom-sheet__enter_saaqk .bottom-sheet__component_saaqk {
82
+ .bottom-sheet__appear_134fr .bottom-sheet__component_134fr, .bottom-sheet__enter_134fr .bottom-sheet__component_134fr {
83
83
  transition: none;
84
84
  }
85
- .bottom-sheet__appearActive_saaqk .bottom-sheet__component_saaqk, .bottom-sheet__enterActive_saaqk .bottom-sheet__component_saaqk {
85
+ .bottom-sheet__appearActive_134fr .bottom-sheet__component_134fr, .bottom-sheet__enterActive_134fr .bottom-sheet__component_134fr {
86
86
  transition: var(--bottom-sheet-in-transition);
87
87
  transform: translateY(0);
88
88
  }
89
- .bottom-sheet__enterDone_saaqk .bottom-sheet__component_saaqk, .bottom-sheet__appearDone_saaqk .bottom-sheet__component_saaqk {
89
+ .bottom-sheet__enterDone_134fr .bottom-sheet__component_134fr, .bottom-sheet__appearDone_134fr .bottom-sheet__component_134fr {
90
90
  transform: translateY(0);
91
91
  }
92
- .bottom-sheet__exit_saaqk .bottom-sheet__component_saaqk {
92
+ .bottom-sheet__exit_134fr .bottom-sheet__component_134fr {
93
93
  transform: translateY(0);
94
94
  }
95
- .bottom-sheet__exitActive_saaqk .bottom-sheet__component_saaqk {
95
+ .bottom-sheet__exitActive_134fr .bottom-sheet__component_134fr {
96
96
  transition: var(--bottom-sheet-out-transition);
97
97
  transform: translateY(100%);
98
98
  }
package/esm/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./component-17d2f965";
1
+ export * from "./component-730e0a75";
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './tslib.es6-8a13b0e3.js';
1
+ import './tslib.es6-52c1f77b.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-17d2f965.js';
13
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-730e0a75.js';
14
14
  import './components/footer/Component.js';
15
15
  import '@alfalab/core-components-backdrop/esm';
16
16
  import './components/swipeable-backdrop/Component.js';
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 9vcle */
1
+ /* hash: ecjqj */
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_saaqk {
27
+ .bottom-sheet__modal_134fr {
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_saaqk {
34
+ .bottom-sheet__component_134fr {
35
35
  overflow: hidden;
36
36
  position: relative;
37
37
  display: flex;
@@ -41,17 +41,17 @@
41
41
  background: var(--color-light-bg-primary);
42
42
  transform: translateY(100%);
43
43
  }
44
- .bottom-sheet__withTransition_saaqk {
44
+ .bottom-sheet__withTransition_134fr {
45
45
  transition: var(--bottom-sheet-out-transition);
46
46
  }
47
- .bottom-sheet__scrollableContainer_saaqk {
47
+ .bottom-sheet__scrollableContainer_134fr {
48
48
  overflow: auto;
49
49
  display: flex;
50
50
  flex-direction: column;
51
51
  position: relative;
52
52
  height: 100%;
53
53
  }
54
- .bottom-sheet__marker_saaqk {
54
+ .bottom-sheet__marker_134fr {
55
55
  position: fixed;
56
56
  top: var(--gap-2xs);
57
57
  left: 50%;
@@ -62,7 +62,7 @@
62
62
  background-color: var(--color-light-graphic-quaternary);
63
63
  z-index: 1000;
64
64
  }
65
- .bottom-sheet__content_saaqk {
65
+ .bottom-sheet__content_134fr {
66
66
  display: flex;
67
67
  flex-direction: column;
68
68
  flex: 1;
@@ -70,29 +70,29 @@
70
70
  color: var(--color-light-text-primary);
71
71
  background-color: var(--color-light-bg-primary);
72
72
  }
73
- .bottom-sheet__noHeader_saaqk {
73
+ .bottom-sheet__noHeader_134fr {
74
74
  padding-top: var(--gap-xl);
75
75
  }
76
- .bottom-sheet__noFooter_saaqk {
76
+ .bottom-sheet__noFooter_134fr {
77
77
  padding-bottom: var(--gap-m);
78
78
  }
79
- .bottom-sheet__scrollLocked_saaqk {
79
+ .bottom-sheet__scrollLocked_134fr {
80
80
  overflow: hidden;
81
81
  }
82
- .bottom-sheet__appear_saaqk .bottom-sheet__component_saaqk, .bottom-sheet__enter_saaqk .bottom-sheet__component_saaqk {
82
+ .bottom-sheet__appear_134fr .bottom-sheet__component_134fr, .bottom-sheet__enter_134fr .bottom-sheet__component_134fr {
83
83
  transition: none;
84
84
  }
85
- .bottom-sheet__appearActive_saaqk .bottom-sheet__component_saaqk, .bottom-sheet__enterActive_saaqk .bottom-sheet__component_saaqk {
85
+ .bottom-sheet__appearActive_134fr .bottom-sheet__component_134fr, .bottom-sheet__enterActive_134fr .bottom-sheet__component_134fr {
86
86
  transition: var(--bottom-sheet-in-transition);
87
87
  transform: translateY(0);
88
88
  }
89
- .bottom-sheet__enterDone_saaqk .bottom-sheet__component_saaqk, .bottom-sheet__appearDone_saaqk .bottom-sheet__component_saaqk {
89
+ .bottom-sheet__enterDone_134fr .bottom-sheet__component_134fr, .bottom-sheet__appearDone_134fr .bottom-sheet__component_134fr {
90
90
  transform: translateY(0);
91
91
  }
92
- .bottom-sheet__exit_saaqk .bottom-sheet__component_saaqk {
92
+ .bottom-sheet__exit_134fr .bottom-sheet__component_134fr {
93
93
  transform: translateY(0);
94
94
  }
95
- .bottom-sheet__exitActive_saaqk .bottom-sheet__component_saaqk {
95
+ .bottom-sheet__exitActive_134fr .bottom-sheet__component_134fr {
96
96
  transition: var(--bottom-sheet-out-transition);
97
97
  transform: translateY(100%);
98
98
  }
package/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./component-14b78262";
1
+ export * from "./component-fc28e5ef";
package/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-ff6c9c8e.js');
5
+ require('./tslib.es6-215543d2.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-14b78262.js');
17
+ var components_header_Component = require('./component-fc28e5ef.js');
18
18
  require('./components/footer/Component.js');
19
19
  require('@alfalab/core-components-backdrop');
20
20
  require('./components/swipeable-backdrop/Component.js');
@@ -14,7 +14,7 @@ const getDataTestId = (dataTestId, element) => {
14
14
  return dataTestId ? `${dataTestId}${elementPart}` : undefined;
15
15
  };
16
16
 
17
- var styles = {"headerWrapper":"bottom-sheet__headerWrapper_1osag","header":"bottom-sheet__header_1osag","sticky":"bottom-sheet__sticky_1osag","highlighted":"bottom-sheet__highlighted_1osag","justifyEnd":"bottom-sheet__justifyEnd_1osag","addon":"bottom-sheet__addon_1osag","addonFixed":"bottom-sheet__addonFixed_1osag","addonLeft":"bottom-sheet__addonLeft_1osag","addonRight":"bottom-sheet__addonRight_1osag","title":"bottom-sheet__title_1osag","titleCenter":"bottom-sheet__titleCenter_1osag","titleLeft":"bottom-sheet__titleLeft_1osag","trimTitle":"bottom-sheet__trimTitle_1osag","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_1osag","titleIndentRight":"bottom-sheet__titleIndentRight_1osag","titleIndentLeft":"bottom-sheet__titleIndentLeft_1osag"};
17
+ var styles = {"headerWrapper":"bottom-sheet__headerWrapper_lx5i0","header":"bottom-sheet__header_lx5i0","sticky":"bottom-sheet__sticky_lx5i0","highlighted":"bottom-sheet__highlighted_lx5i0","justifyEnd":"bottom-sheet__justifyEnd_lx5i0","addon":"bottom-sheet__addon_lx5i0","addonFixed":"bottom-sheet__addonFixed_lx5i0","addonLeft":"bottom-sheet__addonLeft_lx5i0","addonRight":"bottom-sheet__addonRight_lx5i0","title":"bottom-sheet__title_lx5i0","titleCenter":"bottom-sheet__titleCenter_lx5i0","titleLeft":"bottom-sheet__titleLeft_lx5i0","trimTitle":"bottom-sheet__trimTitle_lx5i0","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_lx5i0","titleIndentRight":"bottom-sheet__titleIndentRight_lx5i0","titleIndentLeft":"bottom-sheet__titleIndentLeft_lx5i0"};
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
- var styles$1 = {"modal":"bottom-sheet__modal_saaqk","component":"bottom-sheet__component_saaqk","withTransition":"bottom-sheet__withTransition_saaqk","scrollableContainer":"bottom-sheet__scrollableContainer_saaqk","marker":"bottom-sheet__marker_saaqk","content":"bottom-sheet__content_saaqk","noHeader":"bottom-sheet__noHeader_saaqk","noFooter":"bottom-sheet__noFooter_saaqk","scrollLocked":"bottom-sheet__scrollLocked_saaqk","appear":"bottom-sheet__appear_saaqk","enter":"bottom-sheet__enter_saaqk","appearActive":"bottom-sheet__appearActive_saaqk","enterActive":"bottom-sheet__enterActive_saaqk","enterDone":"bottom-sheet__enterDone_saaqk","appearDone":"bottom-sheet__appearDone_saaqk","exit":"bottom-sheet__exit_saaqk","exitActive":"bottom-sheet__exitActive_saaqk"};
64
+ var styles$1 = {"modal":"bottom-sheet__modal_134fr","component":"bottom-sheet__component_134fr","withTransition":"bottom-sheet__withTransition_134fr","scrollableContainer":"bottom-sheet__scrollableContainer_134fr","marker":"bottom-sheet__marker_134fr","content":"bottom-sheet__content_134fr","noHeader":"bottom-sheet__noHeader_134fr","noFooter":"bottom-sheet__noFooter_134fr","scrollLocked":"bottom-sheet__scrollLocked_134fr","appear":"bottom-sheet__appear_134fr","enter":"bottom-sheet__enter_134fr","appearActive":"bottom-sheet__appearActive_134fr","enterActive":"bottom-sheet__enterActive_134fr","enterDone":"bottom-sheet__enterDone_134fr","appearDone":"bottom-sheet__appearDone_134fr","exit":"bottom-sheet__exit_134fr","exitActive":"bottom-sheet__exitActive_134fr"};
65
65
  require('./index.css')
66
66
 
67
67
  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-7c5e56a7.js';
12
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-0ec104da.js';
13
13
  import './components/footer/Component.js';
14
14
  import '@alfalab/core-components-backdrop/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/modern';
4
4
  import { ArrowBackMIcon } from '@alfalab/icons-glyph/ArrowBackMIcon';
5
5
 
6
- var styles = {"backer":"bottom-sheet__backer_ur5hv","button":"bottom-sheet__button_ur5hv"};
6
+ var styles = {"backer":"bottom-sheet__backer_chi6k","button":"bottom-sheet__button_chi6k"};
7
7
  require('./index.css')
8
8
 
9
9
  const Backer = ({ className, size = 'xs', icon = ArrowBackMIcon, dataTestId, onClick, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1h98k */
1
+ /* hash: wys9o */
2
2
  :root {
3
3
  --color-light-graphic-primary: #0b1f35;
4
4
  --color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
@@ -14,7 +14,7 @@
14
14
  :root {
15
15
  --bottom-sheet-backer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
16
16
  }
17
- .bottom-sheet__backer_ur5hv {
17
+ .bottom-sheet__backer_chi6k {
18
18
  width: 32px;
19
19
  height: 32px;
20
20
  display: flex;
@@ -23,7 +23,7 @@
23
23
  cursor: pointer;
24
24
  color: var(--color-light-graphic-primary);
25
25
  }
26
- .bottom-sheet__button_ur5hv {
26
+ .bottom-sheet__button_chi6k {
27
27
  background: var(--bottom-sheet-backer-bg-color);
28
28
  -webkit-backdrop-filter: blur(10px);
29
29
  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
- var styles = {"closer":"bottom-sheet__closer_tgynp","button":"bottom-sheet__button_tgynp"};
7
+ var styles = {"closer":"bottom-sheet__closer_14b3o","button":"bottom-sheet__button_14b3o"};
8
8
  require('./index.css')
9
9
 
10
10
  const Closer = ({ className, size = 'xs', icon = CrossMIcon, dataTestId, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1pg36 */
1
+ /* hash: 1txab */
2
2
  :root {
3
3
  --color-light-graphic-primary: #0b1f35;
4
4
  --color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
@@ -14,7 +14,7 @@
14
14
  :root {
15
15
  --bottom-sheet-closer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
16
16
  }
17
- .bottom-sheet__closer_tgynp {
17
+ .bottom-sheet__closer_14b3o {
18
18
  width: 32px;
19
19
  height: 32px;
20
20
  display: flex;
@@ -23,7 +23,7 @@
23
23
  cursor: pointer;
24
24
  color: var(--color-light-graphic-primary);
25
25
  }
26
- .bottom-sheet__button_tgynp {
26
+ .bottom-sheet__button_14b3o {
27
27
  background: var(--bottom-sheet-closer-bg-color);
28
28
  -webkit-backdrop-filter: blur(10px);
29
29
  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
- var styles = {"footer":"bottom-sheet__footer_x24yq","sticky":"bottom-sheet__sticky_x24yq","highlighted":"bottom-sheet__highlighted_x24yq"};
5
+ var styles = {"footer":"bottom-sheet__footer_nqrkf","sticky":"bottom-sheet__sticky_nqrkf","highlighted":"bottom-sheet__highlighted_nqrkf"};
6
6
  require('./index.css')
7
7
 
8
8
  const Footer = ({ children, className, sticky }) => {
@@ -1,4 +1,4 @@
1
- /* hash: mw0cg */
1
+ /* hash: tues4 */
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_x24yq {
21
+ .bottom-sheet__footer_nqrkf {
22
22
  padding: var(--gap-m) var(--gap-m);
23
23
  background-color: var(--color-light-bg-primary);
24
24
  }
25
- .bottom-sheet__sticky_x24yq {
25
+ .bottom-sheet__sticky_nqrkf {
26
26
  position: sticky;
27
27
  bottom: 0;
28
28
  }
29
- .bottom-sheet__highlighted_x24yq {
29
+ .bottom-sheet__highlighted_nqrkf {
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-7c5e56a7.js';
12
+ export { a as Header } from '../../component-0ec104da.js';
13
13
  import '../footer/Component.js';
14
14
  import '@alfalab/core-components-backdrop/modern';
15
15
  import '../swipeable-backdrop/Component.js';
@@ -1,4 +1,4 @@
1
- /* hash: 1vnoy */
1
+ /* hash: bhszc */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  }
@@ -30,7 +30,7 @@
30
30
  --bottom-sheet-title-font-family: var(--font-family-system);
31
31
  --bottom-sheet-title-margin-vertical: var(--gap-2xs);
32
32
  }
33
- .bottom-sheet__headerWrapper_1osag {
33
+ .bottom-sheet__headerWrapper_lx5i0 {
34
34
  padding: var(--gap-xs);
35
35
  padding-bottom: 0;
36
36
  background-color: var(--color-light-bg-primary);
@@ -38,38 +38,38 @@
38
38
  border-top-left-radius: var(--border-radius-xl);
39
39
  z-index: 1;
40
40
  }
41
- .bottom-sheet__header_1osag {
41
+ .bottom-sheet__header_lx5i0 {
42
42
  display: flex;
43
43
  }
44
- .bottom-sheet__sticky_1osag {
44
+ .bottom-sheet__sticky_lx5i0 {
45
45
  position: sticky;
46
46
  top: 0;
47
47
  }
48
- .bottom-sheet__highlighted_1osag {
48
+ .bottom-sheet__highlighted_lx5i0 {
49
49
  border-bottom: var(--bottom-sheet-header-border-bottom);
50
50
  }
51
- .bottom-sheet__justifyEnd_1osag {
51
+ .bottom-sheet__justifyEnd_lx5i0 {
52
52
  justify-content: flex-end;
53
53
  }
54
- .bottom-sheet__addon_1osag {
54
+ .bottom-sheet__addon_lx5i0 {
55
55
  display: flex;
56
56
  justify-content: center;
57
57
  align-items: center;
58
58
  min-width: 48px;
59
59
  height: 48px;
60
60
  }
61
- .bottom-sheet__addonFixed_1osag {
61
+ .bottom-sheet__addonFixed_lx5i0 {
62
62
  position: fixed;
63
63
  }
64
- .bottom-sheet__addonLeft_1osag {
64
+ .bottom-sheet__addonLeft_lx5i0 {
65
65
  left: 0;
66
66
  margin-left: var(--gap-xs);
67
67
  }
68
- .bottom-sheet__addonRight_1osag {
68
+ .bottom-sheet__addonRight_lx5i0 {
69
69
  right: 0;
70
70
  margin-right: var(--gap-xs);
71
71
  }
72
- .bottom-sheet__title_1osag {
72
+ .bottom-sheet__title_lx5i0 {
73
73
  padding: var(--gap-xs) var(--gap-xs);
74
74
  margin: var(--bottom-sheet-title-margin-vertical) 0;
75
75
  width: 100%;
@@ -78,23 +78,23 @@
78
78
  line-height: var(--bottom-sheet-title-line-height);
79
79
  font-family: var(--bottom-sheet-title-font-family);
80
80
  }
81
- .bottom-sheet__titleCenter_1osag {
81
+ .bottom-sheet__titleCenter_lx5i0 {
82
82
  text-align: center;
83
83
  }
84
- .bottom-sheet__titleLeft_1osag {
84
+ .bottom-sheet__titleLeft_lx5i0 {
85
85
  text-align: left;
86
86
  }
87
- .bottom-sheet__trimTitle_1osag {
87
+ .bottom-sheet__trimTitle_lx5i0 {
88
88
  white-space: nowrap;
89
89
  overflow: hidden;
90
90
  text-overflow: ellipsis;
91
91
  }
92
- .bottom-sheet__titleBigIndentHorizontal_1osag {
92
+ .bottom-sheet__titleBigIndentHorizontal_lx5i0 {
93
93
  margin: var(--bottom-sheet-title-margin-vertical) var(--gap-4xl);
94
94
  }
95
- .bottom-sheet__titleIndentRight_1osag {
95
+ .bottom-sheet__titleIndentRight_lx5i0 {
96
96
  margin-right: var(--gap-4xl);
97
97
  }
98
- .bottom-sheet__titleIndentLeft_1osag {
98
+ .bottom-sheet__titleIndentLeft_lx5i0 {
99
99
  margin-left: var(--gap-4xl);
100
100
  }
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 9vcle */
1
+ /* hash: ecjqj */
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_saaqk {
27
+ .bottom-sheet__modal_134fr {
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_saaqk {
34
+ .bottom-sheet__component_134fr {
35
35
  overflow: hidden;
36
36
  position: relative;
37
37
  display: flex;
@@ -41,17 +41,17 @@
41
41
  background: var(--color-light-bg-primary);
42
42
  transform: translateY(100%);
43
43
  }
44
- .bottom-sheet__withTransition_saaqk {
44
+ .bottom-sheet__withTransition_134fr {
45
45
  transition: var(--bottom-sheet-out-transition);
46
46
  }
47
- .bottom-sheet__scrollableContainer_saaqk {
47
+ .bottom-sheet__scrollableContainer_134fr {
48
48
  overflow: auto;
49
49
  display: flex;
50
50
  flex-direction: column;
51
51
  position: relative;
52
52
  height: 100%;
53
53
  }
54
- .bottom-sheet__marker_saaqk {
54
+ .bottom-sheet__marker_134fr {
55
55
  position: fixed;
56
56
  top: var(--gap-2xs);
57
57
  left: 50%;
@@ -62,7 +62,7 @@
62
62
  background-color: var(--color-light-graphic-quaternary);
63
63
  z-index: 1000;
64
64
  }
65
- .bottom-sheet__content_saaqk {
65
+ .bottom-sheet__content_134fr {
66
66
  display: flex;
67
67
  flex-direction: column;
68
68
  flex: 1;
@@ -70,29 +70,29 @@
70
70
  color: var(--color-light-text-primary);
71
71
  background-color: var(--color-light-bg-primary);
72
72
  }
73
- .bottom-sheet__noHeader_saaqk {
73
+ .bottom-sheet__noHeader_134fr {
74
74
  padding-top: var(--gap-xl);
75
75
  }
76
- .bottom-sheet__noFooter_saaqk {
76
+ .bottom-sheet__noFooter_134fr {
77
77
  padding-bottom: var(--gap-m);
78
78
  }
79
- .bottom-sheet__scrollLocked_saaqk {
79
+ .bottom-sheet__scrollLocked_134fr {
80
80
  overflow: hidden;
81
81
  }
82
- .bottom-sheet__appear_saaqk .bottom-sheet__component_saaqk, .bottom-sheet__enter_saaqk .bottom-sheet__component_saaqk {
82
+ .bottom-sheet__appear_134fr .bottom-sheet__component_134fr, .bottom-sheet__enter_134fr .bottom-sheet__component_134fr {
83
83
  transition: none;
84
84
  }
85
- .bottom-sheet__appearActive_saaqk .bottom-sheet__component_saaqk, .bottom-sheet__enterActive_saaqk .bottom-sheet__component_saaqk {
85
+ .bottom-sheet__appearActive_134fr .bottom-sheet__component_134fr, .bottom-sheet__enterActive_134fr .bottom-sheet__component_134fr {
86
86
  transition: var(--bottom-sheet-in-transition);
87
87
  transform: translateY(0);
88
88
  }
89
- .bottom-sheet__enterDone_saaqk .bottom-sheet__component_saaqk, .bottom-sheet__appearDone_saaqk .bottom-sheet__component_saaqk {
89
+ .bottom-sheet__enterDone_134fr .bottom-sheet__component_134fr, .bottom-sheet__appearDone_134fr .bottom-sheet__component_134fr {
90
90
  transform: translateY(0);
91
91
  }
92
- .bottom-sheet__exit_saaqk .bottom-sheet__component_saaqk {
92
+ .bottom-sheet__exit_134fr .bottom-sheet__component_134fr {
93
93
  transform: translateY(0);
94
94
  }
95
- .bottom-sheet__exitActive_saaqk .bottom-sheet__component_saaqk {
95
+ .bottom-sheet__exitActive_134fr .bottom-sheet__component_134fr {
96
96
  transition: var(--bottom-sheet-out-transition);
97
97
  transform: translateY(100%);
98
98
  }
package/modern/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./component-7c5e56a7";
1
+ export * from "./component-0ec104da";
package/modern/index.js CHANGED
@@ -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-7c5e56a7.js';
12
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-0ec104da.js';
13
13
  import './components/footer/Component.js';
14
14
  import '@alfalab/core-components-backdrop/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": "5.1.2",
3
+ "version": "5.1.3",
4
4
  "description": "Bottom sheet mobile component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "@alfalab/core-components-backdrop": "^3.0.1",
22
- "@alfalab/core-components-base-modal": "^5.0.2",
22
+ "@alfalab/core-components-base-modal": "^5.0.3",
23
23
  "@alfalab/core-components-icon-button": "^5.0.4",
24
24
  "@alfalab/core-components-typography": "^3.0.2",
25
25
  "classnames": "^2.3.1",