@alfalab/core-components-bottom-sheet 6.13.0 → 6.13.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.
- package/component.js +1 -1
- package/components/footer/Component.js +1 -1
- package/components/footer/index.css +26 -26
- package/components/header/Component.js +1 -1
- package/components/header/index.css +13 -13
- package/esm/component.js +1 -1
- package/esm/components/footer/Component.js +1 -1
- package/esm/components/footer/index.css +26 -26
- package/esm/components/header/Component.js +1 -1
- package/esm/components/header/index.css +13 -13
- package/esm/index.css +44 -44
- package/index.css +44 -44
- package/modern/component.js +1 -1
- package/modern/components/footer/Component.js +1 -1
- package/modern/components/footer/index.css +26 -26
- package/modern/components/header/Component.js +1 -1
- package/modern/components/header/index.css +13 -13
- package/modern/index.css +44 -44
- package/package.json +4 -4
package/component.js
CHANGED
|
@@ -23,7 +23,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
23
23
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
24
24
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
25
25
|
|
|
26
|
-
var styles = {"modal":"bottom-
|
|
26
|
+
var styles = {"modal":"bottom-sheet__modal_822hf","wrapper":"bottom-sheet__wrapper_822hf","fullscreen":"bottom-sheet__fullscreen_822hf","component":"bottom-sheet__component_822hf","withTransition":"bottom-sheet__withTransition_822hf","scrollableContainer":"bottom-sheet__scrollableContainer_822hf","marker":"bottom-sheet__marker_822hf","defaultMarker":"bottom-sheet__defaultMarker_822hf","content":"bottom-sheet__content_822hf","noHeader":"bottom-sheet__noHeader_822hf","noFooter":"bottom-sheet__noFooter_822hf","scrollLocked":"bottom-sheet__scrollLocked_822hf","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_822hf","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_822hf","appear":"bottom-sheet__appear_822hf","enter":"bottom-sheet__enter_822hf","appearActive":"bottom-sheet__appearActive_822hf","enterActive":"bottom-sheet__enterActive_822hf","enterDone":"bottom-sheet__enterDone_822hf","appearDone":"bottom-sheet__appearDone_822hf","exit":"bottom-sheet__exit_822hf","exitActive":"bottom-sheet__exitActive_822hf","background-accent":"bottom-sheet__background-accent_822hf","background-info":"bottom-sheet__background-info_822hf","background-attention-muted":"bottom-sheet__background-attention-muted_822hf","background-positive-muted":"bottom-sheet__background-positive-muted_822hf","background-negative-muted":"bottom-sheet__background-negative-muted_822hf","background-primary":"bottom-sheet__background-primary_822hf","background-primary-inverted":"bottom-sheet__background-primary-inverted_822hf","background-secondary":"bottom-sheet__background-secondary_822hf","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_822hf","background-tertiary":"bottom-sheet__background-tertiary_822hf","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_822hf","background-quaternary":"bottom-sheet__background-quaternary_822hf","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_822hf","background-specialbg-component":"bottom-sheet__background-specialbg-component_822hf","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_822hf","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_822hf","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_822hf","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_822hf","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_822hf","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_822hf","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_822hf","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_822hf"};
|
|
27
27
|
require('./index.css')
|
|
28
28
|
|
|
29
29
|
var isNil = coreComponentsShared.fnUtils.isNil;
|
|
@@ -11,7 +11,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
12
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
13
13
|
|
|
14
|
-
var styles = {"footer":"bottom-
|
|
14
|
+
var styles = {"footer":"bottom-sheet__footer_132y0","sticky":"bottom-sheet__sticky_132y0","highlighted":"bottom-sheet__highlighted_132y0","background-accent":"bottom-sheet__background-accent_132y0","background-info":"bottom-sheet__background-info_132y0","background-attention-muted":"bottom-sheet__background-attention-muted_132y0","background-positive-muted":"bottom-sheet__background-positive-muted_132y0","background-negative-muted":"bottom-sheet__background-negative-muted_132y0","background-primary":"bottom-sheet__background-primary_132y0","background-primary-inverted":"bottom-sheet__background-primary-inverted_132y0","background-secondary":"bottom-sheet__background-secondary_132y0","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_132y0","background-tertiary":"bottom-sheet__background-tertiary_132y0","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_132y0","background-quaternary":"bottom-sheet__background-quaternary_132y0","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_132y0","background-specialbg-component":"bottom-sheet__background-specialbg-component_132y0","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_132y0","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_132y0","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_132y0","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_132y0","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_132y0","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_132y0","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_132y0","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_132y0"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
var Footer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1himm */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -46,58 +46,58 @@
|
|
|
46
46
|
/* footer */
|
|
47
47
|
--bottom-sheet-footer-border-top: 1px solid var(--color-light-neutral-300);
|
|
48
48
|
--bottom-sheet-footer-background-color: var(--color-light-modal-bg-primary);
|
|
49
|
-
} .bottom-
|
|
49
|
+
} .bottom-sheet__footer_132y0 {
|
|
50
50
|
padding: var(--gap-m) var(--gap-m);
|
|
51
51
|
background-color: var(--color-light-modal-bg-primary);
|
|
52
|
-
} .bottom-
|
|
52
|
+
} .bottom-sheet__sticky_132y0 {
|
|
53
53
|
position: sticky;
|
|
54
54
|
bottom: 0;
|
|
55
55
|
z-index: 1;
|
|
56
|
-
} .bottom-
|
|
56
|
+
} .bottom-sheet__highlighted_132y0 {
|
|
57
57
|
border-top: var(--bottom-sheet-footer-border-top);
|
|
58
58
|
background-color: var(--bottom-sheet-footer-background-color);
|
|
59
|
-
} .bottom-sheet__background-
|
|
59
|
+
} .bottom-sheet__background-accent_132y0 {
|
|
60
60
|
background-color: var(--color-light-bg-accent);
|
|
61
|
-
} .bottom-sheet__background-
|
|
61
|
+
} .bottom-sheet__background-info_132y0 {
|
|
62
62
|
background-color: var(--color-light-bg-info);
|
|
63
|
-
} .bottom-sheet__background-attention-
|
|
63
|
+
} .bottom-sheet__background-attention-muted_132y0 {
|
|
64
64
|
background-color: var(--color-light-bg-attention-muted);
|
|
65
|
-
} .bottom-sheet__background-positive-
|
|
65
|
+
} .bottom-sheet__background-positive-muted_132y0 {
|
|
66
66
|
background-color: var(--color-light-bg-positive-muted);
|
|
67
|
-
} .bottom-sheet__background-negative-
|
|
67
|
+
} .bottom-sheet__background-negative-muted_132y0 {
|
|
68
68
|
background-color: var(--color-light-bg-negative-muted);
|
|
69
|
-
} .bottom-sheet__background-
|
|
69
|
+
} .bottom-sheet__background-primary_132y0 {
|
|
70
70
|
background-color: var(--color-light-bg-primary);
|
|
71
|
-
} .bottom-sheet__background-primary-
|
|
71
|
+
} .bottom-sheet__background-primary-inverted_132y0 {
|
|
72
72
|
background-color: var(--color-light-bg-primary-inverted);
|
|
73
|
-
} .bottom-sheet__background-
|
|
73
|
+
} .bottom-sheet__background-secondary_132y0 {
|
|
74
74
|
background-color: var(--color-light-bg-secondary);
|
|
75
|
-
} .bottom-sheet__background-secondary-
|
|
75
|
+
} .bottom-sheet__background-secondary-inverted_132y0 {
|
|
76
76
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
77
|
-
} .bottom-sheet__background-
|
|
77
|
+
} .bottom-sheet__background-tertiary_132y0 {
|
|
78
78
|
background-color: var(--color-light-bg-tertiary);
|
|
79
|
-
} .bottom-sheet__background-tertiary-
|
|
79
|
+
} .bottom-sheet__background-tertiary-inverted_132y0 {
|
|
80
80
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
81
|
-
} .bottom-sheet__background-
|
|
81
|
+
} .bottom-sheet__background-quaternary_132y0 {
|
|
82
82
|
background-color: var(--color-light-bg-quaternary);
|
|
83
|
-
} .bottom-sheet__background-quaternary-
|
|
83
|
+
} .bottom-sheet__background-quaternary-inverted_132y0 {
|
|
84
84
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
85
|
-
} .bottom-sheet__background-specialbg-
|
|
85
|
+
} .bottom-sheet__background-specialbg-component_132y0 {
|
|
86
86
|
background-color: var(--color-light-specialbg-component);
|
|
87
|
-
} .bottom-sheet__background-specialbg-component-
|
|
87
|
+
} .bottom-sheet__background-specialbg-component-inverted_132y0 {
|
|
88
88
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
89
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
89
|
+
} .bottom-sheet__background-specialbg-primary-grouped_132y0 {
|
|
90
90
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
91
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
91
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_132y0 {
|
|
92
92
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
93
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
93
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_132y0 {
|
|
94
94
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
95
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
95
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_132y0 {
|
|
96
96
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
97
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
97
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_132y0 {
|
|
98
98
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
99
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
99
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_132y0 {
|
|
100
100
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
101
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
101
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_132y0 {
|
|
102
102
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
103
103
|
}
|
|
@@ -13,7 +13,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
13
13
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
14
14
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
15
15
|
|
|
16
|
-
var styles = {"headerWrapper":"bottom-
|
|
16
|
+
var styles = {"headerWrapper":"bottom-sheet__headerWrapper_1vp4g","hasContent":"bottom-sheet__hasContent_1vp4g","header":"bottom-sheet__header_1vp4g","sticky":"bottom-sheet__sticky_1vp4g","highlighted":"bottom-sheet__highlighted_1vp4g","justifyEnd":"bottom-sheet__justifyEnd_1vp4g","addon":"bottom-sheet__addon_1vp4g","addonFixed":"bottom-sheet__addonFixed_1vp4g","title":"bottom-sheet__title_1vp4g","titleCenter":"bottom-sheet__titleCenter_1vp4g","titleLeft":"bottom-sheet__titleLeft_1vp4g","trimTitle":"bottom-sheet__trimTitle_1vp4g"};
|
|
17
17
|
require('./index.css')
|
|
18
18
|
|
|
19
19
|
var Header = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ifb0 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-neutral-300: #e7e8eb; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -30,42 +30,42 @@
|
|
|
30
30
|
--bottom-sheet-title-font-family: var(--font-family-system);
|
|
31
31
|
|
|
32
32
|
/* footer */
|
|
33
|
-
} .bottom-
|
|
33
|
+
} .bottom-sheet__headerWrapper_1vp4g {
|
|
34
34
|
padding: var(--gap-s) var(--gap-xs) var(--gap-2xs);
|
|
35
35
|
border-top-left-radius: inherit;
|
|
36
36
|
border-top-right-radius: inherit;
|
|
37
37
|
z-index: 1;
|
|
38
|
-
} .bottom-
|
|
38
|
+
} .bottom-sheet__hasContent_1vp4g {
|
|
39
39
|
background-color: inherit;
|
|
40
|
-
} .bottom-
|
|
40
|
+
} .bottom-sheet__header_1vp4g {
|
|
41
41
|
display: flex;
|
|
42
|
-
} .bottom-
|
|
42
|
+
} .bottom-sheet__sticky_1vp4g {
|
|
43
43
|
position: sticky;
|
|
44
44
|
top: 0;
|
|
45
|
-
} .bottom-
|
|
45
|
+
} .bottom-sheet__highlighted_1vp4g {
|
|
46
46
|
border-bottom: var(--bottom-sheet-header-border-bottom);
|
|
47
|
-
} .bottom-
|
|
47
|
+
} .bottom-sheet__justifyEnd_1vp4g {
|
|
48
48
|
justify-content: flex-end;
|
|
49
|
-
} .bottom-
|
|
49
|
+
} .bottom-sheet__addon_1vp4g {
|
|
50
50
|
display: flex;
|
|
51
51
|
justify-content: center;
|
|
52
52
|
align-items: center;
|
|
53
53
|
min-width: 48px;
|
|
54
54
|
height: 48px;
|
|
55
|
-
} .bottom-
|
|
55
|
+
} .bottom-sheet__addonFixed_1vp4g {
|
|
56
56
|
position: fixed;
|
|
57
|
-
} .bottom-
|
|
57
|
+
} .bottom-sheet__title_1vp4g {
|
|
58
58
|
padding: var(--gap-s) var(--gap-xs);
|
|
59
59
|
width: 100%;
|
|
60
60
|
font-size: var(--bottom-sheet-title-font-size);
|
|
61
61
|
font-weight: var(--bottom-sheet-title-font-weight);
|
|
62
62
|
line-height: var(--bottom-sheet-title-line-height);
|
|
63
63
|
font-family: var(--bottom-sheet-title-font-family);
|
|
64
|
-
} .bottom-
|
|
64
|
+
} .bottom-sheet__titleCenter_1vp4g {
|
|
65
65
|
text-align: center;
|
|
66
|
-
} .bottom-
|
|
66
|
+
} .bottom-sheet__titleLeft_1vp4g {
|
|
67
67
|
text-align: left;
|
|
68
|
-
} .bottom-
|
|
68
|
+
} .bottom-sheet__trimTitle_1vp4g {
|
|
69
69
|
white-space: nowrap;
|
|
70
70
|
overflow: hidden;
|
|
71
71
|
text-overflow: ellipsis;
|
package/esm/component.js
CHANGED
|
@@ -13,7 +13,7 @@ import { convertPercentToNumber, TIMEOUT, MARKER_HEIGHT, SCROLL_OFFSET, SWIPE_VE
|
|
|
13
13
|
import '@alfalab/core-components-navigation-bar/esm';
|
|
14
14
|
import '@alfalab/core-components-backdrop/esm';
|
|
15
15
|
|
|
16
|
-
var styles = {"modal":"bottom-
|
|
16
|
+
var styles = {"modal":"bottom-sheet__modal_822hf","wrapper":"bottom-sheet__wrapper_822hf","fullscreen":"bottom-sheet__fullscreen_822hf","component":"bottom-sheet__component_822hf","withTransition":"bottom-sheet__withTransition_822hf","scrollableContainer":"bottom-sheet__scrollableContainer_822hf","marker":"bottom-sheet__marker_822hf","defaultMarker":"bottom-sheet__defaultMarker_822hf","content":"bottom-sheet__content_822hf","noHeader":"bottom-sheet__noHeader_822hf","noFooter":"bottom-sheet__noFooter_822hf","scrollLocked":"bottom-sheet__scrollLocked_822hf","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_822hf","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_822hf","appear":"bottom-sheet__appear_822hf","enter":"bottom-sheet__enter_822hf","appearActive":"bottom-sheet__appearActive_822hf","enterActive":"bottom-sheet__enterActive_822hf","enterDone":"bottom-sheet__enterDone_822hf","appearDone":"bottom-sheet__appearDone_822hf","exit":"bottom-sheet__exit_822hf","exitActive":"bottom-sheet__exitActive_822hf","background-accent":"bottom-sheet__background-accent_822hf","background-info":"bottom-sheet__background-info_822hf","background-attention-muted":"bottom-sheet__background-attention-muted_822hf","background-positive-muted":"bottom-sheet__background-positive-muted_822hf","background-negative-muted":"bottom-sheet__background-negative-muted_822hf","background-primary":"bottom-sheet__background-primary_822hf","background-primary-inverted":"bottom-sheet__background-primary-inverted_822hf","background-secondary":"bottom-sheet__background-secondary_822hf","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_822hf","background-tertiary":"bottom-sheet__background-tertiary_822hf","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_822hf","background-quaternary":"bottom-sheet__background-quaternary_822hf","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_822hf","background-specialbg-component":"bottom-sheet__background-specialbg-component_822hf","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_822hf","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_822hf","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_822hf","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_822hf","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_822hf","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_822hf","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_822hf","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_822hf"};
|
|
17
17
|
require('./index.css')
|
|
18
18
|
|
|
19
19
|
var isNil = fnUtils.isNil;
|
|
@@ -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-
|
|
5
|
+
var styles = {"footer":"bottom-sheet__footer_132y0","sticky":"bottom-sheet__sticky_132y0","highlighted":"bottom-sheet__highlighted_132y0","background-accent":"bottom-sheet__background-accent_132y0","background-info":"bottom-sheet__background-info_132y0","background-attention-muted":"bottom-sheet__background-attention-muted_132y0","background-positive-muted":"bottom-sheet__background-positive-muted_132y0","background-negative-muted":"bottom-sheet__background-negative-muted_132y0","background-primary":"bottom-sheet__background-primary_132y0","background-primary-inverted":"bottom-sheet__background-primary-inverted_132y0","background-secondary":"bottom-sheet__background-secondary_132y0","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_132y0","background-tertiary":"bottom-sheet__background-tertiary_132y0","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_132y0","background-quaternary":"bottom-sheet__background-quaternary_132y0","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_132y0","background-specialbg-component":"bottom-sheet__background-specialbg-component_132y0","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_132y0","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_132y0","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_132y0","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_132y0","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_132y0","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_132y0","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_132y0","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_132y0"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var Footer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1himm */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -46,58 +46,58 @@
|
|
|
46
46
|
/* footer */
|
|
47
47
|
--bottom-sheet-footer-border-top: 1px solid var(--color-light-neutral-300);
|
|
48
48
|
--bottom-sheet-footer-background-color: var(--color-light-modal-bg-primary);
|
|
49
|
-
} .bottom-
|
|
49
|
+
} .bottom-sheet__footer_132y0 {
|
|
50
50
|
padding: var(--gap-m) var(--gap-m);
|
|
51
51
|
background-color: var(--color-light-modal-bg-primary);
|
|
52
|
-
} .bottom-
|
|
52
|
+
} .bottom-sheet__sticky_132y0 {
|
|
53
53
|
position: sticky;
|
|
54
54
|
bottom: 0;
|
|
55
55
|
z-index: 1;
|
|
56
|
-
} .bottom-
|
|
56
|
+
} .bottom-sheet__highlighted_132y0 {
|
|
57
57
|
border-top: var(--bottom-sheet-footer-border-top);
|
|
58
58
|
background-color: var(--bottom-sheet-footer-background-color);
|
|
59
|
-
} .bottom-sheet__background-
|
|
59
|
+
} .bottom-sheet__background-accent_132y0 {
|
|
60
60
|
background-color: var(--color-light-bg-accent);
|
|
61
|
-
} .bottom-sheet__background-
|
|
61
|
+
} .bottom-sheet__background-info_132y0 {
|
|
62
62
|
background-color: var(--color-light-bg-info);
|
|
63
|
-
} .bottom-sheet__background-attention-
|
|
63
|
+
} .bottom-sheet__background-attention-muted_132y0 {
|
|
64
64
|
background-color: var(--color-light-bg-attention-muted);
|
|
65
|
-
} .bottom-sheet__background-positive-
|
|
65
|
+
} .bottom-sheet__background-positive-muted_132y0 {
|
|
66
66
|
background-color: var(--color-light-bg-positive-muted);
|
|
67
|
-
} .bottom-sheet__background-negative-
|
|
67
|
+
} .bottom-sheet__background-negative-muted_132y0 {
|
|
68
68
|
background-color: var(--color-light-bg-negative-muted);
|
|
69
|
-
} .bottom-sheet__background-
|
|
69
|
+
} .bottom-sheet__background-primary_132y0 {
|
|
70
70
|
background-color: var(--color-light-bg-primary);
|
|
71
|
-
} .bottom-sheet__background-primary-
|
|
71
|
+
} .bottom-sheet__background-primary-inverted_132y0 {
|
|
72
72
|
background-color: var(--color-light-bg-primary-inverted);
|
|
73
|
-
} .bottom-sheet__background-
|
|
73
|
+
} .bottom-sheet__background-secondary_132y0 {
|
|
74
74
|
background-color: var(--color-light-bg-secondary);
|
|
75
|
-
} .bottom-sheet__background-secondary-
|
|
75
|
+
} .bottom-sheet__background-secondary-inverted_132y0 {
|
|
76
76
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
77
|
-
} .bottom-sheet__background-
|
|
77
|
+
} .bottom-sheet__background-tertiary_132y0 {
|
|
78
78
|
background-color: var(--color-light-bg-tertiary);
|
|
79
|
-
} .bottom-sheet__background-tertiary-
|
|
79
|
+
} .bottom-sheet__background-tertiary-inverted_132y0 {
|
|
80
80
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
81
|
-
} .bottom-sheet__background-
|
|
81
|
+
} .bottom-sheet__background-quaternary_132y0 {
|
|
82
82
|
background-color: var(--color-light-bg-quaternary);
|
|
83
|
-
} .bottom-sheet__background-quaternary-
|
|
83
|
+
} .bottom-sheet__background-quaternary-inverted_132y0 {
|
|
84
84
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
85
|
-
} .bottom-sheet__background-specialbg-
|
|
85
|
+
} .bottom-sheet__background-specialbg-component_132y0 {
|
|
86
86
|
background-color: var(--color-light-specialbg-component);
|
|
87
|
-
} .bottom-sheet__background-specialbg-component-
|
|
87
|
+
} .bottom-sheet__background-specialbg-component-inverted_132y0 {
|
|
88
88
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
89
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
89
|
+
} .bottom-sheet__background-specialbg-primary-grouped_132y0 {
|
|
90
90
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
91
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
91
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_132y0 {
|
|
92
92
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
93
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
93
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_132y0 {
|
|
94
94
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
95
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
95
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_132y0 {
|
|
96
96
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
97
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
97
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_132y0 {
|
|
98
98
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
99
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
99
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_132y0 {
|
|
100
100
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
101
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
101
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_132y0 {
|
|
102
102
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
103
103
|
}
|
|
@@ -4,7 +4,7 @@ import cn from 'classnames';
|
|
|
4
4
|
import { BaseModalContext } from '@alfalab/core-components-base-modal/esm';
|
|
5
5
|
import { NavigationBar } from '@alfalab/core-components-navigation-bar/esm';
|
|
6
6
|
|
|
7
|
-
var styles = {"headerWrapper":"bottom-
|
|
7
|
+
var styles = {"headerWrapper":"bottom-sheet__headerWrapper_1vp4g","hasContent":"bottom-sheet__hasContent_1vp4g","header":"bottom-sheet__header_1vp4g","sticky":"bottom-sheet__sticky_1vp4g","highlighted":"bottom-sheet__highlighted_1vp4g","justifyEnd":"bottom-sheet__justifyEnd_1vp4g","addon":"bottom-sheet__addon_1vp4g","addonFixed":"bottom-sheet__addonFixed_1vp4g","title":"bottom-sheet__title_1vp4g","titleCenter":"bottom-sheet__titleCenter_1vp4g","titleLeft":"bottom-sheet__titleLeft_1vp4g","trimTitle":"bottom-sheet__trimTitle_1vp4g"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
var Header = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ifb0 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-neutral-300: #e7e8eb; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -30,42 +30,42 @@
|
|
|
30
30
|
--bottom-sheet-title-font-family: var(--font-family-system);
|
|
31
31
|
|
|
32
32
|
/* footer */
|
|
33
|
-
} .bottom-
|
|
33
|
+
} .bottom-sheet__headerWrapper_1vp4g {
|
|
34
34
|
padding: var(--gap-s) var(--gap-xs) var(--gap-2xs);
|
|
35
35
|
border-top-left-radius: inherit;
|
|
36
36
|
border-top-right-radius: inherit;
|
|
37
37
|
z-index: 1;
|
|
38
|
-
} .bottom-
|
|
38
|
+
} .bottom-sheet__hasContent_1vp4g {
|
|
39
39
|
background-color: inherit;
|
|
40
|
-
} .bottom-
|
|
40
|
+
} .bottom-sheet__header_1vp4g {
|
|
41
41
|
display: flex;
|
|
42
|
-
} .bottom-
|
|
42
|
+
} .bottom-sheet__sticky_1vp4g {
|
|
43
43
|
position: sticky;
|
|
44
44
|
top: 0;
|
|
45
|
-
} .bottom-
|
|
45
|
+
} .bottom-sheet__highlighted_1vp4g {
|
|
46
46
|
border-bottom: var(--bottom-sheet-header-border-bottom);
|
|
47
|
-
} .bottom-
|
|
47
|
+
} .bottom-sheet__justifyEnd_1vp4g {
|
|
48
48
|
justify-content: flex-end;
|
|
49
|
-
} .bottom-
|
|
49
|
+
} .bottom-sheet__addon_1vp4g {
|
|
50
50
|
display: flex;
|
|
51
51
|
justify-content: center;
|
|
52
52
|
align-items: center;
|
|
53
53
|
min-width: 48px;
|
|
54
54
|
height: 48px;
|
|
55
|
-
} .bottom-
|
|
55
|
+
} .bottom-sheet__addonFixed_1vp4g {
|
|
56
56
|
position: fixed;
|
|
57
|
-
} .bottom-
|
|
57
|
+
} .bottom-sheet__title_1vp4g {
|
|
58
58
|
padding: var(--gap-s) var(--gap-xs);
|
|
59
59
|
width: 100%;
|
|
60
60
|
font-size: var(--bottom-sheet-title-font-size);
|
|
61
61
|
font-weight: var(--bottom-sheet-title-font-weight);
|
|
62
62
|
line-height: var(--bottom-sheet-title-line-height);
|
|
63
63
|
font-family: var(--bottom-sheet-title-font-family);
|
|
64
|
-
} .bottom-
|
|
64
|
+
} .bottom-sheet__titleCenter_1vp4g {
|
|
65
65
|
text-align: center;
|
|
66
|
-
} .bottom-
|
|
66
|
+
} .bottom-sheet__titleLeft_1vp4g {
|
|
67
67
|
text-align: left;
|
|
68
|
-
} .bottom-
|
|
68
|
+
} .bottom-sheet__trimTitle_1vp4g {
|
|
69
69
|
white-space: nowrap;
|
|
70
70
|
overflow: hidden;
|
|
71
71
|
text-overflow: ellipsis;
|
package/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: qeddh */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -52,25 +52,25 @@
|
|
|
52
52
|
/* header */
|
|
53
53
|
|
|
54
54
|
/* footer */
|
|
55
|
-
} .bottom-
|
|
55
|
+
} .bottom-sheet__modal_822hf {
|
|
56
56
|
bottom: 0;
|
|
57
57
|
width: 100%;
|
|
58
58
|
max-width: 600px;
|
|
59
59
|
pointer-events: none;
|
|
60
60
|
touch-action: none;
|
|
61
|
-
} .bottom-
|
|
61
|
+
} .bottom-sheet__modal_822hf.bottom-sheet__modal_822hf {
|
|
62
62
|
background-color: transparent;
|
|
63
63
|
position: fixed;
|
|
64
|
-
} .bottom-
|
|
64
|
+
} .bottom-sheet__wrapper_822hf {
|
|
65
65
|
transform: translateY(100%);
|
|
66
66
|
pointer-events: none;
|
|
67
67
|
touch-action: none;
|
|
68
68
|
border-top-right-radius: var(--bottom-sheet-top-radius);
|
|
69
69
|
border-top-left-radius: var(--bottom-sheet-top-radius);
|
|
70
70
|
transition: border-radius 0.3s ease;
|
|
71
|
-
} .bottom-
|
|
71
|
+
} .bottom-sheet__fullscreen_822hf {
|
|
72
72
|
border-radius: 0;
|
|
73
|
-
} .bottom-
|
|
73
|
+
} .bottom-sheet__component_822hf {
|
|
74
74
|
position: relative;
|
|
75
75
|
display: flex;
|
|
76
76
|
flex-direction: column;
|
|
@@ -78,9 +78,9 @@
|
|
|
78
78
|
background-color: var(--color-light-modal-bg-primary);
|
|
79
79
|
pointer-events: all;
|
|
80
80
|
box-shadow: var(--bottom-sheet-shadow);
|
|
81
|
-
} .bottom-
|
|
81
|
+
} .bottom-sheet__withTransition_822hf {
|
|
82
82
|
transition: var(--bottom-sheet-out-transition);
|
|
83
|
-
} .bottom-
|
|
83
|
+
} .bottom-sheet__scrollableContainer_822hf {
|
|
84
84
|
overflow: auto;
|
|
85
85
|
display: flex;
|
|
86
86
|
flex-direction: column;
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
background-color: inherit;
|
|
90
90
|
border-radius: inherit;
|
|
91
91
|
overscroll-behavior: contain;
|
|
92
|
-
} .bottom-
|
|
92
|
+
} .bottom-sheet__marker_822hf {
|
|
93
93
|
position: fixed;
|
|
94
94
|
top: var(--gap-2xs);
|
|
95
95
|
right: 0;
|
|
@@ -97,11 +97,11 @@
|
|
|
97
97
|
z-index: 1000;
|
|
98
98
|
width: 36px;
|
|
99
99
|
margin: 0 auto;
|
|
100
|
-
} .bottom-
|
|
100
|
+
} .bottom-sheet__defaultMarker_822hf {
|
|
101
101
|
height: 4px;
|
|
102
102
|
border-radius: var(--border-radius-xxl);
|
|
103
103
|
background-color: var(--color-light-neutral-translucent-300);
|
|
104
|
-
} .bottom-
|
|
104
|
+
} .bottom-sheet__content_822hf {
|
|
105
105
|
position: relative;
|
|
106
106
|
z-index: 0;
|
|
107
107
|
display: flex;
|
|
@@ -111,73 +111,73 @@
|
|
|
111
111
|
color: var(--color-light-text-primary);
|
|
112
112
|
background-color: inherit;
|
|
113
113
|
border-radius: inherit;
|
|
114
|
-
} .bottom-
|
|
114
|
+
} .bottom-sheet__noHeader_822hf {
|
|
115
115
|
padding-top: var(--gap-m);
|
|
116
|
-
} .bottom-
|
|
116
|
+
} .bottom-sheet__noFooter_822hf {
|
|
117
117
|
padding-bottom: var(--gap-m);
|
|
118
|
-
} .bottom-
|
|
118
|
+
} .bottom-sheet__scrollLocked_822hf {
|
|
119
119
|
overflow: hidden;
|
|
120
|
-
} .bottom-
|
|
120
|
+
} .bottom-sheet__hiddenScrollbar_822hf {
|
|
121
121
|
scrollbar-width: none
|
|
122
|
-
} .bottom-
|
|
122
|
+
} .bottom-sheet__hiddenScrollbar_822hf::-webkit-scrollbar {
|
|
123
123
|
width: 0;
|
|
124
124
|
height: 0;
|
|
125
|
-
} .bottom-
|
|
125
|
+
} .bottom-sheet__disabledPointerEvents_822hf {
|
|
126
126
|
pointer-events: none;
|
|
127
|
-
} .bottom-
|
|
127
|
+
} .bottom-sheet__appear_822hf .bottom-sheet__wrapper_822hf, .bottom-sheet__enter_822hf .bottom-sheet__wrapper_822hf {
|
|
128
128
|
transition: none;
|
|
129
|
-
} .bottom-
|
|
129
|
+
} .bottom-sheet__appearActive_822hf .bottom-sheet__wrapper_822hf, .bottom-sheet__enterActive_822hf .bottom-sheet__wrapper_822hf {
|
|
130
130
|
transition: var(--bottom-sheet-in-transition);
|
|
131
131
|
transform: translateY(0);
|
|
132
|
-
} .bottom-
|
|
132
|
+
} .bottom-sheet__enterDone_822hf .bottom-sheet__wrapper_822hf, .bottom-sheet__appearDone_822hf .bottom-sheet__wrapper_822hf {
|
|
133
133
|
transform: translateY(0);
|
|
134
|
-
} .bottom-
|
|
134
|
+
} .bottom-sheet__exit_822hf .bottom-sheet__wrapper_822hf {
|
|
135
135
|
transform: translateY(0);
|
|
136
|
-
} .bottom-
|
|
136
|
+
} .bottom-sheet__exitActive_822hf .bottom-sheet__wrapper_822hf {
|
|
137
137
|
transition: var(--bottom-sheet-out-transition);
|
|
138
138
|
transform: translateY(100%);
|
|
139
|
-
} .bottom-sheet__background-
|
|
139
|
+
} .bottom-sheet__background-accent_822hf {
|
|
140
140
|
background-color: var(--color-light-bg-accent);
|
|
141
|
-
} .bottom-sheet__background-
|
|
141
|
+
} .bottom-sheet__background-info_822hf {
|
|
142
142
|
background-color: var(--color-light-bg-info);
|
|
143
|
-
} .bottom-sheet__background-attention-
|
|
143
|
+
} .bottom-sheet__background-attention-muted_822hf {
|
|
144
144
|
background-color: var(--color-light-bg-attention-muted);
|
|
145
|
-
} .bottom-sheet__background-positive-
|
|
145
|
+
} .bottom-sheet__background-positive-muted_822hf {
|
|
146
146
|
background-color: var(--color-light-bg-positive-muted);
|
|
147
|
-
} .bottom-sheet__background-negative-
|
|
147
|
+
} .bottom-sheet__background-negative-muted_822hf {
|
|
148
148
|
background-color: var(--color-light-bg-negative-muted);
|
|
149
|
-
} .bottom-sheet__background-
|
|
149
|
+
} .bottom-sheet__background-primary_822hf {
|
|
150
150
|
background-color: var(--color-light-bg-primary);
|
|
151
|
-
} .bottom-sheet__background-primary-
|
|
151
|
+
} .bottom-sheet__background-primary-inverted_822hf {
|
|
152
152
|
background-color: var(--color-light-bg-primary-inverted);
|
|
153
|
-
} .bottom-sheet__background-
|
|
153
|
+
} .bottom-sheet__background-secondary_822hf {
|
|
154
154
|
background-color: var(--color-light-bg-secondary);
|
|
155
|
-
} .bottom-sheet__background-secondary-
|
|
155
|
+
} .bottom-sheet__background-secondary-inverted_822hf {
|
|
156
156
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
157
|
-
} .bottom-sheet__background-
|
|
157
|
+
} .bottom-sheet__background-tertiary_822hf {
|
|
158
158
|
background-color: var(--color-light-bg-tertiary);
|
|
159
|
-
} .bottom-sheet__background-tertiary-
|
|
159
|
+
} .bottom-sheet__background-tertiary-inverted_822hf {
|
|
160
160
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
161
|
-
} .bottom-sheet__background-
|
|
161
|
+
} .bottom-sheet__background-quaternary_822hf {
|
|
162
162
|
background-color: var(--color-light-bg-quaternary);
|
|
163
|
-
} .bottom-sheet__background-quaternary-
|
|
163
|
+
} .bottom-sheet__background-quaternary-inverted_822hf {
|
|
164
164
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
165
|
-
} .bottom-sheet__background-specialbg-
|
|
165
|
+
} .bottom-sheet__background-specialbg-component_822hf {
|
|
166
166
|
background-color: var(--color-light-specialbg-component);
|
|
167
|
-
} .bottom-sheet__background-specialbg-component-
|
|
167
|
+
} .bottom-sheet__background-specialbg-component-inverted_822hf {
|
|
168
168
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
169
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
169
|
+
} .bottom-sheet__background-specialbg-primary-grouped_822hf {
|
|
170
170
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
171
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
171
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_822hf {
|
|
172
172
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
173
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
173
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_822hf {
|
|
174
174
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
175
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
175
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_822hf {
|
|
176
176
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
177
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
177
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_822hf {
|
|
178
178
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
179
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
179
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_822hf {
|
|
180
180
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
181
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
181
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_822hf {
|
|
182
182
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
183
183
|
}
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: qeddh */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -52,25 +52,25 @@
|
|
|
52
52
|
/* header */
|
|
53
53
|
|
|
54
54
|
/* footer */
|
|
55
|
-
} .bottom-
|
|
55
|
+
} .bottom-sheet__modal_822hf {
|
|
56
56
|
bottom: 0;
|
|
57
57
|
width: 100%;
|
|
58
58
|
max-width: 600px;
|
|
59
59
|
pointer-events: none;
|
|
60
60
|
touch-action: none;
|
|
61
|
-
} .bottom-
|
|
61
|
+
} .bottom-sheet__modal_822hf.bottom-sheet__modal_822hf {
|
|
62
62
|
background-color: transparent;
|
|
63
63
|
position: fixed;
|
|
64
|
-
} .bottom-
|
|
64
|
+
} .bottom-sheet__wrapper_822hf {
|
|
65
65
|
transform: translateY(100%);
|
|
66
66
|
pointer-events: none;
|
|
67
67
|
touch-action: none;
|
|
68
68
|
border-top-right-radius: var(--bottom-sheet-top-radius);
|
|
69
69
|
border-top-left-radius: var(--bottom-sheet-top-radius);
|
|
70
70
|
transition: border-radius 0.3s ease;
|
|
71
|
-
} .bottom-
|
|
71
|
+
} .bottom-sheet__fullscreen_822hf {
|
|
72
72
|
border-radius: 0;
|
|
73
|
-
} .bottom-
|
|
73
|
+
} .bottom-sheet__component_822hf {
|
|
74
74
|
position: relative;
|
|
75
75
|
display: flex;
|
|
76
76
|
flex-direction: column;
|
|
@@ -78,9 +78,9 @@
|
|
|
78
78
|
background-color: var(--color-light-modal-bg-primary);
|
|
79
79
|
pointer-events: all;
|
|
80
80
|
box-shadow: var(--bottom-sheet-shadow);
|
|
81
|
-
} .bottom-
|
|
81
|
+
} .bottom-sheet__withTransition_822hf {
|
|
82
82
|
transition: var(--bottom-sheet-out-transition);
|
|
83
|
-
} .bottom-
|
|
83
|
+
} .bottom-sheet__scrollableContainer_822hf {
|
|
84
84
|
overflow: auto;
|
|
85
85
|
display: flex;
|
|
86
86
|
flex-direction: column;
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
background-color: inherit;
|
|
90
90
|
border-radius: inherit;
|
|
91
91
|
overscroll-behavior: contain;
|
|
92
|
-
} .bottom-
|
|
92
|
+
} .bottom-sheet__marker_822hf {
|
|
93
93
|
position: fixed;
|
|
94
94
|
top: var(--gap-2xs);
|
|
95
95
|
right: 0;
|
|
@@ -97,11 +97,11 @@
|
|
|
97
97
|
z-index: 1000;
|
|
98
98
|
width: 36px;
|
|
99
99
|
margin: 0 auto;
|
|
100
|
-
} .bottom-
|
|
100
|
+
} .bottom-sheet__defaultMarker_822hf {
|
|
101
101
|
height: 4px;
|
|
102
102
|
border-radius: var(--border-radius-xxl);
|
|
103
103
|
background-color: var(--color-light-neutral-translucent-300);
|
|
104
|
-
} .bottom-
|
|
104
|
+
} .bottom-sheet__content_822hf {
|
|
105
105
|
position: relative;
|
|
106
106
|
z-index: 0;
|
|
107
107
|
display: flex;
|
|
@@ -111,73 +111,73 @@
|
|
|
111
111
|
color: var(--color-light-text-primary);
|
|
112
112
|
background-color: inherit;
|
|
113
113
|
border-radius: inherit;
|
|
114
|
-
} .bottom-
|
|
114
|
+
} .bottom-sheet__noHeader_822hf {
|
|
115
115
|
padding-top: var(--gap-m);
|
|
116
|
-
} .bottom-
|
|
116
|
+
} .bottom-sheet__noFooter_822hf {
|
|
117
117
|
padding-bottom: var(--gap-m);
|
|
118
|
-
} .bottom-
|
|
118
|
+
} .bottom-sheet__scrollLocked_822hf {
|
|
119
119
|
overflow: hidden;
|
|
120
|
-
} .bottom-
|
|
120
|
+
} .bottom-sheet__hiddenScrollbar_822hf {
|
|
121
121
|
scrollbar-width: none
|
|
122
|
-
} .bottom-
|
|
122
|
+
} .bottom-sheet__hiddenScrollbar_822hf::-webkit-scrollbar {
|
|
123
123
|
width: 0;
|
|
124
124
|
height: 0;
|
|
125
|
-
} .bottom-
|
|
125
|
+
} .bottom-sheet__disabledPointerEvents_822hf {
|
|
126
126
|
pointer-events: none;
|
|
127
|
-
} .bottom-
|
|
127
|
+
} .bottom-sheet__appear_822hf .bottom-sheet__wrapper_822hf, .bottom-sheet__enter_822hf .bottom-sheet__wrapper_822hf {
|
|
128
128
|
transition: none;
|
|
129
|
-
} .bottom-
|
|
129
|
+
} .bottom-sheet__appearActive_822hf .bottom-sheet__wrapper_822hf, .bottom-sheet__enterActive_822hf .bottom-sheet__wrapper_822hf {
|
|
130
130
|
transition: var(--bottom-sheet-in-transition);
|
|
131
131
|
transform: translateY(0);
|
|
132
|
-
} .bottom-
|
|
132
|
+
} .bottom-sheet__enterDone_822hf .bottom-sheet__wrapper_822hf, .bottom-sheet__appearDone_822hf .bottom-sheet__wrapper_822hf {
|
|
133
133
|
transform: translateY(0);
|
|
134
|
-
} .bottom-
|
|
134
|
+
} .bottom-sheet__exit_822hf .bottom-sheet__wrapper_822hf {
|
|
135
135
|
transform: translateY(0);
|
|
136
|
-
} .bottom-
|
|
136
|
+
} .bottom-sheet__exitActive_822hf .bottom-sheet__wrapper_822hf {
|
|
137
137
|
transition: var(--bottom-sheet-out-transition);
|
|
138
138
|
transform: translateY(100%);
|
|
139
|
-
} .bottom-sheet__background-
|
|
139
|
+
} .bottom-sheet__background-accent_822hf {
|
|
140
140
|
background-color: var(--color-light-bg-accent);
|
|
141
|
-
} .bottom-sheet__background-
|
|
141
|
+
} .bottom-sheet__background-info_822hf {
|
|
142
142
|
background-color: var(--color-light-bg-info);
|
|
143
|
-
} .bottom-sheet__background-attention-
|
|
143
|
+
} .bottom-sheet__background-attention-muted_822hf {
|
|
144
144
|
background-color: var(--color-light-bg-attention-muted);
|
|
145
|
-
} .bottom-sheet__background-positive-
|
|
145
|
+
} .bottom-sheet__background-positive-muted_822hf {
|
|
146
146
|
background-color: var(--color-light-bg-positive-muted);
|
|
147
|
-
} .bottom-sheet__background-negative-
|
|
147
|
+
} .bottom-sheet__background-negative-muted_822hf {
|
|
148
148
|
background-color: var(--color-light-bg-negative-muted);
|
|
149
|
-
} .bottom-sheet__background-
|
|
149
|
+
} .bottom-sheet__background-primary_822hf {
|
|
150
150
|
background-color: var(--color-light-bg-primary);
|
|
151
|
-
} .bottom-sheet__background-primary-
|
|
151
|
+
} .bottom-sheet__background-primary-inverted_822hf {
|
|
152
152
|
background-color: var(--color-light-bg-primary-inverted);
|
|
153
|
-
} .bottom-sheet__background-
|
|
153
|
+
} .bottom-sheet__background-secondary_822hf {
|
|
154
154
|
background-color: var(--color-light-bg-secondary);
|
|
155
|
-
} .bottom-sheet__background-secondary-
|
|
155
|
+
} .bottom-sheet__background-secondary-inverted_822hf {
|
|
156
156
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
157
|
-
} .bottom-sheet__background-
|
|
157
|
+
} .bottom-sheet__background-tertiary_822hf {
|
|
158
158
|
background-color: var(--color-light-bg-tertiary);
|
|
159
|
-
} .bottom-sheet__background-tertiary-
|
|
159
|
+
} .bottom-sheet__background-tertiary-inverted_822hf {
|
|
160
160
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
161
|
-
} .bottom-sheet__background-
|
|
161
|
+
} .bottom-sheet__background-quaternary_822hf {
|
|
162
162
|
background-color: var(--color-light-bg-quaternary);
|
|
163
|
-
} .bottom-sheet__background-quaternary-
|
|
163
|
+
} .bottom-sheet__background-quaternary-inverted_822hf {
|
|
164
164
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
165
|
-
} .bottom-sheet__background-specialbg-
|
|
165
|
+
} .bottom-sheet__background-specialbg-component_822hf {
|
|
166
166
|
background-color: var(--color-light-specialbg-component);
|
|
167
|
-
} .bottom-sheet__background-specialbg-component-
|
|
167
|
+
} .bottom-sheet__background-specialbg-component-inverted_822hf {
|
|
168
168
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
169
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
169
|
+
} .bottom-sheet__background-specialbg-primary-grouped_822hf {
|
|
170
170
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
171
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
171
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_822hf {
|
|
172
172
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
173
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
173
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_822hf {
|
|
174
174
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
175
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
175
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_822hf {
|
|
176
176
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
177
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
177
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_822hf {
|
|
178
178
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
179
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
179
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_822hf {
|
|
180
180
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
181
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
181
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_822hf {
|
|
182
182
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
183
183
|
}
|
package/modern/component.js
CHANGED
|
@@ -12,7 +12,7 @@ import { convertPercentToNumber, TIMEOUT, MARKER_HEIGHT, SCROLL_OFFSET, SWIPE_VE
|
|
|
12
12
|
import '@alfalab/core-components-navigation-bar/modern';
|
|
13
13
|
import '@alfalab/core-components-backdrop/modern';
|
|
14
14
|
|
|
15
|
-
const styles = {"modal":"bottom-
|
|
15
|
+
const styles = {"modal":"bottom-sheet__modal_822hf","wrapper":"bottom-sheet__wrapper_822hf","fullscreen":"bottom-sheet__fullscreen_822hf","component":"bottom-sheet__component_822hf","withTransition":"bottom-sheet__withTransition_822hf","scrollableContainer":"bottom-sheet__scrollableContainer_822hf","marker":"bottom-sheet__marker_822hf","defaultMarker":"bottom-sheet__defaultMarker_822hf","content":"bottom-sheet__content_822hf","noHeader":"bottom-sheet__noHeader_822hf","noFooter":"bottom-sheet__noFooter_822hf","scrollLocked":"bottom-sheet__scrollLocked_822hf","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_822hf","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_822hf","appear":"bottom-sheet__appear_822hf","enter":"bottom-sheet__enter_822hf","appearActive":"bottom-sheet__appearActive_822hf","enterActive":"bottom-sheet__enterActive_822hf","enterDone":"bottom-sheet__enterDone_822hf","appearDone":"bottom-sheet__appearDone_822hf","exit":"bottom-sheet__exit_822hf","exitActive":"bottom-sheet__exitActive_822hf","background-accent":"bottom-sheet__background-accent_822hf","background-info":"bottom-sheet__background-info_822hf","background-attention-muted":"bottom-sheet__background-attention-muted_822hf","background-positive-muted":"bottom-sheet__background-positive-muted_822hf","background-negative-muted":"bottom-sheet__background-negative-muted_822hf","background-primary":"bottom-sheet__background-primary_822hf","background-primary-inverted":"bottom-sheet__background-primary-inverted_822hf","background-secondary":"bottom-sheet__background-secondary_822hf","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_822hf","background-tertiary":"bottom-sheet__background-tertiary_822hf","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_822hf","background-quaternary":"bottom-sheet__background-quaternary_822hf","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_822hf","background-specialbg-component":"bottom-sheet__background-specialbg-component_822hf","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_822hf","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_822hf","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_822hf","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_822hf","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_822hf","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_822hf","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_822hf","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_822hf"};
|
|
16
16
|
require('./index.css')
|
|
17
17
|
|
|
18
18
|
const { isNil } = fnUtils;
|
|
@@ -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-
|
|
5
|
+
const styles = {"footer":"bottom-sheet__footer_132y0","sticky":"bottom-sheet__sticky_132y0","highlighted":"bottom-sheet__highlighted_132y0","background-accent":"bottom-sheet__background-accent_132y0","background-info":"bottom-sheet__background-info_132y0","background-attention-muted":"bottom-sheet__background-attention-muted_132y0","background-positive-muted":"bottom-sheet__background-positive-muted_132y0","background-negative-muted":"bottom-sheet__background-negative-muted_132y0","background-primary":"bottom-sheet__background-primary_132y0","background-primary-inverted":"bottom-sheet__background-primary-inverted_132y0","background-secondary":"bottom-sheet__background-secondary_132y0","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_132y0","background-tertiary":"bottom-sheet__background-tertiary_132y0","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_132y0","background-quaternary":"bottom-sheet__background-quaternary_132y0","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_132y0","background-specialbg-component":"bottom-sheet__background-specialbg-component_132y0","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_132y0","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_132y0","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_132y0","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_132y0","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_132y0","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_132y0","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_132y0","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_132y0"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Footer = ({ children, className, sticky }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1himm */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -46,58 +46,58 @@
|
|
|
46
46
|
/* footer */
|
|
47
47
|
--bottom-sheet-footer-border-top: 1px solid var(--color-light-neutral-300);
|
|
48
48
|
--bottom-sheet-footer-background-color: var(--color-light-modal-bg-primary);
|
|
49
|
-
} .bottom-
|
|
49
|
+
} .bottom-sheet__footer_132y0 {
|
|
50
50
|
padding: var(--gap-m) var(--gap-m);
|
|
51
51
|
background-color: var(--color-light-modal-bg-primary);
|
|
52
|
-
} .bottom-
|
|
52
|
+
} .bottom-sheet__sticky_132y0 {
|
|
53
53
|
position: sticky;
|
|
54
54
|
bottom: 0;
|
|
55
55
|
z-index: 1;
|
|
56
|
-
} .bottom-
|
|
56
|
+
} .bottom-sheet__highlighted_132y0 {
|
|
57
57
|
border-top: var(--bottom-sheet-footer-border-top);
|
|
58
58
|
background-color: var(--bottom-sheet-footer-background-color);
|
|
59
|
-
} .bottom-sheet__background-
|
|
59
|
+
} .bottom-sheet__background-accent_132y0 {
|
|
60
60
|
background-color: var(--color-light-bg-accent);
|
|
61
|
-
} .bottom-sheet__background-
|
|
61
|
+
} .bottom-sheet__background-info_132y0 {
|
|
62
62
|
background-color: var(--color-light-bg-info);
|
|
63
|
-
} .bottom-sheet__background-attention-
|
|
63
|
+
} .bottom-sheet__background-attention-muted_132y0 {
|
|
64
64
|
background-color: var(--color-light-bg-attention-muted);
|
|
65
|
-
} .bottom-sheet__background-positive-
|
|
65
|
+
} .bottom-sheet__background-positive-muted_132y0 {
|
|
66
66
|
background-color: var(--color-light-bg-positive-muted);
|
|
67
|
-
} .bottom-sheet__background-negative-
|
|
67
|
+
} .bottom-sheet__background-negative-muted_132y0 {
|
|
68
68
|
background-color: var(--color-light-bg-negative-muted);
|
|
69
|
-
} .bottom-sheet__background-
|
|
69
|
+
} .bottom-sheet__background-primary_132y0 {
|
|
70
70
|
background-color: var(--color-light-bg-primary);
|
|
71
|
-
} .bottom-sheet__background-primary-
|
|
71
|
+
} .bottom-sheet__background-primary-inverted_132y0 {
|
|
72
72
|
background-color: var(--color-light-bg-primary-inverted);
|
|
73
|
-
} .bottom-sheet__background-
|
|
73
|
+
} .bottom-sheet__background-secondary_132y0 {
|
|
74
74
|
background-color: var(--color-light-bg-secondary);
|
|
75
|
-
} .bottom-sheet__background-secondary-
|
|
75
|
+
} .bottom-sheet__background-secondary-inverted_132y0 {
|
|
76
76
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
77
|
-
} .bottom-sheet__background-
|
|
77
|
+
} .bottom-sheet__background-tertiary_132y0 {
|
|
78
78
|
background-color: var(--color-light-bg-tertiary);
|
|
79
|
-
} .bottom-sheet__background-tertiary-
|
|
79
|
+
} .bottom-sheet__background-tertiary-inverted_132y0 {
|
|
80
80
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
81
|
-
} .bottom-sheet__background-
|
|
81
|
+
} .bottom-sheet__background-quaternary_132y0 {
|
|
82
82
|
background-color: var(--color-light-bg-quaternary);
|
|
83
|
-
} .bottom-sheet__background-quaternary-
|
|
83
|
+
} .bottom-sheet__background-quaternary-inverted_132y0 {
|
|
84
84
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
85
|
-
} .bottom-sheet__background-specialbg-
|
|
85
|
+
} .bottom-sheet__background-specialbg-component_132y0 {
|
|
86
86
|
background-color: var(--color-light-specialbg-component);
|
|
87
|
-
} .bottom-sheet__background-specialbg-component-
|
|
87
|
+
} .bottom-sheet__background-specialbg-component-inverted_132y0 {
|
|
88
88
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
89
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
89
|
+
} .bottom-sheet__background-specialbg-primary-grouped_132y0 {
|
|
90
90
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
91
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
91
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_132y0 {
|
|
92
92
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
93
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
93
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_132y0 {
|
|
94
94
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
95
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
95
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_132y0 {
|
|
96
96
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
97
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
97
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_132y0 {
|
|
98
98
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
99
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
99
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_132y0 {
|
|
100
100
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
101
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
101
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_132y0 {
|
|
102
102
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
103
103
|
}
|
|
@@ -3,7 +3,7 @@ import cn from 'classnames';
|
|
|
3
3
|
import { BaseModalContext } from '@alfalab/core-components-base-modal/modern';
|
|
4
4
|
import { NavigationBar } from '@alfalab/core-components-navigation-bar/modern';
|
|
5
5
|
|
|
6
|
-
const styles = {"headerWrapper":"bottom-
|
|
6
|
+
const styles = {"headerWrapper":"bottom-sheet__headerWrapper_1vp4g","hasContent":"bottom-sheet__hasContent_1vp4g","header":"bottom-sheet__header_1vp4g","sticky":"bottom-sheet__sticky_1vp4g","highlighted":"bottom-sheet__highlighted_1vp4g","justifyEnd":"bottom-sheet__justifyEnd_1vp4g","addon":"bottom-sheet__addon_1vp4g","addonFixed":"bottom-sheet__addonFixed_1vp4g","title":"bottom-sheet__title_1vp4g","titleCenter":"bottom-sheet__titleCenter_1vp4g","titleLeft":"bottom-sheet__titleLeft_1vp4g","trimTitle":"bottom-sheet__trimTitle_1vp4g"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
const Header = ({ className, sticky, headerRef, headerOffset, title, children, ...restProps }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ifb0 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-neutral-300: #e7e8eb; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -30,42 +30,42 @@
|
|
|
30
30
|
--bottom-sheet-title-font-family: var(--font-family-system);
|
|
31
31
|
|
|
32
32
|
/* footer */
|
|
33
|
-
} .bottom-
|
|
33
|
+
} .bottom-sheet__headerWrapper_1vp4g {
|
|
34
34
|
padding: var(--gap-s) var(--gap-xs) var(--gap-2xs);
|
|
35
35
|
border-top-left-radius: inherit;
|
|
36
36
|
border-top-right-radius: inherit;
|
|
37
37
|
z-index: 1;
|
|
38
|
-
} .bottom-
|
|
38
|
+
} .bottom-sheet__hasContent_1vp4g {
|
|
39
39
|
background-color: inherit;
|
|
40
|
-
} .bottom-
|
|
40
|
+
} .bottom-sheet__header_1vp4g {
|
|
41
41
|
display: flex;
|
|
42
|
-
} .bottom-
|
|
42
|
+
} .bottom-sheet__sticky_1vp4g {
|
|
43
43
|
position: sticky;
|
|
44
44
|
top: 0;
|
|
45
|
-
} .bottom-
|
|
45
|
+
} .bottom-sheet__highlighted_1vp4g {
|
|
46
46
|
border-bottom: var(--bottom-sheet-header-border-bottom);
|
|
47
|
-
} .bottom-
|
|
47
|
+
} .bottom-sheet__justifyEnd_1vp4g {
|
|
48
48
|
justify-content: flex-end;
|
|
49
|
-
} .bottom-
|
|
49
|
+
} .bottom-sheet__addon_1vp4g {
|
|
50
50
|
display: flex;
|
|
51
51
|
justify-content: center;
|
|
52
52
|
align-items: center;
|
|
53
53
|
min-width: 48px;
|
|
54
54
|
height: 48px;
|
|
55
|
-
} .bottom-
|
|
55
|
+
} .bottom-sheet__addonFixed_1vp4g {
|
|
56
56
|
position: fixed;
|
|
57
|
-
} .bottom-
|
|
57
|
+
} .bottom-sheet__title_1vp4g {
|
|
58
58
|
padding: var(--gap-s) var(--gap-xs);
|
|
59
59
|
width: 100%;
|
|
60
60
|
font-size: var(--bottom-sheet-title-font-size);
|
|
61
61
|
font-weight: var(--bottom-sheet-title-font-weight);
|
|
62
62
|
line-height: var(--bottom-sheet-title-line-height);
|
|
63
63
|
font-family: var(--bottom-sheet-title-font-family);
|
|
64
|
-
} .bottom-
|
|
64
|
+
} .bottom-sheet__titleCenter_1vp4g {
|
|
65
65
|
text-align: center;
|
|
66
|
-
} .bottom-
|
|
66
|
+
} .bottom-sheet__titleLeft_1vp4g {
|
|
67
67
|
text-align: left;
|
|
68
|
-
} .bottom-
|
|
68
|
+
} .bottom-sheet__trimTitle_1vp4g {
|
|
69
69
|
white-space: nowrap;
|
|
70
70
|
overflow: hidden;
|
|
71
71
|
text-overflow: ellipsis;
|
package/modern/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: qeddh */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -52,25 +52,25 @@
|
|
|
52
52
|
/* header */
|
|
53
53
|
|
|
54
54
|
/* footer */
|
|
55
|
-
} .bottom-
|
|
55
|
+
} .bottom-sheet__modal_822hf {
|
|
56
56
|
bottom: 0;
|
|
57
57
|
width: 100%;
|
|
58
58
|
max-width: 600px;
|
|
59
59
|
pointer-events: none;
|
|
60
60
|
touch-action: none;
|
|
61
|
-
} .bottom-
|
|
61
|
+
} .bottom-sheet__modal_822hf.bottom-sheet__modal_822hf {
|
|
62
62
|
background-color: transparent;
|
|
63
63
|
position: fixed;
|
|
64
|
-
} .bottom-
|
|
64
|
+
} .bottom-sheet__wrapper_822hf {
|
|
65
65
|
transform: translateY(100%);
|
|
66
66
|
pointer-events: none;
|
|
67
67
|
touch-action: none;
|
|
68
68
|
border-top-right-radius: var(--bottom-sheet-top-radius);
|
|
69
69
|
border-top-left-radius: var(--bottom-sheet-top-radius);
|
|
70
70
|
transition: border-radius 0.3s ease;
|
|
71
|
-
} .bottom-
|
|
71
|
+
} .bottom-sheet__fullscreen_822hf {
|
|
72
72
|
border-radius: 0;
|
|
73
|
-
} .bottom-
|
|
73
|
+
} .bottom-sheet__component_822hf {
|
|
74
74
|
position: relative;
|
|
75
75
|
display: flex;
|
|
76
76
|
flex-direction: column;
|
|
@@ -78,9 +78,9 @@
|
|
|
78
78
|
background-color: var(--color-light-modal-bg-primary);
|
|
79
79
|
pointer-events: all;
|
|
80
80
|
box-shadow: var(--bottom-sheet-shadow);
|
|
81
|
-
} .bottom-
|
|
81
|
+
} .bottom-sheet__withTransition_822hf {
|
|
82
82
|
transition: var(--bottom-sheet-out-transition);
|
|
83
|
-
} .bottom-
|
|
83
|
+
} .bottom-sheet__scrollableContainer_822hf {
|
|
84
84
|
overflow: auto;
|
|
85
85
|
display: flex;
|
|
86
86
|
flex-direction: column;
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
background-color: inherit;
|
|
90
90
|
border-radius: inherit;
|
|
91
91
|
overscroll-behavior: contain;
|
|
92
|
-
} .bottom-
|
|
92
|
+
} .bottom-sheet__marker_822hf {
|
|
93
93
|
position: fixed;
|
|
94
94
|
top: var(--gap-2xs);
|
|
95
95
|
right: 0;
|
|
@@ -97,11 +97,11 @@
|
|
|
97
97
|
z-index: 1000;
|
|
98
98
|
width: 36px;
|
|
99
99
|
margin: 0 auto;
|
|
100
|
-
} .bottom-
|
|
100
|
+
} .bottom-sheet__defaultMarker_822hf {
|
|
101
101
|
height: 4px;
|
|
102
102
|
border-radius: var(--border-radius-xxl);
|
|
103
103
|
background-color: var(--color-light-neutral-translucent-300);
|
|
104
|
-
} .bottom-
|
|
104
|
+
} .bottom-sheet__content_822hf {
|
|
105
105
|
position: relative;
|
|
106
106
|
z-index: 0;
|
|
107
107
|
display: flex;
|
|
@@ -111,73 +111,73 @@
|
|
|
111
111
|
color: var(--color-light-text-primary);
|
|
112
112
|
background-color: inherit;
|
|
113
113
|
border-radius: inherit;
|
|
114
|
-
} .bottom-
|
|
114
|
+
} .bottom-sheet__noHeader_822hf {
|
|
115
115
|
padding-top: var(--gap-m);
|
|
116
|
-
} .bottom-
|
|
116
|
+
} .bottom-sheet__noFooter_822hf {
|
|
117
117
|
padding-bottom: var(--gap-m);
|
|
118
|
-
} .bottom-
|
|
118
|
+
} .bottom-sheet__scrollLocked_822hf {
|
|
119
119
|
overflow: hidden;
|
|
120
|
-
} .bottom-
|
|
120
|
+
} .bottom-sheet__hiddenScrollbar_822hf {
|
|
121
121
|
scrollbar-width: none
|
|
122
|
-
} .bottom-
|
|
122
|
+
} .bottom-sheet__hiddenScrollbar_822hf::-webkit-scrollbar {
|
|
123
123
|
width: 0;
|
|
124
124
|
height: 0;
|
|
125
|
-
} .bottom-
|
|
125
|
+
} .bottom-sheet__disabledPointerEvents_822hf {
|
|
126
126
|
pointer-events: none;
|
|
127
|
-
} .bottom-
|
|
127
|
+
} .bottom-sheet__appear_822hf .bottom-sheet__wrapper_822hf, .bottom-sheet__enter_822hf .bottom-sheet__wrapper_822hf {
|
|
128
128
|
transition: none;
|
|
129
|
-
} .bottom-
|
|
129
|
+
} .bottom-sheet__appearActive_822hf .bottom-sheet__wrapper_822hf, .bottom-sheet__enterActive_822hf .bottom-sheet__wrapper_822hf {
|
|
130
130
|
transition: var(--bottom-sheet-in-transition);
|
|
131
131
|
transform: translateY(0);
|
|
132
|
-
} .bottom-
|
|
132
|
+
} .bottom-sheet__enterDone_822hf .bottom-sheet__wrapper_822hf, .bottom-sheet__appearDone_822hf .bottom-sheet__wrapper_822hf {
|
|
133
133
|
transform: translateY(0);
|
|
134
|
-
} .bottom-
|
|
134
|
+
} .bottom-sheet__exit_822hf .bottom-sheet__wrapper_822hf {
|
|
135
135
|
transform: translateY(0);
|
|
136
|
-
} .bottom-
|
|
136
|
+
} .bottom-sheet__exitActive_822hf .bottom-sheet__wrapper_822hf {
|
|
137
137
|
transition: var(--bottom-sheet-out-transition);
|
|
138
138
|
transform: translateY(100%);
|
|
139
|
-
} .bottom-sheet__background-
|
|
139
|
+
} .bottom-sheet__background-accent_822hf {
|
|
140
140
|
background-color: var(--color-light-bg-accent);
|
|
141
|
-
} .bottom-sheet__background-
|
|
141
|
+
} .bottom-sheet__background-info_822hf {
|
|
142
142
|
background-color: var(--color-light-bg-info);
|
|
143
|
-
} .bottom-sheet__background-attention-
|
|
143
|
+
} .bottom-sheet__background-attention-muted_822hf {
|
|
144
144
|
background-color: var(--color-light-bg-attention-muted);
|
|
145
|
-
} .bottom-sheet__background-positive-
|
|
145
|
+
} .bottom-sheet__background-positive-muted_822hf {
|
|
146
146
|
background-color: var(--color-light-bg-positive-muted);
|
|
147
|
-
} .bottom-sheet__background-negative-
|
|
147
|
+
} .bottom-sheet__background-negative-muted_822hf {
|
|
148
148
|
background-color: var(--color-light-bg-negative-muted);
|
|
149
|
-
} .bottom-sheet__background-
|
|
149
|
+
} .bottom-sheet__background-primary_822hf {
|
|
150
150
|
background-color: var(--color-light-bg-primary);
|
|
151
|
-
} .bottom-sheet__background-primary-
|
|
151
|
+
} .bottom-sheet__background-primary-inverted_822hf {
|
|
152
152
|
background-color: var(--color-light-bg-primary-inverted);
|
|
153
|
-
} .bottom-sheet__background-
|
|
153
|
+
} .bottom-sheet__background-secondary_822hf {
|
|
154
154
|
background-color: var(--color-light-bg-secondary);
|
|
155
|
-
} .bottom-sheet__background-secondary-
|
|
155
|
+
} .bottom-sheet__background-secondary-inverted_822hf {
|
|
156
156
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
157
|
-
} .bottom-sheet__background-
|
|
157
|
+
} .bottom-sheet__background-tertiary_822hf {
|
|
158
158
|
background-color: var(--color-light-bg-tertiary);
|
|
159
|
-
} .bottom-sheet__background-tertiary-
|
|
159
|
+
} .bottom-sheet__background-tertiary-inverted_822hf {
|
|
160
160
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
161
|
-
} .bottom-sheet__background-
|
|
161
|
+
} .bottom-sheet__background-quaternary_822hf {
|
|
162
162
|
background-color: var(--color-light-bg-quaternary);
|
|
163
|
-
} .bottom-sheet__background-quaternary-
|
|
163
|
+
} .bottom-sheet__background-quaternary-inverted_822hf {
|
|
164
164
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
165
|
-
} .bottom-sheet__background-specialbg-
|
|
165
|
+
} .bottom-sheet__background-specialbg-component_822hf {
|
|
166
166
|
background-color: var(--color-light-specialbg-component);
|
|
167
|
-
} .bottom-sheet__background-specialbg-component-
|
|
167
|
+
} .bottom-sheet__background-specialbg-component-inverted_822hf {
|
|
168
168
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
169
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
169
|
+
} .bottom-sheet__background-specialbg-primary-grouped_822hf {
|
|
170
170
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
171
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
171
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_822hf {
|
|
172
172
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
173
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
173
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_822hf {
|
|
174
174
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
175
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
175
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_822hf {
|
|
176
176
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
177
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
177
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_822hf {
|
|
178
178
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
179
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
179
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_822hf {
|
|
180
180
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
181
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
181
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_822hf {
|
|
182
182
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
183
183
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-bottom-sheet",
|
|
3
|
-
"version": "6.13.
|
|
3
|
+
"version": "6.13.2",
|
|
4
4
|
"description": "Bottom sheet mobile component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@alfalab/core-components-backdrop": "^3.2.0",
|
|
19
|
-
"@alfalab/core-components-base-modal": "^5.7.
|
|
20
|
-
"@alfalab/core-components-navigation-bar": "^0.
|
|
21
|
-
"@alfalab/core-components-shared": "^0.
|
|
19
|
+
"@alfalab/core-components-base-modal": "^5.7.2",
|
|
20
|
+
"@alfalab/core-components-navigation-bar": "^0.8.1",
|
|
21
|
+
"@alfalab/core-components-shared": "^0.9.1",
|
|
22
22
|
"classnames": "^2.3.1",
|
|
23
23
|
"react-div-100vh": "^0.7.0",
|
|
24
24
|
"react-merge-refs": "^1.1.0",
|