@alfalab/core-components-bottom-sheet 5.1.7 → 5.1.8

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 (51) hide show
  1. package/{component-4c38fb51.d.ts → component-0fcf9104.d.ts} +0 -0
  2. package/{component-4c38fb51.js → component-0fcf9104.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/cssm/index.module.css +2 -1
  14. package/esm/{component-6f8129f8.d.ts → component-4dfb00be.d.ts} +0 -0
  15. package/esm/{component-6f8129f8.js → component-4dfb00be.js} +3 -3
  16. package/esm/component.js +2 -2
  17. package/esm/components/backer/Component.js +2 -2
  18. package/esm/components/backer/index.css +3 -3
  19. package/esm/components/closer/Component.js +2 -2
  20. package/esm/components/closer/index.css +3 -3
  21. package/esm/components/footer/Component.js +1 -1
  22. package/esm/components/footer/index.css +4 -4
  23. package/esm/components/header/Component.js +2 -2
  24. package/esm/components/header/index.css +17 -17
  25. package/esm/components/swipeable-backdrop/Component.js +1 -1
  26. package/esm/index.css +17 -16
  27. package/esm/index.d.ts +1 -1
  28. package/esm/index.js +2 -2
  29. package/esm/{tslib.es6-5765b9ae.d.ts → tslib.es6-d1e53481.d.ts} +0 -0
  30. package/esm/{tslib.es6-5765b9ae.js → tslib.es6-d1e53481.js} +0 -0
  31. package/index.css +17 -16
  32. package/index.d.ts +1 -1
  33. package/index.js +2 -2
  34. package/modern/{component-de5f68ec.d.ts → component-337729b3.d.ts} +0 -0
  35. package/modern/{component-de5f68ec.js → component-337729b3.js} +2 -2
  36. package/modern/component.js +1 -1
  37. package/modern/components/backer/Component.js +1 -1
  38. package/modern/components/backer/index.css +3 -3
  39. package/modern/components/closer/Component.js +1 -1
  40. package/modern/components/closer/index.css +3 -3
  41. package/modern/components/footer/Component.js +1 -1
  42. package/modern/components/footer/index.css +4 -4
  43. package/modern/components/header/Component.js +1 -1
  44. package/modern/components/header/index.css +17 -17
  45. package/modern/index.css +17 -16
  46. package/modern/index.d.ts +1 -1
  47. package/modern/index.js +1 -1
  48. package/package.json +1 -1
  49. package/send-stats.js +1 -1
  50. /package/{tslib.es6-df91b45f.d.ts → tslib.es6-b04ff061.d.ts} +0 -0
  51. /package/{tslib.es6-df91b45f.js → tslib.es6-b04ff061.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('./tslib.es6-df91b45f.js');
3
+ var tslib_es6 = require('./tslib.es6-b04ff061.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 ? "" + dataTestId + elementPart : undefined;
23
23
  };
24
24
 
25
- var styles = {"headerWrapper":"bottom-sheet__headerWrapper_fd9g2","header":"bottom-sheet__header_fd9g2","sticky":"bottom-sheet__sticky_fd9g2","highlighted":"bottom-sheet__highlighted_fd9g2","justifyEnd":"bottom-sheet__justifyEnd_fd9g2","addon":"bottom-sheet__addon_fd9g2","addonFixed":"bottom-sheet__addonFixed_fd9g2","addonLeft":"bottom-sheet__addonLeft_fd9g2","addonRight":"bottom-sheet__addonRight_fd9g2","title":"bottom-sheet__title_fd9g2","titleCenter":"bottom-sheet__titleCenter_fd9g2","titleLeft":"bottom-sheet__titleLeft_fd9g2","trimTitle":"bottom-sheet__trimTitle_fd9g2","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_fd9g2","titleIndentRight":"bottom-sheet__titleIndentRight_fd9g2","titleIndentLeft":"bottom-sheet__titleIndentLeft_fd9g2"};
25
+ var styles = {"headerWrapper":"bottom-sheet__headerWrapper_13gim","header":"bottom-sheet__header_13gim","sticky":"bottom-sheet__sticky_13gim","highlighted":"bottom-sheet__highlighted_13gim","justifyEnd":"bottom-sheet__justifyEnd_13gim","addon":"bottom-sheet__addon_13gim","addonFixed":"bottom-sheet__addonFixed_13gim","addonLeft":"bottom-sheet__addonLeft_13gim","addonRight":"bottom-sheet__addonRight_13gim","title":"bottom-sheet__title_13gim","titleCenter":"bottom-sheet__titleCenter_13gim","titleLeft":"bottom-sheet__titleLeft_13gim","trimTitle":"bottom-sheet__trimTitle_13gim","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_13gim","titleIndentRight":"bottom-sheet__titleIndentRight_13gim","titleIndentLeft":"bottom-sheet__titleIndentLeft_13gim"};
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_9b0qc","component":"bottom-sheet__component_9b0qc","withTransition":"bottom-sheet__withTransition_9b0qc","scrollableContainer":"bottom-sheet__scrollableContainer_9b0qc","marker":"bottom-sheet__marker_9b0qc","content":"bottom-sheet__content_9b0qc","noHeader":"bottom-sheet__noHeader_9b0qc","noFooter":"bottom-sheet__noFooter_9b0qc","scrollLocked":"bottom-sheet__scrollLocked_9b0qc","appear":"bottom-sheet__appear_9b0qc","enter":"bottom-sheet__enter_9b0qc","appearActive":"bottom-sheet__appearActive_9b0qc","enterActive":"bottom-sheet__enterActive_9b0qc","enterDone":"bottom-sheet__enterDone_9b0qc","appearDone":"bottom-sheet__appearDone_9b0qc","exit":"bottom-sheet__exit_9b0qc","exitActive":"bottom-sheet__exitActive_9b0qc"};
75
+ var styles$1 = {"modal":"bottom-sheet__modal_6yiwl","component":"bottom-sheet__component_6yiwl","withTransition":"bottom-sheet__withTransition_6yiwl","scrollableContainer":"bottom-sheet__scrollableContainer_6yiwl","marker":"bottom-sheet__marker_6yiwl","content":"bottom-sheet__content_6yiwl","noHeader":"bottom-sheet__noHeader_6yiwl","noFooter":"bottom-sheet__noFooter_6yiwl","scrollLocked":"bottom-sheet__scrollLocked_6yiwl","appear":"bottom-sheet__appear_6yiwl","enter":"bottom-sheet__enter_6yiwl","appearActive":"bottom-sheet__appearActive_6yiwl","enterActive":"bottom-sheet__enterActive_6yiwl","enterDone":"bottom-sheet__enterDone_6yiwl","appearDone":"bottom-sheet__appearDone_6yiwl","exit":"bottom-sheet__exit_6yiwl","exitActive":"bottom-sheet__exitActive_6yiwl"};
76
76
  require('./index.css')
77
77
 
78
78
  var TIMEOUT = 300;
package/component.js CHANGED
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-df91b45f.js');
5
+ require('./tslib.es6-b04ff061.js');
6
6
  require('react');
7
7
  require('react-div-100vh');
8
8
  require('react-swipeable');
9
9
  require('classnames');
10
10
  require('@alfalab/core-components-base-modal');
11
- var components_header_Component = require('./component-4c38fb51.js');
11
+ var components_header_Component = require('./component-0fcf9104.js');
12
12
  require('./components/footer/Component.js');
13
13
  require('@alfalab/core-components-typography');
14
14
  require('@alfalab/core-components-icon-button');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-df91b45f.js');
5
+ var tslib_es6 = require('../../tslib.es6-b04ff061.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_1n4fg","button":"bottom-sheet__button_1n4fg"};
16
+ var styles = {"backer":"bottom-sheet__backer_9fdnv","button":"bottom-sheet__button_9fdnv"};
17
17
  require('./index.css')
18
18
 
19
19
  var Backer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 15lej */
1
+ /* hash: 1e99q */
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_1n4fg {
17
+ .bottom-sheet__backer_9fdnv {
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_1n4fg {
26
+ .bottom-sheet__button_9fdnv {
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-df91b45f.js');
5
+ var tslib_es6 = require('../../tslib.es6-b04ff061.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_ahonh","button":"bottom-sheet__button_ahonh"};
17
+ var styles = {"closer":"bottom-sheet__closer_856tq","button":"bottom-sheet__button_856tq"};
18
18
  require('./index.css')
19
19
 
20
20
  var Closer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 3isiv */
1
+ /* hash: d0swj */
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_ahonh {
17
+ .bottom-sheet__closer_856tq {
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_ahonh {
26
+ .bottom-sheet__button_856tq {
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_1mo80","sticky":"bottom-sheet__sticky_1mo80","highlighted":"bottom-sheet__highlighted_1mo80"};
14
+ var styles = {"footer":"bottom-sheet__footer_bqd4r","sticky":"bottom-sheet__sticky_bqd4r","highlighted":"bottom-sheet__highlighted_bqd4r"};
15
15
  require('./index.css')
16
16
 
17
17
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 12h11 */
1
+ /* hash: jw1ic */
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_1mo80 {
21
+ .bottom-sheet__footer_bqd4r {
22
22
  padding: var(--gap-m) var(--gap-m);
23
23
  background-color: var(--color-light-bg-primary);
24
24
  }
25
- .bottom-sheet__sticky_1mo80 {
25
+ .bottom-sheet__sticky_bqd4r {
26
26
  position: sticky;
27
27
  bottom: 0;
28
28
  }
29
- .bottom-sheet__highlighted_1mo80 {
29
+ .bottom-sheet__highlighted_bqd4r {
30
30
  border-top: var(--bottom-sheet-footer-border-top);
31
31
  background-color: var(--bottom-sheet-footer-background-color);
32
32
  }
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('../../tslib.es6-df91b45f.js');
5
+ require('../../tslib.es6-b04ff061.js');
6
6
  require('react');
7
7
  require('react-div-100vh');
8
8
  require('react-swipeable');
9
9
  require('classnames');
10
10
  require('@alfalab/core-components-base-modal');
11
- var components_header_Component = require('../../component-4c38fb51.js');
11
+ var components_header_Component = require('../../component-0fcf9104.js');
12
12
  require('../footer/Component.js');
13
13
  require('@alfalab/core-components-typography');
14
14
  require('@alfalab/core-components-icon-button');
@@ -1,4 +1,4 @@
1
- /* hash: k4f8q */
1
+ /* hash: gvs9q */
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_fd9g2 {
33
+ .bottom-sheet__headerWrapper_13gim {
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_fd9g2 {
41
+ .bottom-sheet__header_13gim {
42
42
  display: flex;
43
43
  }
44
- .bottom-sheet__sticky_fd9g2 {
44
+ .bottom-sheet__sticky_13gim {
45
45
  position: sticky;
46
46
  top: 0;
47
47
  }
48
- .bottom-sheet__highlighted_fd9g2 {
48
+ .bottom-sheet__highlighted_13gim {
49
49
  border-bottom: var(--bottom-sheet-header-border-bottom);
50
50
  }
51
- .bottom-sheet__justifyEnd_fd9g2 {
51
+ .bottom-sheet__justifyEnd_13gim {
52
52
  justify-content: flex-end;
53
53
  }
54
- .bottom-sheet__addon_fd9g2 {
54
+ .bottom-sheet__addon_13gim {
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_fd9g2 {
61
+ .bottom-sheet__addonFixed_13gim {
62
62
  position: fixed;
63
63
  }
64
- .bottom-sheet__addonLeft_fd9g2 {
64
+ .bottom-sheet__addonLeft_13gim {
65
65
  left: 0;
66
66
  margin-left: var(--gap-xs);
67
67
  }
68
- .bottom-sheet__addonRight_fd9g2 {
68
+ .bottom-sheet__addonRight_13gim {
69
69
  right: 0;
70
70
  margin-right: var(--gap-xs);
71
71
  }
72
- .bottom-sheet__title_fd9g2 {
72
+ .bottom-sheet__title_13gim {
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_fd9g2 {
81
+ .bottom-sheet__titleCenter_13gim {
82
82
  text-align: center;
83
83
  }
84
- .bottom-sheet__titleLeft_fd9g2 {
84
+ .bottom-sheet__titleLeft_13gim {
85
85
  text-align: left;
86
86
  }
87
- .bottom-sheet__trimTitle_fd9g2 {
87
+ .bottom-sheet__trimTitle_13gim {
88
88
  white-space: nowrap;
89
89
  overflow: hidden;
90
90
  text-overflow: ellipsis;
91
91
  }
92
- .bottom-sheet__titleBigIndentHorizontal_fd9g2 {
92
+ .bottom-sheet__titleBigIndentHorizontal_13gim {
93
93
  margin: var(--bottom-sheet-title-margin-vertical) var(--gap-4xl);
94
94
  }
95
- .bottom-sheet__titleIndentRight_fd9g2 {
95
+ .bottom-sheet__titleIndentRight_13gim {
96
96
  margin-right: var(--gap-4xl);
97
97
  }
98
- .bottom-sheet__titleIndentLeft_fd9g2 {
98
+ .bottom-sheet__titleIndentLeft_13gim {
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-df91b45f.js');
5
+ var tslib_es6 = require('../../tslib.es6-b04ff061.js');
6
6
  var React = require('react');
7
7
  var coreComponentsBackdrop = require('@alfalab/core-components-backdrop');
8
8
 
@@ -17,6 +17,7 @@
17
17
  --gap-xl: 24px;
18
18
  }
19
19
  :root {
20
+ --border-radius-xxl: 20px;
20
21
  --border-radius-3xl: 24px;
21
22
  }
22
23
  :root {
@@ -56,7 +57,7 @@
56
57
  left: 50%;
57
58
  width: 36px;
58
59
  height: 4px;
59
- border-radius: 20px;
60
+ border-radius: var(--border-radius-xxl);
60
61
  transform: translateX(-50%);
61
62
  background-color: var(--color-light-graphic-quaternary);
62
63
  z-index: 1000;
@@ -1,4 +1,4 @@
1
- import { _ as __assign } from './tslib.es6-5765b9ae.js';
1
+ import { _ as __assign } from './tslib.es6-d1e53481.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 ? "" + dataTestId + elementPart : undefined;
16
16
  };
17
17
 
18
- var styles = {"headerWrapper":"bottom-sheet__headerWrapper_fd9g2","header":"bottom-sheet__header_fd9g2","sticky":"bottom-sheet__sticky_fd9g2","highlighted":"bottom-sheet__highlighted_fd9g2","justifyEnd":"bottom-sheet__justifyEnd_fd9g2","addon":"bottom-sheet__addon_fd9g2","addonFixed":"bottom-sheet__addonFixed_fd9g2","addonLeft":"bottom-sheet__addonLeft_fd9g2","addonRight":"bottom-sheet__addonRight_fd9g2","title":"bottom-sheet__title_fd9g2","titleCenter":"bottom-sheet__titleCenter_fd9g2","titleLeft":"bottom-sheet__titleLeft_fd9g2","trimTitle":"bottom-sheet__trimTitle_fd9g2","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_fd9g2","titleIndentRight":"bottom-sheet__titleIndentRight_fd9g2","titleIndentLeft":"bottom-sheet__titleIndentLeft_fd9g2"};
18
+ var styles = {"headerWrapper":"bottom-sheet__headerWrapper_13gim","header":"bottom-sheet__header_13gim","sticky":"bottom-sheet__sticky_13gim","highlighted":"bottom-sheet__highlighted_13gim","justifyEnd":"bottom-sheet__justifyEnd_13gim","addon":"bottom-sheet__addon_13gim","addonFixed":"bottom-sheet__addonFixed_13gim","addonLeft":"bottom-sheet__addonLeft_13gim","addonRight":"bottom-sheet__addonRight_13gim","title":"bottom-sheet__title_13gim","titleCenter":"bottom-sheet__titleCenter_13gim","titleLeft":"bottom-sheet__titleLeft_13gim","trimTitle":"bottom-sheet__trimTitle_13gim","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_13gim","titleIndentRight":"bottom-sheet__titleIndentRight_13gim","titleIndentLeft":"bottom-sheet__titleIndentLeft_13gim"};
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_9b0qc","component":"bottom-sheet__component_9b0qc","withTransition":"bottom-sheet__withTransition_9b0qc","scrollableContainer":"bottom-sheet__scrollableContainer_9b0qc","marker":"bottom-sheet__marker_9b0qc","content":"bottom-sheet__content_9b0qc","noHeader":"bottom-sheet__noHeader_9b0qc","noFooter":"bottom-sheet__noFooter_9b0qc","scrollLocked":"bottom-sheet__scrollLocked_9b0qc","appear":"bottom-sheet__appear_9b0qc","enter":"bottom-sheet__enter_9b0qc","appearActive":"bottom-sheet__appearActive_9b0qc","enterActive":"bottom-sheet__enterActive_9b0qc","enterDone":"bottom-sheet__enterDone_9b0qc","appearDone":"bottom-sheet__appearDone_9b0qc","exit":"bottom-sheet__exit_9b0qc","exitActive":"bottom-sheet__exitActive_9b0qc"};
68
+ var styles$1 = {"modal":"bottom-sheet__modal_6yiwl","component":"bottom-sheet__component_6yiwl","withTransition":"bottom-sheet__withTransition_6yiwl","scrollableContainer":"bottom-sheet__scrollableContainer_6yiwl","marker":"bottom-sheet__marker_6yiwl","content":"bottom-sheet__content_6yiwl","noHeader":"bottom-sheet__noHeader_6yiwl","noFooter":"bottom-sheet__noFooter_6yiwl","scrollLocked":"bottom-sheet__scrollLocked_6yiwl","appear":"bottom-sheet__appear_6yiwl","enter":"bottom-sheet__enter_6yiwl","appearActive":"bottom-sheet__appearActive_6yiwl","enterActive":"bottom-sheet__enterActive_6yiwl","enterDone":"bottom-sheet__enterDone_6yiwl","appearDone":"bottom-sheet__appearDone_6yiwl","exit":"bottom-sheet__exit_6yiwl","exitActive":"bottom-sheet__exitActive_6yiwl"};
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-5765b9ae.js';
1
+ import './tslib.es6-d1e53481.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-6f8129f8.js';
7
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-4dfb00be.js';
8
8
  import './components/footer/Component.js';
9
9
  import '@alfalab/core-components-typography/esm';
10
10
  import '@alfalab/core-components-icon-button/esm';
@@ -1,10 +1,10 @@
1
- import { a as __rest, _ as __assign } from '../../tslib.es6-5765b9ae.js';
1
+ import { a as __rest, _ as __assign } from '../../tslib.es6-d1e53481.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_1n4fg","button":"bottom-sheet__button_1n4fg"};
7
+ var styles = {"backer":"bottom-sheet__backer_9fdnv","button":"bottom-sheet__button_9fdnv"};
8
8
  require('./index.css')
9
9
 
10
10
  var Backer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 15lej */
1
+ /* hash: 1e99q */
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_1n4fg {
17
+ .bottom-sheet__backer_9fdnv {
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_1n4fg {
26
+ .bottom-sheet__button_9fdnv {
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-5765b9ae.js';
1
+ import { a as __rest, _ as __assign } from '../../tslib.es6-d1e53481.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_ahonh","button":"bottom-sheet__button_ahonh"};
8
+ var styles = {"closer":"bottom-sheet__closer_856tq","button":"bottom-sheet__button_856tq"};
9
9
  require('./index.css')
10
10
 
11
11
  var Closer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 3isiv */
1
+ /* hash: d0swj */
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_ahonh {
17
+ .bottom-sheet__closer_856tq {
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_ahonh {
26
+ .bottom-sheet__button_856tq {
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_1mo80","sticky":"bottom-sheet__sticky_1mo80","highlighted":"bottom-sheet__highlighted_1mo80"};
5
+ var styles = {"footer":"bottom-sheet__footer_bqd4r","sticky":"bottom-sheet__sticky_bqd4r","highlighted":"bottom-sheet__highlighted_bqd4r"};
6
6
  require('./index.css')
7
7
 
8
8
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 12h11 */
1
+ /* hash: jw1ic */
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_1mo80 {
21
+ .bottom-sheet__footer_bqd4r {
22
22
  padding: var(--gap-m) var(--gap-m);
23
23
  background-color: var(--color-light-bg-primary);
24
24
  }
25
- .bottom-sheet__sticky_1mo80 {
25
+ .bottom-sheet__sticky_bqd4r {
26
26
  position: sticky;
27
27
  bottom: 0;
28
28
  }
29
- .bottom-sheet__highlighted_1mo80 {
29
+ .bottom-sheet__highlighted_bqd4r {
30
30
  border-top: var(--bottom-sheet-footer-border-top);
31
31
  background-color: var(--bottom-sheet-footer-background-color);
32
32
  }
@@ -1,10 +1,10 @@
1
- import '../../tslib.es6-5765b9ae.js';
1
+ import '../../tslib.es6-d1e53481.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 { a as Header } from '../../component-6f8129f8.js';
7
+ export { a as Header } from '../../component-4dfb00be.js';
8
8
  import '../footer/Component.js';
9
9
  import '@alfalab/core-components-typography/esm';
10
10
  import '@alfalab/core-components-icon-button/esm';
@@ -1,4 +1,4 @@
1
- /* hash: k4f8q */
1
+ /* hash: gvs9q */
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_fd9g2 {
33
+ .bottom-sheet__headerWrapper_13gim {
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_fd9g2 {
41
+ .bottom-sheet__header_13gim {
42
42
  display: flex;
43
43
  }
44
- .bottom-sheet__sticky_fd9g2 {
44
+ .bottom-sheet__sticky_13gim {
45
45
  position: sticky;
46
46
  top: 0;
47
47
  }
48
- .bottom-sheet__highlighted_fd9g2 {
48
+ .bottom-sheet__highlighted_13gim {
49
49
  border-bottom: var(--bottom-sheet-header-border-bottom);
50
50
  }
51
- .bottom-sheet__justifyEnd_fd9g2 {
51
+ .bottom-sheet__justifyEnd_13gim {
52
52
  justify-content: flex-end;
53
53
  }
54
- .bottom-sheet__addon_fd9g2 {
54
+ .bottom-sheet__addon_13gim {
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_fd9g2 {
61
+ .bottom-sheet__addonFixed_13gim {
62
62
  position: fixed;
63
63
  }
64
- .bottom-sheet__addonLeft_fd9g2 {
64
+ .bottom-sheet__addonLeft_13gim {
65
65
  left: 0;
66
66
  margin-left: var(--gap-xs);
67
67
  }
68
- .bottom-sheet__addonRight_fd9g2 {
68
+ .bottom-sheet__addonRight_13gim {
69
69
  right: 0;
70
70
  margin-right: var(--gap-xs);
71
71
  }
72
- .bottom-sheet__title_fd9g2 {
72
+ .bottom-sheet__title_13gim {
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_fd9g2 {
81
+ .bottom-sheet__titleCenter_13gim {
82
82
  text-align: center;
83
83
  }
84
- .bottom-sheet__titleLeft_fd9g2 {
84
+ .bottom-sheet__titleLeft_13gim {
85
85
  text-align: left;
86
86
  }
87
- .bottom-sheet__trimTitle_fd9g2 {
87
+ .bottom-sheet__trimTitle_13gim {
88
88
  white-space: nowrap;
89
89
  overflow: hidden;
90
90
  text-overflow: ellipsis;
91
91
  }
92
- .bottom-sheet__titleBigIndentHorizontal_fd9g2 {
92
+ .bottom-sheet__titleBigIndentHorizontal_13gim {
93
93
  margin: var(--bottom-sheet-title-margin-vertical) var(--gap-4xl);
94
94
  }
95
- .bottom-sheet__titleIndentRight_fd9g2 {
95
+ .bottom-sheet__titleIndentRight_13gim {
96
96
  margin-right: var(--gap-4xl);
97
97
  }
98
- .bottom-sheet__titleIndentLeft_fd9g2 {
98
+ .bottom-sheet__titleIndentLeft_13gim {
99
99
  margin-left: var(--gap-4xl);
100
100
  }
@@ -1,4 +1,4 @@
1
- import { a as __rest, _ as __assign } from '../../tslib.es6-5765b9ae.js';
1
+ import { a as __rest, _ as __assign } from '../../tslib.es6-d1e53481.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: mz5zx */
1
+ /* hash: wh6dl */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-graphic-quaternary: #dbdee1;
@@ -18,20 +18,21 @@
18
18
  --gap-xl: 24px;
19
19
  }
20
20
  :root {
21
+ --border-radius-xxl: 20px;
21
22
  --border-radius-3xl: 24px;
22
23
  }
23
24
  :root {
24
25
  --bottom-sheet-in-transition: 0.5s cubic-bezier(0.09, 0.91, 0.18, 0.99);
25
26
  --bottom-sheet-out-transition: 0.3s ease;
26
27
  }
27
- .bottom-sheet__modal_9b0qc {
28
+ .bottom-sheet__modal_6yiwl {
28
29
  background-color: transparent;
29
30
  position: fixed;
30
31
  bottom: 0;
31
32
  width: 100%;
32
33
  max-width: 600px;
33
34
  }
34
- .bottom-sheet__component_9b0qc {
35
+ .bottom-sheet__component_6yiwl {
35
36
  overflow: hidden;
36
37
  position: relative;
37
38
  display: flex;
@@ -41,28 +42,28 @@
41
42
  background: var(--color-light-bg-primary);
42
43
  transform: translateY(100%);
43
44
  }
44
- .bottom-sheet__withTransition_9b0qc {
45
+ .bottom-sheet__withTransition_6yiwl {
45
46
  transition: var(--bottom-sheet-out-transition);
46
47
  }
47
- .bottom-sheet__scrollableContainer_9b0qc {
48
+ .bottom-sheet__scrollableContainer_6yiwl {
48
49
  overflow: auto;
49
50
  display: flex;
50
51
  flex-direction: column;
51
52
  position: relative;
52
53
  height: 100%;
53
54
  }
54
- .bottom-sheet__marker_9b0qc {
55
+ .bottom-sheet__marker_6yiwl {
55
56
  position: fixed;
56
57
  top: var(--gap-2xs);
57
58
  left: 50%;
58
59
  width: 36px;
59
60
  height: 4px;
60
- border-radius: 20px;
61
+ border-radius: var(--border-radius-xxl);
61
62
  transform: translateX(-50%);
62
63
  background-color: var(--color-light-graphic-quaternary);
63
64
  z-index: 1000;
64
65
  }
65
- .bottom-sheet__content_9b0qc {
66
+ .bottom-sheet__content_6yiwl {
66
67
  display: flex;
67
68
  flex-direction: column;
68
69
  flex: 1;
@@ -70,29 +71,29 @@
70
71
  color: var(--color-light-text-primary);
71
72
  background-color: var(--color-light-bg-primary);
72
73
  }
73
- .bottom-sheet__noHeader_9b0qc {
74
+ .bottom-sheet__noHeader_6yiwl {
74
75
  padding-top: var(--gap-xl);
75
76
  }
76
- .bottom-sheet__noFooter_9b0qc {
77
+ .bottom-sheet__noFooter_6yiwl {
77
78
  padding-bottom: var(--gap-m);
78
79
  }
79
- .bottom-sheet__scrollLocked_9b0qc {
80
+ .bottom-sheet__scrollLocked_6yiwl {
80
81
  overflow: hidden;
81
82
  }
82
- .bottom-sheet__appear_9b0qc .bottom-sheet__component_9b0qc, .bottom-sheet__enter_9b0qc .bottom-sheet__component_9b0qc {
83
+ .bottom-sheet__appear_6yiwl .bottom-sheet__component_6yiwl, .bottom-sheet__enter_6yiwl .bottom-sheet__component_6yiwl {
83
84
  transition: none;
84
85
  }
85
- .bottom-sheet__appearActive_9b0qc .bottom-sheet__component_9b0qc, .bottom-sheet__enterActive_9b0qc .bottom-sheet__component_9b0qc {
86
+ .bottom-sheet__appearActive_6yiwl .bottom-sheet__component_6yiwl, .bottom-sheet__enterActive_6yiwl .bottom-sheet__component_6yiwl {
86
87
  transition: var(--bottom-sheet-in-transition);
87
88
  transform: translateY(0);
88
89
  }
89
- .bottom-sheet__enterDone_9b0qc .bottom-sheet__component_9b0qc, .bottom-sheet__appearDone_9b0qc .bottom-sheet__component_9b0qc {
90
+ .bottom-sheet__enterDone_6yiwl .bottom-sheet__component_6yiwl, .bottom-sheet__appearDone_6yiwl .bottom-sheet__component_6yiwl {
90
91
  transform: translateY(0);
91
92
  }
92
- .bottom-sheet__exit_9b0qc .bottom-sheet__component_9b0qc {
93
+ .bottom-sheet__exit_6yiwl .bottom-sheet__component_6yiwl {
93
94
  transform: translateY(0);
94
95
  }
95
- .bottom-sheet__exitActive_9b0qc .bottom-sheet__component_9b0qc {
96
+ .bottom-sheet__exitActive_6yiwl .bottom-sheet__component_6yiwl {
96
97
  transition: var(--bottom-sheet-out-transition);
97
98
  transform: translateY(100%);
98
99
  }
package/esm/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./component-6f8129f8";
1
+ export * from "./component-4dfb00be";
package/esm/index.js CHANGED
@@ -1,10 +1,10 @@
1
- import './tslib.es6-5765b9ae.js';
1
+ import './tslib.es6-d1e53481.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-6f8129f8.js';
7
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-4dfb00be.js';
8
8
  import './components/footer/Component.js';
9
9
  import '@alfalab/core-components-typography/esm';
10
10
  import '@alfalab/core-components-icon-button/esm';
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: mz5zx */
1
+ /* hash: wh6dl */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-graphic-quaternary: #dbdee1;
@@ -18,20 +18,21 @@
18
18
  --gap-xl: 24px;
19
19
  }
20
20
  :root {
21
+ --border-radius-xxl: 20px;
21
22
  --border-radius-3xl: 24px;
22
23
  }
23
24
  :root {
24
25
  --bottom-sheet-in-transition: 0.5s cubic-bezier(0.09, 0.91, 0.18, 0.99);
25
26
  --bottom-sheet-out-transition: 0.3s ease;
26
27
  }
27
- .bottom-sheet__modal_9b0qc {
28
+ .bottom-sheet__modal_6yiwl {
28
29
  background-color: transparent;
29
30
  position: fixed;
30
31
  bottom: 0;
31
32
  width: 100%;
32
33
  max-width: 600px;
33
34
  }
34
- .bottom-sheet__component_9b0qc {
35
+ .bottom-sheet__component_6yiwl {
35
36
  overflow: hidden;
36
37
  position: relative;
37
38
  display: flex;
@@ -41,28 +42,28 @@
41
42
  background: var(--color-light-bg-primary);
42
43
  transform: translateY(100%);
43
44
  }
44
- .bottom-sheet__withTransition_9b0qc {
45
+ .bottom-sheet__withTransition_6yiwl {
45
46
  transition: var(--bottom-sheet-out-transition);
46
47
  }
47
- .bottom-sheet__scrollableContainer_9b0qc {
48
+ .bottom-sheet__scrollableContainer_6yiwl {
48
49
  overflow: auto;
49
50
  display: flex;
50
51
  flex-direction: column;
51
52
  position: relative;
52
53
  height: 100%;
53
54
  }
54
- .bottom-sheet__marker_9b0qc {
55
+ .bottom-sheet__marker_6yiwl {
55
56
  position: fixed;
56
57
  top: var(--gap-2xs);
57
58
  left: 50%;
58
59
  width: 36px;
59
60
  height: 4px;
60
- border-radius: 20px;
61
+ border-radius: var(--border-radius-xxl);
61
62
  transform: translateX(-50%);
62
63
  background-color: var(--color-light-graphic-quaternary);
63
64
  z-index: 1000;
64
65
  }
65
- .bottom-sheet__content_9b0qc {
66
+ .bottom-sheet__content_6yiwl {
66
67
  display: flex;
67
68
  flex-direction: column;
68
69
  flex: 1;
@@ -70,29 +71,29 @@
70
71
  color: var(--color-light-text-primary);
71
72
  background-color: var(--color-light-bg-primary);
72
73
  }
73
- .bottom-sheet__noHeader_9b0qc {
74
+ .bottom-sheet__noHeader_6yiwl {
74
75
  padding-top: var(--gap-xl);
75
76
  }
76
- .bottom-sheet__noFooter_9b0qc {
77
+ .bottom-sheet__noFooter_6yiwl {
77
78
  padding-bottom: var(--gap-m);
78
79
  }
79
- .bottom-sheet__scrollLocked_9b0qc {
80
+ .bottom-sheet__scrollLocked_6yiwl {
80
81
  overflow: hidden;
81
82
  }
82
- .bottom-sheet__appear_9b0qc .bottom-sheet__component_9b0qc, .bottom-sheet__enter_9b0qc .bottom-sheet__component_9b0qc {
83
+ .bottom-sheet__appear_6yiwl .bottom-sheet__component_6yiwl, .bottom-sheet__enter_6yiwl .bottom-sheet__component_6yiwl {
83
84
  transition: none;
84
85
  }
85
- .bottom-sheet__appearActive_9b0qc .bottom-sheet__component_9b0qc, .bottom-sheet__enterActive_9b0qc .bottom-sheet__component_9b0qc {
86
+ .bottom-sheet__appearActive_6yiwl .bottom-sheet__component_6yiwl, .bottom-sheet__enterActive_6yiwl .bottom-sheet__component_6yiwl {
86
87
  transition: var(--bottom-sheet-in-transition);
87
88
  transform: translateY(0);
88
89
  }
89
- .bottom-sheet__enterDone_9b0qc .bottom-sheet__component_9b0qc, .bottom-sheet__appearDone_9b0qc .bottom-sheet__component_9b0qc {
90
+ .bottom-sheet__enterDone_6yiwl .bottom-sheet__component_6yiwl, .bottom-sheet__appearDone_6yiwl .bottom-sheet__component_6yiwl {
90
91
  transform: translateY(0);
91
92
  }
92
- .bottom-sheet__exit_9b0qc .bottom-sheet__component_9b0qc {
93
+ .bottom-sheet__exit_6yiwl .bottom-sheet__component_6yiwl {
93
94
  transform: translateY(0);
94
95
  }
95
- .bottom-sheet__exitActive_9b0qc .bottom-sheet__component_9b0qc {
96
+ .bottom-sheet__exitActive_6yiwl .bottom-sheet__component_6yiwl {
96
97
  transition: var(--bottom-sheet-out-transition);
97
98
  transform: translateY(100%);
98
99
  }
package/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./component-4c38fb51";
1
+ export * from "./component-0fcf9104";
package/index.js CHANGED
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-df91b45f.js');
5
+ require('./tslib.es6-b04ff061.js');
6
6
  require('react');
7
7
  require('react-div-100vh');
8
8
  require('react-swipeable');
9
9
  require('classnames');
10
10
  require('@alfalab/core-components-base-modal');
11
- var components_header_Component = require('./component-4c38fb51.js');
11
+ var components_header_Component = require('./component-0fcf9104.js');
12
12
  require('./components/footer/Component.js');
13
13
  require('@alfalab/core-components-typography');
14
14
  require('@alfalab/core-components-icon-button');
@@ -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_fd9g2","header":"bottom-sheet__header_fd9g2","sticky":"bottom-sheet__sticky_fd9g2","highlighted":"bottom-sheet__highlighted_fd9g2","justifyEnd":"bottom-sheet__justifyEnd_fd9g2","addon":"bottom-sheet__addon_fd9g2","addonFixed":"bottom-sheet__addonFixed_fd9g2","addonLeft":"bottom-sheet__addonLeft_fd9g2","addonRight":"bottom-sheet__addonRight_fd9g2","title":"bottom-sheet__title_fd9g2","titleCenter":"bottom-sheet__titleCenter_fd9g2","titleLeft":"bottom-sheet__titleLeft_fd9g2","trimTitle":"bottom-sheet__trimTitle_fd9g2","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_fd9g2","titleIndentRight":"bottom-sheet__titleIndentRight_fd9g2","titleIndentLeft":"bottom-sheet__titleIndentLeft_fd9g2"};
17
+ var styles = {"headerWrapper":"bottom-sheet__headerWrapper_13gim","header":"bottom-sheet__header_13gim","sticky":"bottom-sheet__sticky_13gim","highlighted":"bottom-sheet__highlighted_13gim","justifyEnd":"bottom-sheet__justifyEnd_13gim","addon":"bottom-sheet__addon_13gim","addonFixed":"bottom-sheet__addonFixed_13gim","addonLeft":"bottom-sheet__addonLeft_13gim","addonRight":"bottom-sheet__addonRight_13gim","title":"bottom-sheet__title_13gim","titleCenter":"bottom-sheet__titleCenter_13gim","titleLeft":"bottom-sheet__titleLeft_13gim","trimTitle":"bottom-sheet__trimTitle_13gim","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_13gim","titleIndentRight":"bottom-sheet__titleIndentRight_13gim","titleIndentLeft":"bottom-sheet__titleIndentLeft_13gim"};
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_9b0qc","component":"bottom-sheet__component_9b0qc","withTransition":"bottom-sheet__withTransition_9b0qc","scrollableContainer":"bottom-sheet__scrollableContainer_9b0qc","marker":"bottom-sheet__marker_9b0qc","content":"bottom-sheet__content_9b0qc","noHeader":"bottom-sheet__noHeader_9b0qc","noFooter":"bottom-sheet__noFooter_9b0qc","scrollLocked":"bottom-sheet__scrollLocked_9b0qc","appear":"bottom-sheet__appear_9b0qc","enter":"bottom-sheet__enter_9b0qc","appearActive":"bottom-sheet__appearActive_9b0qc","enterActive":"bottom-sheet__enterActive_9b0qc","enterDone":"bottom-sheet__enterDone_9b0qc","appearDone":"bottom-sheet__appearDone_9b0qc","exit":"bottom-sheet__exit_9b0qc","exitActive":"bottom-sheet__exitActive_9b0qc"};
64
+ var styles$1 = {"modal":"bottom-sheet__modal_6yiwl","component":"bottom-sheet__component_6yiwl","withTransition":"bottom-sheet__withTransition_6yiwl","scrollableContainer":"bottom-sheet__scrollableContainer_6yiwl","marker":"bottom-sheet__marker_6yiwl","content":"bottom-sheet__content_6yiwl","noHeader":"bottom-sheet__noHeader_6yiwl","noFooter":"bottom-sheet__noFooter_6yiwl","scrollLocked":"bottom-sheet__scrollLocked_6yiwl","appear":"bottom-sheet__appear_6yiwl","enter":"bottom-sheet__enter_6yiwl","appearActive":"bottom-sheet__appearActive_6yiwl","enterActive":"bottom-sheet__enterActive_6yiwl","enterDone":"bottom-sheet__enterDone_6yiwl","appearDone":"bottom-sheet__appearDone_6yiwl","exit":"bottom-sheet__exit_6yiwl","exitActive":"bottom-sheet__exitActive_6yiwl"};
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-de5f68ec.js';
6
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-337729b3.js';
7
7
  import './components/footer/Component.js';
8
8
  import '@alfalab/core-components-typography/modern';
9
9
  import '@alfalab/core-components-icon-button/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
- var styles = {"backer":"bottom-sheet__backer_1n4fg","button":"bottom-sheet__button_1n4fg"};
6
+ var styles = {"backer":"bottom-sheet__backer_9fdnv","button":"bottom-sheet__button_9fdnv"};
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: 15lej */
1
+ /* hash: 1e99q */
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_1n4fg {
17
+ .bottom-sheet__backer_9fdnv {
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_1n4fg {
26
+ .bottom-sheet__button_9fdnv {
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_ahonh","button":"bottom-sheet__button_ahonh"};
7
+ var styles = {"closer":"bottom-sheet__closer_856tq","button":"bottom-sheet__button_856tq"};
8
8
  require('./index.css')
9
9
 
10
10
  const Closer = ({ className, size = 'xs', icon = CrossMIcon, dataTestId, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 3isiv */
1
+ /* hash: d0swj */
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_ahonh {
17
+ .bottom-sheet__closer_856tq {
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_ahonh {
26
+ .bottom-sheet__button_856tq {
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_1mo80","sticky":"bottom-sheet__sticky_1mo80","highlighted":"bottom-sheet__highlighted_1mo80"};
5
+ var styles = {"footer":"bottom-sheet__footer_bqd4r","sticky":"bottom-sheet__sticky_bqd4r","highlighted":"bottom-sheet__highlighted_bqd4r"};
6
6
  require('./index.css')
7
7
 
8
8
  const Footer = ({ children, className, sticky }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 12h11 */
1
+ /* hash: jw1ic */
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_1mo80 {
21
+ .bottom-sheet__footer_bqd4r {
22
22
  padding: var(--gap-m) var(--gap-m);
23
23
  background-color: var(--color-light-bg-primary);
24
24
  }
25
- .bottom-sheet__sticky_1mo80 {
25
+ .bottom-sheet__sticky_bqd4r {
26
26
  position: sticky;
27
27
  bottom: 0;
28
28
  }
29
- .bottom-sheet__highlighted_1mo80 {
29
+ .bottom-sheet__highlighted_bqd4r {
30
30
  border-top: var(--bottom-sheet-footer-border-top);
31
31
  background-color: var(--bottom-sheet-footer-background-color);
32
32
  }
@@ -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 { a as Header } from '../../component-de5f68ec.js';
6
+ export { a as Header } from '../../component-337729b3.js';
7
7
  import '../footer/Component.js';
8
8
  import '@alfalab/core-components-typography/modern';
9
9
  import '@alfalab/core-components-icon-button/modern';
@@ -1,4 +1,4 @@
1
- /* hash: k4f8q */
1
+ /* hash: gvs9q */
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_fd9g2 {
33
+ .bottom-sheet__headerWrapper_13gim {
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_fd9g2 {
41
+ .bottom-sheet__header_13gim {
42
42
  display: flex;
43
43
  }
44
- .bottom-sheet__sticky_fd9g2 {
44
+ .bottom-sheet__sticky_13gim {
45
45
  position: sticky;
46
46
  top: 0;
47
47
  }
48
- .bottom-sheet__highlighted_fd9g2 {
48
+ .bottom-sheet__highlighted_13gim {
49
49
  border-bottom: var(--bottom-sheet-header-border-bottom);
50
50
  }
51
- .bottom-sheet__justifyEnd_fd9g2 {
51
+ .bottom-sheet__justifyEnd_13gim {
52
52
  justify-content: flex-end;
53
53
  }
54
- .bottom-sheet__addon_fd9g2 {
54
+ .bottom-sheet__addon_13gim {
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_fd9g2 {
61
+ .bottom-sheet__addonFixed_13gim {
62
62
  position: fixed;
63
63
  }
64
- .bottom-sheet__addonLeft_fd9g2 {
64
+ .bottom-sheet__addonLeft_13gim {
65
65
  left: 0;
66
66
  margin-left: var(--gap-xs);
67
67
  }
68
- .bottom-sheet__addonRight_fd9g2 {
68
+ .bottom-sheet__addonRight_13gim {
69
69
  right: 0;
70
70
  margin-right: var(--gap-xs);
71
71
  }
72
- .bottom-sheet__title_fd9g2 {
72
+ .bottom-sheet__title_13gim {
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_fd9g2 {
81
+ .bottom-sheet__titleCenter_13gim {
82
82
  text-align: center;
83
83
  }
84
- .bottom-sheet__titleLeft_fd9g2 {
84
+ .bottom-sheet__titleLeft_13gim {
85
85
  text-align: left;
86
86
  }
87
- .bottom-sheet__trimTitle_fd9g2 {
87
+ .bottom-sheet__trimTitle_13gim {
88
88
  white-space: nowrap;
89
89
  overflow: hidden;
90
90
  text-overflow: ellipsis;
91
91
  }
92
- .bottom-sheet__titleBigIndentHorizontal_fd9g2 {
92
+ .bottom-sheet__titleBigIndentHorizontal_13gim {
93
93
  margin: var(--bottom-sheet-title-margin-vertical) var(--gap-4xl);
94
94
  }
95
- .bottom-sheet__titleIndentRight_fd9g2 {
95
+ .bottom-sheet__titleIndentRight_13gim {
96
96
  margin-right: var(--gap-4xl);
97
97
  }
98
- .bottom-sheet__titleIndentLeft_fd9g2 {
98
+ .bottom-sheet__titleIndentLeft_13gim {
99
99
  margin-left: var(--gap-4xl);
100
100
  }
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: mz5zx */
1
+ /* hash: wh6dl */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-graphic-quaternary: #dbdee1;
@@ -18,20 +18,21 @@
18
18
  --gap-xl: 24px;
19
19
  }
20
20
  :root {
21
+ --border-radius-xxl: 20px;
21
22
  --border-radius-3xl: 24px;
22
23
  }
23
24
  :root {
24
25
  --bottom-sheet-in-transition: 0.5s cubic-bezier(0.09, 0.91, 0.18, 0.99);
25
26
  --bottom-sheet-out-transition: 0.3s ease;
26
27
  }
27
- .bottom-sheet__modal_9b0qc {
28
+ .bottom-sheet__modal_6yiwl {
28
29
  background-color: transparent;
29
30
  position: fixed;
30
31
  bottom: 0;
31
32
  width: 100%;
32
33
  max-width: 600px;
33
34
  }
34
- .bottom-sheet__component_9b0qc {
35
+ .bottom-sheet__component_6yiwl {
35
36
  overflow: hidden;
36
37
  position: relative;
37
38
  display: flex;
@@ -41,28 +42,28 @@
41
42
  background: var(--color-light-bg-primary);
42
43
  transform: translateY(100%);
43
44
  }
44
- .bottom-sheet__withTransition_9b0qc {
45
+ .bottom-sheet__withTransition_6yiwl {
45
46
  transition: var(--bottom-sheet-out-transition);
46
47
  }
47
- .bottom-sheet__scrollableContainer_9b0qc {
48
+ .bottom-sheet__scrollableContainer_6yiwl {
48
49
  overflow: auto;
49
50
  display: flex;
50
51
  flex-direction: column;
51
52
  position: relative;
52
53
  height: 100%;
53
54
  }
54
- .bottom-sheet__marker_9b0qc {
55
+ .bottom-sheet__marker_6yiwl {
55
56
  position: fixed;
56
57
  top: var(--gap-2xs);
57
58
  left: 50%;
58
59
  width: 36px;
59
60
  height: 4px;
60
- border-radius: 20px;
61
+ border-radius: var(--border-radius-xxl);
61
62
  transform: translateX(-50%);
62
63
  background-color: var(--color-light-graphic-quaternary);
63
64
  z-index: 1000;
64
65
  }
65
- .bottom-sheet__content_9b0qc {
66
+ .bottom-sheet__content_6yiwl {
66
67
  display: flex;
67
68
  flex-direction: column;
68
69
  flex: 1;
@@ -70,29 +71,29 @@
70
71
  color: var(--color-light-text-primary);
71
72
  background-color: var(--color-light-bg-primary);
72
73
  }
73
- .bottom-sheet__noHeader_9b0qc {
74
+ .bottom-sheet__noHeader_6yiwl {
74
75
  padding-top: var(--gap-xl);
75
76
  }
76
- .bottom-sheet__noFooter_9b0qc {
77
+ .bottom-sheet__noFooter_6yiwl {
77
78
  padding-bottom: var(--gap-m);
78
79
  }
79
- .bottom-sheet__scrollLocked_9b0qc {
80
+ .bottom-sheet__scrollLocked_6yiwl {
80
81
  overflow: hidden;
81
82
  }
82
- .bottom-sheet__appear_9b0qc .bottom-sheet__component_9b0qc, .bottom-sheet__enter_9b0qc .bottom-sheet__component_9b0qc {
83
+ .bottom-sheet__appear_6yiwl .bottom-sheet__component_6yiwl, .bottom-sheet__enter_6yiwl .bottom-sheet__component_6yiwl {
83
84
  transition: none;
84
85
  }
85
- .bottom-sheet__appearActive_9b0qc .bottom-sheet__component_9b0qc, .bottom-sheet__enterActive_9b0qc .bottom-sheet__component_9b0qc {
86
+ .bottom-sheet__appearActive_6yiwl .bottom-sheet__component_6yiwl, .bottom-sheet__enterActive_6yiwl .bottom-sheet__component_6yiwl {
86
87
  transition: var(--bottom-sheet-in-transition);
87
88
  transform: translateY(0);
88
89
  }
89
- .bottom-sheet__enterDone_9b0qc .bottom-sheet__component_9b0qc, .bottom-sheet__appearDone_9b0qc .bottom-sheet__component_9b0qc {
90
+ .bottom-sheet__enterDone_6yiwl .bottom-sheet__component_6yiwl, .bottom-sheet__appearDone_6yiwl .bottom-sheet__component_6yiwl {
90
91
  transform: translateY(0);
91
92
  }
92
- .bottom-sheet__exit_9b0qc .bottom-sheet__component_9b0qc {
93
+ .bottom-sheet__exit_6yiwl .bottom-sheet__component_6yiwl {
93
94
  transform: translateY(0);
94
95
  }
95
- .bottom-sheet__exitActive_9b0qc .bottom-sheet__component_9b0qc {
96
+ .bottom-sheet__exitActive_6yiwl .bottom-sheet__component_6yiwl {
96
97
  transition: var(--bottom-sheet-out-transition);
97
98
  transform: translateY(100%);
98
99
  }
package/modern/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./component-de5f68ec";
1
+ export * from "./component-337729b3";
package/modern/index.js CHANGED
@@ -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-de5f68ec.js';
6
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-337729b3.js';
7
7
  import './components/footer/Component.js';
8
8
  import '@alfalab/core-components-typography/modern';
9
9
  import '@alfalab/core-components-icon-button/modern';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-bottom-sheet",
3
- "version": "5.1.7",
3
+ "version": "5.1.8",
4
4
  "description": "Bottom sheet mobile component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
package/send-stats.js CHANGED
@@ -55,7 +55,7 @@ async function main() {
55
55
  };
56
56
 
57
57
  return new Promise((resolve, reject) => {
58
- const req = http.request(options, res => {
58
+ const req = http.request(options, (res) => {
59
59
  res.on('end', () => {
60
60
  resolve();
61
61
  });