@alfalab/core-components-bottom-sheet 6.0.0 → 6.0.2

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 (37) hide show
  1. package/{component-4db10e00.js → component-a3ad36ed.js} +3 -3
  2. package/component.js +1 -1
  3. package/components/footer/Component.js +1 -1
  4. package/components/footer/index.css +4 -4
  5. package/components/header/Component.js +1 -1
  6. package/components/header/index.css +13 -13
  7. package/cssm/{component-b3add484.js → component-3f9ff39b.js} +1 -1
  8. package/cssm/component.js +1 -1
  9. package/cssm/components/header/Component.js +1 -1
  10. package/cssm/index.d.ts +1 -1
  11. package/cssm/index.js +1 -1
  12. package/esm/{component-094991ea.js → component-aae461b7.js} +3 -3
  13. package/esm/component.js +1 -1
  14. package/esm/components/footer/Component.js +1 -1
  15. package/esm/components/footer/index.css +4 -4
  16. package/esm/components/header/Component.js +1 -1
  17. package/esm/components/header/index.css +13 -13
  18. package/esm/index.css +15 -15
  19. package/esm/index.d.ts +1 -1
  20. package/esm/index.js +1 -1
  21. package/index.css +15 -15
  22. package/index.d.ts +1 -1
  23. package/index.js +1 -1
  24. package/modern/{component-44079f58.js → component-b079185c.js} +3 -3
  25. package/modern/component.js +1 -1
  26. package/modern/components/footer/Component.js +1 -1
  27. package/modern/components/footer/index.css +4 -4
  28. package/modern/components/header/Component.js +1 -1
  29. package/modern/components/header/index.css +13 -13
  30. package/modern/index.css +15 -15
  31. package/modern/index.d.ts +1 -1
  32. package/modern/index.js +1 -1
  33. package/package.json +4 -4
  34. /package/{component-4db10e00.d.ts → component-a3ad36ed.d.ts} +0 -0
  35. /package/cssm/{component-b3add484.d.ts → component-3f9ff39b.d.ts} +0 -0
  36. /package/esm/{component-094991ea.d.ts → component-aae461b7.d.ts} +0 -0
  37. /package/modern/{component-44079f58.d.ts → component-b079185c.d.ts} +0 -0
@@ -22,7 +22,7 @@ var getDataTestId = function (dataTestId, element) {
22
22
  return dataTestId ? "".concat(dataTestId).concat(elementPart) : undefined;
23
23
  };
24
24
 
25
- var styles$1 = {"headerWrapper":"bottom-sheet__headerWrapper_1vrpq","hasContent":"bottom-sheet__hasContent_1vrpq","header":"bottom-sheet__header_1vrpq","sticky":"bottom-sheet__sticky_1vrpq","highlighted":"bottom-sheet__highlighted_1vrpq","justifyEnd":"bottom-sheet__justifyEnd_1vrpq","addon":"bottom-sheet__addon_1vrpq","addonFixed":"bottom-sheet__addonFixed_1vrpq","title":"bottom-sheet__title_1vrpq","titleCenter":"bottom-sheet__titleCenter_1vrpq","titleLeft":"bottom-sheet__titleLeft_1vrpq","trimTitle":"bottom-sheet__trimTitle_1vrpq"};
25
+ var styles$1 = {"headerWrapper":"bottom-sheet__headerWrapper_fc32b","hasContent":"bottom-sheet__hasContent_fc32b","header":"bottom-sheet__header_fc32b","sticky":"bottom-sheet__sticky_fc32b","highlighted":"bottom-sheet__highlighted_fc32b","justifyEnd":"bottom-sheet__justifyEnd_fc32b","addon":"bottom-sheet__addon_fc32b","addonFixed":"bottom-sheet__addonFixed_fc32b","title":"bottom-sheet__title_fc32b","titleCenter":"bottom-sheet__titleCenter_fc32b","titleLeft":"bottom-sheet__titleLeft_fc32b","trimTitle":"bottom-sheet__trimTitle_fc32b"};
26
26
  require('./components/header/index.css')
27
27
 
28
28
  var Header = function (_a) {
@@ -43,7 +43,7 @@ var Header = function (_a) {
43
43
  _b)), contentClassName: cn__default.default(styles$1.title) }), children));
44
44
  };
45
45
 
46
- var styles = {"modal":"bottom-sheet__modal_vr4ju","component":"bottom-sheet__component_vr4ju","withTransition":"bottom-sheet__withTransition_vr4ju","scrollableContainer":"bottom-sheet__scrollableContainer_vr4ju","marker":"bottom-sheet__marker_vr4ju","content":"bottom-sheet__content_vr4ju","noHeader":"bottom-sheet__noHeader_vr4ju","noFooter":"bottom-sheet__noFooter_vr4ju","scrollLocked":"bottom-sheet__scrollLocked_vr4ju","appear":"bottom-sheet__appear_vr4ju","enter":"bottom-sheet__enter_vr4ju","appearActive":"bottom-sheet__appearActive_vr4ju","enterActive":"bottom-sheet__enterActive_vr4ju","enterDone":"bottom-sheet__enterDone_vr4ju","appearDone":"bottom-sheet__appearDone_vr4ju","exit":"bottom-sheet__exit_vr4ju","exitActive":"bottom-sheet__exitActive_vr4ju"};
46
+ var styles = {"modal":"bottom-sheet__modal_1hv7e","component":"bottom-sheet__component_1hv7e","withTransition":"bottom-sheet__withTransition_1hv7e","scrollableContainer":"bottom-sheet__scrollableContainer_1hv7e","marker":"bottom-sheet__marker_1hv7e","content":"bottom-sheet__content_1hv7e","noHeader":"bottom-sheet__noHeader_1hv7e","noFooter":"bottom-sheet__noFooter_1hv7e","scrollLocked":"bottom-sheet__scrollLocked_1hv7e","appear":"bottom-sheet__appear_1hv7e","enter":"bottom-sheet__enter_1hv7e","appearActive":"bottom-sheet__appearActive_1hv7e","enterActive":"bottom-sheet__enterActive_1hv7e","enterDone":"bottom-sheet__enterDone_1hv7e","appearDone":"bottom-sheet__appearDone_1hv7e","exit":"bottom-sheet__exit_1hv7e","exitActive":"bottom-sheet__exitActive_1hv7e"};
47
47
  require('./index.css')
48
48
 
49
49
  var TIMEOUT = 300;
@@ -70,7 +70,7 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
70
70
  var titleIsReactElement = React__default.default.isValidElement(title);
71
71
  var headerProps = tslib.__assign(tslib.__assign({}, (titleIsReactElement
72
72
  ? { children: title }
73
- : { title: title ? title === null || title === void 0 ? void 0 : title.toString() : undefined })), { parentRef: scrollableContainer, className: headerClassName, addonClassName: addonClassName, closerClassName: closerClassName, backButtonClassName: backerClassName, leftAddons: leftAddons, rightAddons: rightAddons, bottomAddons: bottomAddons, hasCloser: hasCloser, hasBackButton: hasBacker, align: titleAlign, trim: trimTitle, sticky: stickyHeader, dataTestId: getDataTestId(dataTestId, 'header'), onBack: onBack, titleSize: titleSize, subtitle: subtitle, onClose: onClose });
73
+ : { title: title ? title === null || title === void 0 ? void 0 : title.toString() : undefined })), { scrollableParentRef: scrollableContainer, className: headerClassName, addonClassName: addonClassName, closerClassName: closerClassName, backButtonClassName: backerClassName, leftAddons: leftAddons, rightAddons: rightAddons, bottomAddons: bottomAddons, hasCloser: hasCloser, hasBackButton: hasBacker, align: titleAlign, trim: trimTitle, sticky: stickyHeader, dataTestId: getDataTestId(dataTestId, 'header'), onBack: onBack, titleSize: titleSize, subtitle: subtitle, onClose: onClose });
74
74
  var getBackdropOpacity = function (offset) {
75
75
  if (sheetHeight.current === 0)
76
76
  return MIN_BACKDROP_OPACITY;
package/component.js CHANGED
@@ -7,7 +7,7 @@ require('react-merge-refs');
7
7
  require('react-swipeable');
8
8
  require('classnames');
9
9
  require('@alfalab/core-components-base-modal');
10
- var components_header_Component = require('./component-4db10e00.js');
10
+ var components_header_Component = require('./component-a3ad36ed.js');
11
11
  require('./components/footer/Component.js');
12
12
  require('./components/swipeable-backdrop/Component.js');
13
13
  require('@alfalab/core-components-navigation-bar');
@@ -9,7 +9,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
9
9
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
10
10
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
11
11
 
12
- var styles = {"footer":"bottom-sheet__footer_1nwuz","sticky":"bottom-sheet__sticky_1nwuz","highlighted":"bottom-sheet__highlighted_1nwuz"};
12
+ var styles = {"footer":"bottom-sheet__footer_7h8au","sticky":"bottom-sheet__sticky_7h8au","highlighted":"bottom-sheet__highlighted_7h8au"};
13
13
  require('./index.css')
14
14
 
15
15
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1szsw */
1
+ /* hash: 1f9hr */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -20,13 +20,13 @@
20
20
  } :root {
21
21
  --bottom-sheet-footer-border-top: 1px solid var(--color-light-border-primary);
22
22
  --bottom-sheet-footer-background-color: var(--color-light-bg-primary);
23
- } .bottom-sheet__footer_1nwuz {
23
+ } .bottom-sheet__footer_7h8au {
24
24
  padding: var(--gap-m) var(--gap-m);
25
25
  background-color: var(--color-light-bg-primary);
26
- } .bottom-sheet__sticky_1nwuz {
26
+ } .bottom-sheet__sticky_7h8au {
27
27
  position: sticky;
28
28
  bottom: 0;
29
- } .bottom-sheet__highlighted_1nwuz {
29
+ } .bottom-sheet__highlighted_7h8au {
30
30
  border-top: var(--bottom-sheet-footer-border-top);
31
31
  background-color: var(--bottom-sheet-footer-background-color);
32
32
  }
@@ -5,7 +5,7 @@ require('react');
5
5
  require('classnames');
6
6
  require('@alfalab/core-components-base-modal');
7
7
  require('@alfalab/core-components-navigation-bar');
8
- var components_header_Component = require('../../component-4db10e00.js');
8
+ var components_header_Component = require('../../component-a3ad36ed.js');
9
9
  require('react-div-100vh');
10
10
  require('react-merge-refs');
11
11
  require('react-swipeable');
@@ -1,4 +1,4 @@
1
- /* hash: pjweg */
1
+ /* hash: y15q6 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -28,42 +28,42 @@
28
28
  --bottom-sheet-title-font-weight: 700;
29
29
  --bottom-sheet-title-line-height: 24px;
30
30
  --bottom-sheet-title-font-family: var(--font-family-system);
31
- } .bottom-sheet__headerWrapper_1vrpq {
31
+ } .bottom-sheet__headerWrapper_fc32b {
32
32
  padding: var(--gap-s) var(--gap-xs) var(--gap-2xs);
33
33
  border-top-right-radius: var(--border-radius-xl);
34
34
  border-top-left-radius: var(--border-radius-xl);
35
35
  z-index: 1;
36
- } .bottom-sheet__hasContent_1vrpq {
36
+ } .bottom-sheet__hasContent_fc32b {
37
37
  background-color: var(--color-light-bg-primary);
38
- } .bottom-sheet__header_1vrpq {
38
+ } .bottom-sheet__header_fc32b {
39
39
  display: flex;
40
- } .bottom-sheet__sticky_1vrpq {
40
+ } .bottom-sheet__sticky_fc32b {
41
41
  position: sticky;
42
42
  top: 0;
43
- } .bottom-sheet__highlighted_1vrpq {
43
+ } .bottom-sheet__highlighted_fc32b {
44
44
  border-bottom: var(--bottom-sheet-header-border-bottom);
45
- } .bottom-sheet__justifyEnd_1vrpq {
45
+ } .bottom-sheet__justifyEnd_fc32b {
46
46
  justify-content: flex-end;
47
- } .bottom-sheet__addon_1vrpq {
47
+ } .bottom-sheet__addon_fc32b {
48
48
  display: flex;
49
49
  justify-content: center;
50
50
  align-items: center;
51
51
  min-width: 48px;
52
52
  height: 48px;
53
- } .bottom-sheet__addonFixed_1vrpq {
53
+ } .bottom-sheet__addonFixed_fc32b {
54
54
  position: fixed;
55
- } .bottom-sheet__title_1vrpq {
55
+ } .bottom-sheet__title_fc32b {
56
56
  padding: var(--gap-s) var(--gap-xs);
57
57
  width: 100%;
58
58
  font-size: var(--bottom-sheet-title-font-size);
59
59
  font-weight: var(--bottom-sheet-title-font-weight);
60
60
  line-height: var(--bottom-sheet-title-line-height);
61
61
  font-family: var(--bottom-sheet-title-font-family);
62
- } .bottom-sheet__titleCenter_1vrpq {
62
+ } .bottom-sheet__titleCenter_fc32b {
63
63
  text-align: center;
64
- } .bottom-sheet__titleLeft_1vrpq {
64
+ } .bottom-sheet__titleLeft_fc32b {
65
65
  text-align: left;
66
- } .bottom-sheet__trimTitle_1vrpq {
66
+ } .bottom-sheet__trimTitle_fc32b {
67
67
  white-space: nowrap;
68
68
  overflow: hidden;
69
69
  text-overflow: ellipsis;
@@ -68,7 +68,7 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
68
68
  var titleIsReactElement = React__default.default.isValidElement(title);
69
69
  var headerProps = tslib.__assign(tslib.__assign({}, (titleIsReactElement
70
70
  ? { children: title }
71
- : { title: title ? title === null || title === void 0 ? void 0 : title.toString() : undefined })), { parentRef: scrollableContainer, className: headerClassName, addonClassName: addonClassName, closerClassName: closerClassName, backButtonClassName: backerClassName, leftAddons: leftAddons, rightAddons: rightAddons, bottomAddons: bottomAddons, hasCloser: hasCloser, hasBackButton: hasBacker, align: titleAlign, trim: trimTitle, sticky: stickyHeader, dataTestId: getDataTestId(dataTestId, 'header'), onBack: onBack, titleSize: titleSize, subtitle: subtitle, onClose: onClose });
71
+ : { title: title ? title === null || title === void 0 ? void 0 : title.toString() : undefined })), { scrollableParentRef: scrollableContainer, className: headerClassName, addonClassName: addonClassName, closerClassName: closerClassName, backButtonClassName: backerClassName, leftAddons: leftAddons, rightAddons: rightAddons, bottomAddons: bottomAddons, hasCloser: hasCloser, hasBackButton: hasBacker, align: titleAlign, trim: trimTitle, sticky: stickyHeader, dataTestId: getDataTestId(dataTestId, 'header'), onBack: onBack, titleSize: titleSize, subtitle: subtitle, onClose: onClose });
72
72
  var getBackdropOpacity = function (offset) {
73
73
  if (sheetHeight.current === 0)
74
74
  return MIN_BACKDROP_OPACITY;
package/cssm/component.js CHANGED
@@ -7,7 +7,7 @@ require('react-merge-refs');
7
7
  require('react-swipeable');
8
8
  require('classnames');
9
9
  require('@alfalab/core-components-base-modal/cssm');
10
- var components_header_Component = require('./component-b3add484.js');
10
+ var components_header_Component = require('./component-3f9ff39b.js');
11
11
  require('./components/footer/Component.js');
12
12
  require('./components/swipeable-backdrop/Component.js');
13
13
  require('./index.module.css');
@@ -5,7 +5,7 @@ require('react');
5
5
  require('classnames');
6
6
  require('@alfalab/core-components-base-modal/cssm');
7
7
  require('@alfalab/core-components-navigation-bar/cssm');
8
- var components_header_Component = require('../../component-b3add484.js');
8
+ var components_header_Component = require('../../component-3f9ff39b.js');
9
9
  require('./index.module.css');
10
10
  require('react-div-100vh');
11
11
  require('react-merge-refs');
package/cssm/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./component-b3add484";
1
+ export * from "./component-3f9ff39b";
package/cssm/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var components_header_Component = require('./component-b3add484.js');
3
+ var components_header_Component = require('./component-3f9ff39b.js');
4
4
  require('tslib');
5
5
  require('react');
6
6
  require('react-div-100vh');
@@ -14,7 +14,7 @@ var getDataTestId = function (dataTestId, element) {
14
14
  return dataTestId ? "".concat(dataTestId).concat(elementPart) : undefined;
15
15
  };
16
16
 
17
- var styles$1 = {"headerWrapper":"bottom-sheet__headerWrapper_1vrpq","hasContent":"bottom-sheet__hasContent_1vrpq","header":"bottom-sheet__header_1vrpq","sticky":"bottom-sheet__sticky_1vrpq","highlighted":"bottom-sheet__highlighted_1vrpq","justifyEnd":"bottom-sheet__justifyEnd_1vrpq","addon":"bottom-sheet__addon_1vrpq","addonFixed":"bottom-sheet__addonFixed_1vrpq","title":"bottom-sheet__title_1vrpq","titleCenter":"bottom-sheet__titleCenter_1vrpq","titleLeft":"bottom-sheet__titleLeft_1vrpq","trimTitle":"bottom-sheet__trimTitle_1vrpq"};
17
+ var styles$1 = {"headerWrapper":"bottom-sheet__headerWrapper_fc32b","hasContent":"bottom-sheet__hasContent_fc32b","header":"bottom-sheet__header_fc32b","sticky":"bottom-sheet__sticky_fc32b","highlighted":"bottom-sheet__highlighted_fc32b","justifyEnd":"bottom-sheet__justifyEnd_fc32b","addon":"bottom-sheet__addon_fc32b","addonFixed":"bottom-sheet__addonFixed_fc32b","title":"bottom-sheet__title_fc32b","titleCenter":"bottom-sheet__titleCenter_fc32b","titleLeft":"bottom-sheet__titleLeft_fc32b","trimTitle":"bottom-sheet__trimTitle_fc32b"};
18
18
  require('./components/header/index.css')
19
19
 
20
20
  var Header = function (_a) {
@@ -35,7 +35,7 @@ var Header = function (_a) {
35
35
  _b)), contentClassName: cn(styles$1.title) }), children));
36
36
  };
37
37
 
38
- var styles = {"modal":"bottom-sheet__modal_vr4ju","component":"bottom-sheet__component_vr4ju","withTransition":"bottom-sheet__withTransition_vr4ju","scrollableContainer":"bottom-sheet__scrollableContainer_vr4ju","marker":"bottom-sheet__marker_vr4ju","content":"bottom-sheet__content_vr4ju","noHeader":"bottom-sheet__noHeader_vr4ju","noFooter":"bottom-sheet__noFooter_vr4ju","scrollLocked":"bottom-sheet__scrollLocked_vr4ju","appear":"bottom-sheet__appear_vr4ju","enter":"bottom-sheet__enter_vr4ju","appearActive":"bottom-sheet__appearActive_vr4ju","enterActive":"bottom-sheet__enterActive_vr4ju","enterDone":"bottom-sheet__enterDone_vr4ju","appearDone":"bottom-sheet__appearDone_vr4ju","exit":"bottom-sheet__exit_vr4ju","exitActive":"bottom-sheet__exitActive_vr4ju"};
38
+ var styles = {"modal":"bottom-sheet__modal_1hv7e","component":"bottom-sheet__component_1hv7e","withTransition":"bottom-sheet__withTransition_1hv7e","scrollableContainer":"bottom-sheet__scrollableContainer_1hv7e","marker":"bottom-sheet__marker_1hv7e","content":"bottom-sheet__content_1hv7e","noHeader":"bottom-sheet__noHeader_1hv7e","noFooter":"bottom-sheet__noFooter_1hv7e","scrollLocked":"bottom-sheet__scrollLocked_1hv7e","appear":"bottom-sheet__appear_1hv7e","enter":"bottom-sheet__enter_1hv7e","appearActive":"bottom-sheet__appearActive_1hv7e","enterActive":"bottom-sheet__enterActive_1hv7e","enterDone":"bottom-sheet__enterDone_1hv7e","appearDone":"bottom-sheet__appearDone_1hv7e","exit":"bottom-sheet__exit_1hv7e","exitActive":"bottom-sheet__exitActive_1hv7e"};
39
39
  require('./index.css')
40
40
 
41
41
  var TIMEOUT = 300;
@@ -62,7 +62,7 @@ var BottomSheet = forwardRef(function (_a, ref) {
62
62
  var titleIsReactElement = React.isValidElement(title);
63
63
  var headerProps = __assign(__assign({}, (titleIsReactElement
64
64
  ? { children: title }
65
- : { title: title ? title === null || title === void 0 ? void 0 : title.toString() : undefined })), { parentRef: scrollableContainer, className: headerClassName, addonClassName: addonClassName, closerClassName: closerClassName, backButtonClassName: backerClassName, leftAddons: leftAddons, rightAddons: rightAddons, bottomAddons: bottomAddons, hasCloser: hasCloser, hasBackButton: hasBacker, align: titleAlign, trim: trimTitle, sticky: stickyHeader, dataTestId: getDataTestId(dataTestId, 'header'), onBack: onBack, titleSize: titleSize, subtitle: subtitle, onClose: onClose });
65
+ : { title: title ? title === null || title === void 0 ? void 0 : title.toString() : undefined })), { scrollableParentRef: scrollableContainer, className: headerClassName, addonClassName: addonClassName, closerClassName: closerClassName, backButtonClassName: backerClassName, leftAddons: leftAddons, rightAddons: rightAddons, bottomAddons: bottomAddons, hasCloser: hasCloser, hasBackButton: hasBacker, align: titleAlign, trim: trimTitle, sticky: stickyHeader, dataTestId: getDataTestId(dataTestId, 'header'), onBack: onBack, titleSize: titleSize, subtitle: subtitle, onClose: onClose });
66
66
  var getBackdropOpacity = function (offset) {
67
67
  if (sheetHeight.current === 0)
68
68
  return MIN_BACKDROP_OPACITY;
package/esm/component.js CHANGED
@@ -5,7 +5,7 @@ import 'react-merge-refs';
5
5
  import 'react-swipeable';
6
6
  import 'classnames';
7
7
  import '@alfalab/core-components-base-modal/esm';
8
- export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-094991ea.js';
8
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-aae461b7.js';
9
9
  import './components/footer/Component.js';
10
10
  import './components/swipeable-backdrop/Component.js';
11
11
  import '@alfalab/core-components-navigation-bar/esm';
@@ -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_1nwuz","sticky":"bottom-sheet__sticky_1nwuz","highlighted":"bottom-sheet__highlighted_1nwuz"};
5
+ var styles = {"footer":"bottom-sheet__footer_7h8au","sticky":"bottom-sheet__sticky_7h8au","highlighted":"bottom-sheet__highlighted_7h8au"};
6
6
  require('./index.css')
7
7
 
8
8
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1szsw */
1
+ /* hash: 1f9hr */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -20,13 +20,13 @@
20
20
  } :root {
21
21
  --bottom-sheet-footer-border-top: 1px solid var(--color-light-border-primary);
22
22
  --bottom-sheet-footer-background-color: var(--color-light-bg-primary);
23
- } .bottom-sheet__footer_1nwuz {
23
+ } .bottom-sheet__footer_7h8au {
24
24
  padding: var(--gap-m) var(--gap-m);
25
25
  background-color: var(--color-light-bg-primary);
26
- } .bottom-sheet__sticky_1nwuz {
26
+ } .bottom-sheet__sticky_7h8au {
27
27
  position: sticky;
28
28
  bottom: 0;
29
- } .bottom-sheet__highlighted_1nwuz {
29
+ } .bottom-sheet__highlighted_7h8au {
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';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-base-modal/esm';
5
5
  import '@alfalab/core-components-navigation-bar/esm';
6
- export { a as Header } from '../../component-094991ea.js';
6
+ export { a as Header } from '../../component-aae461b7.js';
7
7
  import 'react-div-100vh';
8
8
  import 'react-merge-refs';
9
9
  import 'react-swipeable';
@@ -1,4 +1,4 @@
1
- /* hash: pjweg */
1
+ /* hash: y15q6 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -28,42 +28,42 @@
28
28
  --bottom-sheet-title-font-weight: 700;
29
29
  --bottom-sheet-title-line-height: 24px;
30
30
  --bottom-sheet-title-font-family: var(--font-family-system);
31
- } .bottom-sheet__headerWrapper_1vrpq {
31
+ } .bottom-sheet__headerWrapper_fc32b {
32
32
  padding: var(--gap-s) var(--gap-xs) var(--gap-2xs);
33
33
  border-top-right-radius: var(--border-radius-xl);
34
34
  border-top-left-radius: var(--border-radius-xl);
35
35
  z-index: 1;
36
- } .bottom-sheet__hasContent_1vrpq {
36
+ } .bottom-sheet__hasContent_fc32b {
37
37
  background-color: var(--color-light-bg-primary);
38
- } .bottom-sheet__header_1vrpq {
38
+ } .bottom-sheet__header_fc32b {
39
39
  display: flex;
40
- } .bottom-sheet__sticky_1vrpq {
40
+ } .bottom-sheet__sticky_fc32b {
41
41
  position: sticky;
42
42
  top: 0;
43
- } .bottom-sheet__highlighted_1vrpq {
43
+ } .bottom-sheet__highlighted_fc32b {
44
44
  border-bottom: var(--bottom-sheet-header-border-bottom);
45
- } .bottom-sheet__justifyEnd_1vrpq {
45
+ } .bottom-sheet__justifyEnd_fc32b {
46
46
  justify-content: flex-end;
47
- } .bottom-sheet__addon_1vrpq {
47
+ } .bottom-sheet__addon_fc32b {
48
48
  display: flex;
49
49
  justify-content: center;
50
50
  align-items: center;
51
51
  min-width: 48px;
52
52
  height: 48px;
53
- } .bottom-sheet__addonFixed_1vrpq {
53
+ } .bottom-sheet__addonFixed_fc32b {
54
54
  position: fixed;
55
- } .bottom-sheet__title_1vrpq {
55
+ } .bottom-sheet__title_fc32b {
56
56
  padding: var(--gap-s) var(--gap-xs);
57
57
  width: 100%;
58
58
  font-size: var(--bottom-sheet-title-font-size);
59
59
  font-weight: var(--bottom-sheet-title-font-weight);
60
60
  line-height: var(--bottom-sheet-title-line-height);
61
61
  font-family: var(--bottom-sheet-title-font-family);
62
- } .bottom-sheet__titleCenter_1vrpq {
62
+ } .bottom-sheet__titleCenter_fc32b {
63
63
  text-align: center;
64
- } .bottom-sheet__titleLeft_1vrpq {
64
+ } .bottom-sheet__titleLeft_fc32b {
65
65
  text-align: left;
66
- } .bottom-sheet__trimTitle_1vrpq {
66
+ } .bottom-sheet__trimTitle_fc32b {
67
67
  white-space: nowrap;
68
68
  overflow: hidden;
69
69
  text-overflow: ellipsis;
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 6jtq3 */
1
+ /* hash: ir7mf */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -24,13 +24,13 @@
24
24
  } :root {
25
25
  --bottom-sheet-in-transition: 0.5s cubic-bezier(0.09, 0.91, 0.18, 0.99);
26
26
  --bottom-sheet-out-transition: 0.3s ease;
27
- } .bottom-sheet__modal_vr4ju {
27
+ } .bottom-sheet__modal_1hv7e {
28
28
  background-color: transparent;
29
29
  position: fixed;
30
30
  bottom: 0;
31
31
  width: 100%;
32
32
  max-width: 600px;
33
- } .bottom-sheet__component_vr4ju {
33
+ } .bottom-sheet__component_1hv7e {
34
34
  overflow: hidden;
35
35
  position: relative;
36
36
  display: flex;
@@ -39,15 +39,15 @@
39
39
  border-top-left-radius: var(--border-radius-xl);
40
40
  background: var(--color-light-bg-primary);
41
41
  transform: translateY(100%);
42
- } .bottom-sheet__withTransition_vr4ju {
42
+ } .bottom-sheet__withTransition_1hv7e {
43
43
  transition: var(--bottom-sheet-out-transition);
44
- } .bottom-sheet__scrollableContainer_vr4ju {
44
+ } .bottom-sheet__scrollableContainer_1hv7e {
45
45
  overflow: auto;
46
46
  display: flex;
47
47
  flex-direction: column;
48
48
  position: relative;
49
49
  height: 100%;
50
- } .bottom-sheet__marker_vr4ju {
50
+ } .bottom-sheet__marker_1hv7e {
51
51
  position: fixed;
52
52
  top: var(--gap-2xs);
53
53
  left: 50%;
@@ -57,29 +57,29 @@
57
57
  transform: translateX(-50%);
58
58
  background-color: var(--color-light-graphic-quaternary);
59
59
  z-index: 1000;
60
- } .bottom-sheet__content_vr4ju {
60
+ } .bottom-sheet__content_1hv7e {
61
61
  display: flex;
62
62
  flex-direction: column;
63
63
  flex: 1;
64
64
  padding: 0 var(--gap-m);
65
65
  color: var(--color-light-text-primary);
66
66
  background-color: var(--color-light-bg-primary);
67
- } .bottom-sheet__noHeader_vr4ju {
67
+ } .bottom-sheet__noHeader_1hv7e {
68
68
  padding-top: var(--gap-m);
69
- } .bottom-sheet__noFooter_vr4ju {
69
+ } .bottom-sheet__noFooter_1hv7e {
70
70
  padding-bottom: var(--gap-m);
71
- } .bottom-sheet__scrollLocked_vr4ju {
71
+ } .bottom-sheet__scrollLocked_1hv7e {
72
72
  overflow: hidden;
73
- } .bottom-sheet__appear_vr4ju .bottom-sheet__component_vr4ju, .bottom-sheet__enter_vr4ju .bottom-sheet__component_vr4ju {
73
+ } .bottom-sheet__appear_1hv7e .bottom-sheet__component_1hv7e, .bottom-sheet__enter_1hv7e .bottom-sheet__component_1hv7e {
74
74
  transition: none;
75
- } .bottom-sheet__appearActive_vr4ju .bottom-sheet__component_vr4ju, .bottom-sheet__enterActive_vr4ju .bottom-sheet__component_vr4ju {
75
+ } .bottom-sheet__appearActive_1hv7e .bottom-sheet__component_1hv7e, .bottom-sheet__enterActive_1hv7e .bottom-sheet__component_1hv7e {
76
76
  transition: var(--bottom-sheet-in-transition);
77
77
  transform: translateY(0);
78
- } .bottom-sheet__enterDone_vr4ju .bottom-sheet__component_vr4ju, .bottom-sheet__appearDone_vr4ju .bottom-sheet__component_vr4ju {
78
+ } .bottom-sheet__enterDone_1hv7e .bottom-sheet__component_1hv7e, .bottom-sheet__appearDone_1hv7e .bottom-sheet__component_1hv7e {
79
79
  transform: translateY(0);
80
- } .bottom-sheet__exit_vr4ju .bottom-sheet__component_vr4ju {
80
+ } .bottom-sheet__exit_1hv7e .bottom-sheet__component_1hv7e {
81
81
  transform: translateY(0);
82
- } .bottom-sheet__exitActive_vr4ju .bottom-sheet__component_vr4ju {
82
+ } .bottom-sheet__exitActive_1hv7e .bottom-sheet__component_1hv7e {
83
83
  transition: var(--bottom-sheet-out-transition);
84
84
  transform: translateY(100%);
85
85
  }
package/esm/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./component-094991ea";
1
+ export * from "./component-aae461b7";
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-094991ea.js';
1
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-aae461b7.js';
2
2
  import 'tslib';
3
3
  import 'react';
4
4
  import 'react-div-100vh';
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 6jtq3 */
1
+ /* hash: ir7mf */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -24,13 +24,13 @@
24
24
  } :root {
25
25
  --bottom-sheet-in-transition: 0.5s cubic-bezier(0.09, 0.91, 0.18, 0.99);
26
26
  --bottom-sheet-out-transition: 0.3s ease;
27
- } .bottom-sheet__modal_vr4ju {
27
+ } .bottom-sheet__modal_1hv7e {
28
28
  background-color: transparent;
29
29
  position: fixed;
30
30
  bottom: 0;
31
31
  width: 100%;
32
32
  max-width: 600px;
33
- } .bottom-sheet__component_vr4ju {
33
+ } .bottom-sheet__component_1hv7e {
34
34
  overflow: hidden;
35
35
  position: relative;
36
36
  display: flex;
@@ -39,15 +39,15 @@
39
39
  border-top-left-radius: var(--border-radius-xl);
40
40
  background: var(--color-light-bg-primary);
41
41
  transform: translateY(100%);
42
- } .bottom-sheet__withTransition_vr4ju {
42
+ } .bottom-sheet__withTransition_1hv7e {
43
43
  transition: var(--bottom-sheet-out-transition);
44
- } .bottom-sheet__scrollableContainer_vr4ju {
44
+ } .bottom-sheet__scrollableContainer_1hv7e {
45
45
  overflow: auto;
46
46
  display: flex;
47
47
  flex-direction: column;
48
48
  position: relative;
49
49
  height: 100%;
50
- } .bottom-sheet__marker_vr4ju {
50
+ } .bottom-sheet__marker_1hv7e {
51
51
  position: fixed;
52
52
  top: var(--gap-2xs);
53
53
  left: 50%;
@@ -57,29 +57,29 @@
57
57
  transform: translateX(-50%);
58
58
  background-color: var(--color-light-graphic-quaternary);
59
59
  z-index: 1000;
60
- } .bottom-sheet__content_vr4ju {
60
+ } .bottom-sheet__content_1hv7e {
61
61
  display: flex;
62
62
  flex-direction: column;
63
63
  flex: 1;
64
64
  padding: 0 var(--gap-m);
65
65
  color: var(--color-light-text-primary);
66
66
  background-color: var(--color-light-bg-primary);
67
- } .bottom-sheet__noHeader_vr4ju {
67
+ } .bottom-sheet__noHeader_1hv7e {
68
68
  padding-top: var(--gap-m);
69
- } .bottom-sheet__noFooter_vr4ju {
69
+ } .bottom-sheet__noFooter_1hv7e {
70
70
  padding-bottom: var(--gap-m);
71
- } .bottom-sheet__scrollLocked_vr4ju {
71
+ } .bottom-sheet__scrollLocked_1hv7e {
72
72
  overflow: hidden;
73
- } .bottom-sheet__appear_vr4ju .bottom-sheet__component_vr4ju, .bottom-sheet__enter_vr4ju .bottom-sheet__component_vr4ju {
73
+ } .bottom-sheet__appear_1hv7e .bottom-sheet__component_1hv7e, .bottom-sheet__enter_1hv7e .bottom-sheet__component_1hv7e {
74
74
  transition: none;
75
- } .bottom-sheet__appearActive_vr4ju .bottom-sheet__component_vr4ju, .bottom-sheet__enterActive_vr4ju .bottom-sheet__component_vr4ju {
75
+ } .bottom-sheet__appearActive_1hv7e .bottom-sheet__component_1hv7e, .bottom-sheet__enterActive_1hv7e .bottom-sheet__component_1hv7e {
76
76
  transition: var(--bottom-sheet-in-transition);
77
77
  transform: translateY(0);
78
- } .bottom-sheet__enterDone_vr4ju .bottom-sheet__component_vr4ju, .bottom-sheet__appearDone_vr4ju .bottom-sheet__component_vr4ju {
78
+ } .bottom-sheet__enterDone_1hv7e .bottom-sheet__component_1hv7e, .bottom-sheet__appearDone_1hv7e .bottom-sheet__component_1hv7e {
79
79
  transform: translateY(0);
80
- } .bottom-sheet__exit_vr4ju .bottom-sheet__component_vr4ju {
80
+ } .bottom-sheet__exit_1hv7e .bottom-sheet__component_1hv7e {
81
81
  transform: translateY(0);
82
- } .bottom-sheet__exitActive_vr4ju .bottom-sheet__component_vr4ju {
82
+ } .bottom-sheet__exitActive_1hv7e .bottom-sheet__component_1hv7e {
83
83
  transition: var(--bottom-sheet-out-transition);
84
84
  transform: translateY(100%);
85
85
  }
package/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./component-4db10e00";
1
+ export * from "./component-a3ad36ed";
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var components_header_Component = require('./component-4db10e00.js');
3
+ var components_header_Component = require('./component-a3ad36ed.js');
4
4
  require('tslib');
5
5
  require('react');
6
6
  require('react-div-100vh');
@@ -13,7 +13,7 @@ const getDataTestId = (dataTestId, element) => {
13
13
  return dataTestId ? `${dataTestId}${elementPart}` : undefined;
14
14
  };
15
15
 
16
- const styles$1 = {"headerWrapper":"bottom-sheet__headerWrapper_1vrpq","hasContent":"bottom-sheet__hasContent_1vrpq","header":"bottom-sheet__header_1vrpq","sticky":"bottom-sheet__sticky_1vrpq","highlighted":"bottom-sheet__highlighted_1vrpq","justifyEnd":"bottom-sheet__justifyEnd_1vrpq","addon":"bottom-sheet__addon_1vrpq","addonFixed":"bottom-sheet__addonFixed_1vrpq","title":"bottom-sheet__title_1vrpq","titleCenter":"bottom-sheet__titleCenter_1vrpq","titleLeft":"bottom-sheet__titleLeft_1vrpq","trimTitle":"bottom-sheet__trimTitle_1vrpq"};
16
+ const styles$1 = {"headerWrapper":"bottom-sheet__headerWrapper_fc32b","hasContent":"bottom-sheet__hasContent_fc32b","header":"bottom-sheet__header_fc32b","sticky":"bottom-sheet__sticky_fc32b","highlighted":"bottom-sheet__highlighted_fc32b","justifyEnd":"bottom-sheet__justifyEnd_fc32b","addon":"bottom-sheet__addon_fc32b","addonFixed":"bottom-sheet__addonFixed_fc32b","title":"bottom-sheet__title_fc32b","titleCenter":"bottom-sheet__titleCenter_fc32b","titleLeft":"bottom-sheet__titleLeft_fc32b","trimTitle":"bottom-sheet__trimTitle_fc32b"};
17
17
  require('./components/header/index.css')
18
18
 
19
19
  const Header = ({ className, sticky, title, children, ...restProps }) => {
@@ -32,7 +32,7 @@ const Header = ({ className, sticky, title, children, ...restProps }) => {
32
32
  }), contentClassName: cn(styles$1.title) }, children));
33
33
  };
34
34
 
35
- const styles = {"modal":"bottom-sheet__modal_vr4ju","component":"bottom-sheet__component_vr4ju","withTransition":"bottom-sheet__withTransition_vr4ju","scrollableContainer":"bottom-sheet__scrollableContainer_vr4ju","marker":"bottom-sheet__marker_vr4ju","content":"bottom-sheet__content_vr4ju","noHeader":"bottom-sheet__noHeader_vr4ju","noFooter":"bottom-sheet__noFooter_vr4ju","scrollLocked":"bottom-sheet__scrollLocked_vr4ju","appear":"bottom-sheet__appear_vr4ju","enter":"bottom-sheet__enter_vr4ju","appearActive":"bottom-sheet__appearActive_vr4ju","enterActive":"bottom-sheet__enterActive_vr4ju","enterDone":"bottom-sheet__enterDone_vr4ju","appearDone":"bottom-sheet__appearDone_vr4ju","exit":"bottom-sheet__exit_vr4ju","exitActive":"bottom-sheet__exitActive_vr4ju"};
35
+ const styles = {"modal":"bottom-sheet__modal_1hv7e","component":"bottom-sheet__component_1hv7e","withTransition":"bottom-sheet__withTransition_1hv7e","scrollableContainer":"bottom-sheet__scrollableContainer_1hv7e","marker":"bottom-sheet__marker_1hv7e","content":"bottom-sheet__content_1hv7e","noHeader":"bottom-sheet__noHeader_1hv7e","noFooter":"bottom-sheet__noFooter_1hv7e","scrollLocked":"bottom-sheet__scrollLocked_1hv7e","appear":"bottom-sheet__appear_1hv7e","enter":"bottom-sheet__enter_1hv7e","appearActive":"bottom-sheet__appearActive_1hv7e","enterActive":"bottom-sheet__enterActive_1hv7e","enterDone":"bottom-sheet__enterDone_1hv7e","appearDone":"bottom-sheet__appearDone_1hv7e","exit":"bottom-sheet__exit_1hv7e","exitActive":"bottom-sheet__exitActive_1hv7e"};
36
36
  require('./index.css')
37
37
 
38
38
  const TIMEOUT = 300;
@@ -59,7 +59,7 @@ const BottomSheet = forwardRef(({ open, title, container, titleSize = 'default',
59
59
  ...(titleIsReactElement
60
60
  ? { children: title }
61
61
  : { title: title ? title?.toString() : undefined }),
62
- parentRef: scrollableContainer,
62
+ scrollableParentRef: scrollableContainer,
63
63
  className: headerClassName,
64
64
  addonClassName,
65
65
  closerClassName,
@@ -4,7 +4,7 @@ import 'react-merge-refs';
4
4
  import 'react-swipeable';
5
5
  import 'classnames';
6
6
  import '@alfalab/core-components-base-modal/modern';
7
- export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-44079f58.js';
7
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-b079185c.js';
8
8
  import './components/footer/Component.js';
9
9
  import './components/swipeable-backdrop/Component.js';
10
10
  import '@alfalab/core-components-navigation-bar/modern';
@@ -2,7 +2,7 @@ import React, { useContext, useEffect } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { BaseModalContext } from '@alfalab/core-components-base-modal/modern';
4
4
 
5
- const styles = {"footer":"bottom-sheet__footer_1nwuz","sticky":"bottom-sheet__sticky_1nwuz","highlighted":"bottom-sheet__highlighted_1nwuz"};
5
+ const styles = {"footer":"bottom-sheet__footer_7h8au","sticky":"bottom-sheet__sticky_7h8au","highlighted":"bottom-sheet__highlighted_7h8au"};
6
6
  require('./index.css')
7
7
 
8
8
  const Footer = ({ children, className, sticky }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1szsw */
1
+ /* hash: 1f9hr */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -20,13 +20,13 @@
20
20
  } :root {
21
21
  --bottom-sheet-footer-border-top: 1px solid var(--color-light-border-primary);
22
22
  --bottom-sheet-footer-background-color: var(--color-light-bg-primary);
23
- } .bottom-sheet__footer_1nwuz {
23
+ } .bottom-sheet__footer_7h8au {
24
24
  padding: var(--gap-m) var(--gap-m);
25
25
  background-color: var(--color-light-bg-primary);
26
- } .bottom-sheet__sticky_1nwuz {
26
+ } .bottom-sheet__sticky_7h8au {
27
27
  position: sticky;
28
28
  bottom: 0;
29
- } .bottom-sheet__highlighted_1nwuz {
29
+ } .bottom-sheet__highlighted_7h8au {
30
30
  border-top: var(--bottom-sheet-footer-border-top);
31
31
  background-color: var(--bottom-sheet-footer-background-color);
32
32
  }
@@ -2,7 +2,7 @@ import 'react';
2
2
  import 'classnames';
3
3
  import '@alfalab/core-components-base-modal/modern';
4
4
  import '@alfalab/core-components-navigation-bar/modern';
5
- export { a as Header } from '../../component-44079f58.js';
5
+ export { a as Header } from '../../component-b079185c.js';
6
6
  import 'react-div-100vh';
7
7
  import 'react-merge-refs';
8
8
  import 'react-swipeable';
@@ -1,4 +1,4 @@
1
- /* hash: pjweg */
1
+ /* hash: y15q6 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -28,42 +28,42 @@
28
28
  --bottom-sheet-title-font-weight: 700;
29
29
  --bottom-sheet-title-line-height: 24px;
30
30
  --bottom-sheet-title-font-family: var(--font-family-system);
31
- } .bottom-sheet__headerWrapper_1vrpq {
31
+ } .bottom-sheet__headerWrapper_fc32b {
32
32
  padding: var(--gap-s) var(--gap-xs) var(--gap-2xs);
33
33
  border-top-right-radius: var(--border-radius-xl);
34
34
  border-top-left-radius: var(--border-radius-xl);
35
35
  z-index: 1;
36
- } .bottom-sheet__hasContent_1vrpq {
36
+ } .bottom-sheet__hasContent_fc32b {
37
37
  background-color: var(--color-light-bg-primary);
38
- } .bottom-sheet__header_1vrpq {
38
+ } .bottom-sheet__header_fc32b {
39
39
  display: flex;
40
- } .bottom-sheet__sticky_1vrpq {
40
+ } .bottom-sheet__sticky_fc32b {
41
41
  position: sticky;
42
42
  top: 0;
43
- } .bottom-sheet__highlighted_1vrpq {
43
+ } .bottom-sheet__highlighted_fc32b {
44
44
  border-bottom: var(--bottom-sheet-header-border-bottom);
45
- } .bottom-sheet__justifyEnd_1vrpq {
45
+ } .bottom-sheet__justifyEnd_fc32b {
46
46
  justify-content: flex-end;
47
- } .bottom-sheet__addon_1vrpq {
47
+ } .bottom-sheet__addon_fc32b {
48
48
  display: flex;
49
49
  justify-content: center;
50
50
  align-items: center;
51
51
  min-width: 48px;
52
52
  height: 48px;
53
- } .bottom-sheet__addonFixed_1vrpq {
53
+ } .bottom-sheet__addonFixed_fc32b {
54
54
  position: fixed;
55
- } .bottom-sheet__title_1vrpq {
55
+ } .bottom-sheet__title_fc32b {
56
56
  padding: var(--gap-s) var(--gap-xs);
57
57
  width: 100%;
58
58
  font-size: var(--bottom-sheet-title-font-size);
59
59
  font-weight: var(--bottom-sheet-title-font-weight);
60
60
  line-height: var(--bottom-sheet-title-line-height);
61
61
  font-family: var(--bottom-sheet-title-font-family);
62
- } .bottom-sheet__titleCenter_1vrpq {
62
+ } .bottom-sheet__titleCenter_fc32b {
63
63
  text-align: center;
64
- } .bottom-sheet__titleLeft_1vrpq {
64
+ } .bottom-sheet__titleLeft_fc32b {
65
65
  text-align: left;
66
- } .bottom-sheet__trimTitle_1vrpq {
66
+ } .bottom-sheet__trimTitle_fc32b {
67
67
  white-space: nowrap;
68
68
  overflow: hidden;
69
69
  text-overflow: ellipsis;
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 6jtq3 */
1
+ /* hash: ir7mf */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -24,13 +24,13 @@
24
24
  } :root {
25
25
  --bottom-sheet-in-transition: 0.5s cubic-bezier(0.09, 0.91, 0.18, 0.99);
26
26
  --bottom-sheet-out-transition: 0.3s ease;
27
- } .bottom-sheet__modal_vr4ju {
27
+ } .bottom-sheet__modal_1hv7e {
28
28
  background-color: transparent;
29
29
  position: fixed;
30
30
  bottom: 0;
31
31
  width: 100%;
32
32
  max-width: 600px;
33
- } .bottom-sheet__component_vr4ju {
33
+ } .bottom-sheet__component_1hv7e {
34
34
  overflow: hidden;
35
35
  position: relative;
36
36
  display: flex;
@@ -39,15 +39,15 @@
39
39
  border-top-left-radius: var(--border-radius-xl);
40
40
  background: var(--color-light-bg-primary);
41
41
  transform: translateY(100%);
42
- } .bottom-sheet__withTransition_vr4ju {
42
+ } .bottom-sheet__withTransition_1hv7e {
43
43
  transition: var(--bottom-sheet-out-transition);
44
- } .bottom-sheet__scrollableContainer_vr4ju {
44
+ } .bottom-sheet__scrollableContainer_1hv7e {
45
45
  overflow: auto;
46
46
  display: flex;
47
47
  flex-direction: column;
48
48
  position: relative;
49
49
  height: 100%;
50
- } .bottom-sheet__marker_vr4ju {
50
+ } .bottom-sheet__marker_1hv7e {
51
51
  position: fixed;
52
52
  top: var(--gap-2xs);
53
53
  left: 50%;
@@ -57,29 +57,29 @@
57
57
  transform: translateX(-50%);
58
58
  background-color: var(--color-light-graphic-quaternary);
59
59
  z-index: 1000;
60
- } .bottom-sheet__content_vr4ju {
60
+ } .bottom-sheet__content_1hv7e {
61
61
  display: flex;
62
62
  flex-direction: column;
63
63
  flex: 1;
64
64
  padding: 0 var(--gap-m);
65
65
  color: var(--color-light-text-primary);
66
66
  background-color: var(--color-light-bg-primary);
67
- } .bottom-sheet__noHeader_vr4ju {
67
+ } .bottom-sheet__noHeader_1hv7e {
68
68
  padding-top: var(--gap-m);
69
- } .bottom-sheet__noFooter_vr4ju {
69
+ } .bottom-sheet__noFooter_1hv7e {
70
70
  padding-bottom: var(--gap-m);
71
- } .bottom-sheet__scrollLocked_vr4ju {
71
+ } .bottom-sheet__scrollLocked_1hv7e {
72
72
  overflow: hidden;
73
- } .bottom-sheet__appear_vr4ju .bottom-sheet__component_vr4ju, .bottom-sheet__enter_vr4ju .bottom-sheet__component_vr4ju {
73
+ } .bottom-sheet__appear_1hv7e .bottom-sheet__component_1hv7e, .bottom-sheet__enter_1hv7e .bottom-sheet__component_1hv7e {
74
74
  transition: none;
75
- } .bottom-sheet__appearActive_vr4ju .bottom-sheet__component_vr4ju, .bottom-sheet__enterActive_vr4ju .bottom-sheet__component_vr4ju {
75
+ } .bottom-sheet__appearActive_1hv7e .bottom-sheet__component_1hv7e, .bottom-sheet__enterActive_1hv7e .bottom-sheet__component_1hv7e {
76
76
  transition: var(--bottom-sheet-in-transition);
77
77
  transform: translateY(0);
78
- } .bottom-sheet__enterDone_vr4ju .bottom-sheet__component_vr4ju, .bottom-sheet__appearDone_vr4ju .bottom-sheet__component_vr4ju {
78
+ } .bottom-sheet__enterDone_1hv7e .bottom-sheet__component_1hv7e, .bottom-sheet__appearDone_1hv7e .bottom-sheet__component_1hv7e {
79
79
  transform: translateY(0);
80
- } .bottom-sheet__exit_vr4ju .bottom-sheet__component_vr4ju {
80
+ } .bottom-sheet__exit_1hv7e .bottom-sheet__component_1hv7e {
81
81
  transform: translateY(0);
82
- } .bottom-sheet__exitActive_vr4ju .bottom-sheet__component_vr4ju {
82
+ } .bottom-sheet__exitActive_1hv7e .bottom-sheet__component_1hv7e {
83
83
  transition: var(--bottom-sheet-out-transition);
84
84
  transform: translateY(100%);
85
85
  }
package/modern/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./component-44079f58";
1
+ export * from "./component-b079185c";
package/modern/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-44079f58.js';
1
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-b079185c.js';
2
2
  import 'react';
3
3
  import 'react-div-100vh';
4
4
  import 'react-merge-refs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-bottom-sheet",
3
- "version": "6.0.0",
3
+ "version": "6.0.2",
4
4
  "description": "Bottom sheet mobile component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -19,10 +19,10 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "@alfalab/core-components-backdrop": "^3.0.4",
22
- "@alfalab/core-components-base-modal": "^5.1.0",
23
- "@alfalab/core-components-icon-button": "^6.0.7",
22
+ "@alfalab/core-components-base-modal": "^5.1.1",
23
+ "@alfalab/core-components-icon-button": "^6.0.8",
24
24
  "@alfalab/core-components-typography": "^3.2.0",
25
- "@alfalab/core-components-navigation-bar": "^0.1.0",
25
+ "@alfalab/core-components-navigation-bar": "^0.1.2",
26
26
  "classnames": "^2.3.1",
27
27
  "react-div-100vh": "^0.7.0",
28
28
  "react-merge-refs": "^1.1.0",