@alfalab/core-components-bottom-sheet 6.11.2 → 6.11.3
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 +43 -43
- package/index.css +43 -43
- 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 +43 -43
- 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_1ht9j","wrapper":"bottom-sheet__wrapper_1ht9j","fullscreen":"bottom-sheet__fullscreen_1ht9j","component":"bottom-sheet__component_1ht9j","withTransition":"bottom-sheet__withTransition_1ht9j","scrollableContainer":"bottom-sheet__scrollableContainer_1ht9j","marker":"bottom-sheet__marker_1ht9j","defaultMarker":"bottom-sheet__defaultMarker_1ht9j","content":"bottom-sheet__content_1ht9j","noHeader":"bottom-sheet__noHeader_1ht9j","noFooter":"bottom-sheet__noFooter_1ht9j","scrollLocked":"bottom-sheet__scrollLocked_1ht9j","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_1ht9j","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_1ht9j","appear":"bottom-sheet__appear_1ht9j","enter":"bottom-sheet__enter_1ht9j","appearActive":"bottom-sheet__appearActive_1ht9j","enterActive":"bottom-sheet__enterActive_1ht9j","enterDone":"bottom-sheet__enterDone_1ht9j","appearDone":"bottom-sheet__appearDone_1ht9j","exit":"bottom-sheet__exit_1ht9j","exitActive":"bottom-sheet__exitActive_1ht9j","background-accent":"bottom-sheet__background-accent_1ht9j","background-info":"bottom-sheet__background-info_1ht9j","background-attention-muted":"bottom-sheet__background-attention-muted_1ht9j","background-positive-muted":"bottom-sheet__background-positive-muted_1ht9j","background-negative-muted":"bottom-sheet__background-negative-muted_1ht9j","background-primary":"bottom-sheet__background-primary_1ht9j","background-primary-inverted":"bottom-sheet__background-primary-inverted_1ht9j","background-secondary":"bottom-sheet__background-secondary_1ht9j","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_1ht9j","background-tertiary":"bottom-sheet__background-tertiary_1ht9j","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_1ht9j","background-quaternary":"bottom-sheet__background-quaternary_1ht9j","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_1ht9j","background-specialbg-component":"bottom-sheet__background-specialbg-component_1ht9j","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_1ht9j","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_1ht9j","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_1ht9j","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_1ht9j","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_1ht9j","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_1ht9j","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_1ht9j","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_1ht9j"};
|
|
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_rs7x8","sticky":"bottom-sheet__sticky_rs7x8","highlighted":"bottom-sheet__highlighted_rs7x8","background-accent":"bottom-sheet__background-accent_rs7x8","background-info":"bottom-sheet__background-info_rs7x8","background-attention-muted":"bottom-sheet__background-attention-muted_rs7x8","background-positive-muted":"bottom-sheet__background-positive-muted_rs7x8","background-negative-muted":"bottom-sheet__background-negative-muted_rs7x8","background-primary":"bottom-sheet__background-primary_rs7x8","background-primary-inverted":"bottom-sheet__background-primary-inverted_rs7x8","background-secondary":"bottom-sheet__background-secondary_rs7x8","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_rs7x8","background-tertiary":"bottom-sheet__background-tertiary_rs7x8","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_rs7x8","background-quaternary":"bottom-sheet__background-quaternary_rs7x8","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_rs7x8","background-specialbg-component":"bottom-sheet__background-specialbg-component_rs7x8","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_rs7x8","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_rs7x8","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_rs7x8","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_rs7x8","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_rs7x8","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_rs7x8","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_rs7x8","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_rs7x8"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
var Footer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1vbdf */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -45,58 +45,58 @@
|
|
|
45
45
|
/* footer */
|
|
46
46
|
--bottom-sheet-footer-border-top: 1px solid var(--color-light-border-secondary);
|
|
47
47
|
--bottom-sheet-footer-background-color: var(--color-light-bg-primary);
|
|
48
|
-
} .bottom-
|
|
48
|
+
} .bottom-sheet__footer_rs7x8 {
|
|
49
49
|
padding: var(--gap-m) var(--gap-m);
|
|
50
50
|
background-color: var(--color-light-bg-primary);
|
|
51
|
-
} .bottom-
|
|
51
|
+
} .bottom-sheet__sticky_rs7x8 {
|
|
52
52
|
position: sticky;
|
|
53
53
|
bottom: 0;
|
|
54
54
|
z-index: 1;
|
|
55
|
-
} .bottom-
|
|
55
|
+
} .bottom-sheet__highlighted_rs7x8 {
|
|
56
56
|
border-top: var(--bottom-sheet-footer-border-top);
|
|
57
57
|
background-color: var(--bottom-sheet-footer-background-color);
|
|
58
|
-
} .bottom-sheet__background-
|
|
58
|
+
} .bottom-sheet__background-accent_rs7x8 {
|
|
59
59
|
background-color: var(--color-light-bg-accent);
|
|
60
|
-
} .bottom-sheet__background-
|
|
60
|
+
} .bottom-sheet__background-info_rs7x8 {
|
|
61
61
|
background-color: var(--color-light-bg-info);
|
|
62
|
-
} .bottom-sheet__background-attention-
|
|
62
|
+
} .bottom-sheet__background-attention-muted_rs7x8 {
|
|
63
63
|
background-color: var(--color-light-bg-attention-muted);
|
|
64
|
-
} .bottom-sheet__background-positive-
|
|
64
|
+
} .bottom-sheet__background-positive-muted_rs7x8 {
|
|
65
65
|
background-color: var(--color-light-bg-positive-muted);
|
|
66
|
-
} .bottom-sheet__background-negative-
|
|
66
|
+
} .bottom-sheet__background-negative-muted_rs7x8 {
|
|
67
67
|
background-color: var(--color-light-bg-negative-muted);
|
|
68
|
-
} .bottom-sheet__background-
|
|
68
|
+
} .bottom-sheet__background-primary_rs7x8 {
|
|
69
69
|
background-color: var(--color-light-bg-primary);
|
|
70
|
-
} .bottom-sheet__background-primary-
|
|
70
|
+
} .bottom-sheet__background-primary-inverted_rs7x8 {
|
|
71
71
|
background-color: var(--color-light-bg-primary-inverted);
|
|
72
|
-
} .bottom-sheet__background-
|
|
72
|
+
} .bottom-sheet__background-secondary_rs7x8 {
|
|
73
73
|
background-color: var(--color-light-bg-secondary);
|
|
74
|
-
} .bottom-sheet__background-secondary-
|
|
74
|
+
} .bottom-sheet__background-secondary-inverted_rs7x8 {
|
|
75
75
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
76
|
-
} .bottom-sheet__background-
|
|
76
|
+
} .bottom-sheet__background-tertiary_rs7x8 {
|
|
77
77
|
background-color: var(--color-light-bg-tertiary);
|
|
78
|
-
} .bottom-sheet__background-tertiary-
|
|
78
|
+
} .bottom-sheet__background-tertiary-inverted_rs7x8 {
|
|
79
79
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
80
|
-
} .bottom-sheet__background-
|
|
80
|
+
} .bottom-sheet__background-quaternary_rs7x8 {
|
|
81
81
|
background-color: var(--color-light-bg-quaternary);
|
|
82
|
-
} .bottom-sheet__background-quaternary-
|
|
82
|
+
} .bottom-sheet__background-quaternary-inverted_rs7x8 {
|
|
83
83
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
84
|
-
} .bottom-sheet__background-specialbg-
|
|
84
|
+
} .bottom-sheet__background-specialbg-component_rs7x8 {
|
|
85
85
|
background-color: var(--color-light-specialbg-component);
|
|
86
|
-
} .bottom-sheet__background-specialbg-component-
|
|
86
|
+
} .bottom-sheet__background-specialbg-component-inverted_rs7x8 {
|
|
87
87
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
88
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
88
|
+
} .bottom-sheet__background-specialbg-primary-grouped_rs7x8 {
|
|
89
89
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
90
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
90
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_rs7x8 {
|
|
91
91
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
92
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
92
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_rs7x8 {
|
|
93
93
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
94
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
94
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_rs7x8 {
|
|
95
95
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
96
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
96
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_rs7x8 {
|
|
97
97
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
98
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
98
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_rs7x8 {
|
|
99
99
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
100
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
100
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_rs7x8 {
|
|
101
101
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
102
102
|
}
|
|
@@ -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_2fck9","hasContent":"bottom-sheet__hasContent_2fck9","header":"bottom-sheet__header_2fck9","sticky":"bottom-sheet__sticky_2fck9","highlighted":"bottom-sheet__highlighted_2fck9","justifyEnd":"bottom-sheet__justifyEnd_2fck9","addon":"bottom-sheet__addon_2fck9","addonFixed":"bottom-sheet__addonFixed_2fck9","title":"bottom-sheet__title_2fck9","titleCenter":"bottom-sheet__titleCenter_2fck9","titleLeft":"bottom-sheet__titleLeft_2fck9","trimTitle":"bottom-sheet__trimTitle_2fck9"};
|
|
17
17
|
require('./index.css')
|
|
18
18
|
|
|
19
19
|
var Header = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1r1gt */
|
|
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 */
|
|
@@ -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_2fck9 {
|
|
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_2fck9 {
|
|
39
39
|
background-color: inherit;
|
|
40
|
-
} .bottom-
|
|
40
|
+
} .bottom-sheet__header_2fck9 {
|
|
41
41
|
display: flex;
|
|
42
|
-
} .bottom-
|
|
42
|
+
} .bottom-sheet__sticky_2fck9 {
|
|
43
43
|
position: sticky;
|
|
44
44
|
top: 0;
|
|
45
|
-
} .bottom-
|
|
45
|
+
} .bottom-sheet__highlighted_2fck9 {
|
|
46
46
|
border-bottom: var(--bottom-sheet-header-border-bottom);
|
|
47
|
-
} .bottom-
|
|
47
|
+
} .bottom-sheet__justifyEnd_2fck9 {
|
|
48
48
|
justify-content: flex-end;
|
|
49
|
-
} .bottom-
|
|
49
|
+
} .bottom-sheet__addon_2fck9 {
|
|
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_2fck9 {
|
|
56
56
|
position: fixed;
|
|
57
|
-
} .bottom-
|
|
57
|
+
} .bottom-sheet__title_2fck9 {
|
|
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_2fck9 {
|
|
65
65
|
text-align: center;
|
|
66
|
-
} .bottom-
|
|
66
|
+
} .bottom-sheet__titleLeft_2fck9 {
|
|
67
67
|
text-align: left;
|
|
68
|
-
} .bottom-
|
|
68
|
+
} .bottom-sheet__trimTitle_2fck9 {
|
|
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_1ht9j","wrapper":"bottom-sheet__wrapper_1ht9j","fullscreen":"bottom-sheet__fullscreen_1ht9j","component":"bottom-sheet__component_1ht9j","withTransition":"bottom-sheet__withTransition_1ht9j","scrollableContainer":"bottom-sheet__scrollableContainer_1ht9j","marker":"bottom-sheet__marker_1ht9j","defaultMarker":"bottom-sheet__defaultMarker_1ht9j","content":"bottom-sheet__content_1ht9j","noHeader":"bottom-sheet__noHeader_1ht9j","noFooter":"bottom-sheet__noFooter_1ht9j","scrollLocked":"bottom-sheet__scrollLocked_1ht9j","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_1ht9j","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_1ht9j","appear":"bottom-sheet__appear_1ht9j","enter":"bottom-sheet__enter_1ht9j","appearActive":"bottom-sheet__appearActive_1ht9j","enterActive":"bottom-sheet__enterActive_1ht9j","enterDone":"bottom-sheet__enterDone_1ht9j","appearDone":"bottom-sheet__appearDone_1ht9j","exit":"bottom-sheet__exit_1ht9j","exitActive":"bottom-sheet__exitActive_1ht9j","background-accent":"bottom-sheet__background-accent_1ht9j","background-info":"bottom-sheet__background-info_1ht9j","background-attention-muted":"bottom-sheet__background-attention-muted_1ht9j","background-positive-muted":"bottom-sheet__background-positive-muted_1ht9j","background-negative-muted":"bottom-sheet__background-negative-muted_1ht9j","background-primary":"bottom-sheet__background-primary_1ht9j","background-primary-inverted":"bottom-sheet__background-primary-inverted_1ht9j","background-secondary":"bottom-sheet__background-secondary_1ht9j","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_1ht9j","background-tertiary":"bottom-sheet__background-tertiary_1ht9j","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_1ht9j","background-quaternary":"bottom-sheet__background-quaternary_1ht9j","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_1ht9j","background-specialbg-component":"bottom-sheet__background-specialbg-component_1ht9j","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_1ht9j","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_1ht9j","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_1ht9j","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_1ht9j","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_1ht9j","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_1ht9j","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_1ht9j","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_1ht9j"};
|
|
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_rs7x8","sticky":"bottom-sheet__sticky_rs7x8","highlighted":"bottom-sheet__highlighted_rs7x8","background-accent":"bottom-sheet__background-accent_rs7x8","background-info":"bottom-sheet__background-info_rs7x8","background-attention-muted":"bottom-sheet__background-attention-muted_rs7x8","background-positive-muted":"bottom-sheet__background-positive-muted_rs7x8","background-negative-muted":"bottom-sheet__background-negative-muted_rs7x8","background-primary":"bottom-sheet__background-primary_rs7x8","background-primary-inverted":"bottom-sheet__background-primary-inverted_rs7x8","background-secondary":"bottom-sheet__background-secondary_rs7x8","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_rs7x8","background-tertiary":"bottom-sheet__background-tertiary_rs7x8","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_rs7x8","background-quaternary":"bottom-sheet__background-quaternary_rs7x8","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_rs7x8","background-specialbg-component":"bottom-sheet__background-specialbg-component_rs7x8","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_rs7x8","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_rs7x8","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_rs7x8","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_rs7x8","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_rs7x8","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_rs7x8","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_rs7x8","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_rs7x8"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var Footer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1vbdf */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -45,58 +45,58 @@
|
|
|
45
45
|
/* footer */
|
|
46
46
|
--bottom-sheet-footer-border-top: 1px solid var(--color-light-border-secondary);
|
|
47
47
|
--bottom-sheet-footer-background-color: var(--color-light-bg-primary);
|
|
48
|
-
} .bottom-
|
|
48
|
+
} .bottom-sheet__footer_rs7x8 {
|
|
49
49
|
padding: var(--gap-m) var(--gap-m);
|
|
50
50
|
background-color: var(--color-light-bg-primary);
|
|
51
|
-
} .bottom-
|
|
51
|
+
} .bottom-sheet__sticky_rs7x8 {
|
|
52
52
|
position: sticky;
|
|
53
53
|
bottom: 0;
|
|
54
54
|
z-index: 1;
|
|
55
|
-
} .bottom-
|
|
55
|
+
} .bottom-sheet__highlighted_rs7x8 {
|
|
56
56
|
border-top: var(--bottom-sheet-footer-border-top);
|
|
57
57
|
background-color: var(--bottom-sheet-footer-background-color);
|
|
58
|
-
} .bottom-sheet__background-
|
|
58
|
+
} .bottom-sheet__background-accent_rs7x8 {
|
|
59
59
|
background-color: var(--color-light-bg-accent);
|
|
60
|
-
} .bottom-sheet__background-
|
|
60
|
+
} .bottom-sheet__background-info_rs7x8 {
|
|
61
61
|
background-color: var(--color-light-bg-info);
|
|
62
|
-
} .bottom-sheet__background-attention-
|
|
62
|
+
} .bottom-sheet__background-attention-muted_rs7x8 {
|
|
63
63
|
background-color: var(--color-light-bg-attention-muted);
|
|
64
|
-
} .bottom-sheet__background-positive-
|
|
64
|
+
} .bottom-sheet__background-positive-muted_rs7x8 {
|
|
65
65
|
background-color: var(--color-light-bg-positive-muted);
|
|
66
|
-
} .bottom-sheet__background-negative-
|
|
66
|
+
} .bottom-sheet__background-negative-muted_rs7x8 {
|
|
67
67
|
background-color: var(--color-light-bg-negative-muted);
|
|
68
|
-
} .bottom-sheet__background-
|
|
68
|
+
} .bottom-sheet__background-primary_rs7x8 {
|
|
69
69
|
background-color: var(--color-light-bg-primary);
|
|
70
|
-
} .bottom-sheet__background-primary-
|
|
70
|
+
} .bottom-sheet__background-primary-inverted_rs7x8 {
|
|
71
71
|
background-color: var(--color-light-bg-primary-inverted);
|
|
72
|
-
} .bottom-sheet__background-
|
|
72
|
+
} .bottom-sheet__background-secondary_rs7x8 {
|
|
73
73
|
background-color: var(--color-light-bg-secondary);
|
|
74
|
-
} .bottom-sheet__background-secondary-
|
|
74
|
+
} .bottom-sheet__background-secondary-inverted_rs7x8 {
|
|
75
75
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
76
|
-
} .bottom-sheet__background-
|
|
76
|
+
} .bottom-sheet__background-tertiary_rs7x8 {
|
|
77
77
|
background-color: var(--color-light-bg-tertiary);
|
|
78
|
-
} .bottom-sheet__background-tertiary-
|
|
78
|
+
} .bottom-sheet__background-tertiary-inverted_rs7x8 {
|
|
79
79
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
80
|
-
} .bottom-sheet__background-
|
|
80
|
+
} .bottom-sheet__background-quaternary_rs7x8 {
|
|
81
81
|
background-color: var(--color-light-bg-quaternary);
|
|
82
|
-
} .bottom-sheet__background-quaternary-
|
|
82
|
+
} .bottom-sheet__background-quaternary-inverted_rs7x8 {
|
|
83
83
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
84
|
-
} .bottom-sheet__background-specialbg-
|
|
84
|
+
} .bottom-sheet__background-specialbg-component_rs7x8 {
|
|
85
85
|
background-color: var(--color-light-specialbg-component);
|
|
86
|
-
} .bottom-sheet__background-specialbg-component-
|
|
86
|
+
} .bottom-sheet__background-specialbg-component-inverted_rs7x8 {
|
|
87
87
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
88
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
88
|
+
} .bottom-sheet__background-specialbg-primary-grouped_rs7x8 {
|
|
89
89
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
90
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
90
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_rs7x8 {
|
|
91
91
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
92
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
92
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_rs7x8 {
|
|
93
93
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
94
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
94
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_rs7x8 {
|
|
95
95
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
96
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
96
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_rs7x8 {
|
|
97
97
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
98
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
98
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_rs7x8 {
|
|
99
99
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
100
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
100
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_rs7x8 {
|
|
101
101
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
102
102
|
}
|
|
@@ -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_2fck9","hasContent":"bottom-sheet__hasContent_2fck9","header":"bottom-sheet__header_2fck9","sticky":"bottom-sheet__sticky_2fck9","highlighted":"bottom-sheet__highlighted_2fck9","justifyEnd":"bottom-sheet__justifyEnd_2fck9","addon":"bottom-sheet__addon_2fck9","addonFixed":"bottom-sheet__addonFixed_2fck9","title":"bottom-sheet__title_2fck9","titleCenter":"bottom-sheet__titleCenter_2fck9","titleLeft":"bottom-sheet__titleLeft_2fck9","trimTitle":"bottom-sheet__trimTitle_2fck9"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
var Header = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1r1gt */
|
|
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 */
|
|
@@ -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_2fck9 {
|
|
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_2fck9 {
|
|
39
39
|
background-color: inherit;
|
|
40
|
-
} .bottom-
|
|
40
|
+
} .bottom-sheet__header_2fck9 {
|
|
41
41
|
display: flex;
|
|
42
|
-
} .bottom-
|
|
42
|
+
} .bottom-sheet__sticky_2fck9 {
|
|
43
43
|
position: sticky;
|
|
44
44
|
top: 0;
|
|
45
|
-
} .bottom-
|
|
45
|
+
} .bottom-sheet__highlighted_2fck9 {
|
|
46
46
|
border-bottom: var(--bottom-sheet-header-border-bottom);
|
|
47
|
-
} .bottom-
|
|
47
|
+
} .bottom-sheet__justifyEnd_2fck9 {
|
|
48
48
|
justify-content: flex-end;
|
|
49
|
-
} .bottom-
|
|
49
|
+
} .bottom-sheet__addon_2fck9 {
|
|
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_2fck9 {
|
|
56
56
|
position: fixed;
|
|
57
|
-
} .bottom-
|
|
57
|
+
} .bottom-sheet__title_2fck9 {
|
|
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_2fck9 {
|
|
65
65
|
text-align: center;
|
|
66
|
-
} .bottom-
|
|
66
|
+
} .bottom-sheet__titleLeft_2fck9 {
|
|
67
67
|
text-align: left;
|
|
68
|
-
} .bottom-
|
|
68
|
+
} .bottom-sheet__trimTitle_2fck9 {
|
|
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: rx6nz */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
/* header */
|
|
52
52
|
|
|
53
53
|
/* footer */
|
|
54
|
-
} .bottom-
|
|
54
|
+
} .bottom-sheet__modal_1ht9j {
|
|
55
55
|
background-color: transparent;
|
|
56
56
|
position: fixed;
|
|
57
57
|
bottom: 0;
|
|
@@ -59,16 +59,16 @@
|
|
|
59
59
|
max-width: 600px;
|
|
60
60
|
pointer-events: none;
|
|
61
61
|
touch-action: none;
|
|
62
|
-
} .bottom-
|
|
62
|
+
} .bottom-sheet__wrapper_1ht9j {
|
|
63
63
|
transform: translateY(100%);
|
|
64
64
|
pointer-events: none;
|
|
65
65
|
touch-action: none;
|
|
66
66
|
border-top-right-radius: var(--bottom-sheet-top-radius);
|
|
67
67
|
border-top-left-radius: var(--bottom-sheet-top-radius);
|
|
68
68
|
transition: border-radius 0.3s ease;
|
|
69
|
-
} .bottom-
|
|
69
|
+
} .bottom-sheet__fullscreen_1ht9j {
|
|
70
70
|
border-radius: 0;
|
|
71
|
-
} .bottom-
|
|
71
|
+
} .bottom-sheet__component_1ht9j {
|
|
72
72
|
position: relative;
|
|
73
73
|
display: flex;
|
|
74
74
|
flex-direction: column;
|
|
@@ -76,9 +76,9 @@
|
|
|
76
76
|
background-color: var(--color-light-bg-primary);
|
|
77
77
|
pointer-events: all;
|
|
78
78
|
box-shadow: var(--bottom-sheet-shadow);
|
|
79
|
-
} .bottom-
|
|
79
|
+
} .bottom-sheet__withTransition_1ht9j {
|
|
80
80
|
transition: var(--bottom-sheet-out-transition);
|
|
81
|
-
} .bottom-
|
|
81
|
+
} .bottom-sheet__scrollableContainer_1ht9j {
|
|
82
82
|
overflow: auto;
|
|
83
83
|
display: flex;
|
|
84
84
|
flex-direction: column;
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
background-color: inherit;
|
|
88
88
|
border-radius: inherit;
|
|
89
89
|
overscroll-behavior: contain;
|
|
90
|
-
} .bottom-
|
|
90
|
+
} .bottom-sheet__marker_1ht9j {
|
|
91
91
|
position: fixed;
|
|
92
92
|
top: var(--gap-2xs);
|
|
93
93
|
right: 0;
|
|
@@ -95,11 +95,11 @@
|
|
|
95
95
|
z-index: 1000;
|
|
96
96
|
width: 36px;
|
|
97
97
|
margin: 0 auto;
|
|
98
|
-
} .bottom-
|
|
98
|
+
} .bottom-sheet__defaultMarker_1ht9j {
|
|
99
99
|
height: 4px;
|
|
100
100
|
border-radius: var(--border-radius-xxl);
|
|
101
101
|
background-color: var(--color-light-graphic-quaternary);
|
|
102
|
-
} .bottom-
|
|
102
|
+
} .bottom-sheet__content_1ht9j {
|
|
103
103
|
position: relative;
|
|
104
104
|
z-index: 0;
|
|
105
105
|
display: flex;
|
|
@@ -109,73 +109,73 @@
|
|
|
109
109
|
color: var(--color-light-text-primary);
|
|
110
110
|
background-color: inherit;
|
|
111
111
|
border-radius: inherit;
|
|
112
|
-
} .bottom-
|
|
112
|
+
} .bottom-sheet__noHeader_1ht9j {
|
|
113
113
|
padding-top: var(--gap-m);
|
|
114
|
-
} .bottom-
|
|
114
|
+
} .bottom-sheet__noFooter_1ht9j {
|
|
115
115
|
padding-bottom: var(--gap-m);
|
|
116
|
-
} .bottom-
|
|
116
|
+
} .bottom-sheet__scrollLocked_1ht9j {
|
|
117
117
|
overflow: hidden;
|
|
118
|
-
} .bottom-
|
|
118
|
+
} .bottom-sheet__hiddenScrollbar_1ht9j {
|
|
119
119
|
scrollbar-width: none
|
|
120
|
-
} .bottom-
|
|
120
|
+
} .bottom-sheet__hiddenScrollbar_1ht9j::-webkit-scrollbar {
|
|
121
121
|
width: 0;
|
|
122
122
|
height: 0;
|
|
123
|
-
} .bottom-
|
|
123
|
+
} .bottom-sheet__disabledPointerEvents_1ht9j {
|
|
124
124
|
pointer-events: none;
|
|
125
|
-
} .bottom-
|
|
125
|
+
} .bottom-sheet__appear_1ht9j .bottom-sheet__wrapper_1ht9j, .bottom-sheet__enter_1ht9j .bottom-sheet__wrapper_1ht9j {
|
|
126
126
|
transition: none;
|
|
127
|
-
} .bottom-
|
|
127
|
+
} .bottom-sheet__appearActive_1ht9j .bottom-sheet__wrapper_1ht9j, .bottom-sheet__enterActive_1ht9j .bottom-sheet__wrapper_1ht9j {
|
|
128
128
|
transition: var(--bottom-sheet-in-transition);
|
|
129
129
|
transform: translateY(0);
|
|
130
|
-
} .bottom-
|
|
130
|
+
} .bottom-sheet__enterDone_1ht9j .bottom-sheet__wrapper_1ht9j, .bottom-sheet__appearDone_1ht9j .bottom-sheet__wrapper_1ht9j {
|
|
131
131
|
transform: translateY(0);
|
|
132
|
-
} .bottom-
|
|
132
|
+
} .bottom-sheet__exit_1ht9j .bottom-sheet__wrapper_1ht9j {
|
|
133
133
|
transform: translateY(0);
|
|
134
|
-
} .bottom-
|
|
134
|
+
} .bottom-sheet__exitActive_1ht9j .bottom-sheet__wrapper_1ht9j {
|
|
135
135
|
transition: var(--bottom-sheet-out-transition);
|
|
136
136
|
transform: translateY(100%);
|
|
137
|
-
} .bottom-sheet__background-
|
|
137
|
+
} .bottom-sheet__background-accent_1ht9j {
|
|
138
138
|
background-color: var(--color-light-bg-accent);
|
|
139
|
-
} .bottom-sheet__background-
|
|
139
|
+
} .bottom-sheet__background-info_1ht9j {
|
|
140
140
|
background-color: var(--color-light-bg-info);
|
|
141
|
-
} .bottom-sheet__background-attention-
|
|
141
|
+
} .bottom-sheet__background-attention-muted_1ht9j {
|
|
142
142
|
background-color: var(--color-light-bg-attention-muted);
|
|
143
|
-
} .bottom-sheet__background-positive-
|
|
143
|
+
} .bottom-sheet__background-positive-muted_1ht9j {
|
|
144
144
|
background-color: var(--color-light-bg-positive-muted);
|
|
145
|
-
} .bottom-sheet__background-negative-
|
|
145
|
+
} .bottom-sheet__background-negative-muted_1ht9j {
|
|
146
146
|
background-color: var(--color-light-bg-negative-muted);
|
|
147
|
-
} .bottom-sheet__background-
|
|
147
|
+
} .bottom-sheet__background-primary_1ht9j {
|
|
148
148
|
background-color: var(--color-light-bg-primary);
|
|
149
|
-
} .bottom-sheet__background-primary-
|
|
149
|
+
} .bottom-sheet__background-primary-inverted_1ht9j {
|
|
150
150
|
background-color: var(--color-light-bg-primary-inverted);
|
|
151
|
-
} .bottom-sheet__background-
|
|
151
|
+
} .bottom-sheet__background-secondary_1ht9j {
|
|
152
152
|
background-color: var(--color-light-bg-secondary);
|
|
153
|
-
} .bottom-sheet__background-secondary-
|
|
153
|
+
} .bottom-sheet__background-secondary-inverted_1ht9j {
|
|
154
154
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
155
|
-
} .bottom-sheet__background-
|
|
155
|
+
} .bottom-sheet__background-tertiary_1ht9j {
|
|
156
156
|
background-color: var(--color-light-bg-tertiary);
|
|
157
|
-
} .bottom-sheet__background-tertiary-
|
|
157
|
+
} .bottom-sheet__background-tertiary-inverted_1ht9j {
|
|
158
158
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
159
|
-
} .bottom-sheet__background-
|
|
159
|
+
} .bottom-sheet__background-quaternary_1ht9j {
|
|
160
160
|
background-color: var(--color-light-bg-quaternary);
|
|
161
|
-
} .bottom-sheet__background-quaternary-
|
|
161
|
+
} .bottom-sheet__background-quaternary-inverted_1ht9j {
|
|
162
162
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
163
|
-
} .bottom-sheet__background-specialbg-
|
|
163
|
+
} .bottom-sheet__background-specialbg-component_1ht9j {
|
|
164
164
|
background-color: var(--color-light-specialbg-component);
|
|
165
|
-
} .bottom-sheet__background-specialbg-component-
|
|
165
|
+
} .bottom-sheet__background-specialbg-component-inverted_1ht9j {
|
|
166
166
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
167
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
167
|
+
} .bottom-sheet__background-specialbg-primary-grouped_1ht9j {
|
|
168
168
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
169
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
169
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_1ht9j {
|
|
170
170
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
171
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
171
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_1ht9j {
|
|
172
172
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
173
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
173
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_1ht9j {
|
|
174
174
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
175
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
175
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_1ht9j {
|
|
176
176
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
177
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
177
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_1ht9j {
|
|
178
178
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
179
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
179
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_1ht9j {
|
|
180
180
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
181
181
|
}
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: rx6nz */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
/* header */
|
|
52
52
|
|
|
53
53
|
/* footer */
|
|
54
|
-
} .bottom-
|
|
54
|
+
} .bottom-sheet__modal_1ht9j {
|
|
55
55
|
background-color: transparent;
|
|
56
56
|
position: fixed;
|
|
57
57
|
bottom: 0;
|
|
@@ -59,16 +59,16 @@
|
|
|
59
59
|
max-width: 600px;
|
|
60
60
|
pointer-events: none;
|
|
61
61
|
touch-action: none;
|
|
62
|
-
} .bottom-
|
|
62
|
+
} .bottom-sheet__wrapper_1ht9j {
|
|
63
63
|
transform: translateY(100%);
|
|
64
64
|
pointer-events: none;
|
|
65
65
|
touch-action: none;
|
|
66
66
|
border-top-right-radius: var(--bottom-sheet-top-radius);
|
|
67
67
|
border-top-left-radius: var(--bottom-sheet-top-radius);
|
|
68
68
|
transition: border-radius 0.3s ease;
|
|
69
|
-
} .bottom-
|
|
69
|
+
} .bottom-sheet__fullscreen_1ht9j {
|
|
70
70
|
border-radius: 0;
|
|
71
|
-
} .bottom-
|
|
71
|
+
} .bottom-sheet__component_1ht9j {
|
|
72
72
|
position: relative;
|
|
73
73
|
display: flex;
|
|
74
74
|
flex-direction: column;
|
|
@@ -76,9 +76,9 @@
|
|
|
76
76
|
background-color: var(--color-light-bg-primary);
|
|
77
77
|
pointer-events: all;
|
|
78
78
|
box-shadow: var(--bottom-sheet-shadow);
|
|
79
|
-
} .bottom-
|
|
79
|
+
} .bottom-sheet__withTransition_1ht9j {
|
|
80
80
|
transition: var(--bottom-sheet-out-transition);
|
|
81
|
-
} .bottom-
|
|
81
|
+
} .bottom-sheet__scrollableContainer_1ht9j {
|
|
82
82
|
overflow: auto;
|
|
83
83
|
display: flex;
|
|
84
84
|
flex-direction: column;
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
background-color: inherit;
|
|
88
88
|
border-radius: inherit;
|
|
89
89
|
overscroll-behavior: contain;
|
|
90
|
-
} .bottom-
|
|
90
|
+
} .bottom-sheet__marker_1ht9j {
|
|
91
91
|
position: fixed;
|
|
92
92
|
top: var(--gap-2xs);
|
|
93
93
|
right: 0;
|
|
@@ -95,11 +95,11 @@
|
|
|
95
95
|
z-index: 1000;
|
|
96
96
|
width: 36px;
|
|
97
97
|
margin: 0 auto;
|
|
98
|
-
} .bottom-
|
|
98
|
+
} .bottom-sheet__defaultMarker_1ht9j {
|
|
99
99
|
height: 4px;
|
|
100
100
|
border-radius: var(--border-radius-xxl);
|
|
101
101
|
background-color: var(--color-light-graphic-quaternary);
|
|
102
|
-
} .bottom-
|
|
102
|
+
} .bottom-sheet__content_1ht9j {
|
|
103
103
|
position: relative;
|
|
104
104
|
z-index: 0;
|
|
105
105
|
display: flex;
|
|
@@ -109,73 +109,73 @@
|
|
|
109
109
|
color: var(--color-light-text-primary);
|
|
110
110
|
background-color: inherit;
|
|
111
111
|
border-radius: inherit;
|
|
112
|
-
} .bottom-
|
|
112
|
+
} .bottom-sheet__noHeader_1ht9j {
|
|
113
113
|
padding-top: var(--gap-m);
|
|
114
|
-
} .bottom-
|
|
114
|
+
} .bottom-sheet__noFooter_1ht9j {
|
|
115
115
|
padding-bottom: var(--gap-m);
|
|
116
|
-
} .bottom-
|
|
116
|
+
} .bottom-sheet__scrollLocked_1ht9j {
|
|
117
117
|
overflow: hidden;
|
|
118
|
-
} .bottom-
|
|
118
|
+
} .bottom-sheet__hiddenScrollbar_1ht9j {
|
|
119
119
|
scrollbar-width: none
|
|
120
|
-
} .bottom-
|
|
120
|
+
} .bottom-sheet__hiddenScrollbar_1ht9j::-webkit-scrollbar {
|
|
121
121
|
width: 0;
|
|
122
122
|
height: 0;
|
|
123
|
-
} .bottom-
|
|
123
|
+
} .bottom-sheet__disabledPointerEvents_1ht9j {
|
|
124
124
|
pointer-events: none;
|
|
125
|
-
} .bottom-
|
|
125
|
+
} .bottom-sheet__appear_1ht9j .bottom-sheet__wrapper_1ht9j, .bottom-sheet__enter_1ht9j .bottom-sheet__wrapper_1ht9j {
|
|
126
126
|
transition: none;
|
|
127
|
-
} .bottom-
|
|
127
|
+
} .bottom-sheet__appearActive_1ht9j .bottom-sheet__wrapper_1ht9j, .bottom-sheet__enterActive_1ht9j .bottom-sheet__wrapper_1ht9j {
|
|
128
128
|
transition: var(--bottom-sheet-in-transition);
|
|
129
129
|
transform: translateY(0);
|
|
130
|
-
} .bottom-
|
|
130
|
+
} .bottom-sheet__enterDone_1ht9j .bottom-sheet__wrapper_1ht9j, .bottom-sheet__appearDone_1ht9j .bottom-sheet__wrapper_1ht9j {
|
|
131
131
|
transform: translateY(0);
|
|
132
|
-
} .bottom-
|
|
132
|
+
} .bottom-sheet__exit_1ht9j .bottom-sheet__wrapper_1ht9j {
|
|
133
133
|
transform: translateY(0);
|
|
134
|
-
} .bottom-
|
|
134
|
+
} .bottom-sheet__exitActive_1ht9j .bottom-sheet__wrapper_1ht9j {
|
|
135
135
|
transition: var(--bottom-sheet-out-transition);
|
|
136
136
|
transform: translateY(100%);
|
|
137
|
-
} .bottom-sheet__background-
|
|
137
|
+
} .bottom-sheet__background-accent_1ht9j {
|
|
138
138
|
background-color: var(--color-light-bg-accent);
|
|
139
|
-
} .bottom-sheet__background-
|
|
139
|
+
} .bottom-sheet__background-info_1ht9j {
|
|
140
140
|
background-color: var(--color-light-bg-info);
|
|
141
|
-
} .bottom-sheet__background-attention-
|
|
141
|
+
} .bottom-sheet__background-attention-muted_1ht9j {
|
|
142
142
|
background-color: var(--color-light-bg-attention-muted);
|
|
143
|
-
} .bottom-sheet__background-positive-
|
|
143
|
+
} .bottom-sheet__background-positive-muted_1ht9j {
|
|
144
144
|
background-color: var(--color-light-bg-positive-muted);
|
|
145
|
-
} .bottom-sheet__background-negative-
|
|
145
|
+
} .bottom-sheet__background-negative-muted_1ht9j {
|
|
146
146
|
background-color: var(--color-light-bg-negative-muted);
|
|
147
|
-
} .bottom-sheet__background-
|
|
147
|
+
} .bottom-sheet__background-primary_1ht9j {
|
|
148
148
|
background-color: var(--color-light-bg-primary);
|
|
149
|
-
} .bottom-sheet__background-primary-
|
|
149
|
+
} .bottom-sheet__background-primary-inverted_1ht9j {
|
|
150
150
|
background-color: var(--color-light-bg-primary-inverted);
|
|
151
|
-
} .bottom-sheet__background-
|
|
151
|
+
} .bottom-sheet__background-secondary_1ht9j {
|
|
152
152
|
background-color: var(--color-light-bg-secondary);
|
|
153
|
-
} .bottom-sheet__background-secondary-
|
|
153
|
+
} .bottom-sheet__background-secondary-inverted_1ht9j {
|
|
154
154
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
155
|
-
} .bottom-sheet__background-
|
|
155
|
+
} .bottom-sheet__background-tertiary_1ht9j {
|
|
156
156
|
background-color: var(--color-light-bg-tertiary);
|
|
157
|
-
} .bottom-sheet__background-tertiary-
|
|
157
|
+
} .bottom-sheet__background-tertiary-inverted_1ht9j {
|
|
158
158
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
159
|
-
} .bottom-sheet__background-
|
|
159
|
+
} .bottom-sheet__background-quaternary_1ht9j {
|
|
160
160
|
background-color: var(--color-light-bg-quaternary);
|
|
161
|
-
} .bottom-sheet__background-quaternary-
|
|
161
|
+
} .bottom-sheet__background-quaternary-inverted_1ht9j {
|
|
162
162
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
163
|
-
} .bottom-sheet__background-specialbg-
|
|
163
|
+
} .bottom-sheet__background-specialbg-component_1ht9j {
|
|
164
164
|
background-color: var(--color-light-specialbg-component);
|
|
165
|
-
} .bottom-sheet__background-specialbg-component-
|
|
165
|
+
} .bottom-sheet__background-specialbg-component-inverted_1ht9j {
|
|
166
166
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
167
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
167
|
+
} .bottom-sheet__background-specialbg-primary-grouped_1ht9j {
|
|
168
168
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
169
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
169
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_1ht9j {
|
|
170
170
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
171
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
171
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_1ht9j {
|
|
172
172
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
173
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
173
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_1ht9j {
|
|
174
174
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
175
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
175
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_1ht9j {
|
|
176
176
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
177
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
177
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_1ht9j {
|
|
178
178
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
179
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
179
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_1ht9j {
|
|
180
180
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
181
181
|
}
|
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_1ht9j","wrapper":"bottom-sheet__wrapper_1ht9j","fullscreen":"bottom-sheet__fullscreen_1ht9j","component":"bottom-sheet__component_1ht9j","withTransition":"bottom-sheet__withTransition_1ht9j","scrollableContainer":"bottom-sheet__scrollableContainer_1ht9j","marker":"bottom-sheet__marker_1ht9j","defaultMarker":"bottom-sheet__defaultMarker_1ht9j","content":"bottom-sheet__content_1ht9j","noHeader":"bottom-sheet__noHeader_1ht9j","noFooter":"bottom-sheet__noFooter_1ht9j","scrollLocked":"bottom-sheet__scrollLocked_1ht9j","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_1ht9j","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_1ht9j","appear":"bottom-sheet__appear_1ht9j","enter":"bottom-sheet__enter_1ht9j","appearActive":"bottom-sheet__appearActive_1ht9j","enterActive":"bottom-sheet__enterActive_1ht9j","enterDone":"bottom-sheet__enterDone_1ht9j","appearDone":"bottom-sheet__appearDone_1ht9j","exit":"bottom-sheet__exit_1ht9j","exitActive":"bottom-sheet__exitActive_1ht9j","background-accent":"bottom-sheet__background-accent_1ht9j","background-info":"bottom-sheet__background-info_1ht9j","background-attention-muted":"bottom-sheet__background-attention-muted_1ht9j","background-positive-muted":"bottom-sheet__background-positive-muted_1ht9j","background-negative-muted":"bottom-sheet__background-negative-muted_1ht9j","background-primary":"bottom-sheet__background-primary_1ht9j","background-primary-inverted":"bottom-sheet__background-primary-inverted_1ht9j","background-secondary":"bottom-sheet__background-secondary_1ht9j","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_1ht9j","background-tertiary":"bottom-sheet__background-tertiary_1ht9j","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_1ht9j","background-quaternary":"bottom-sheet__background-quaternary_1ht9j","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_1ht9j","background-specialbg-component":"bottom-sheet__background-specialbg-component_1ht9j","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_1ht9j","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_1ht9j","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_1ht9j","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_1ht9j","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_1ht9j","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_1ht9j","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_1ht9j","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_1ht9j"};
|
|
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_rs7x8","sticky":"bottom-sheet__sticky_rs7x8","highlighted":"bottom-sheet__highlighted_rs7x8","background-accent":"bottom-sheet__background-accent_rs7x8","background-info":"bottom-sheet__background-info_rs7x8","background-attention-muted":"bottom-sheet__background-attention-muted_rs7x8","background-positive-muted":"bottom-sheet__background-positive-muted_rs7x8","background-negative-muted":"bottom-sheet__background-negative-muted_rs7x8","background-primary":"bottom-sheet__background-primary_rs7x8","background-primary-inverted":"bottom-sheet__background-primary-inverted_rs7x8","background-secondary":"bottom-sheet__background-secondary_rs7x8","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_rs7x8","background-tertiary":"bottom-sheet__background-tertiary_rs7x8","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_rs7x8","background-quaternary":"bottom-sheet__background-quaternary_rs7x8","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_rs7x8","background-specialbg-component":"bottom-sheet__background-specialbg-component_rs7x8","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_rs7x8","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_rs7x8","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_rs7x8","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_rs7x8","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_rs7x8","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_rs7x8","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_rs7x8","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_rs7x8"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Footer = ({ children, className, sticky }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1vbdf */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -45,58 +45,58 @@
|
|
|
45
45
|
/* footer */
|
|
46
46
|
--bottom-sheet-footer-border-top: 1px solid var(--color-light-border-secondary);
|
|
47
47
|
--bottom-sheet-footer-background-color: var(--color-light-bg-primary);
|
|
48
|
-
} .bottom-
|
|
48
|
+
} .bottom-sheet__footer_rs7x8 {
|
|
49
49
|
padding: var(--gap-m) var(--gap-m);
|
|
50
50
|
background-color: var(--color-light-bg-primary);
|
|
51
|
-
} .bottom-
|
|
51
|
+
} .bottom-sheet__sticky_rs7x8 {
|
|
52
52
|
position: sticky;
|
|
53
53
|
bottom: 0;
|
|
54
54
|
z-index: 1;
|
|
55
|
-
} .bottom-
|
|
55
|
+
} .bottom-sheet__highlighted_rs7x8 {
|
|
56
56
|
border-top: var(--bottom-sheet-footer-border-top);
|
|
57
57
|
background-color: var(--bottom-sheet-footer-background-color);
|
|
58
|
-
} .bottom-sheet__background-
|
|
58
|
+
} .bottom-sheet__background-accent_rs7x8 {
|
|
59
59
|
background-color: var(--color-light-bg-accent);
|
|
60
|
-
} .bottom-sheet__background-
|
|
60
|
+
} .bottom-sheet__background-info_rs7x8 {
|
|
61
61
|
background-color: var(--color-light-bg-info);
|
|
62
|
-
} .bottom-sheet__background-attention-
|
|
62
|
+
} .bottom-sheet__background-attention-muted_rs7x8 {
|
|
63
63
|
background-color: var(--color-light-bg-attention-muted);
|
|
64
|
-
} .bottom-sheet__background-positive-
|
|
64
|
+
} .bottom-sheet__background-positive-muted_rs7x8 {
|
|
65
65
|
background-color: var(--color-light-bg-positive-muted);
|
|
66
|
-
} .bottom-sheet__background-negative-
|
|
66
|
+
} .bottom-sheet__background-negative-muted_rs7x8 {
|
|
67
67
|
background-color: var(--color-light-bg-negative-muted);
|
|
68
|
-
} .bottom-sheet__background-
|
|
68
|
+
} .bottom-sheet__background-primary_rs7x8 {
|
|
69
69
|
background-color: var(--color-light-bg-primary);
|
|
70
|
-
} .bottom-sheet__background-primary-
|
|
70
|
+
} .bottom-sheet__background-primary-inverted_rs7x8 {
|
|
71
71
|
background-color: var(--color-light-bg-primary-inverted);
|
|
72
|
-
} .bottom-sheet__background-
|
|
72
|
+
} .bottom-sheet__background-secondary_rs7x8 {
|
|
73
73
|
background-color: var(--color-light-bg-secondary);
|
|
74
|
-
} .bottom-sheet__background-secondary-
|
|
74
|
+
} .bottom-sheet__background-secondary-inverted_rs7x8 {
|
|
75
75
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
76
|
-
} .bottom-sheet__background-
|
|
76
|
+
} .bottom-sheet__background-tertiary_rs7x8 {
|
|
77
77
|
background-color: var(--color-light-bg-tertiary);
|
|
78
|
-
} .bottom-sheet__background-tertiary-
|
|
78
|
+
} .bottom-sheet__background-tertiary-inverted_rs7x8 {
|
|
79
79
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
80
|
-
} .bottom-sheet__background-
|
|
80
|
+
} .bottom-sheet__background-quaternary_rs7x8 {
|
|
81
81
|
background-color: var(--color-light-bg-quaternary);
|
|
82
|
-
} .bottom-sheet__background-quaternary-
|
|
82
|
+
} .bottom-sheet__background-quaternary-inverted_rs7x8 {
|
|
83
83
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
84
|
-
} .bottom-sheet__background-specialbg-
|
|
84
|
+
} .bottom-sheet__background-specialbg-component_rs7x8 {
|
|
85
85
|
background-color: var(--color-light-specialbg-component);
|
|
86
|
-
} .bottom-sheet__background-specialbg-component-
|
|
86
|
+
} .bottom-sheet__background-specialbg-component-inverted_rs7x8 {
|
|
87
87
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
88
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
88
|
+
} .bottom-sheet__background-specialbg-primary-grouped_rs7x8 {
|
|
89
89
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
90
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
90
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_rs7x8 {
|
|
91
91
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
92
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
92
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_rs7x8 {
|
|
93
93
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
94
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
94
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_rs7x8 {
|
|
95
95
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
96
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
96
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_rs7x8 {
|
|
97
97
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
98
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
98
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_rs7x8 {
|
|
99
99
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
100
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
100
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_rs7x8 {
|
|
101
101
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
102
102
|
}
|
|
@@ -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_2fck9","hasContent":"bottom-sheet__hasContent_2fck9","header":"bottom-sheet__header_2fck9","sticky":"bottom-sheet__sticky_2fck9","highlighted":"bottom-sheet__highlighted_2fck9","justifyEnd":"bottom-sheet__justifyEnd_2fck9","addon":"bottom-sheet__addon_2fck9","addonFixed":"bottom-sheet__addonFixed_2fck9","title":"bottom-sheet__title_2fck9","titleCenter":"bottom-sheet__titleCenter_2fck9","titleLeft":"bottom-sheet__titleLeft_2fck9","trimTitle":"bottom-sheet__trimTitle_2fck9"};
|
|
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: 1r1gt */
|
|
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 */
|
|
@@ -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_2fck9 {
|
|
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_2fck9 {
|
|
39
39
|
background-color: inherit;
|
|
40
|
-
} .bottom-
|
|
40
|
+
} .bottom-sheet__header_2fck9 {
|
|
41
41
|
display: flex;
|
|
42
|
-
} .bottom-
|
|
42
|
+
} .bottom-sheet__sticky_2fck9 {
|
|
43
43
|
position: sticky;
|
|
44
44
|
top: 0;
|
|
45
|
-
} .bottom-
|
|
45
|
+
} .bottom-sheet__highlighted_2fck9 {
|
|
46
46
|
border-bottom: var(--bottom-sheet-header-border-bottom);
|
|
47
|
-
} .bottom-
|
|
47
|
+
} .bottom-sheet__justifyEnd_2fck9 {
|
|
48
48
|
justify-content: flex-end;
|
|
49
|
-
} .bottom-
|
|
49
|
+
} .bottom-sheet__addon_2fck9 {
|
|
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_2fck9 {
|
|
56
56
|
position: fixed;
|
|
57
|
-
} .bottom-
|
|
57
|
+
} .bottom-sheet__title_2fck9 {
|
|
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_2fck9 {
|
|
65
65
|
text-align: center;
|
|
66
|
-
} .bottom-
|
|
66
|
+
} .bottom-sheet__titleLeft_2fck9 {
|
|
67
67
|
text-align: left;
|
|
68
|
-
} .bottom-
|
|
68
|
+
} .bottom-sheet__trimTitle_2fck9 {
|
|
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: rx6nz */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
/* header */
|
|
52
52
|
|
|
53
53
|
/* footer */
|
|
54
|
-
} .bottom-
|
|
54
|
+
} .bottom-sheet__modal_1ht9j {
|
|
55
55
|
background-color: transparent;
|
|
56
56
|
position: fixed;
|
|
57
57
|
bottom: 0;
|
|
@@ -59,16 +59,16 @@
|
|
|
59
59
|
max-width: 600px;
|
|
60
60
|
pointer-events: none;
|
|
61
61
|
touch-action: none;
|
|
62
|
-
} .bottom-
|
|
62
|
+
} .bottom-sheet__wrapper_1ht9j {
|
|
63
63
|
transform: translateY(100%);
|
|
64
64
|
pointer-events: none;
|
|
65
65
|
touch-action: none;
|
|
66
66
|
border-top-right-radius: var(--bottom-sheet-top-radius);
|
|
67
67
|
border-top-left-radius: var(--bottom-sheet-top-radius);
|
|
68
68
|
transition: border-radius 0.3s ease;
|
|
69
|
-
} .bottom-
|
|
69
|
+
} .bottom-sheet__fullscreen_1ht9j {
|
|
70
70
|
border-radius: 0;
|
|
71
|
-
} .bottom-
|
|
71
|
+
} .bottom-sheet__component_1ht9j {
|
|
72
72
|
position: relative;
|
|
73
73
|
display: flex;
|
|
74
74
|
flex-direction: column;
|
|
@@ -76,9 +76,9 @@
|
|
|
76
76
|
background-color: var(--color-light-bg-primary);
|
|
77
77
|
pointer-events: all;
|
|
78
78
|
box-shadow: var(--bottom-sheet-shadow);
|
|
79
|
-
} .bottom-
|
|
79
|
+
} .bottom-sheet__withTransition_1ht9j {
|
|
80
80
|
transition: var(--bottom-sheet-out-transition);
|
|
81
|
-
} .bottom-
|
|
81
|
+
} .bottom-sheet__scrollableContainer_1ht9j {
|
|
82
82
|
overflow: auto;
|
|
83
83
|
display: flex;
|
|
84
84
|
flex-direction: column;
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
background-color: inherit;
|
|
88
88
|
border-radius: inherit;
|
|
89
89
|
overscroll-behavior: contain;
|
|
90
|
-
} .bottom-
|
|
90
|
+
} .bottom-sheet__marker_1ht9j {
|
|
91
91
|
position: fixed;
|
|
92
92
|
top: var(--gap-2xs);
|
|
93
93
|
right: 0;
|
|
@@ -95,11 +95,11 @@
|
|
|
95
95
|
z-index: 1000;
|
|
96
96
|
width: 36px;
|
|
97
97
|
margin: 0 auto;
|
|
98
|
-
} .bottom-
|
|
98
|
+
} .bottom-sheet__defaultMarker_1ht9j {
|
|
99
99
|
height: 4px;
|
|
100
100
|
border-radius: var(--border-radius-xxl);
|
|
101
101
|
background-color: var(--color-light-graphic-quaternary);
|
|
102
|
-
} .bottom-
|
|
102
|
+
} .bottom-sheet__content_1ht9j {
|
|
103
103
|
position: relative;
|
|
104
104
|
z-index: 0;
|
|
105
105
|
display: flex;
|
|
@@ -109,73 +109,73 @@
|
|
|
109
109
|
color: var(--color-light-text-primary);
|
|
110
110
|
background-color: inherit;
|
|
111
111
|
border-radius: inherit;
|
|
112
|
-
} .bottom-
|
|
112
|
+
} .bottom-sheet__noHeader_1ht9j {
|
|
113
113
|
padding-top: var(--gap-m);
|
|
114
|
-
} .bottom-
|
|
114
|
+
} .bottom-sheet__noFooter_1ht9j {
|
|
115
115
|
padding-bottom: var(--gap-m);
|
|
116
|
-
} .bottom-
|
|
116
|
+
} .bottom-sheet__scrollLocked_1ht9j {
|
|
117
117
|
overflow: hidden;
|
|
118
|
-
} .bottom-
|
|
118
|
+
} .bottom-sheet__hiddenScrollbar_1ht9j {
|
|
119
119
|
scrollbar-width: none
|
|
120
|
-
} .bottom-
|
|
120
|
+
} .bottom-sheet__hiddenScrollbar_1ht9j::-webkit-scrollbar {
|
|
121
121
|
width: 0;
|
|
122
122
|
height: 0;
|
|
123
|
-
} .bottom-
|
|
123
|
+
} .bottom-sheet__disabledPointerEvents_1ht9j {
|
|
124
124
|
pointer-events: none;
|
|
125
|
-
} .bottom-
|
|
125
|
+
} .bottom-sheet__appear_1ht9j .bottom-sheet__wrapper_1ht9j, .bottom-sheet__enter_1ht9j .bottom-sheet__wrapper_1ht9j {
|
|
126
126
|
transition: none;
|
|
127
|
-
} .bottom-
|
|
127
|
+
} .bottom-sheet__appearActive_1ht9j .bottom-sheet__wrapper_1ht9j, .bottom-sheet__enterActive_1ht9j .bottom-sheet__wrapper_1ht9j {
|
|
128
128
|
transition: var(--bottom-sheet-in-transition);
|
|
129
129
|
transform: translateY(0);
|
|
130
|
-
} .bottom-
|
|
130
|
+
} .bottom-sheet__enterDone_1ht9j .bottom-sheet__wrapper_1ht9j, .bottom-sheet__appearDone_1ht9j .bottom-sheet__wrapper_1ht9j {
|
|
131
131
|
transform: translateY(0);
|
|
132
|
-
} .bottom-
|
|
132
|
+
} .bottom-sheet__exit_1ht9j .bottom-sheet__wrapper_1ht9j {
|
|
133
133
|
transform: translateY(0);
|
|
134
|
-
} .bottom-
|
|
134
|
+
} .bottom-sheet__exitActive_1ht9j .bottom-sheet__wrapper_1ht9j {
|
|
135
135
|
transition: var(--bottom-sheet-out-transition);
|
|
136
136
|
transform: translateY(100%);
|
|
137
|
-
} .bottom-sheet__background-
|
|
137
|
+
} .bottom-sheet__background-accent_1ht9j {
|
|
138
138
|
background-color: var(--color-light-bg-accent);
|
|
139
|
-
} .bottom-sheet__background-
|
|
139
|
+
} .bottom-sheet__background-info_1ht9j {
|
|
140
140
|
background-color: var(--color-light-bg-info);
|
|
141
|
-
} .bottom-sheet__background-attention-
|
|
141
|
+
} .bottom-sheet__background-attention-muted_1ht9j {
|
|
142
142
|
background-color: var(--color-light-bg-attention-muted);
|
|
143
|
-
} .bottom-sheet__background-positive-
|
|
143
|
+
} .bottom-sheet__background-positive-muted_1ht9j {
|
|
144
144
|
background-color: var(--color-light-bg-positive-muted);
|
|
145
|
-
} .bottom-sheet__background-negative-
|
|
145
|
+
} .bottom-sheet__background-negative-muted_1ht9j {
|
|
146
146
|
background-color: var(--color-light-bg-negative-muted);
|
|
147
|
-
} .bottom-sheet__background-
|
|
147
|
+
} .bottom-sheet__background-primary_1ht9j {
|
|
148
148
|
background-color: var(--color-light-bg-primary);
|
|
149
|
-
} .bottom-sheet__background-primary-
|
|
149
|
+
} .bottom-sheet__background-primary-inverted_1ht9j {
|
|
150
150
|
background-color: var(--color-light-bg-primary-inverted);
|
|
151
|
-
} .bottom-sheet__background-
|
|
151
|
+
} .bottom-sheet__background-secondary_1ht9j {
|
|
152
152
|
background-color: var(--color-light-bg-secondary);
|
|
153
|
-
} .bottom-sheet__background-secondary-
|
|
153
|
+
} .bottom-sheet__background-secondary-inverted_1ht9j {
|
|
154
154
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
155
|
-
} .bottom-sheet__background-
|
|
155
|
+
} .bottom-sheet__background-tertiary_1ht9j {
|
|
156
156
|
background-color: var(--color-light-bg-tertiary);
|
|
157
|
-
} .bottom-sheet__background-tertiary-
|
|
157
|
+
} .bottom-sheet__background-tertiary-inverted_1ht9j {
|
|
158
158
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
159
|
-
} .bottom-sheet__background-
|
|
159
|
+
} .bottom-sheet__background-quaternary_1ht9j {
|
|
160
160
|
background-color: var(--color-light-bg-quaternary);
|
|
161
|
-
} .bottom-sheet__background-quaternary-
|
|
161
|
+
} .bottom-sheet__background-quaternary-inverted_1ht9j {
|
|
162
162
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
163
|
-
} .bottom-sheet__background-specialbg-
|
|
163
|
+
} .bottom-sheet__background-specialbg-component_1ht9j {
|
|
164
164
|
background-color: var(--color-light-specialbg-component);
|
|
165
|
-
} .bottom-sheet__background-specialbg-component-
|
|
165
|
+
} .bottom-sheet__background-specialbg-component-inverted_1ht9j {
|
|
166
166
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
167
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
167
|
+
} .bottom-sheet__background-specialbg-primary-grouped_1ht9j {
|
|
168
168
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
169
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
169
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_1ht9j {
|
|
170
170
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
171
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
171
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_1ht9j {
|
|
172
172
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
173
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
173
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_1ht9j {
|
|
174
174
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
175
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
175
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_1ht9j {
|
|
176
176
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
177
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
177
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_1ht9j {
|
|
178
178
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
179
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
179
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_1ht9j {
|
|
180
180
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
181
181
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-bottom-sheet",
|
|
3
|
-
"version": "6.11.
|
|
3
|
+
"version": "6.11.3",
|
|
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.1.0",
|
|
19
|
-
"@alfalab/core-components-base-modal": "^5.
|
|
20
|
-
"@alfalab/core-components-navigation-bar": "^0.5.
|
|
21
|
-
"@alfalab/core-components-shared": "^0.
|
|
19
|
+
"@alfalab/core-components-base-modal": "^5.5.0",
|
|
20
|
+
"@alfalab/core-components-navigation-bar": "^0.5.9",
|
|
21
|
+
"@alfalab/core-components-shared": "^0.7.0",
|
|
22
22
|
"classnames": "^2.3.1",
|
|
23
23
|
"react-div-100vh": "^0.7.0",
|
|
24
24
|
"react-merge-refs": "^1.1.0",
|