@alfalab/core-components-bottom-sheet 6.0.3 → 6.0.4

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 (33) hide show
  1. package/{component-e3586b15.js → component-d340bef9.js} +2 -2
  2. package/component.js +1 -1
  3. package/components/footer/Component.js +1 -1
  4. package/components/footer/index.css +6 -6
  5. package/components/header/Component.js +1 -1
  6. package/components/header/index.css +15 -15
  7. package/cssm/components/footer/index.module.css +2 -2
  8. package/cssm/components/header/index.module.css +2 -2
  9. package/esm/{component-0dfef8a0.js → component-ba870936.js} +2 -2
  10. package/esm/component.js +1 -1
  11. package/esm/components/footer/Component.js +1 -1
  12. package/esm/components/footer/index.css +6 -6
  13. package/esm/components/header/Component.js +1 -1
  14. package/esm/components/header/index.css +15 -15
  15. package/esm/index.css +15 -15
  16. package/esm/index.d.ts +1 -1
  17. package/esm/index.js +1 -1
  18. package/index.css +15 -15
  19. package/index.d.ts +1 -1
  20. package/index.js +1 -1
  21. package/modern/{component-eb0f16c2.js → component-dbadd6fb.js} +2 -2
  22. package/modern/component.js +1 -1
  23. package/modern/components/footer/Component.js +1 -1
  24. package/modern/components/footer/index.css +6 -6
  25. package/modern/components/header/Component.js +1 -1
  26. package/modern/components/header/index.css +15 -15
  27. package/modern/index.css +15 -15
  28. package/modern/index.d.ts +1 -1
  29. package/modern/index.js +1 -1
  30. package/package.json +1 -1
  31. /package/{component-e3586b15.d.ts → component-d340bef9.d.ts} +0 -0
  32. /package/esm/{component-0dfef8a0.d.ts → component-ba870936.d.ts} +0 -0
  33. /package/modern/{component-eb0f16c2.d.ts → component-dbadd6fb.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_1v3ta","hasContent":"bottom-sheet__hasContent_1v3ta","header":"bottom-sheet__header_1v3ta","sticky":"bottom-sheet__sticky_1v3ta","highlighted":"bottom-sheet__highlighted_1v3ta","justifyEnd":"bottom-sheet__justifyEnd_1v3ta","addon":"bottom-sheet__addon_1v3ta","addonFixed":"bottom-sheet__addonFixed_1v3ta","title":"bottom-sheet__title_1v3ta","titleCenter":"bottom-sheet__titleCenter_1v3ta","titleLeft":"bottom-sheet__titleLeft_1v3ta","trimTitle":"bottom-sheet__trimTitle_1v3ta"};
25
+ var styles$1 = {"headerWrapper":"bottom-sheet__headerWrapper_1bi25","hasContent":"bottom-sheet__hasContent_1bi25","header":"bottom-sheet__header_1bi25","sticky":"bottom-sheet__sticky_1bi25","highlighted":"bottom-sheet__highlighted_1bi25","justifyEnd":"bottom-sheet__justifyEnd_1bi25","addon":"bottom-sheet__addon_1bi25","addonFixed":"bottom-sheet__addonFixed_1bi25","title":"bottom-sheet__title_1bi25","titleCenter":"bottom-sheet__titleCenter_1bi25","titleLeft":"bottom-sheet__titleLeft_1bi25","trimTitle":"bottom-sheet__trimTitle_1bi25"};
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_1ix1z","component":"bottom-sheet__component_1ix1z","withTransition":"bottom-sheet__withTransition_1ix1z","scrollableContainer":"bottom-sheet__scrollableContainer_1ix1z","marker":"bottom-sheet__marker_1ix1z","content":"bottom-sheet__content_1ix1z","noHeader":"bottom-sheet__noHeader_1ix1z","noFooter":"bottom-sheet__noFooter_1ix1z","scrollLocked":"bottom-sheet__scrollLocked_1ix1z","appear":"bottom-sheet__appear_1ix1z","enter":"bottom-sheet__enter_1ix1z","appearActive":"bottom-sheet__appearActive_1ix1z","enterActive":"bottom-sheet__enterActive_1ix1z","enterDone":"bottom-sheet__enterDone_1ix1z","appearDone":"bottom-sheet__appearDone_1ix1z","exit":"bottom-sheet__exit_1ix1z","exitActive":"bottom-sheet__exitActive_1ix1z"};
46
+ var styles = {"modal":"bottom-sheet__modal_1spce","component":"bottom-sheet__component_1spce","withTransition":"bottom-sheet__withTransition_1spce","scrollableContainer":"bottom-sheet__scrollableContainer_1spce","marker":"bottom-sheet__marker_1spce","content":"bottom-sheet__content_1spce","noHeader":"bottom-sheet__noHeader_1spce","noFooter":"bottom-sheet__noFooter_1spce","scrollLocked":"bottom-sheet__scrollLocked_1spce","appear":"bottom-sheet__appear_1spce","enter":"bottom-sheet__enter_1spce","appearActive":"bottom-sheet__appearActive_1spce","enterActive":"bottom-sheet__enterActive_1spce","enterDone":"bottom-sheet__enterDone_1spce","appearDone":"bottom-sheet__appearDone_1spce","exit":"bottom-sheet__exit_1spce","exitActive":"bottom-sheet__exitActive_1spce"};
47
47
  require('./index.css')
48
48
 
49
49
  var TIMEOUT = 300;
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-e3586b15.js');
10
+ var components_header_Component = require('./component-d340bef9.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_1n8yi","sticky":"bottom-sheet__sticky_1n8yi","highlighted":"bottom-sheet__highlighted_1n8yi"};
12
+ var styles = {"footer":"bottom-sheet__footer_1x6yy","sticky":"bottom-sheet__sticky_1x6yy","highlighted":"bottom-sheet__highlighted_1x6yy"};
13
13
  require('./index.css')
14
14
 
15
15
  var Footer = function (_a) {
@@ -1,8 +1,8 @@
1
- /* hash: 1l5ou */
1
+ /* hash: 1co02 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
5
- --color-light-border-primary: #dbdee1; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
+ --color-light-border-secondary: #e7e9eb; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
6
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
7
7
  } :root {
8
8
  } :root {
@@ -18,16 +18,16 @@
18
18
  } :root {
19
19
  } :root {
20
20
  } :root {
21
- --bottom-sheet-footer-border-top: 1px solid var(--color-light-border-primary);
21
+ --bottom-sheet-footer-border-top: 1px solid var(--color-light-border-secondary);
22
22
  --bottom-sheet-footer-background-color: var(--color-light-bg-primary);
23
- } .bottom-sheet__footer_1n8yi {
23
+ } .bottom-sheet__footer_1x6yy {
24
24
  padding: var(--gap-m) var(--gap-m);
25
25
  background-color: var(--color-light-bg-primary);
26
- } .bottom-sheet__sticky_1n8yi {
26
+ } .bottom-sheet__sticky_1x6yy {
27
27
  position: sticky;
28
28
  bottom: 0;
29
29
  z-index: 1;
30
- } .bottom-sheet__highlighted_1n8yi {
30
+ } .bottom-sheet__highlighted_1x6yy {
31
31
  border-top: var(--bottom-sheet-footer-border-top);
32
32
  background-color: var(--bottom-sheet-footer-background-color);
33
33
  }
@@ -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-e3586b15.js');
8
+ var components_header_Component = require('../../component-d340bef9.js');
9
9
  require('react-div-100vh');
10
10
  require('react-merge-refs');
11
11
  require('react-swipeable');
@@ -1,8 +1,8 @@
1
- /* hash: 1ogos */
1
+ /* hash: 10mnf */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
5
- --color-light-border-primary: #dbdee1; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
+ --color-light-border-secondary: #e7e9eb; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
6
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
7
7
  } :root {
8
8
  } :root {
@@ -23,47 +23,47 @@
23
23
  sans-serif;
24
24
  } :root {
25
25
  } :root {
26
- --bottom-sheet-header-border-bottom: 1px solid var(--color-light-border-primary);
26
+ --bottom-sheet-header-border-bottom: 1px solid var(--color-light-border-secondary);
27
27
  --bottom-sheet-title-font-size: 18px;
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_1v3ta {
31
+ } .bottom-sheet__headerWrapper_1bi25 {
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_1v3ta {
36
+ } .bottom-sheet__hasContent_1bi25 {
37
37
  background-color: var(--color-light-bg-primary);
38
- } .bottom-sheet__header_1v3ta {
38
+ } .bottom-sheet__header_1bi25 {
39
39
  display: flex;
40
- } .bottom-sheet__sticky_1v3ta {
40
+ } .bottom-sheet__sticky_1bi25 {
41
41
  position: sticky;
42
42
  top: 0;
43
- } .bottom-sheet__highlighted_1v3ta {
43
+ } .bottom-sheet__highlighted_1bi25 {
44
44
  border-bottom: var(--bottom-sheet-header-border-bottom);
45
- } .bottom-sheet__justifyEnd_1v3ta {
45
+ } .bottom-sheet__justifyEnd_1bi25 {
46
46
  justify-content: flex-end;
47
- } .bottom-sheet__addon_1v3ta {
47
+ } .bottom-sheet__addon_1bi25 {
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_1v3ta {
53
+ } .bottom-sheet__addonFixed_1bi25 {
54
54
  position: fixed;
55
- } .bottom-sheet__title_1v3ta {
55
+ } .bottom-sheet__title_1bi25 {
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_1v3ta {
62
+ } .bottom-sheet__titleCenter_1bi25 {
63
63
  text-align: center;
64
- } .bottom-sheet__titleLeft_1v3ta {
64
+ } .bottom-sheet__titleLeft_1bi25 {
65
65
  text-align: left;
66
- } .bottom-sheet__trimTitle_1v3ta {
66
+ } .bottom-sheet__trimTitle_1bi25 {
67
67
  white-space: nowrap;
68
68
  overflow: hidden;
69
69
  text-overflow: ellipsis;
@@ -1,7 +1,7 @@
1
1
  :root {
2
2
  } /* deprecated */ :root {
3
3
  --color-light-bg-primary: #fff;
4
- --color-light-border-primary: #dbdee1; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
+ --color-light-border-secondary: #e7e9eb; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
5
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
6
  } :root {
7
7
  } :root {
@@ -17,7 +17,7 @@
17
17
  } :root {
18
18
  } :root {
19
19
  } :root {
20
- --bottom-sheet-footer-border-top: 1px solid var(--color-light-border-primary);
20
+ --bottom-sheet-footer-border-top: 1px solid var(--color-light-border-secondary);
21
21
  --bottom-sheet-footer-background-color: var(--color-light-bg-primary);
22
22
  } .footer {
23
23
  padding: var(--gap-m) var(--gap-m);
@@ -1,7 +1,7 @@
1
1
  :root {
2
2
  } /* deprecated */ :root {
3
3
  --color-light-bg-primary: #fff;
4
- --color-light-border-primary: #dbdee1; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
+ --color-light-border-secondary: #e7e9eb; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
5
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
6
  } :root {
7
7
  } :root {
@@ -22,7 +22,7 @@
22
22
  sans-serif;
23
23
  } :root {
24
24
  } :root {
25
- --bottom-sheet-header-border-bottom: 1px solid var(--color-light-border-primary);
25
+ --bottom-sheet-header-border-bottom: 1px solid var(--color-light-border-secondary);
26
26
  --bottom-sheet-title-font-size: 18px;
27
27
  --bottom-sheet-title-font-weight: 700;
28
28
  --bottom-sheet-title-line-height: 24px;
@@ -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_1v3ta","hasContent":"bottom-sheet__hasContent_1v3ta","header":"bottom-sheet__header_1v3ta","sticky":"bottom-sheet__sticky_1v3ta","highlighted":"bottom-sheet__highlighted_1v3ta","justifyEnd":"bottom-sheet__justifyEnd_1v3ta","addon":"bottom-sheet__addon_1v3ta","addonFixed":"bottom-sheet__addonFixed_1v3ta","title":"bottom-sheet__title_1v3ta","titleCenter":"bottom-sheet__titleCenter_1v3ta","titleLeft":"bottom-sheet__titleLeft_1v3ta","trimTitle":"bottom-sheet__trimTitle_1v3ta"};
17
+ var styles$1 = {"headerWrapper":"bottom-sheet__headerWrapper_1bi25","hasContent":"bottom-sheet__hasContent_1bi25","header":"bottom-sheet__header_1bi25","sticky":"bottom-sheet__sticky_1bi25","highlighted":"bottom-sheet__highlighted_1bi25","justifyEnd":"bottom-sheet__justifyEnd_1bi25","addon":"bottom-sheet__addon_1bi25","addonFixed":"bottom-sheet__addonFixed_1bi25","title":"bottom-sheet__title_1bi25","titleCenter":"bottom-sheet__titleCenter_1bi25","titleLeft":"bottom-sheet__titleLeft_1bi25","trimTitle":"bottom-sheet__trimTitle_1bi25"};
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_1ix1z","component":"bottom-sheet__component_1ix1z","withTransition":"bottom-sheet__withTransition_1ix1z","scrollableContainer":"bottom-sheet__scrollableContainer_1ix1z","marker":"bottom-sheet__marker_1ix1z","content":"bottom-sheet__content_1ix1z","noHeader":"bottom-sheet__noHeader_1ix1z","noFooter":"bottom-sheet__noFooter_1ix1z","scrollLocked":"bottom-sheet__scrollLocked_1ix1z","appear":"bottom-sheet__appear_1ix1z","enter":"bottom-sheet__enter_1ix1z","appearActive":"bottom-sheet__appearActive_1ix1z","enterActive":"bottom-sheet__enterActive_1ix1z","enterDone":"bottom-sheet__enterDone_1ix1z","appearDone":"bottom-sheet__appearDone_1ix1z","exit":"bottom-sheet__exit_1ix1z","exitActive":"bottom-sheet__exitActive_1ix1z"};
38
+ var styles = {"modal":"bottom-sheet__modal_1spce","component":"bottom-sheet__component_1spce","withTransition":"bottom-sheet__withTransition_1spce","scrollableContainer":"bottom-sheet__scrollableContainer_1spce","marker":"bottom-sheet__marker_1spce","content":"bottom-sheet__content_1spce","noHeader":"bottom-sheet__noHeader_1spce","noFooter":"bottom-sheet__noFooter_1spce","scrollLocked":"bottom-sheet__scrollLocked_1spce","appear":"bottom-sheet__appear_1spce","enter":"bottom-sheet__enter_1spce","appearActive":"bottom-sheet__appearActive_1spce","enterActive":"bottom-sheet__enterActive_1spce","enterDone":"bottom-sheet__enterDone_1spce","appearDone":"bottom-sheet__appearDone_1spce","exit":"bottom-sheet__exit_1spce","exitActive":"bottom-sheet__exitActive_1spce"};
39
39
  require('./index.css')
40
40
 
41
41
  var TIMEOUT = 300;
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-0dfef8a0.js';
8
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-ba870936.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_1n8yi","sticky":"bottom-sheet__sticky_1n8yi","highlighted":"bottom-sheet__highlighted_1n8yi"};
5
+ var styles = {"footer":"bottom-sheet__footer_1x6yy","sticky":"bottom-sheet__sticky_1x6yy","highlighted":"bottom-sheet__highlighted_1x6yy"};
6
6
  require('./index.css')
7
7
 
8
8
  var Footer = function (_a) {
@@ -1,8 +1,8 @@
1
- /* hash: 1l5ou */
1
+ /* hash: 1co02 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
5
- --color-light-border-primary: #dbdee1; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
+ --color-light-border-secondary: #e7e9eb; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
6
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
7
7
  } :root {
8
8
  } :root {
@@ -18,16 +18,16 @@
18
18
  } :root {
19
19
  } :root {
20
20
  } :root {
21
- --bottom-sheet-footer-border-top: 1px solid var(--color-light-border-primary);
21
+ --bottom-sheet-footer-border-top: 1px solid var(--color-light-border-secondary);
22
22
  --bottom-sheet-footer-background-color: var(--color-light-bg-primary);
23
- } .bottom-sheet__footer_1n8yi {
23
+ } .bottom-sheet__footer_1x6yy {
24
24
  padding: var(--gap-m) var(--gap-m);
25
25
  background-color: var(--color-light-bg-primary);
26
- } .bottom-sheet__sticky_1n8yi {
26
+ } .bottom-sheet__sticky_1x6yy {
27
27
  position: sticky;
28
28
  bottom: 0;
29
29
  z-index: 1;
30
- } .bottom-sheet__highlighted_1n8yi {
30
+ } .bottom-sheet__highlighted_1x6yy {
31
31
  border-top: var(--bottom-sheet-footer-border-top);
32
32
  background-color: var(--bottom-sheet-footer-background-color);
33
33
  }
@@ -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-0dfef8a0.js';
6
+ export { a as Header } from '../../component-ba870936.js';
7
7
  import 'react-div-100vh';
8
8
  import 'react-merge-refs';
9
9
  import 'react-swipeable';
@@ -1,8 +1,8 @@
1
- /* hash: 1ogos */
1
+ /* hash: 10mnf */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
5
- --color-light-border-primary: #dbdee1; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
+ --color-light-border-secondary: #e7e9eb; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
6
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
7
7
  } :root {
8
8
  } :root {
@@ -23,47 +23,47 @@
23
23
  sans-serif;
24
24
  } :root {
25
25
  } :root {
26
- --bottom-sheet-header-border-bottom: 1px solid var(--color-light-border-primary);
26
+ --bottom-sheet-header-border-bottom: 1px solid var(--color-light-border-secondary);
27
27
  --bottom-sheet-title-font-size: 18px;
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_1v3ta {
31
+ } .bottom-sheet__headerWrapper_1bi25 {
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_1v3ta {
36
+ } .bottom-sheet__hasContent_1bi25 {
37
37
  background-color: var(--color-light-bg-primary);
38
- } .bottom-sheet__header_1v3ta {
38
+ } .bottom-sheet__header_1bi25 {
39
39
  display: flex;
40
- } .bottom-sheet__sticky_1v3ta {
40
+ } .bottom-sheet__sticky_1bi25 {
41
41
  position: sticky;
42
42
  top: 0;
43
- } .bottom-sheet__highlighted_1v3ta {
43
+ } .bottom-sheet__highlighted_1bi25 {
44
44
  border-bottom: var(--bottom-sheet-header-border-bottom);
45
- } .bottom-sheet__justifyEnd_1v3ta {
45
+ } .bottom-sheet__justifyEnd_1bi25 {
46
46
  justify-content: flex-end;
47
- } .bottom-sheet__addon_1v3ta {
47
+ } .bottom-sheet__addon_1bi25 {
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_1v3ta {
53
+ } .bottom-sheet__addonFixed_1bi25 {
54
54
  position: fixed;
55
- } .bottom-sheet__title_1v3ta {
55
+ } .bottom-sheet__title_1bi25 {
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_1v3ta {
62
+ } .bottom-sheet__titleCenter_1bi25 {
63
63
  text-align: center;
64
- } .bottom-sheet__titleLeft_1v3ta {
64
+ } .bottom-sheet__titleLeft_1bi25 {
65
65
  text-align: left;
66
- } .bottom-sheet__trimTitle_1v3ta {
66
+ } .bottom-sheet__trimTitle_1bi25 {
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: 5gopi */
1
+ /* hash: 1pl1c */
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_1ix1z {
27
+ } .bottom-sheet__modal_1spce {
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_1ix1z {
33
+ } .bottom-sheet__component_1spce {
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_1ix1z {
42
+ } .bottom-sheet__withTransition_1spce {
43
43
  transition: var(--bottom-sheet-out-transition);
44
- } .bottom-sheet__scrollableContainer_1ix1z {
44
+ } .bottom-sheet__scrollableContainer_1spce {
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_1ix1z {
50
+ } .bottom-sheet__marker_1spce {
51
51
  position: fixed;
52
52
  top: var(--gap-2xs);
53
53
  left: 50%;
@@ -57,7 +57,7 @@
57
57
  transform: translateX(-50%);
58
58
  background-color: var(--color-light-graphic-quaternary);
59
59
  z-index: 1000;
60
- } .bottom-sheet__content_1ix1z {
60
+ } .bottom-sheet__content_1spce {
61
61
  position: relative;
62
62
  z-index: 0;
63
63
  display: flex;
@@ -66,22 +66,22 @@
66
66
  padding: 0 var(--gap-m);
67
67
  color: var(--color-light-text-primary);
68
68
  background-color: var(--color-light-bg-primary);
69
- } .bottom-sheet__noHeader_1ix1z {
69
+ } .bottom-sheet__noHeader_1spce {
70
70
  padding-top: var(--gap-m);
71
- } .bottom-sheet__noFooter_1ix1z {
71
+ } .bottom-sheet__noFooter_1spce {
72
72
  padding-bottom: var(--gap-m);
73
- } .bottom-sheet__scrollLocked_1ix1z {
73
+ } .bottom-sheet__scrollLocked_1spce {
74
74
  overflow: hidden;
75
- } .bottom-sheet__appear_1ix1z .bottom-sheet__component_1ix1z, .bottom-sheet__enter_1ix1z .bottom-sheet__component_1ix1z {
75
+ } .bottom-sheet__appear_1spce .bottom-sheet__component_1spce, .bottom-sheet__enter_1spce .bottom-sheet__component_1spce {
76
76
  transition: none;
77
- } .bottom-sheet__appearActive_1ix1z .bottom-sheet__component_1ix1z, .bottom-sheet__enterActive_1ix1z .bottom-sheet__component_1ix1z {
77
+ } .bottom-sheet__appearActive_1spce .bottom-sheet__component_1spce, .bottom-sheet__enterActive_1spce .bottom-sheet__component_1spce {
78
78
  transition: var(--bottom-sheet-in-transition);
79
79
  transform: translateY(0);
80
- } .bottom-sheet__enterDone_1ix1z .bottom-sheet__component_1ix1z, .bottom-sheet__appearDone_1ix1z .bottom-sheet__component_1ix1z {
80
+ } .bottom-sheet__enterDone_1spce .bottom-sheet__component_1spce, .bottom-sheet__appearDone_1spce .bottom-sheet__component_1spce {
81
81
  transform: translateY(0);
82
- } .bottom-sheet__exit_1ix1z .bottom-sheet__component_1ix1z {
82
+ } .bottom-sheet__exit_1spce .bottom-sheet__component_1spce {
83
83
  transform: translateY(0);
84
- } .bottom-sheet__exitActive_1ix1z .bottom-sheet__component_1ix1z {
84
+ } .bottom-sheet__exitActive_1spce .bottom-sheet__component_1spce {
85
85
  transition: var(--bottom-sheet-out-transition);
86
86
  transform: translateY(100%);
87
87
  }
package/esm/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./component-0dfef8a0";
1
+ export * from "./component-ba870936";
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-0dfef8a0.js';
1
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-ba870936.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: 5gopi */
1
+ /* hash: 1pl1c */
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_1ix1z {
27
+ } .bottom-sheet__modal_1spce {
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_1ix1z {
33
+ } .bottom-sheet__component_1spce {
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_1ix1z {
42
+ } .bottom-sheet__withTransition_1spce {
43
43
  transition: var(--bottom-sheet-out-transition);
44
- } .bottom-sheet__scrollableContainer_1ix1z {
44
+ } .bottom-sheet__scrollableContainer_1spce {
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_1ix1z {
50
+ } .bottom-sheet__marker_1spce {
51
51
  position: fixed;
52
52
  top: var(--gap-2xs);
53
53
  left: 50%;
@@ -57,7 +57,7 @@
57
57
  transform: translateX(-50%);
58
58
  background-color: var(--color-light-graphic-quaternary);
59
59
  z-index: 1000;
60
- } .bottom-sheet__content_1ix1z {
60
+ } .bottom-sheet__content_1spce {
61
61
  position: relative;
62
62
  z-index: 0;
63
63
  display: flex;
@@ -66,22 +66,22 @@
66
66
  padding: 0 var(--gap-m);
67
67
  color: var(--color-light-text-primary);
68
68
  background-color: var(--color-light-bg-primary);
69
- } .bottom-sheet__noHeader_1ix1z {
69
+ } .bottom-sheet__noHeader_1spce {
70
70
  padding-top: var(--gap-m);
71
- } .bottom-sheet__noFooter_1ix1z {
71
+ } .bottom-sheet__noFooter_1spce {
72
72
  padding-bottom: var(--gap-m);
73
- } .bottom-sheet__scrollLocked_1ix1z {
73
+ } .bottom-sheet__scrollLocked_1spce {
74
74
  overflow: hidden;
75
- } .bottom-sheet__appear_1ix1z .bottom-sheet__component_1ix1z, .bottom-sheet__enter_1ix1z .bottom-sheet__component_1ix1z {
75
+ } .bottom-sheet__appear_1spce .bottom-sheet__component_1spce, .bottom-sheet__enter_1spce .bottom-sheet__component_1spce {
76
76
  transition: none;
77
- } .bottom-sheet__appearActive_1ix1z .bottom-sheet__component_1ix1z, .bottom-sheet__enterActive_1ix1z .bottom-sheet__component_1ix1z {
77
+ } .bottom-sheet__appearActive_1spce .bottom-sheet__component_1spce, .bottom-sheet__enterActive_1spce .bottom-sheet__component_1spce {
78
78
  transition: var(--bottom-sheet-in-transition);
79
79
  transform: translateY(0);
80
- } .bottom-sheet__enterDone_1ix1z .bottom-sheet__component_1ix1z, .bottom-sheet__appearDone_1ix1z .bottom-sheet__component_1ix1z {
80
+ } .bottom-sheet__enterDone_1spce .bottom-sheet__component_1spce, .bottom-sheet__appearDone_1spce .bottom-sheet__component_1spce {
81
81
  transform: translateY(0);
82
- } .bottom-sheet__exit_1ix1z .bottom-sheet__component_1ix1z {
82
+ } .bottom-sheet__exit_1spce .bottom-sheet__component_1spce {
83
83
  transform: translateY(0);
84
- } .bottom-sheet__exitActive_1ix1z .bottom-sheet__component_1ix1z {
84
+ } .bottom-sheet__exitActive_1spce .bottom-sheet__component_1spce {
85
85
  transition: var(--bottom-sheet-out-transition);
86
86
  transform: translateY(100%);
87
87
  }
package/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./component-e3586b15";
1
+ export * from "./component-d340bef9";
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var components_header_Component = require('./component-e3586b15.js');
3
+ var components_header_Component = require('./component-d340bef9.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_1v3ta","hasContent":"bottom-sheet__hasContent_1v3ta","header":"bottom-sheet__header_1v3ta","sticky":"bottom-sheet__sticky_1v3ta","highlighted":"bottom-sheet__highlighted_1v3ta","justifyEnd":"bottom-sheet__justifyEnd_1v3ta","addon":"bottom-sheet__addon_1v3ta","addonFixed":"bottom-sheet__addonFixed_1v3ta","title":"bottom-sheet__title_1v3ta","titleCenter":"bottom-sheet__titleCenter_1v3ta","titleLeft":"bottom-sheet__titleLeft_1v3ta","trimTitle":"bottom-sheet__trimTitle_1v3ta"};
16
+ const styles$1 = {"headerWrapper":"bottom-sheet__headerWrapper_1bi25","hasContent":"bottom-sheet__hasContent_1bi25","header":"bottom-sheet__header_1bi25","sticky":"bottom-sheet__sticky_1bi25","highlighted":"bottom-sheet__highlighted_1bi25","justifyEnd":"bottom-sheet__justifyEnd_1bi25","addon":"bottom-sheet__addon_1bi25","addonFixed":"bottom-sheet__addonFixed_1bi25","title":"bottom-sheet__title_1bi25","titleCenter":"bottom-sheet__titleCenter_1bi25","titleLeft":"bottom-sheet__titleLeft_1bi25","trimTitle":"bottom-sheet__trimTitle_1bi25"};
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_1ix1z","component":"bottom-sheet__component_1ix1z","withTransition":"bottom-sheet__withTransition_1ix1z","scrollableContainer":"bottom-sheet__scrollableContainer_1ix1z","marker":"bottom-sheet__marker_1ix1z","content":"bottom-sheet__content_1ix1z","noHeader":"bottom-sheet__noHeader_1ix1z","noFooter":"bottom-sheet__noFooter_1ix1z","scrollLocked":"bottom-sheet__scrollLocked_1ix1z","appear":"bottom-sheet__appear_1ix1z","enter":"bottom-sheet__enter_1ix1z","appearActive":"bottom-sheet__appearActive_1ix1z","enterActive":"bottom-sheet__enterActive_1ix1z","enterDone":"bottom-sheet__enterDone_1ix1z","appearDone":"bottom-sheet__appearDone_1ix1z","exit":"bottom-sheet__exit_1ix1z","exitActive":"bottom-sheet__exitActive_1ix1z"};
35
+ const styles = {"modal":"bottom-sheet__modal_1spce","component":"bottom-sheet__component_1spce","withTransition":"bottom-sheet__withTransition_1spce","scrollableContainer":"bottom-sheet__scrollableContainer_1spce","marker":"bottom-sheet__marker_1spce","content":"bottom-sheet__content_1spce","noHeader":"bottom-sheet__noHeader_1spce","noFooter":"bottom-sheet__noFooter_1spce","scrollLocked":"bottom-sheet__scrollLocked_1spce","appear":"bottom-sheet__appear_1spce","enter":"bottom-sheet__enter_1spce","appearActive":"bottom-sheet__appearActive_1spce","enterActive":"bottom-sheet__enterActive_1spce","enterDone":"bottom-sheet__enterDone_1spce","appearDone":"bottom-sheet__appearDone_1spce","exit":"bottom-sheet__exit_1spce","exitActive":"bottom-sheet__exitActive_1spce"};
36
36
  require('./index.css')
37
37
 
38
38
  const TIMEOUT = 300;
@@ -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-eb0f16c2.js';
7
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-dbadd6fb.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_1n8yi","sticky":"bottom-sheet__sticky_1n8yi","highlighted":"bottom-sheet__highlighted_1n8yi"};
5
+ const styles = {"footer":"bottom-sheet__footer_1x6yy","sticky":"bottom-sheet__sticky_1x6yy","highlighted":"bottom-sheet__highlighted_1x6yy"};
6
6
  require('./index.css')
7
7
 
8
8
  const Footer = ({ children, className, sticky }) => {
@@ -1,8 +1,8 @@
1
- /* hash: 1l5ou */
1
+ /* hash: 1co02 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
5
- --color-light-border-primary: #dbdee1; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
+ --color-light-border-secondary: #e7e9eb; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
6
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
7
7
  } :root {
8
8
  } :root {
@@ -18,16 +18,16 @@
18
18
  } :root {
19
19
  } :root {
20
20
  } :root {
21
- --bottom-sheet-footer-border-top: 1px solid var(--color-light-border-primary);
21
+ --bottom-sheet-footer-border-top: 1px solid var(--color-light-border-secondary);
22
22
  --bottom-sheet-footer-background-color: var(--color-light-bg-primary);
23
- } .bottom-sheet__footer_1n8yi {
23
+ } .bottom-sheet__footer_1x6yy {
24
24
  padding: var(--gap-m) var(--gap-m);
25
25
  background-color: var(--color-light-bg-primary);
26
- } .bottom-sheet__sticky_1n8yi {
26
+ } .bottom-sheet__sticky_1x6yy {
27
27
  position: sticky;
28
28
  bottom: 0;
29
29
  z-index: 1;
30
- } .bottom-sheet__highlighted_1n8yi {
30
+ } .bottom-sheet__highlighted_1x6yy {
31
31
  border-top: var(--bottom-sheet-footer-border-top);
32
32
  background-color: var(--bottom-sheet-footer-background-color);
33
33
  }
@@ -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-eb0f16c2.js';
5
+ export { a as Header } from '../../component-dbadd6fb.js';
6
6
  import 'react-div-100vh';
7
7
  import 'react-merge-refs';
8
8
  import 'react-swipeable';
@@ -1,8 +1,8 @@
1
- /* hash: 1ogos */
1
+ /* hash: 10mnf */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
5
- --color-light-border-primary: #dbdee1; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
+ --color-light-border-secondary: #e7e9eb; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
6
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
7
7
  } :root {
8
8
  } :root {
@@ -23,47 +23,47 @@
23
23
  sans-serif;
24
24
  } :root {
25
25
  } :root {
26
- --bottom-sheet-header-border-bottom: 1px solid var(--color-light-border-primary);
26
+ --bottom-sheet-header-border-bottom: 1px solid var(--color-light-border-secondary);
27
27
  --bottom-sheet-title-font-size: 18px;
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_1v3ta {
31
+ } .bottom-sheet__headerWrapper_1bi25 {
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_1v3ta {
36
+ } .bottom-sheet__hasContent_1bi25 {
37
37
  background-color: var(--color-light-bg-primary);
38
- } .bottom-sheet__header_1v3ta {
38
+ } .bottom-sheet__header_1bi25 {
39
39
  display: flex;
40
- } .bottom-sheet__sticky_1v3ta {
40
+ } .bottom-sheet__sticky_1bi25 {
41
41
  position: sticky;
42
42
  top: 0;
43
- } .bottom-sheet__highlighted_1v3ta {
43
+ } .bottom-sheet__highlighted_1bi25 {
44
44
  border-bottom: var(--bottom-sheet-header-border-bottom);
45
- } .bottom-sheet__justifyEnd_1v3ta {
45
+ } .bottom-sheet__justifyEnd_1bi25 {
46
46
  justify-content: flex-end;
47
- } .bottom-sheet__addon_1v3ta {
47
+ } .bottom-sheet__addon_1bi25 {
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_1v3ta {
53
+ } .bottom-sheet__addonFixed_1bi25 {
54
54
  position: fixed;
55
- } .bottom-sheet__title_1v3ta {
55
+ } .bottom-sheet__title_1bi25 {
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_1v3ta {
62
+ } .bottom-sheet__titleCenter_1bi25 {
63
63
  text-align: center;
64
- } .bottom-sheet__titleLeft_1v3ta {
64
+ } .bottom-sheet__titleLeft_1bi25 {
65
65
  text-align: left;
66
- } .bottom-sheet__trimTitle_1v3ta {
66
+ } .bottom-sheet__trimTitle_1bi25 {
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: 5gopi */
1
+ /* hash: 1pl1c */
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_1ix1z {
27
+ } .bottom-sheet__modal_1spce {
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_1ix1z {
33
+ } .bottom-sheet__component_1spce {
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_1ix1z {
42
+ } .bottom-sheet__withTransition_1spce {
43
43
  transition: var(--bottom-sheet-out-transition);
44
- } .bottom-sheet__scrollableContainer_1ix1z {
44
+ } .bottom-sheet__scrollableContainer_1spce {
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_1ix1z {
50
+ } .bottom-sheet__marker_1spce {
51
51
  position: fixed;
52
52
  top: var(--gap-2xs);
53
53
  left: 50%;
@@ -57,7 +57,7 @@
57
57
  transform: translateX(-50%);
58
58
  background-color: var(--color-light-graphic-quaternary);
59
59
  z-index: 1000;
60
- } .bottom-sheet__content_1ix1z {
60
+ } .bottom-sheet__content_1spce {
61
61
  position: relative;
62
62
  z-index: 0;
63
63
  display: flex;
@@ -66,22 +66,22 @@
66
66
  padding: 0 var(--gap-m);
67
67
  color: var(--color-light-text-primary);
68
68
  background-color: var(--color-light-bg-primary);
69
- } .bottom-sheet__noHeader_1ix1z {
69
+ } .bottom-sheet__noHeader_1spce {
70
70
  padding-top: var(--gap-m);
71
- } .bottom-sheet__noFooter_1ix1z {
71
+ } .bottom-sheet__noFooter_1spce {
72
72
  padding-bottom: var(--gap-m);
73
- } .bottom-sheet__scrollLocked_1ix1z {
73
+ } .bottom-sheet__scrollLocked_1spce {
74
74
  overflow: hidden;
75
- } .bottom-sheet__appear_1ix1z .bottom-sheet__component_1ix1z, .bottom-sheet__enter_1ix1z .bottom-sheet__component_1ix1z {
75
+ } .bottom-sheet__appear_1spce .bottom-sheet__component_1spce, .bottom-sheet__enter_1spce .bottom-sheet__component_1spce {
76
76
  transition: none;
77
- } .bottom-sheet__appearActive_1ix1z .bottom-sheet__component_1ix1z, .bottom-sheet__enterActive_1ix1z .bottom-sheet__component_1ix1z {
77
+ } .bottom-sheet__appearActive_1spce .bottom-sheet__component_1spce, .bottom-sheet__enterActive_1spce .bottom-sheet__component_1spce {
78
78
  transition: var(--bottom-sheet-in-transition);
79
79
  transform: translateY(0);
80
- } .bottom-sheet__enterDone_1ix1z .bottom-sheet__component_1ix1z, .bottom-sheet__appearDone_1ix1z .bottom-sheet__component_1ix1z {
80
+ } .bottom-sheet__enterDone_1spce .bottom-sheet__component_1spce, .bottom-sheet__appearDone_1spce .bottom-sheet__component_1spce {
81
81
  transform: translateY(0);
82
- } .bottom-sheet__exit_1ix1z .bottom-sheet__component_1ix1z {
82
+ } .bottom-sheet__exit_1spce .bottom-sheet__component_1spce {
83
83
  transform: translateY(0);
84
- } .bottom-sheet__exitActive_1ix1z .bottom-sheet__component_1ix1z {
84
+ } .bottom-sheet__exitActive_1spce .bottom-sheet__component_1spce {
85
85
  transition: var(--bottom-sheet-out-transition);
86
86
  transform: translateY(100%);
87
87
  }
package/modern/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./component-eb0f16c2";
1
+ export * from "./component-dbadd6fb";
package/modern/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-eb0f16c2.js';
1
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-dbadd6fb.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.3",
3
+ "version": "6.0.4",
4
4
  "description": "Bottom sheet mobile component",
5
5
  "keywords": [],
6
6
  "license": "MIT",