@alfalab/core-components-bottom-sheet 6.2.6 → 6.2.7
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 +41 -41
- package/index.css +41 -41
- 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 +41 -41
- package/package.json +2 -2
package/component.js
CHANGED
|
@@ -27,7 +27,7 @@ var getDataTestId = function (dataTestId, element) {
|
|
|
27
27
|
return dataTestId ? "".concat(dataTestId).concat(elementPart) : undefined;
|
|
28
28
|
};
|
|
29
29
|
|
|
30
|
-
var styles = {"modal":"bottom-
|
|
30
|
+
var styles = {"modal":"bottom-sheet__modal_8nffl","wrapper":"bottom-sheet__wrapper_8nffl","component":"bottom-sheet__component_8nffl","withTransition":"bottom-sheet__withTransition_8nffl","scrollableContainer":"bottom-sheet__scrollableContainer_8nffl","marker":"bottom-sheet__marker_8nffl","content":"bottom-sheet__content_8nffl","noHeader":"bottom-sheet__noHeader_8nffl","noFooter":"bottom-sheet__noFooter_8nffl","scrollLocked":"bottom-sheet__scrollLocked_8nffl","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_8nffl","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_8nffl","appear":"bottom-sheet__appear_8nffl","enter":"bottom-sheet__enter_8nffl","appearActive":"bottom-sheet__appearActive_8nffl","enterActive":"bottom-sheet__enterActive_8nffl","enterDone":"bottom-sheet__enterDone_8nffl","appearDone":"bottom-sheet__appearDone_8nffl","exit":"bottom-sheet__exit_8nffl","exitActive":"bottom-sheet__exitActive_8nffl","background-accent":"bottom-sheet__background-accent_8nffl","background-info":"bottom-sheet__background-info_8nffl","background-attention-muted":"bottom-sheet__background-attention-muted_8nffl","background-positive-muted":"bottom-sheet__background-positive-muted_8nffl","background-negative-muted":"bottom-sheet__background-negative-muted_8nffl","background-primary":"bottom-sheet__background-primary_8nffl","background-primary-inverted":"bottom-sheet__background-primary-inverted_8nffl","background-secondary":"bottom-sheet__background-secondary_8nffl","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_8nffl","background-tertiary":"bottom-sheet__background-tertiary_8nffl","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_8nffl","background-quaternary":"bottom-sheet__background-quaternary_8nffl","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_8nffl","background-specialbg-component":"bottom-sheet__background-specialbg-component_8nffl","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_8nffl","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_8nffl","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_8nffl","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_8nffl","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_8nffl","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_8nffl","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_8nffl","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_8nffl"};
|
|
31
31
|
require('./index.css')
|
|
32
32
|
|
|
33
33
|
var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
@@ -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_10jlm","sticky":"bottom-sheet__sticky_10jlm","highlighted":"bottom-sheet__highlighted_10jlm","background-accent":"bottom-sheet__background-accent_10jlm","background-info":"bottom-sheet__background-info_10jlm","background-attention-muted":"bottom-sheet__background-attention-muted_10jlm","background-positive-muted":"bottom-sheet__background-positive-muted_10jlm","background-negative-muted":"bottom-sheet__background-negative-muted_10jlm","background-primary":"bottom-sheet__background-primary_10jlm","background-primary-inverted":"bottom-sheet__background-primary-inverted_10jlm","background-secondary":"bottom-sheet__background-secondary_10jlm","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_10jlm","background-tertiary":"bottom-sheet__background-tertiary_10jlm","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_10jlm","background-quaternary":"bottom-sheet__background-quaternary_10jlm","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_10jlm","background-specialbg-component":"bottom-sheet__background-specialbg-component_10jlm","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_10jlm","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_10jlm","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_10jlm","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_10jlm","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_10jlm","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_10jlm","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_10jlm","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_10jlm"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
var Footer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: tzrpt */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -41,58 +41,58 @@
|
|
|
41
41
|
} :root {
|
|
42
42
|
--bottom-sheet-footer-border-top: 1px solid var(--color-light-border-secondary);
|
|
43
43
|
--bottom-sheet-footer-background-color: var(--color-light-bg-primary);
|
|
44
|
-
} .bottom-
|
|
44
|
+
} .bottom-sheet__footer_10jlm {
|
|
45
45
|
padding: var(--gap-m) var(--gap-m);
|
|
46
46
|
background-color: var(--color-light-bg-primary);
|
|
47
|
-
} .bottom-
|
|
47
|
+
} .bottom-sheet__sticky_10jlm {
|
|
48
48
|
position: sticky;
|
|
49
49
|
bottom: 0;
|
|
50
50
|
z-index: 1;
|
|
51
|
-
} .bottom-
|
|
51
|
+
} .bottom-sheet__highlighted_10jlm {
|
|
52
52
|
border-top: var(--bottom-sheet-footer-border-top);
|
|
53
53
|
background-color: var(--bottom-sheet-footer-background-color);
|
|
54
|
-
} .bottom-sheet__background-
|
|
54
|
+
} .bottom-sheet__background-accent_10jlm {
|
|
55
55
|
background-color: var(--color-light-bg-accent);
|
|
56
|
-
} .bottom-sheet__background-
|
|
56
|
+
} .bottom-sheet__background-info_10jlm {
|
|
57
57
|
background-color: var(--color-light-bg-info);
|
|
58
|
-
} .bottom-sheet__background-attention-
|
|
58
|
+
} .bottom-sheet__background-attention-muted_10jlm {
|
|
59
59
|
background-color: var(--color-light-bg-attention-muted);
|
|
60
|
-
} .bottom-sheet__background-positive-
|
|
60
|
+
} .bottom-sheet__background-positive-muted_10jlm {
|
|
61
61
|
background-color: var(--color-light-bg-positive-muted);
|
|
62
|
-
} .bottom-sheet__background-negative-
|
|
62
|
+
} .bottom-sheet__background-negative-muted_10jlm {
|
|
63
63
|
background-color: var(--color-light-bg-negative-muted);
|
|
64
|
-
} .bottom-sheet__background-
|
|
64
|
+
} .bottom-sheet__background-primary_10jlm {
|
|
65
65
|
background-color: var(--color-light-bg-primary);
|
|
66
|
-
} .bottom-sheet__background-primary-
|
|
66
|
+
} .bottom-sheet__background-primary-inverted_10jlm {
|
|
67
67
|
background-color: var(--color-light-bg-primary-inverted);
|
|
68
|
-
} .bottom-sheet__background-
|
|
68
|
+
} .bottom-sheet__background-secondary_10jlm {
|
|
69
69
|
background-color: var(--color-light-bg-secondary);
|
|
70
|
-
} .bottom-sheet__background-secondary-
|
|
70
|
+
} .bottom-sheet__background-secondary-inverted_10jlm {
|
|
71
71
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
72
|
-
} .bottom-sheet__background-
|
|
72
|
+
} .bottom-sheet__background-tertiary_10jlm {
|
|
73
73
|
background-color: var(--color-light-bg-tertiary);
|
|
74
|
-
} .bottom-sheet__background-tertiary-
|
|
74
|
+
} .bottom-sheet__background-tertiary-inverted_10jlm {
|
|
75
75
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
76
|
-
} .bottom-sheet__background-
|
|
76
|
+
} .bottom-sheet__background-quaternary_10jlm {
|
|
77
77
|
background-color: var(--color-light-bg-quaternary);
|
|
78
|
-
} .bottom-sheet__background-quaternary-
|
|
78
|
+
} .bottom-sheet__background-quaternary-inverted_10jlm {
|
|
79
79
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
80
|
-
} .bottom-sheet__background-specialbg-
|
|
80
|
+
} .bottom-sheet__background-specialbg-component_10jlm {
|
|
81
81
|
background-color: var(--color-light-specialbg-component);
|
|
82
|
-
} .bottom-sheet__background-specialbg-component-
|
|
82
|
+
} .bottom-sheet__background-specialbg-component-inverted_10jlm {
|
|
83
83
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
84
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
84
|
+
} .bottom-sheet__background-specialbg-primary-grouped_10jlm {
|
|
85
85
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
86
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
86
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_10jlm {
|
|
87
87
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
88
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
88
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_10jlm {
|
|
89
89
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
90
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
90
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_10jlm {
|
|
91
91
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
92
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
92
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_10jlm {
|
|
93
93
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
94
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
94
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_10jlm {
|
|
95
95
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
96
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
96
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_10jlm {
|
|
97
97
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
98
98
|
}
|
|
@@ -14,7 +14,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
14
14
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
15
15
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
16
16
|
|
|
17
|
-
var styles = {"headerWrapper":"bottom-
|
|
17
|
+
var styles = {"headerWrapper":"bottom-sheet__headerWrapper_1srvx","hasContent":"bottom-sheet__hasContent_1srvx","header":"bottom-sheet__header_1srvx","sticky":"bottom-sheet__sticky_1srvx","highlighted":"bottom-sheet__highlighted_1srvx","justifyEnd":"bottom-sheet__justifyEnd_1srvx","addon":"bottom-sheet__addon_1srvx","addonFixed":"bottom-sheet__addonFixed_1srvx","title":"bottom-sheet__title_1srvx","titleCenter":"bottom-sheet__titleCenter_1srvx","titleLeft":"bottom-sheet__titleLeft_1srvx","trimTitle":"bottom-sheet__trimTitle_1srvx"};
|
|
18
18
|
require('./index.css')
|
|
19
19
|
|
|
20
20
|
var Header = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: xuqdm */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-border-secondary: #e9e9eb; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -27,42 +27,42 @@
|
|
|
27
27
|
--bottom-sheet-title-font-weight: 700;
|
|
28
28
|
--bottom-sheet-title-line-height: 24px;
|
|
29
29
|
--bottom-sheet-title-font-family: var(--font-family-system);
|
|
30
|
-
} .bottom-
|
|
30
|
+
} .bottom-sheet__headerWrapper_1srvx {
|
|
31
31
|
padding: var(--gap-s) var(--gap-xs) var(--gap-2xs);
|
|
32
32
|
border-top-right-radius: var(--border-radius-xl);
|
|
33
33
|
border-top-left-radius: var(--border-radius-xl);
|
|
34
34
|
z-index: 1;
|
|
35
|
-
} .bottom-
|
|
35
|
+
} .bottom-sheet__hasContent_1srvx {
|
|
36
36
|
background-color: inherit;
|
|
37
|
-
} .bottom-
|
|
37
|
+
} .bottom-sheet__header_1srvx {
|
|
38
38
|
display: flex;
|
|
39
|
-
} .bottom-
|
|
39
|
+
} .bottom-sheet__sticky_1srvx {
|
|
40
40
|
position: sticky;
|
|
41
41
|
top: 0;
|
|
42
|
-
} .bottom-
|
|
42
|
+
} .bottom-sheet__highlighted_1srvx {
|
|
43
43
|
border-bottom: var(--bottom-sheet-header-border-bottom);
|
|
44
|
-
} .bottom-
|
|
44
|
+
} .bottom-sheet__justifyEnd_1srvx {
|
|
45
45
|
justify-content: flex-end;
|
|
46
|
-
} .bottom-
|
|
46
|
+
} .bottom-sheet__addon_1srvx {
|
|
47
47
|
display: flex;
|
|
48
48
|
justify-content: center;
|
|
49
49
|
align-items: center;
|
|
50
50
|
min-width: 48px;
|
|
51
51
|
height: 48px;
|
|
52
|
-
} .bottom-
|
|
52
|
+
} .bottom-sheet__addonFixed_1srvx {
|
|
53
53
|
position: fixed;
|
|
54
|
-
} .bottom-
|
|
54
|
+
} .bottom-sheet__title_1srvx {
|
|
55
55
|
padding: var(--gap-s) var(--gap-xs);
|
|
56
56
|
width: 100%;
|
|
57
57
|
font-size: var(--bottom-sheet-title-font-size);
|
|
58
58
|
font-weight: var(--bottom-sheet-title-font-weight);
|
|
59
59
|
line-height: var(--bottom-sheet-title-line-height);
|
|
60
60
|
font-family: var(--bottom-sheet-title-font-family);
|
|
61
|
-
} .bottom-
|
|
61
|
+
} .bottom-sheet__titleCenter_1srvx {
|
|
62
62
|
text-align: center;
|
|
63
|
-
} .bottom-
|
|
63
|
+
} .bottom-sheet__titleLeft_1srvx {
|
|
64
64
|
text-align: left;
|
|
65
|
-
} .bottom-
|
|
65
|
+
} .bottom-sheet__trimTitle_1srvx {
|
|
66
66
|
white-space: nowrap;
|
|
67
67
|
overflow: hidden;
|
|
68
68
|
text-overflow: ellipsis;
|
package/esm/component.js
CHANGED
|
@@ -17,7 +17,7 @@ var getDataTestId = function (dataTestId, element) {
|
|
|
17
17
|
return dataTestId ? "".concat(dataTestId).concat(elementPart) : undefined;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
var styles = {"modal":"bottom-
|
|
20
|
+
var styles = {"modal":"bottom-sheet__modal_8nffl","wrapper":"bottom-sheet__wrapper_8nffl","component":"bottom-sheet__component_8nffl","withTransition":"bottom-sheet__withTransition_8nffl","scrollableContainer":"bottom-sheet__scrollableContainer_8nffl","marker":"bottom-sheet__marker_8nffl","content":"bottom-sheet__content_8nffl","noHeader":"bottom-sheet__noHeader_8nffl","noFooter":"bottom-sheet__noFooter_8nffl","scrollLocked":"bottom-sheet__scrollLocked_8nffl","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_8nffl","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_8nffl","appear":"bottom-sheet__appear_8nffl","enter":"bottom-sheet__enter_8nffl","appearActive":"bottom-sheet__appearActive_8nffl","enterActive":"bottom-sheet__enterActive_8nffl","enterDone":"bottom-sheet__enterDone_8nffl","appearDone":"bottom-sheet__appearDone_8nffl","exit":"bottom-sheet__exit_8nffl","exitActive":"bottom-sheet__exitActive_8nffl","background-accent":"bottom-sheet__background-accent_8nffl","background-info":"bottom-sheet__background-info_8nffl","background-attention-muted":"bottom-sheet__background-attention-muted_8nffl","background-positive-muted":"bottom-sheet__background-positive-muted_8nffl","background-negative-muted":"bottom-sheet__background-negative-muted_8nffl","background-primary":"bottom-sheet__background-primary_8nffl","background-primary-inverted":"bottom-sheet__background-primary-inverted_8nffl","background-secondary":"bottom-sheet__background-secondary_8nffl","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_8nffl","background-tertiary":"bottom-sheet__background-tertiary_8nffl","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_8nffl","background-quaternary":"bottom-sheet__background-quaternary_8nffl","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_8nffl","background-specialbg-component":"bottom-sheet__background-specialbg-component_8nffl","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_8nffl","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_8nffl","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_8nffl","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_8nffl","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_8nffl","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_8nffl","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_8nffl","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_8nffl"};
|
|
21
21
|
require('./index.css')
|
|
22
22
|
|
|
23
23
|
var BottomSheet = forwardRef(function (_a, ref) {
|
|
@@ -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_10jlm","sticky":"bottom-sheet__sticky_10jlm","highlighted":"bottom-sheet__highlighted_10jlm","background-accent":"bottom-sheet__background-accent_10jlm","background-info":"bottom-sheet__background-info_10jlm","background-attention-muted":"bottom-sheet__background-attention-muted_10jlm","background-positive-muted":"bottom-sheet__background-positive-muted_10jlm","background-negative-muted":"bottom-sheet__background-negative-muted_10jlm","background-primary":"bottom-sheet__background-primary_10jlm","background-primary-inverted":"bottom-sheet__background-primary-inverted_10jlm","background-secondary":"bottom-sheet__background-secondary_10jlm","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_10jlm","background-tertiary":"bottom-sheet__background-tertiary_10jlm","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_10jlm","background-quaternary":"bottom-sheet__background-quaternary_10jlm","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_10jlm","background-specialbg-component":"bottom-sheet__background-specialbg-component_10jlm","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_10jlm","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_10jlm","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_10jlm","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_10jlm","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_10jlm","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_10jlm","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_10jlm","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_10jlm"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var Footer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: tzrpt */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -41,58 +41,58 @@
|
|
|
41
41
|
} :root {
|
|
42
42
|
--bottom-sheet-footer-border-top: 1px solid var(--color-light-border-secondary);
|
|
43
43
|
--bottom-sheet-footer-background-color: var(--color-light-bg-primary);
|
|
44
|
-
} .bottom-
|
|
44
|
+
} .bottom-sheet__footer_10jlm {
|
|
45
45
|
padding: var(--gap-m) var(--gap-m);
|
|
46
46
|
background-color: var(--color-light-bg-primary);
|
|
47
|
-
} .bottom-
|
|
47
|
+
} .bottom-sheet__sticky_10jlm {
|
|
48
48
|
position: sticky;
|
|
49
49
|
bottom: 0;
|
|
50
50
|
z-index: 1;
|
|
51
|
-
} .bottom-
|
|
51
|
+
} .bottom-sheet__highlighted_10jlm {
|
|
52
52
|
border-top: var(--bottom-sheet-footer-border-top);
|
|
53
53
|
background-color: var(--bottom-sheet-footer-background-color);
|
|
54
|
-
} .bottom-sheet__background-
|
|
54
|
+
} .bottom-sheet__background-accent_10jlm {
|
|
55
55
|
background-color: var(--color-light-bg-accent);
|
|
56
|
-
} .bottom-sheet__background-
|
|
56
|
+
} .bottom-sheet__background-info_10jlm {
|
|
57
57
|
background-color: var(--color-light-bg-info);
|
|
58
|
-
} .bottom-sheet__background-attention-
|
|
58
|
+
} .bottom-sheet__background-attention-muted_10jlm {
|
|
59
59
|
background-color: var(--color-light-bg-attention-muted);
|
|
60
|
-
} .bottom-sheet__background-positive-
|
|
60
|
+
} .bottom-sheet__background-positive-muted_10jlm {
|
|
61
61
|
background-color: var(--color-light-bg-positive-muted);
|
|
62
|
-
} .bottom-sheet__background-negative-
|
|
62
|
+
} .bottom-sheet__background-negative-muted_10jlm {
|
|
63
63
|
background-color: var(--color-light-bg-negative-muted);
|
|
64
|
-
} .bottom-sheet__background-
|
|
64
|
+
} .bottom-sheet__background-primary_10jlm {
|
|
65
65
|
background-color: var(--color-light-bg-primary);
|
|
66
|
-
} .bottom-sheet__background-primary-
|
|
66
|
+
} .bottom-sheet__background-primary-inverted_10jlm {
|
|
67
67
|
background-color: var(--color-light-bg-primary-inverted);
|
|
68
|
-
} .bottom-sheet__background-
|
|
68
|
+
} .bottom-sheet__background-secondary_10jlm {
|
|
69
69
|
background-color: var(--color-light-bg-secondary);
|
|
70
|
-
} .bottom-sheet__background-secondary-
|
|
70
|
+
} .bottom-sheet__background-secondary-inverted_10jlm {
|
|
71
71
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
72
|
-
} .bottom-sheet__background-
|
|
72
|
+
} .bottom-sheet__background-tertiary_10jlm {
|
|
73
73
|
background-color: var(--color-light-bg-tertiary);
|
|
74
|
-
} .bottom-sheet__background-tertiary-
|
|
74
|
+
} .bottom-sheet__background-tertiary-inverted_10jlm {
|
|
75
75
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
76
|
-
} .bottom-sheet__background-
|
|
76
|
+
} .bottom-sheet__background-quaternary_10jlm {
|
|
77
77
|
background-color: var(--color-light-bg-quaternary);
|
|
78
|
-
} .bottom-sheet__background-quaternary-
|
|
78
|
+
} .bottom-sheet__background-quaternary-inverted_10jlm {
|
|
79
79
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
80
|
-
} .bottom-sheet__background-specialbg-
|
|
80
|
+
} .bottom-sheet__background-specialbg-component_10jlm {
|
|
81
81
|
background-color: var(--color-light-specialbg-component);
|
|
82
|
-
} .bottom-sheet__background-specialbg-component-
|
|
82
|
+
} .bottom-sheet__background-specialbg-component-inverted_10jlm {
|
|
83
83
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
84
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
84
|
+
} .bottom-sheet__background-specialbg-primary-grouped_10jlm {
|
|
85
85
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
86
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
86
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_10jlm {
|
|
87
87
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
88
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
88
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_10jlm {
|
|
89
89
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
90
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
90
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_10jlm {
|
|
91
91
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
92
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
92
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_10jlm {
|
|
93
93
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
94
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
94
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_10jlm {
|
|
95
95
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
96
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
96
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_10jlm {
|
|
97
97
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
98
98
|
}
|
|
@@ -5,7 +5,7 @@ import { BaseModalContext } from '@alfalab/core-components-base-modal/esm';
|
|
|
5
5
|
import { NavigationBar } from '@alfalab/core-components-navigation-bar/esm';
|
|
6
6
|
import { HEADER_OFFSET } from '../../utils.js';
|
|
7
7
|
|
|
8
|
-
var styles = {"headerWrapper":"bottom-
|
|
8
|
+
var styles = {"headerWrapper":"bottom-sheet__headerWrapper_1srvx","hasContent":"bottom-sheet__hasContent_1srvx","header":"bottom-sheet__header_1srvx","sticky":"bottom-sheet__sticky_1srvx","highlighted":"bottom-sheet__highlighted_1srvx","justifyEnd":"bottom-sheet__justifyEnd_1srvx","addon":"bottom-sheet__addon_1srvx","addonFixed":"bottom-sheet__addonFixed_1srvx","title":"bottom-sheet__title_1srvx","titleCenter":"bottom-sheet__titleCenter_1srvx","titleLeft":"bottom-sheet__titleLeft_1srvx","trimTitle":"bottom-sheet__trimTitle_1srvx"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
var Header = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: xuqdm */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-border-secondary: #e9e9eb; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -27,42 +27,42 @@
|
|
|
27
27
|
--bottom-sheet-title-font-weight: 700;
|
|
28
28
|
--bottom-sheet-title-line-height: 24px;
|
|
29
29
|
--bottom-sheet-title-font-family: var(--font-family-system);
|
|
30
|
-
} .bottom-
|
|
30
|
+
} .bottom-sheet__headerWrapper_1srvx {
|
|
31
31
|
padding: var(--gap-s) var(--gap-xs) var(--gap-2xs);
|
|
32
32
|
border-top-right-radius: var(--border-radius-xl);
|
|
33
33
|
border-top-left-radius: var(--border-radius-xl);
|
|
34
34
|
z-index: 1;
|
|
35
|
-
} .bottom-
|
|
35
|
+
} .bottom-sheet__hasContent_1srvx {
|
|
36
36
|
background-color: inherit;
|
|
37
|
-
} .bottom-
|
|
37
|
+
} .bottom-sheet__header_1srvx {
|
|
38
38
|
display: flex;
|
|
39
|
-
} .bottom-
|
|
39
|
+
} .bottom-sheet__sticky_1srvx {
|
|
40
40
|
position: sticky;
|
|
41
41
|
top: 0;
|
|
42
|
-
} .bottom-
|
|
42
|
+
} .bottom-sheet__highlighted_1srvx {
|
|
43
43
|
border-bottom: var(--bottom-sheet-header-border-bottom);
|
|
44
|
-
} .bottom-
|
|
44
|
+
} .bottom-sheet__justifyEnd_1srvx {
|
|
45
45
|
justify-content: flex-end;
|
|
46
|
-
} .bottom-
|
|
46
|
+
} .bottom-sheet__addon_1srvx {
|
|
47
47
|
display: flex;
|
|
48
48
|
justify-content: center;
|
|
49
49
|
align-items: center;
|
|
50
50
|
min-width: 48px;
|
|
51
51
|
height: 48px;
|
|
52
|
-
} .bottom-
|
|
52
|
+
} .bottom-sheet__addonFixed_1srvx {
|
|
53
53
|
position: fixed;
|
|
54
|
-
} .bottom-
|
|
54
|
+
} .bottom-sheet__title_1srvx {
|
|
55
55
|
padding: var(--gap-s) var(--gap-xs);
|
|
56
56
|
width: 100%;
|
|
57
57
|
font-size: var(--bottom-sheet-title-font-size);
|
|
58
58
|
font-weight: var(--bottom-sheet-title-font-weight);
|
|
59
59
|
line-height: var(--bottom-sheet-title-line-height);
|
|
60
60
|
font-family: var(--bottom-sheet-title-font-family);
|
|
61
|
-
} .bottom-
|
|
61
|
+
} .bottom-sheet__titleCenter_1srvx {
|
|
62
62
|
text-align: center;
|
|
63
|
-
} .bottom-
|
|
63
|
+
} .bottom-sheet__titleLeft_1srvx {
|
|
64
64
|
text-align: left;
|
|
65
|
-
} .bottom-
|
|
65
|
+
} .bottom-sheet__trimTitle_1srvx {
|
|
66
66
|
white-space: nowrap;
|
|
67
67
|
overflow: hidden;
|
|
68
68
|
text-overflow: ellipsis;
|
package/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1nlbo */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -45,20 +45,20 @@
|
|
|
45
45
|
} :root {
|
|
46
46
|
--bottom-sheet-in-transition: transform 0.5s cubic-bezier(0.09, 0.91, 0.18, 0.99);
|
|
47
47
|
--bottom-sheet-out-transition: transform 0.3s ease;
|
|
48
|
-
} .bottom-
|
|
48
|
+
} .bottom-sheet__modal_8nffl {
|
|
49
49
|
background-color: transparent;
|
|
50
50
|
position: fixed;
|
|
51
51
|
bottom: 0;
|
|
52
52
|
width: 100%;
|
|
53
53
|
max-width: 600px;
|
|
54
54
|
pointer-events: none;
|
|
55
|
-
} .bottom-
|
|
55
|
+
} .bottom-sheet__wrapper_8nffl {
|
|
56
56
|
transform: translateY(100%);
|
|
57
57
|
overflow: hidden;
|
|
58
58
|
pointer-events: none;
|
|
59
59
|
border-top-right-radius: var(--border-radius-xl);
|
|
60
60
|
border-top-left-radius: var(--border-radius-xl);
|
|
61
|
-
} .bottom-
|
|
61
|
+
} .bottom-sheet__component_8nffl {
|
|
62
62
|
overflow: hidden;
|
|
63
63
|
position: relative;
|
|
64
64
|
display: flex;
|
|
@@ -66,16 +66,16 @@
|
|
|
66
66
|
border-radius: inherit;
|
|
67
67
|
background-color: var(--color-light-bg-primary);
|
|
68
68
|
pointer-events: all;
|
|
69
|
-
} .bottom-
|
|
69
|
+
} .bottom-sheet__withTransition_8nffl {
|
|
70
70
|
transition: var(--bottom-sheet-out-transition);
|
|
71
|
-
} .bottom-
|
|
71
|
+
} .bottom-sheet__scrollableContainer_8nffl {
|
|
72
72
|
overflow: auto;
|
|
73
73
|
display: flex;
|
|
74
74
|
flex-direction: column;
|
|
75
75
|
position: relative;
|
|
76
76
|
height: 100%;
|
|
77
77
|
background-color: inherit;
|
|
78
|
-
} .bottom-
|
|
78
|
+
} .bottom-sheet__marker_8nffl {
|
|
79
79
|
position: fixed;
|
|
80
80
|
top: var(--gap-2xs);
|
|
81
81
|
left: 50%;
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
transform: translateX(-50%);
|
|
86
86
|
background-color: var(--color-light-graphic-quaternary);
|
|
87
87
|
z-index: 1000;
|
|
88
|
-
} .bottom-
|
|
88
|
+
} .bottom-sheet__content_8nffl {
|
|
89
89
|
position: relative;
|
|
90
90
|
z-index: 0;
|
|
91
91
|
display: flex;
|
|
@@ -94,73 +94,73 @@
|
|
|
94
94
|
padding: 0 var(--gap-m);
|
|
95
95
|
color: var(--color-light-text-primary);
|
|
96
96
|
background-color: inherit;
|
|
97
|
-
} .bottom-
|
|
97
|
+
} .bottom-sheet__noHeader_8nffl {
|
|
98
98
|
padding-top: var(--gap-m);
|
|
99
|
-
} .bottom-
|
|
99
|
+
} .bottom-sheet__noFooter_8nffl {
|
|
100
100
|
padding-bottom: var(--gap-m);
|
|
101
|
-
} .bottom-
|
|
101
|
+
} .bottom-sheet__scrollLocked_8nffl {
|
|
102
102
|
overflow: hidden;
|
|
103
|
-
} .bottom-
|
|
103
|
+
} .bottom-sheet__hiddenScrollbar_8nffl {
|
|
104
104
|
scrollbar-width: none
|
|
105
|
-
} .bottom-
|
|
105
|
+
} .bottom-sheet__hiddenScrollbar_8nffl::-webkit-scrollbar {
|
|
106
106
|
width: 0;
|
|
107
107
|
height: 0;
|
|
108
|
-
} .bottom-
|
|
108
|
+
} .bottom-sheet__disabledPointerEvents_8nffl {
|
|
109
109
|
pointer-events: none;
|
|
110
|
-
} .bottom-
|
|
110
|
+
} .bottom-sheet__appear_8nffl .bottom-sheet__wrapper_8nffl, .bottom-sheet__enter_8nffl .bottom-sheet__wrapper_8nffl {
|
|
111
111
|
transition: none;
|
|
112
|
-
} .bottom-
|
|
112
|
+
} .bottom-sheet__appearActive_8nffl .bottom-sheet__wrapper_8nffl, .bottom-sheet__enterActive_8nffl .bottom-sheet__wrapper_8nffl {
|
|
113
113
|
transition: var(--bottom-sheet-in-transition);
|
|
114
114
|
transform: translateY(0);
|
|
115
|
-
} .bottom-
|
|
115
|
+
} .bottom-sheet__enterDone_8nffl .bottom-sheet__wrapper_8nffl, .bottom-sheet__appearDone_8nffl .bottom-sheet__wrapper_8nffl {
|
|
116
116
|
transform: translateY(0);
|
|
117
|
-
} .bottom-
|
|
117
|
+
} .bottom-sheet__exit_8nffl .bottom-sheet__wrapper_8nffl {
|
|
118
118
|
transform: translateY(0);
|
|
119
|
-
} .bottom-
|
|
119
|
+
} .bottom-sheet__exitActive_8nffl .bottom-sheet__wrapper_8nffl {
|
|
120
120
|
transition: var(--bottom-sheet-out-transition);
|
|
121
121
|
transform: translateY(100%);
|
|
122
|
-
} .bottom-sheet__background-
|
|
122
|
+
} .bottom-sheet__background-accent_8nffl {
|
|
123
123
|
background-color: var(--color-light-bg-accent);
|
|
124
|
-
} .bottom-sheet__background-
|
|
124
|
+
} .bottom-sheet__background-info_8nffl {
|
|
125
125
|
background-color: var(--color-light-bg-info);
|
|
126
|
-
} .bottom-sheet__background-attention-
|
|
126
|
+
} .bottom-sheet__background-attention-muted_8nffl {
|
|
127
127
|
background-color: var(--color-light-bg-attention-muted);
|
|
128
|
-
} .bottom-sheet__background-positive-
|
|
128
|
+
} .bottom-sheet__background-positive-muted_8nffl {
|
|
129
129
|
background-color: var(--color-light-bg-positive-muted);
|
|
130
|
-
} .bottom-sheet__background-negative-
|
|
130
|
+
} .bottom-sheet__background-negative-muted_8nffl {
|
|
131
131
|
background-color: var(--color-light-bg-negative-muted);
|
|
132
|
-
} .bottom-sheet__background-
|
|
132
|
+
} .bottom-sheet__background-primary_8nffl {
|
|
133
133
|
background-color: var(--color-light-bg-primary);
|
|
134
|
-
} .bottom-sheet__background-primary-
|
|
134
|
+
} .bottom-sheet__background-primary-inverted_8nffl {
|
|
135
135
|
background-color: var(--color-light-bg-primary-inverted);
|
|
136
|
-
} .bottom-sheet__background-
|
|
136
|
+
} .bottom-sheet__background-secondary_8nffl {
|
|
137
137
|
background-color: var(--color-light-bg-secondary);
|
|
138
|
-
} .bottom-sheet__background-secondary-
|
|
138
|
+
} .bottom-sheet__background-secondary-inverted_8nffl {
|
|
139
139
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
140
|
-
} .bottom-sheet__background-
|
|
140
|
+
} .bottom-sheet__background-tertiary_8nffl {
|
|
141
141
|
background-color: var(--color-light-bg-tertiary);
|
|
142
|
-
} .bottom-sheet__background-tertiary-
|
|
142
|
+
} .bottom-sheet__background-tertiary-inverted_8nffl {
|
|
143
143
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
144
|
-
} .bottom-sheet__background-
|
|
144
|
+
} .bottom-sheet__background-quaternary_8nffl {
|
|
145
145
|
background-color: var(--color-light-bg-quaternary);
|
|
146
|
-
} .bottom-sheet__background-quaternary-
|
|
146
|
+
} .bottom-sheet__background-quaternary-inverted_8nffl {
|
|
147
147
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
148
|
-
} .bottom-sheet__background-specialbg-
|
|
148
|
+
} .bottom-sheet__background-specialbg-component_8nffl {
|
|
149
149
|
background-color: var(--color-light-specialbg-component);
|
|
150
|
-
} .bottom-sheet__background-specialbg-component-
|
|
150
|
+
} .bottom-sheet__background-specialbg-component-inverted_8nffl {
|
|
151
151
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
152
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
152
|
+
} .bottom-sheet__background-specialbg-primary-grouped_8nffl {
|
|
153
153
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
154
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
154
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_8nffl {
|
|
155
155
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
156
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
156
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_8nffl {
|
|
157
157
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
158
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
158
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_8nffl {
|
|
159
159
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
160
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
160
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_8nffl {
|
|
161
161
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
162
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
162
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_8nffl {
|
|
163
163
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
164
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
164
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_8nffl {
|
|
165
165
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
166
166
|
}
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1nlbo */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -45,20 +45,20 @@
|
|
|
45
45
|
} :root {
|
|
46
46
|
--bottom-sheet-in-transition: transform 0.5s cubic-bezier(0.09, 0.91, 0.18, 0.99);
|
|
47
47
|
--bottom-sheet-out-transition: transform 0.3s ease;
|
|
48
|
-
} .bottom-
|
|
48
|
+
} .bottom-sheet__modal_8nffl {
|
|
49
49
|
background-color: transparent;
|
|
50
50
|
position: fixed;
|
|
51
51
|
bottom: 0;
|
|
52
52
|
width: 100%;
|
|
53
53
|
max-width: 600px;
|
|
54
54
|
pointer-events: none;
|
|
55
|
-
} .bottom-
|
|
55
|
+
} .bottom-sheet__wrapper_8nffl {
|
|
56
56
|
transform: translateY(100%);
|
|
57
57
|
overflow: hidden;
|
|
58
58
|
pointer-events: none;
|
|
59
59
|
border-top-right-radius: var(--border-radius-xl);
|
|
60
60
|
border-top-left-radius: var(--border-radius-xl);
|
|
61
|
-
} .bottom-
|
|
61
|
+
} .bottom-sheet__component_8nffl {
|
|
62
62
|
overflow: hidden;
|
|
63
63
|
position: relative;
|
|
64
64
|
display: flex;
|
|
@@ -66,16 +66,16 @@
|
|
|
66
66
|
border-radius: inherit;
|
|
67
67
|
background-color: var(--color-light-bg-primary);
|
|
68
68
|
pointer-events: all;
|
|
69
|
-
} .bottom-
|
|
69
|
+
} .bottom-sheet__withTransition_8nffl {
|
|
70
70
|
transition: var(--bottom-sheet-out-transition);
|
|
71
|
-
} .bottom-
|
|
71
|
+
} .bottom-sheet__scrollableContainer_8nffl {
|
|
72
72
|
overflow: auto;
|
|
73
73
|
display: flex;
|
|
74
74
|
flex-direction: column;
|
|
75
75
|
position: relative;
|
|
76
76
|
height: 100%;
|
|
77
77
|
background-color: inherit;
|
|
78
|
-
} .bottom-
|
|
78
|
+
} .bottom-sheet__marker_8nffl {
|
|
79
79
|
position: fixed;
|
|
80
80
|
top: var(--gap-2xs);
|
|
81
81
|
left: 50%;
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
transform: translateX(-50%);
|
|
86
86
|
background-color: var(--color-light-graphic-quaternary);
|
|
87
87
|
z-index: 1000;
|
|
88
|
-
} .bottom-
|
|
88
|
+
} .bottom-sheet__content_8nffl {
|
|
89
89
|
position: relative;
|
|
90
90
|
z-index: 0;
|
|
91
91
|
display: flex;
|
|
@@ -94,73 +94,73 @@
|
|
|
94
94
|
padding: 0 var(--gap-m);
|
|
95
95
|
color: var(--color-light-text-primary);
|
|
96
96
|
background-color: inherit;
|
|
97
|
-
} .bottom-
|
|
97
|
+
} .bottom-sheet__noHeader_8nffl {
|
|
98
98
|
padding-top: var(--gap-m);
|
|
99
|
-
} .bottom-
|
|
99
|
+
} .bottom-sheet__noFooter_8nffl {
|
|
100
100
|
padding-bottom: var(--gap-m);
|
|
101
|
-
} .bottom-
|
|
101
|
+
} .bottom-sheet__scrollLocked_8nffl {
|
|
102
102
|
overflow: hidden;
|
|
103
|
-
} .bottom-
|
|
103
|
+
} .bottom-sheet__hiddenScrollbar_8nffl {
|
|
104
104
|
scrollbar-width: none
|
|
105
|
-
} .bottom-
|
|
105
|
+
} .bottom-sheet__hiddenScrollbar_8nffl::-webkit-scrollbar {
|
|
106
106
|
width: 0;
|
|
107
107
|
height: 0;
|
|
108
|
-
} .bottom-
|
|
108
|
+
} .bottom-sheet__disabledPointerEvents_8nffl {
|
|
109
109
|
pointer-events: none;
|
|
110
|
-
} .bottom-
|
|
110
|
+
} .bottom-sheet__appear_8nffl .bottom-sheet__wrapper_8nffl, .bottom-sheet__enter_8nffl .bottom-sheet__wrapper_8nffl {
|
|
111
111
|
transition: none;
|
|
112
|
-
} .bottom-
|
|
112
|
+
} .bottom-sheet__appearActive_8nffl .bottom-sheet__wrapper_8nffl, .bottom-sheet__enterActive_8nffl .bottom-sheet__wrapper_8nffl {
|
|
113
113
|
transition: var(--bottom-sheet-in-transition);
|
|
114
114
|
transform: translateY(0);
|
|
115
|
-
} .bottom-
|
|
115
|
+
} .bottom-sheet__enterDone_8nffl .bottom-sheet__wrapper_8nffl, .bottom-sheet__appearDone_8nffl .bottom-sheet__wrapper_8nffl {
|
|
116
116
|
transform: translateY(0);
|
|
117
|
-
} .bottom-
|
|
117
|
+
} .bottom-sheet__exit_8nffl .bottom-sheet__wrapper_8nffl {
|
|
118
118
|
transform: translateY(0);
|
|
119
|
-
} .bottom-
|
|
119
|
+
} .bottom-sheet__exitActive_8nffl .bottom-sheet__wrapper_8nffl {
|
|
120
120
|
transition: var(--bottom-sheet-out-transition);
|
|
121
121
|
transform: translateY(100%);
|
|
122
|
-
} .bottom-sheet__background-
|
|
122
|
+
} .bottom-sheet__background-accent_8nffl {
|
|
123
123
|
background-color: var(--color-light-bg-accent);
|
|
124
|
-
} .bottom-sheet__background-
|
|
124
|
+
} .bottom-sheet__background-info_8nffl {
|
|
125
125
|
background-color: var(--color-light-bg-info);
|
|
126
|
-
} .bottom-sheet__background-attention-
|
|
126
|
+
} .bottom-sheet__background-attention-muted_8nffl {
|
|
127
127
|
background-color: var(--color-light-bg-attention-muted);
|
|
128
|
-
} .bottom-sheet__background-positive-
|
|
128
|
+
} .bottom-sheet__background-positive-muted_8nffl {
|
|
129
129
|
background-color: var(--color-light-bg-positive-muted);
|
|
130
|
-
} .bottom-sheet__background-negative-
|
|
130
|
+
} .bottom-sheet__background-negative-muted_8nffl {
|
|
131
131
|
background-color: var(--color-light-bg-negative-muted);
|
|
132
|
-
} .bottom-sheet__background-
|
|
132
|
+
} .bottom-sheet__background-primary_8nffl {
|
|
133
133
|
background-color: var(--color-light-bg-primary);
|
|
134
|
-
} .bottom-sheet__background-primary-
|
|
134
|
+
} .bottom-sheet__background-primary-inverted_8nffl {
|
|
135
135
|
background-color: var(--color-light-bg-primary-inverted);
|
|
136
|
-
} .bottom-sheet__background-
|
|
136
|
+
} .bottom-sheet__background-secondary_8nffl {
|
|
137
137
|
background-color: var(--color-light-bg-secondary);
|
|
138
|
-
} .bottom-sheet__background-secondary-
|
|
138
|
+
} .bottom-sheet__background-secondary-inverted_8nffl {
|
|
139
139
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
140
|
-
} .bottom-sheet__background-
|
|
140
|
+
} .bottom-sheet__background-tertiary_8nffl {
|
|
141
141
|
background-color: var(--color-light-bg-tertiary);
|
|
142
|
-
} .bottom-sheet__background-tertiary-
|
|
142
|
+
} .bottom-sheet__background-tertiary-inverted_8nffl {
|
|
143
143
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
144
|
-
} .bottom-sheet__background-
|
|
144
|
+
} .bottom-sheet__background-quaternary_8nffl {
|
|
145
145
|
background-color: var(--color-light-bg-quaternary);
|
|
146
|
-
} .bottom-sheet__background-quaternary-
|
|
146
|
+
} .bottom-sheet__background-quaternary-inverted_8nffl {
|
|
147
147
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
148
|
-
} .bottom-sheet__background-specialbg-
|
|
148
|
+
} .bottom-sheet__background-specialbg-component_8nffl {
|
|
149
149
|
background-color: var(--color-light-specialbg-component);
|
|
150
|
-
} .bottom-sheet__background-specialbg-component-
|
|
150
|
+
} .bottom-sheet__background-specialbg-component-inverted_8nffl {
|
|
151
151
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
152
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
152
|
+
} .bottom-sheet__background-specialbg-primary-grouped_8nffl {
|
|
153
153
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
154
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
154
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_8nffl {
|
|
155
155
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
156
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
156
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_8nffl {
|
|
157
157
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
158
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
158
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_8nffl {
|
|
159
159
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
160
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
160
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_8nffl {
|
|
161
161
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
162
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
162
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_8nffl {
|
|
163
163
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
164
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
164
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_8nffl {
|
|
165
165
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
166
166
|
}
|
package/modern/component.js
CHANGED
|
@@ -16,7 +16,7 @@ const getDataTestId = (dataTestId, element) => {
|
|
|
16
16
|
return dataTestId ? `${dataTestId}${elementPart}` : undefined;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
const styles = {"modal":"bottom-
|
|
19
|
+
const styles = {"modal":"bottom-sheet__modal_8nffl","wrapper":"bottom-sheet__wrapper_8nffl","component":"bottom-sheet__component_8nffl","withTransition":"bottom-sheet__withTransition_8nffl","scrollableContainer":"bottom-sheet__scrollableContainer_8nffl","marker":"bottom-sheet__marker_8nffl","content":"bottom-sheet__content_8nffl","noHeader":"bottom-sheet__noHeader_8nffl","noFooter":"bottom-sheet__noFooter_8nffl","scrollLocked":"bottom-sheet__scrollLocked_8nffl","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_8nffl","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_8nffl","appear":"bottom-sheet__appear_8nffl","enter":"bottom-sheet__enter_8nffl","appearActive":"bottom-sheet__appearActive_8nffl","enterActive":"bottom-sheet__enterActive_8nffl","enterDone":"bottom-sheet__enterDone_8nffl","appearDone":"bottom-sheet__appearDone_8nffl","exit":"bottom-sheet__exit_8nffl","exitActive":"bottom-sheet__exitActive_8nffl","background-accent":"bottom-sheet__background-accent_8nffl","background-info":"bottom-sheet__background-info_8nffl","background-attention-muted":"bottom-sheet__background-attention-muted_8nffl","background-positive-muted":"bottom-sheet__background-positive-muted_8nffl","background-negative-muted":"bottom-sheet__background-negative-muted_8nffl","background-primary":"bottom-sheet__background-primary_8nffl","background-primary-inverted":"bottom-sheet__background-primary-inverted_8nffl","background-secondary":"bottom-sheet__background-secondary_8nffl","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_8nffl","background-tertiary":"bottom-sheet__background-tertiary_8nffl","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_8nffl","background-quaternary":"bottom-sheet__background-quaternary_8nffl","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_8nffl","background-specialbg-component":"bottom-sheet__background-specialbg-component_8nffl","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_8nffl","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_8nffl","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_8nffl","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_8nffl","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_8nffl","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_8nffl","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_8nffl","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_8nffl"};
|
|
20
20
|
require('./index.css')
|
|
21
21
|
|
|
22
22
|
const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundColor, titleSize = 'default', subtitle, actionButton, contentClassName, containerClassName, containerProps, headerClassName, footerClassName, addonClassName, closerClassName, backerClassName, modalClassName, modalWrapperClassName, className, leftAddons, rightAddons, bottomAddons, hasCloser, hasBacker, titleAlign = 'left', trimTitle, stickyHeader, stickyFooter = true, initialHeight = 'default', hideOverlay, hideScrollbar, hideHeader, disableOverlayClick, disableBlockingScroll, children, zIndex, transitionProps = {}, magneticAreas: magneticAreasProp, initialActiveAreaIndex, dataTestId, swipeable = true, scrollLocked: scrollLockedProp, backdropProps, scrollableContainerRef = () => null, bottomSheetInstanceRef, sheetContainerRef = () => null, onClose, onBack, onMagnetize, }, ref) => {
|
|
@@ -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_10jlm","sticky":"bottom-sheet__sticky_10jlm","highlighted":"bottom-sheet__highlighted_10jlm","background-accent":"bottom-sheet__background-accent_10jlm","background-info":"bottom-sheet__background-info_10jlm","background-attention-muted":"bottom-sheet__background-attention-muted_10jlm","background-positive-muted":"bottom-sheet__background-positive-muted_10jlm","background-negative-muted":"bottom-sheet__background-negative-muted_10jlm","background-primary":"bottom-sheet__background-primary_10jlm","background-primary-inverted":"bottom-sheet__background-primary-inverted_10jlm","background-secondary":"bottom-sheet__background-secondary_10jlm","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_10jlm","background-tertiary":"bottom-sheet__background-tertiary_10jlm","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_10jlm","background-quaternary":"bottom-sheet__background-quaternary_10jlm","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_10jlm","background-specialbg-component":"bottom-sheet__background-specialbg-component_10jlm","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_10jlm","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_10jlm","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_10jlm","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_10jlm","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_10jlm","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_10jlm","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_10jlm","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_10jlm"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Footer = ({ children, className, sticky }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: tzrpt */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -41,58 +41,58 @@
|
|
|
41
41
|
} :root {
|
|
42
42
|
--bottom-sheet-footer-border-top: 1px solid var(--color-light-border-secondary);
|
|
43
43
|
--bottom-sheet-footer-background-color: var(--color-light-bg-primary);
|
|
44
|
-
} .bottom-
|
|
44
|
+
} .bottom-sheet__footer_10jlm {
|
|
45
45
|
padding: var(--gap-m) var(--gap-m);
|
|
46
46
|
background-color: var(--color-light-bg-primary);
|
|
47
|
-
} .bottom-
|
|
47
|
+
} .bottom-sheet__sticky_10jlm {
|
|
48
48
|
position: sticky;
|
|
49
49
|
bottom: 0;
|
|
50
50
|
z-index: 1;
|
|
51
|
-
} .bottom-
|
|
51
|
+
} .bottom-sheet__highlighted_10jlm {
|
|
52
52
|
border-top: var(--bottom-sheet-footer-border-top);
|
|
53
53
|
background-color: var(--bottom-sheet-footer-background-color);
|
|
54
|
-
} .bottom-sheet__background-
|
|
54
|
+
} .bottom-sheet__background-accent_10jlm {
|
|
55
55
|
background-color: var(--color-light-bg-accent);
|
|
56
|
-
} .bottom-sheet__background-
|
|
56
|
+
} .bottom-sheet__background-info_10jlm {
|
|
57
57
|
background-color: var(--color-light-bg-info);
|
|
58
|
-
} .bottom-sheet__background-attention-
|
|
58
|
+
} .bottom-sheet__background-attention-muted_10jlm {
|
|
59
59
|
background-color: var(--color-light-bg-attention-muted);
|
|
60
|
-
} .bottom-sheet__background-positive-
|
|
60
|
+
} .bottom-sheet__background-positive-muted_10jlm {
|
|
61
61
|
background-color: var(--color-light-bg-positive-muted);
|
|
62
|
-
} .bottom-sheet__background-negative-
|
|
62
|
+
} .bottom-sheet__background-negative-muted_10jlm {
|
|
63
63
|
background-color: var(--color-light-bg-negative-muted);
|
|
64
|
-
} .bottom-sheet__background-
|
|
64
|
+
} .bottom-sheet__background-primary_10jlm {
|
|
65
65
|
background-color: var(--color-light-bg-primary);
|
|
66
|
-
} .bottom-sheet__background-primary-
|
|
66
|
+
} .bottom-sheet__background-primary-inverted_10jlm {
|
|
67
67
|
background-color: var(--color-light-bg-primary-inverted);
|
|
68
|
-
} .bottom-sheet__background-
|
|
68
|
+
} .bottom-sheet__background-secondary_10jlm {
|
|
69
69
|
background-color: var(--color-light-bg-secondary);
|
|
70
|
-
} .bottom-sheet__background-secondary-
|
|
70
|
+
} .bottom-sheet__background-secondary-inverted_10jlm {
|
|
71
71
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
72
|
-
} .bottom-sheet__background-
|
|
72
|
+
} .bottom-sheet__background-tertiary_10jlm {
|
|
73
73
|
background-color: var(--color-light-bg-tertiary);
|
|
74
|
-
} .bottom-sheet__background-tertiary-
|
|
74
|
+
} .bottom-sheet__background-tertiary-inverted_10jlm {
|
|
75
75
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
76
|
-
} .bottom-sheet__background-
|
|
76
|
+
} .bottom-sheet__background-quaternary_10jlm {
|
|
77
77
|
background-color: var(--color-light-bg-quaternary);
|
|
78
|
-
} .bottom-sheet__background-quaternary-
|
|
78
|
+
} .bottom-sheet__background-quaternary-inverted_10jlm {
|
|
79
79
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
80
|
-
} .bottom-sheet__background-specialbg-
|
|
80
|
+
} .bottom-sheet__background-specialbg-component_10jlm {
|
|
81
81
|
background-color: var(--color-light-specialbg-component);
|
|
82
|
-
} .bottom-sheet__background-specialbg-component-
|
|
82
|
+
} .bottom-sheet__background-specialbg-component-inverted_10jlm {
|
|
83
83
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
84
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
84
|
+
} .bottom-sheet__background-specialbg-primary-grouped_10jlm {
|
|
85
85
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
86
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
86
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_10jlm {
|
|
87
87
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
88
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
88
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_10jlm {
|
|
89
89
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
90
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
90
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_10jlm {
|
|
91
91
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
92
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
92
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_10jlm {
|
|
93
93
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
94
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
94
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_10jlm {
|
|
95
95
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
96
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
96
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_10jlm {
|
|
97
97
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
98
98
|
}
|
|
@@ -4,7 +4,7 @@ import { BaseModalContext } from '@alfalab/core-components-base-modal/modern';
|
|
|
4
4
|
import { NavigationBar } from '@alfalab/core-components-navigation-bar/modern';
|
|
5
5
|
import { HEADER_OFFSET } from '../../utils.js';
|
|
6
6
|
|
|
7
|
-
const styles = {"headerWrapper":"bottom-
|
|
7
|
+
const styles = {"headerWrapper":"bottom-sheet__headerWrapper_1srvx","hasContent":"bottom-sheet__hasContent_1srvx","header":"bottom-sheet__header_1srvx","sticky":"bottom-sheet__sticky_1srvx","highlighted":"bottom-sheet__highlighted_1srvx","justifyEnd":"bottom-sheet__justifyEnd_1srvx","addon":"bottom-sheet__addon_1srvx","addonFixed":"bottom-sheet__addonFixed_1srvx","title":"bottom-sheet__title_1srvx","titleCenter":"bottom-sheet__titleCenter_1srvx","titleLeft":"bottom-sheet__titleLeft_1srvx","trimTitle":"bottom-sheet__trimTitle_1srvx"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const Header = ({ className, sticky, headerRef, title, children, ...restProps }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: xuqdm */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-border-secondary: #e9e9eb; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -27,42 +27,42 @@
|
|
|
27
27
|
--bottom-sheet-title-font-weight: 700;
|
|
28
28
|
--bottom-sheet-title-line-height: 24px;
|
|
29
29
|
--bottom-sheet-title-font-family: var(--font-family-system);
|
|
30
|
-
} .bottom-
|
|
30
|
+
} .bottom-sheet__headerWrapper_1srvx {
|
|
31
31
|
padding: var(--gap-s) var(--gap-xs) var(--gap-2xs);
|
|
32
32
|
border-top-right-radius: var(--border-radius-xl);
|
|
33
33
|
border-top-left-radius: var(--border-radius-xl);
|
|
34
34
|
z-index: 1;
|
|
35
|
-
} .bottom-
|
|
35
|
+
} .bottom-sheet__hasContent_1srvx {
|
|
36
36
|
background-color: inherit;
|
|
37
|
-
} .bottom-
|
|
37
|
+
} .bottom-sheet__header_1srvx {
|
|
38
38
|
display: flex;
|
|
39
|
-
} .bottom-
|
|
39
|
+
} .bottom-sheet__sticky_1srvx {
|
|
40
40
|
position: sticky;
|
|
41
41
|
top: 0;
|
|
42
|
-
} .bottom-
|
|
42
|
+
} .bottom-sheet__highlighted_1srvx {
|
|
43
43
|
border-bottom: var(--bottom-sheet-header-border-bottom);
|
|
44
|
-
} .bottom-
|
|
44
|
+
} .bottom-sheet__justifyEnd_1srvx {
|
|
45
45
|
justify-content: flex-end;
|
|
46
|
-
} .bottom-
|
|
46
|
+
} .bottom-sheet__addon_1srvx {
|
|
47
47
|
display: flex;
|
|
48
48
|
justify-content: center;
|
|
49
49
|
align-items: center;
|
|
50
50
|
min-width: 48px;
|
|
51
51
|
height: 48px;
|
|
52
|
-
} .bottom-
|
|
52
|
+
} .bottom-sheet__addonFixed_1srvx {
|
|
53
53
|
position: fixed;
|
|
54
|
-
} .bottom-
|
|
54
|
+
} .bottom-sheet__title_1srvx {
|
|
55
55
|
padding: var(--gap-s) var(--gap-xs);
|
|
56
56
|
width: 100%;
|
|
57
57
|
font-size: var(--bottom-sheet-title-font-size);
|
|
58
58
|
font-weight: var(--bottom-sheet-title-font-weight);
|
|
59
59
|
line-height: var(--bottom-sheet-title-line-height);
|
|
60
60
|
font-family: var(--bottom-sheet-title-font-family);
|
|
61
|
-
} .bottom-
|
|
61
|
+
} .bottom-sheet__titleCenter_1srvx {
|
|
62
62
|
text-align: center;
|
|
63
|
-
} .bottom-
|
|
63
|
+
} .bottom-sheet__titleLeft_1srvx {
|
|
64
64
|
text-align: left;
|
|
65
|
-
} .bottom-
|
|
65
|
+
} .bottom-sheet__trimTitle_1srvx {
|
|
66
66
|
white-space: nowrap;
|
|
67
67
|
overflow: hidden;
|
|
68
68
|
text-overflow: ellipsis;
|
package/modern/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1nlbo */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -45,20 +45,20 @@
|
|
|
45
45
|
} :root {
|
|
46
46
|
--bottom-sheet-in-transition: transform 0.5s cubic-bezier(0.09, 0.91, 0.18, 0.99);
|
|
47
47
|
--bottom-sheet-out-transition: transform 0.3s ease;
|
|
48
|
-
} .bottom-
|
|
48
|
+
} .bottom-sheet__modal_8nffl {
|
|
49
49
|
background-color: transparent;
|
|
50
50
|
position: fixed;
|
|
51
51
|
bottom: 0;
|
|
52
52
|
width: 100%;
|
|
53
53
|
max-width: 600px;
|
|
54
54
|
pointer-events: none;
|
|
55
|
-
} .bottom-
|
|
55
|
+
} .bottom-sheet__wrapper_8nffl {
|
|
56
56
|
transform: translateY(100%);
|
|
57
57
|
overflow: hidden;
|
|
58
58
|
pointer-events: none;
|
|
59
59
|
border-top-right-radius: var(--border-radius-xl);
|
|
60
60
|
border-top-left-radius: var(--border-radius-xl);
|
|
61
|
-
} .bottom-
|
|
61
|
+
} .bottom-sheet__component_8nffl {
|
|
62
62
|
overflow: hidden;
|
|
63
63
|
position: relative;
|
|
64
64
|
display: flex;
|
|
@@ -66,16 +66,16 @@
|
|
|
66
66
|
border-radius: inherit;
|
|
67
67
|
background-color: var(--color-light-bg-primary);
|
|
68
68
|
pointer-events: all;
|
|
69
|
-
} .bottom-
|
|
69
|
+
} .bottom-sheet__withTransition_8nffl {
|
|
70
70
|
transition: var(--bottom-sheet-out-transition);
|
|
71
|
-
} .bottom-
|
|
71
|
+
} .bottom-sheet__scrollableContainer_8nffl {
|
|
72
72
|
overflow: auto;
|
|
73
73
|
display: flex;
|
|
74
74
|
flex-direction: column;
|
|
75
75
|
position: relative;
|
|
76
76
|
height: 100%;
|
|
77
77
|
background-color: inherit;
|
|
78
|
-
} .bottom-
|
|
78
|
+
} .bottom-sheet__marker_8nffl {
|
|
79
79
|
position: fixed;
|
|
80
80
|
top: var(--gap-2xs);
|
|
81
81
|
left: 50%;
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
transform: translateX(-50%);
|
|
86
86
|
background-color: var(--color-light-graphic-quaternary);
|
|
87
87
|
z-index: 1000;
|
|
88
|
-
} .bottom-
|
|
88
|
+
} .bottom-sheet__content_8nffl {
|
|
89
89
|
position: relative;
|
|
90
90
|
z-index: 0;
|
|
91
91
|
display: flex;
|
|
@@ -94,73 +94,73 @@
|
|
|
94
94
|
padding: 0 var(--gap-m);
|
|
95
95
|
color: var(--color-light-text-primary);
|
|
96
96
|
background-color: inherit;
|
|
97
|
-
} .bottom-
|
|
97
|
+
} .bottom-sheet__noHeader_8nffl {
|
|
98
98
|
padding-top: var(--gap-m);
|
|
99
|
-
} .bottom-
|
|
99
|
+
} .bottom-sheet__noFooter_8nffl {
|
|
100
100
|
padding-bottom: var(--gap-m);
|
|
101
|
-
} .bottom-
|
|
101
|
+
} .bottom-sheet__scrollLocked_8nffl {
|
|
102
102
|
overflow: hidden;
|
|
103
|
-
} .bottom-
|
|
103
|
+
} .bottom-sheet__hiddenScrollbar_8nffl {
|
|
104
104
|
scrollbar-width: none
|
|
105
|
-
} .bottom-
|
|
105
|
+
} .bottom-sheet__hiddenScrollbar_8nffl::-webkit-scrollbar {
|
|
106
106
|
width: 0;
|
|
107
107
|
height: 0;
|
|
108
|
-
} .bottom-
|
|
108
|
+
} .bottom-sheet__disabledPointerEvents_8nffl {
|
|
109
109
|
pointer-events: none;
|
|
110
|
-
} .bottom-
|
|
110
|
+
} .bottom-sheet__appear_8nffl .bottom-sheet__wrapper_8nffl, .bottom-sheet__enter_8nffl .bottom-sheet__wrapper_8nffl {
|
|
111
111
|
transition: none;
|
|
112
|
-
} .bottom-
|
|
112
|
+
} .bottom-sheet__appearActive_8nffl .bottom-sheet__wrapper_8nffl, .bottom-sheet__enterActive_8nffl .bottom-sheet__wrapper_8nffl {
|
|
113
113
|
transition: var(--bottom-sheet-in-transition);
|
|
114
114
|
transform: translateY(0);
|
|
115
|
-
} .bottom-
|
|
115
|
+
} .bottom-sheet__enterDone_8nffl .bottom-sheet__wrapper_8nffl, .bottom-sheet__appearDone_8nffl .bottom-sheet__wrapper_8nffl {
|
|
116
116
|
transform: translateY(0);
|
|
117
|
-
} .bottom-
|
|
117
|
+
} .bottom-sheet__exit_8nffl .bottom-sheet__wrapper_8nffl {
|
|
118
118
|
transform: translateY(0);
|
|
119
|
-
} .bottom-
|
|
119
|
+
} .bottom-sheet__exitActive_8nffl .bottom-sheet__wrapper_8nffl {
|
|
120
120
|
transition: var(--bottom-sheet-out-transition);
|
|
121
121
|
transform: translateY(100%);
|
|
122
|
-
} .bottom-sheet__background-
|
|
122
|
+
} .bottom-sheet__background-accent_8nffl {
|
|
123
123
|
background-color: var(--color-light-bg-accent);
|
|
124
|
-
} .bottom-sheet__background-
|
|
124
|
+
} .bottom-sheet__background-info_8nffl {
|
|
125
125
|
background-color: var(--color-light-bg-info);
|
|
126
|
-
} .bottom-sheet__background-attention-
|
|
126
|
+
} .bottom-sheet__background-attention-muted_8nffl {
|
|
127
127
|
background-color: var(--color-light-bg-attention-muted);
|
|
128
|
-
} .bottom-sheet__background-positive-
|
|
128
|
+
} .bottom-sheet__background-positive-muted_8nffl {
|
|
129
129
|
background-color: var(--color-light-bg-positive-muted);
|
|
130
|
-
} .bottom-sheet__background-negative-
|
|
130
|
+
} .bottom-sheet__background-negative-muted_8nffl {
|
|
131
131
|
background-color: var(--color-light-bg-negative-muted);
|
|
132
|
-
} .bottom-sheet__background-
|
|
132
|
+
} .bottom-sheet__background-primary_8nffl {
|
|
133
133
|
background-color: var(--color-light-bg-primary);
|
|
134
|
-
} .bottom-sheet__background-primary-
|
|
134
|
+
} .bottom-sheet__background-primary-inverted_8nffl {
|
|
135
135
|
background-color: var(--color-light-bg-primary-inverted);
|
|
136
|
-
} .bottom-sheet__background-
|
|
136
|
+
} .bottom-sheet__background-secondary_8nffl {
|
|
137
137
|
background-color: var(--color-light-bg-secondary);
|
|
138
|
-
} .bottom-sheet__background-secondary-
|
|
138
|
+
} .bottom-sheet__background-secondary-inverted_8nffl {
|
|
139
139
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
140
|
-
} .bottom-sheet__background-
|
|
140
|
+
} .bottom-sheet__background-tertiary_8nffl {
|
|
141
141
|
background-color: var(--color-light-bg-tertiary);
|
|
142
|
-
} .bottom-sheet__background-tertiary-
|
|
142
|
+
} .bottom-sheet__background-tertiary-inverted_8nffl {
|
|
143
143
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
144
|
-
} .bottom-sheet__background-
|
|
144
|
+
} .bottom-sheet__background-quaternary_8nffl {
|
|
145
145
|
background-color: var(--color-light-bg-quaternary);
|
|
146
|
-
} .bottom-sheet__background-quaternary-
|
|
146
|
+
} .bottom-sheet__background-quaternary-inverted_8nffl {
|
|
147
147
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
148
|
-
} .bottom-sheet__background-specialbg-
|
|
148
|
+
} .bottom-sheet__background-specialbg-component_8nffl {
|
|
149
149
|
background-color: var(--color-light-specialbg-component);
|
|
150
|
-
} .bottom-sheet__background-specialbg-component-
|
|
150
|
+
} .bottom-sheet__background-specialbg-component-inverted_8nffl {
|
|
151
151
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
152
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
152
|
+
} .bottom-sheet__background-specialbg-primary-grouped_8nffl {
|
|
153
153
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
154
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
154
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_8nffl {
|
|
155
155
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
156
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
156
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_8nffl {
|
|
157
157
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
158
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
158
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_8nffl {
|
|
159
159
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
160
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
160
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_8nffl {
|
|
161
161
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
162
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
162
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_8nffl {
|
|
163
163
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
164
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
164
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_8nffl {
|
|
165
165
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
166
166
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-bottom-sheet",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.7",
|
|
4
4
|
"description": "Bottom sheet mobile component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@alfalab/core-components-backdrop": "^3.0.6",
|
|
22
22
|
"@alfalab/core-components-base-modal": "^5.1.3",
|
|
23
|
-
"@alfalab/core-components-navigation-bar": "^0.3.
|
|
23
|
+
"@alfalab/core-components-navigation-bar": "^0.3.5",
|
|
24
24
|
"classnames": "^2.3.1",
|
|
25
25
|
"react-div-100vh": "^0.7.0",
|
|
26
26
|
"react-merge-refs": "^1.1.0",
|