@alfalab/core-components-bottom-sheet 6.9.0 → 6.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/component.js +1 -1
- package/components/footer/Component.js +1 -1
- package/components/footer/index.css +26 -26
- package/components/header/Component.js +1 -1
- package/components/header/index.css +13 -13
- package/esm/component.js +1 -1
- package/esm/components/footer/Component.js +1 -1
- package/esm/components/footer/index.css +26 -26
- package/esm/components/header/Component.js +1 -1
- package/esm/components/header/index.css +13 -13
- package/esm/index.css +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 +3 -3
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_t885f","wrapper":"bottom-sheet__wrapper_t885f","fullscreen":"bottom-sheet__fullscreen_t885f","component":"bottom-sheet__component_t885f","withTransition":"bottom-sheet__withTransition_t885f","scrollableContainer":"bottom-sheet__scrollableContainer_t885f","marker":"bottom-sheet__marker_t885f","defaultMarker":"bottom-sheet__defaultMarker_t885f","content":"bottom-sheet__content_t885f","noHeader":"bottom-sheet__noHeader_t885f","noFooter":"bottom-sheet__noFooter_t885f","scrollLocked":"bottom-sheet__scrollLocked_t885f","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_t885f","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_t885f","appear":"bottom-sheet__appear_t885f","enter":"bottom-sheet__enter_t885f","appearActive":"bottom-sheet__appearActive_t885f","enterActive":"bottom-sheet__enterActive_t885f","enterDone":"bottom-sheet__enterDone_t885f","appearDone":"bottom-sheet__appearDone_t885f","exit":"bottom-sheet__exit_t885f","exitActive":"bottom-sheet__exitActive_t885f","background-accent":"bottom-sheet__background-accent_t885f","background-info":"bottom-sheet__background-info_t885f","background-attention-muted":"bottom-sheet__background-attention-muted_t885f","background-positive-muted":"bottom-sheet__background-positive-muted_t885f","background-negative-muted":"bottom-sheet__background-negative-muted_t885f","background-primary":"bottom-sheet__background-primary_t885f","background-primary-inverted":"bottom-sheet__background-primary-inverted_t885f","background-secondary":"bottom-sheet__background-secondary_t885f","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_t885f","background-tertiary":"bottom-sheet__background-tertiary_t885f","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_t885f","background-quaternary":"bottom-sheet__background-quaternary_t885f","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_t885f","background-specialbg-component":"bottom-sheet__background-specialbg-component_t885f","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_t885f","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_t885f","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_t885f","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_t885f","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_t885f","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_t885f","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_t885f","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_t885f"};
|
|
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_1pca6","sticky":"bottom-sheet__sticky_1pca6","highlighted":"bottom-sheet__highlighted_1pca6","background-accent":"bottom-sheet__background-accent_1pca6","background-info":"bottom-sheet__background-info_1pca6","background-attention-muted":"bottom-sheet__background-attention-muted_1pca6","background-positive-muted":"bottom-sheet__background-positive-muted_1pca6","background-negative-muted":"bottom-sheet__background-negative-muted_1pca6","background-primary":"bottom-sheet__background-primary_1pca6","background-primary-inverted":"bottom-sheet__background-primary-inverted_1pca6","background-secondary":"bottom-sheet__background-secondary_1pca6","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_1pca6","background-tertiary":"bottom-sheet__background-tertiary_1pca6","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_1pca6","background-quaternary":"bottom-sheet__background-quaternary_1pca6","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_1pca6","background-specialbg-component":"bottom-sheet__background-specialbg-component_1pca6","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_1pca6","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_1pca6","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_1pca6","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_1pca6","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_1pca6","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_1pca6","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_1pca6","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_1pca6"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
var Footer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: piiay */
|
|
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_1pca6 {
|
|
45
45
|
padding: var(--gap-m) var(--gap-m);
|
|
46
46
|
background-color: var(--color-light-bg-primary);
|
|
47
|
-
} .bottom-
|
|
47
|
+
} .bottom-sheet__sticky_1pca6 {
|
|
48
48
|
position: sticky;
|
|
49
49
|
bottom: 0;
|
|
50
50
|
z-index: 1;
|
|
51
|
-
} .bottom-
|
|
51
|
+
} .bottom-sheet__highlighted_1pca6 {
|
|
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_1pca6 {
|
|
55
55
|
background-color: var(--color-light-bg-accent);
|
|
56
|
-
} .bottom-sheet__background-
|
|
56
|
+
} .bottom-sheet__background-info_1pca6 {
|
|
57
57
|
background-color: var(--color-light-bg-info);
|
|
58
|
-
} .bottom-sheet__background-attention-
|
|
58
|
+
} .bottom-sheet__background-attention-muted_1pca6 {
|
|
59
59
|
background-color: var(--color-light-bg-attention-muted);
|
|
60
|
-
} .bottom-sheet__background-positive-
|
|
60
|
+
} .bottom-sheet__background-positive-muted_1pca6 {
|
|
61
61
|
background-color: var(--color-light-bg-positive-muted);
|
|
62
|
-
} .bottom-sheet__background-negative-
|
|
62
|
+
} .bottom-sheet__background-negative-muted_1pca6 {
|
|
63
63
|
background-color: var(--color-light-bg-negative-muted);
|
|
64
|
-
} .bottom-sheet__background-
|
|
64
|
+
} .bottom-sheet__background-primary_1pca6 {
|
|
65
65
|
background-color: var(--color-light-bg-primary);
|
|
66
|
-
} .bottom-sheet__background-primary-
|
|
66
|
+
} .bottom-sheet__background-primary-inverted_1pca6 {
|
|
67
67
|
background-color: var(--color-light-bg-primary-inverted);
|
|
68
|
-
} .bottom-sheet__background-
|
|
68
|
+
} .bottom-sheet__background-secondary_1pca6 {
|
|
69
69
|
background-color: var(--color-light-bg-secondary);
|
|
70
|
-
} .bottom-sheet__background-secondary-
|
|
70
|
+
} .bottom-sheet__background-secondary-inverted_1pca6 {
|
|
71
71
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
72
|
-
} .bottom-sheet__background-
|
|
72
|
+
} .bottom-sheet__background-tertiary_1pca6 {
|
|
73
73
|
background-color: var(--color-light-bg-tertiary);
|
|
74
|
-
} .bottom-sheet__background-tertiary-
|
|
74
|
+
} .bottom-sheet__background-tertiary-inverted_1pca6 {
|
|
75
75
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
76
|
-
} .bottom-sheet__background-
|
|
76
|
+
} .bottom-sheet__background-quaternary_1pca6 {
|
|
77
77
|
background-color: var(--color-light-bg-quaternary);
|
|
78
|
-
} .bottom-sheet__background-quaternary-
|
|
78
|
+
} .bottom-sheet__background-quaternary-inverted_1pca6 {
|
|
79
79
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
80
|
-
} .bottom-sheet__background-specialbg-
|
|
80
|
+
} .bottom-sheet__background-specialbg-component_1pca6 {
|
|
81
81
|
background-color: var(--color-light-specialbg-component);
|
|
82
|
-
} .bottom-sheet__background-specialbg-component-
|
|
82
|
+
} .bottom-sheet__background-specialbg-component-inverted_1pca6 {
|
|
83
83
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
84
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
84
|
+
} .bottom-sheet__background-specialbg-primary-grouped_1pca6 {
|
|
85
85
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
86
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
86
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_1pca6 {
|
|
87
87
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
88
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
88
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_1pca6 {
|
|
89
89
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
90
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
90
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_1pca6 {
|
|
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_1pca6 {
|
|
93
93
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
94
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
94
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_1pca6 {
|
|
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_1pca6 {
|
|
97
97
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
98
98
|
}
|
|
@@ -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_9u9n9","hasContent":"bottom-sheet__hasContent_9u9n9","header":"bottom-sheet__header_9u9n9","sticky":"bottom-sheet__sticky_9u9n9","highlighted":"bottom-sheet__highlighted_9u9n9","justifyEnd":"bottom-sheet__justifyEnd_9u9n9","addon":"bottom-sheet__addon_9u9n9","addonFixed":"bottom-sheet__addonFixed_9u9n9","title":"bottom-sheet__title_9u9n9","titleCenter":"bottom-sheet__titleCenter_9u9n9","titleLeft":"bottom-sheet__titleLeft_9u9n9","trimTitle":"bottom-sheet__trimTitle_9u9n9"};
|
|
17
17
|
require('./index.css')
|
|
18
18
|
|
|
19
19
|
var Header = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1jt3v */
|
|
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_9u9n9 {
|
|
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_9u9n9 {
|
|
36
36
|
background-color: inherit;
|
|
37
|
-
} .bottom-
|
|
37
|
+
} .bottom-sheet__header_9u9n9 {
|
|
38
38
|
display: flex;
|
|
39
|
-
} .bottom-
|
|
39
|
+
} .bottom-sheet__sticky_9u9n9 {
|
|
40
40
|
position: sticky;
|
|
41
41
|
top: 0;
|
|
42
|
-
} .bottom-
|
|
42
|
+
} .bottom-sheet__highlighted_9u9n9 {
|
|
43
43
|
border-bottom: var(--bottom-sheet-header-border-bottom);
|
|
44
|
-
} .bottom-
|
|
44
|
+
} .bottom-sheet__justifyEnd_9u9n9 {
|
|
45
45
|
justify-content: flex-end;
|
|
46
|
-
} .bottom-
|
|
46
|
+
} .bottom-sheet__addon_9u9n9 {
|
|
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_9u9n9 {
|
|
53
53
|
position: fixed;
|
|
54
|
-
} .bottom-
|
|
54
|
+
} .bottom-sheet__title_9u9n9 {
|
|
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_9u9n9 {
|
|
62
62
|
text-align: center;
|
|
63
|
-
} .bottom-
|
|
63
|
+
} .bottom-sheet__titleLeft_9u9n9 {
|
|
64
64
|
text-align: left;
|
|
65
|
-
} .bottom-
|
|
65
|
+
} .bottom-sheet__trimTitle_9u9n9 {
|
|
66
66
|
white-space: nowrap;
|
|
67
67
|
overflow: hidden;
|
|
68
68
|
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_t885f","wrapper":"bottom-sheet__wrapper_t885f","fullscreen":"bottom-sheet__fullscreen_t885f","component":"bottom-sheet__component_t885f","withTransition":"bottom-sheet__withTransition_t885f","scrollableContainer":"bottom-sheet__scrollableContainer_t885f","marker":"bottom-sheet__marker_t885f","defaultMarker":"bottom-sheet__defaultMarker_t885f","content":"bottom-sheet__content_t885f","noHeader":"bottom-sheet__noHeader_t885f","noFooter":"bottom-sheet__noFooter_t885f","scrollLocked":"bottom-sheet__scrollLocked_t885f","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_t885f","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_t885f","appear":"bottom-sheet__appear_t885f","enter":"bottom-sheet__enter_t885f","appearActive":"bottom-sheet__appearActive_t885f","enterActive":"bottom-sheet__enterActive_t885f","enterDone":"bottom-sheet__enterDone_t885f","appearDone":"bottom-sheet__appearDone_t885f","exit":"bottom-sheet__exit_t885f","exitActive":"bottom-sheet__exitActive_t885f","background-accent":"bottom-sheet__background-accent_t885f","background-info":"bottom-sheet__background-info_t885f","background-attention-muted":"bottom-sheet__background-attention-muted_t885f","background-positive-muted":"bottom-sheet__background-positive-muted_t885f","background-negative-muted":"bottom-sheet__background-negative-muted_t885f","background-primary":"bottom-sheet__background-primary_t885f","background-primary-inverted":"bottom-sheet__background-primary-inverted_t885f","background-secondary":"bottom-sheet__background-secondary_t885f","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_t885f","background-tertiary":"bottom-sheet__background-tertiary_t885f","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_t885f","background-quaternary":"bottom-sheet__background-quaternary_t885f","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_t885f","background-specialbg-component":"bottom-sheet__background-specialbg-component_t885f","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_t885f","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_t885f","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_t885f","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_t885f","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_t885f","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_t885f","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_t885f","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_t885f"};
|
|
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_1pca6","sticky":"bottom-sheet__sticky_1pca6","highlighted":"bottom-sheet__highlighted_1pca6","background-accent":"bottom-sheet__background-accent_1pca6","background-info":"bottom-sheet__background-info_1pca6","background-attention-muted":"bottom-sheet__background-attention-muted_1pca6","background-positive-muted":"bottom-sheet__background-positive-muted_1pca6","background-negative-muted":"bottom-sheet__background-negative-muted_1pca6","background-primary":"bottom-sheet__background-primary_1pca6","background-primary-inverted":"bottom-sheet__background-primary-inverted_1pca6","background-secondary":"bottom-sheet__background-secondary_1pca6","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_1pca6","background-tertiary":"bottom-sheet__background-tertiary_1pca6","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_1pca6","background-quaternary":"bottom-sheet__background-quaternary_1pca6","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_1pca6","background-specialbg-component":"bottom-sheet__background-specialbg-component_1pca6","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_1pca6","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_1pca6","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_1pca6","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_1pca6","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_1pca6","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_1pca6","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_1pca6","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_1pca6"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var Footer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: piiay */
|
|
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_1pca6 {
|
|
45
45
|
padding: var(--gap-m) var(--gap-m);
|
|
46
46
|
background-color: var(--color-light-bg-primary);
|
|
47
|
-
} .bottom-
|
|
47
|
+
} .bottom-sheet__sticky_1pca6 {
|
|
48
48
|
position: sticky;
|
|
49
49
|
bottom: 0;
|
|
50
50
|
z-index: 1;
|
|
51
|
-
} .bottom-
|
|
51
|
+
} .bottom-sheet__highlighted_1pca6 {
|
|
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_1pca6 {
|
|
55
55
|
background-color: var(--color-light-bg-accent);
|
|
56
|
-
} .bottom-sheet__background-
|
|
56
|
+
} .bottom-sheet__background-info_1pca6 {
|
|
57
57
|
background-color: var(--color-light-bg-info);
|
|
58
|
-
} .bottom-sheet__background-attention-
|
|
58
|
+
} .bottom-sheet__background-attention-muted_1pca6 {
|
|
59
59
|
background-color: var(--color-light-bg-attention-muted);
|
|
60
|
-
} .bottom-sheet__background-positive-
|
|
60
|
+
} .bottom-sheet__background-positive-muted_1pca6 {
|
|
61
61
|
background-color: var(--color-light-bg-positive-muted);
|
|
62
|
-
} .bottom-sheet__background-negative-
|
|
62
|
+
} .bottom-sheet__background-negative-muted_1pca6 {
|
|
63
63
|
background-color: var(--color-light-bg-negative-muted);
|
|
64
|
-
} .bottom-sheet__background-
|
|
64
|
+
} .bottom-sheet__background-primary_1pca6 {
|
|
65
65
|
background-color: var(--color-light-bg-primary);
|
|
66
|
-
} .bottom-sheet__background-primary-
|
|
66
|
+
} .bottom-sheet__background-primary-inverted_1pca6 {
|
|
67
67
|
background-color: var(--color-light-bg-primary-inverted);
|
|
68
|
-
} .bottom-sheet__background-
|
|
68
|
+
} .bottom-sheet__background-secondary_1pca6 {
|
|
69
69
|
background-color: var(--color-light-bg-secondary);
|
|
70
|
-
} .bottom-sheet__background-secondary-
|
|
70
|
+
} .bottom-sheet__background-secondary-inverted_1pca6 {
|
|
71
71
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
72
|
-
} .bottom-sheet__background-
|
|
72
|
+
} .bottom-sheet__background-tertiary_1pca6 {
|
|
73
73
|
background-color: var(--color-light-bg-tertiary);
|
|
74
|
-
} .bottom-sheet__background-tertiary-
|
|
74
|
+
} .bottom-sheet__background-tertiary-inverted_1pca6 {
|
|
75
75
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
76
|
-
} .bottom-sheet__background-
|
|
76
|
+
} .bottom-sheet__background-quaternary_1pca6 {
|
|
77
77
|
background-color: var(--color-light-bg-quaternary);
|
|
78
|
-
} .bottom-sheet__background-quaternary-
|
|
78
|
+
} .bottom-sheet__background-quaternary-inverted_1pca6 {
|
|
79
79
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
80
|
-
} .bottom-sheet__background-specialbg-
|
|
80
|
+
} .bottom-sheet__background-specialbg-component_1pca6 {
|
|
81
81
|
background-color: var(--color-light-specialbg-component);
|
|
82
|
-
} .bottom-sheet__background-specialbg-component-
|
|
82
|
+
} .bottom-sheet__background-specialbg-component-inverted_1pca6 {
|
|
83
83
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
84
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
84
|
+
} .bottom-sheet__background-specialbg-primary-grouped_1pca6 {
|
|
85
85
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
86
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
86
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_1pca6 {
|
|
87
87
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
88
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
88
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_1pca6 {
|
|
89
89
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
90
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
90
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_1pca6 {
|
|
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_1pca6 {
|
|
93
93
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
94
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
94
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_1pca6 {
|
|
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_1pca6 {
|
|
97
97
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
98
98
|
}
|
|
@@ -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_9u9n9","hasContent":"bottom-sheet__hasContent_9u9n9","header":"bottom-sheet__header_9u9n9","sticky":"bottom-sheet__sticky_9u9n9","highlighted":"bottom-sheet__highlighted_9u9n9","justifyEnd":"bottom-sheet__justifyEnd_9u9n9","addon":"bottom-sheet__addon_9u9n9","addonFixed":"bottom-sheet__addonFixed_9u9n9","title":"bottom-sheet__title_9u9n9","titleCenter":"bottom-sheet__titleCenter_9u9n9","titleLeft":"bottom-sheet__titleLeft_9u9n9","trimTitle":"bottom-sheet__trimTitle_9u9n9"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
var Header = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1jt3v */
|
|
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_9u9n9 {
|
|
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_9u9n9 {
|
|
36
36
|
background-color: inherit;
|
|
37
|
-
} .bottom-
|
|
37
|
+
} .bottom-sheet__header_9u9n9 {
|
|
38
38
|
display: flex;
|
|
39
|
-
} .bottom-
|
|
39
|
+
} .bottom-sheet__sticky_9u9n9 {
|
|
40
40
|
position: sticky;
|
|
41
41
|
top: 0;
|
|
42
|
-
} .bottom-
|
|
42
|
+
} .bottom-sheet__highlighted_9u9n9 {
|
|
43
43
|
border-bottom: var(--bottom-sheet-header-border-bottom);
|
|
44
|
-
} .bottom-
|
|
44
|
+
} .bottom-sheet__justifyEnd_9u9n9 {
|
|
45
45
|
justify-content: flex-end;
|
|
46
|
-
} .bottom-
|
|
46
|
+
} .bottom-sheet__addon_9u9n9 {
|
|
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_9u9n9 {
|
|
53
53
|
position: fixed;
|
|
54
|
-
} .bottom-
|
|
54
|
+
} .bottom-sheet__title_9u9n9 {
|
|
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_9u9n9 {
|
|
62
62
|
text-align: center;
|
|
63
|
-
} .bottom-
|
|
63
|
+
} .bottom-sheet__titleLeft_9u9n9 {
|
|
64
64
|
text-align: left;
|
|
65
|
-
} .bottom-
|
|
65
|
+
} .bottom-sheet__trimTitle_9u9n9 {
|
|
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: kxowe */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -45,31 +45,31 @@
|
|
|
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_t885f {
|
|
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_t885f {
|
|
56
56
|
transform: translateY(100%);
|
|
57
57
|
pointer-events: none;
|
|
58
58
|
border-top-right-radius: var(--border-radius-xl);
|
|
59
59
|
border-top-left-radius: var(--border-radius-xl);
|
|
60
60
|
transition: border-radius 0.3s ease;
|
|
61
|
-
} .bottom-
|
|
61
|
+
} .bottom-sheet__fullscreen_t885f {
|
|
62
62
|
border-radius: 0;
|
|
63
|
-
} .bottom-
|
|
63
|
+
} .bottom-sheet__component_t885f {
|
|
64
64
|
position: relative;
|
|
65
65
|
display: flex;
|
|
66
66
|
flex-direction: column;
|
|
67
67
|
border-radius: inherit;
|
|
68
68
|
background-color: var(--color-light-bg-primary);
|
|
69
69
|
pointer-events: all;
|
|
70
|
-
} .bottom-
|
|
70
|
+
} .bottom-sheet__withTransition_t885f {
|
|
71
71
|
transition: var(--bottom-sheet-out-transition);
|
|
72
|
-
} .bottom-
|
|
72
|
+
} .bottom-sheet__scrollableContainer_t885f {
|
|
73
73
|
overflow: auto;
|
|
74
74
|
display: flex;
|
|
75
75
|
flex-direction: column;
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
height: 100%;
|
|
78
78
|
background-color: inherit;
|
|
79
79
|
border-radius: inherit;
|
|
80
|
-
} .bottom-
|
|
80
|
+
} .bottom-sheet__marker_t885f {
|
|
81
81
|
position: fixed;
|
|
82
82
|
top: var(--gap-2xs);
|
|
83
83
|
right: 0;
|
|
@@ -85,11 +85,11 @@
|
|
|
85
85
|
z-index: 1000;
|
|
86
86
|
width: 36px;
|
|
87
87
|
margin: 0 auto;
|
|
88
|
-
} .bottom-
|
|
88
|
+
} .bottom-sheet__defaultMarker_t885f {
|
|
89
89
|
height: 4px;
|
|
90
90
|
border-radius: var(--border-radius-xxl);
|
|
91
91
|
background-color: var(--color-light-graphic-quaternary);
|
|
92
|
-
} .bottom-
|
|
92
|
+
} .bottom-sheet__content_t885f {
|
|
93
93
|
position: relative;
|
|
94
94
|
z-index: 0;
|
|
95
95
|
display: flex;
|
|
@@ -98,73 +98,73 @@
|
|
|
98
98
|
padding: 0 var(--gap-m);
|
|
99
99
|
color: var(--color-light-text-primary);
|
|
100
100
|
background-color: inherit;
|
|
101
|
-
} .bottom-
|
|
101
|
+
} .bottom-sheet__noHeader_t885f {
|
|
102
102
|
padding-top: var(--gap-m);
|
|
103
|
-
} .bottom-
|
|
103
|
+
} .bottom-sheet__noFooter_t885f {
|
|
104
104
|
padding-bottom: var(--gap-m);
|
|
105
|
-
} .bottom-
|
|
105
|
+
} .bottom-sheet__scrollLocked_t885f {
|
|
106
106
|
overflow: hidden;
|
|
107
|
-
} .bottom-
|
|
107
|
+
} .bottom-sheet__hiddenScrollbar_t885f {
|
|
108
108
|
scrollbar-width: none
|
|
109
|
-
} .bottom-
|
|
109
|
+
} .bottom-sheet__hiddenScrollbar_t885f::-webkit-scrollbar {
|
|
110
110
|
width: 0;
|
|
111
111
|
height: 0;
|
|
112
|
-
} .bottom-
|
|
112
|
+
} .bottom-sheet__disabledPointerEvents_t885f {
|
|
113
113
|
pointer-events: none;
|
|
114
|
-
} .bottom-
|
|
114
|
+
} .bottom-sheet__appear_t885f .bottom-sheet__wrapper_t885f, .bottom-sheet__enter_t885f .bottom-sheet__wrapper_t885f {
|
|
115
115
|
transition: none;
|
|
116
|
-
} .bottom-
|
|
116
|
+
} .bottom-sheet__appearActive_t885f .bottom-sheet__wrapper_t885f, .bottom-sheet__enterActive_t885f .bottom-sheet__wrapper_t885f {
|
|
117
117
|
transition: var(--bottom-sheet-in-transition);
|
|
118
118
|
transform: translateY(0);
|
|
119
|
-
} .bottom-
|
|
119
|
+
} .bottom-sheet__enterDone_t885f .bottom-sheet__wrapper_t885f, .bottom-sheet__appearDone_t885f .bottom-sheet__wrapper_t885f {
|
|
120
120
|
transform: translateY(0);
|
|
121
|
-
} .bottom-
|
|
121
|
+
} .bottom-sheet__exit_t885f .bottom-sheet__wrapper_t885f {
|
|
122
122
|
transform: translateY(0);
|
|
123
|
-
} .bottom-
|
|
123
|
+
} .bottom-sheet__exitActive_t885f .bottom-sheet__wrapper_t885f {
|
|
124
124
|
transition: var(--bottom-sheet-out-transition);
|
|
125
125
|
transform: translateY(100%);
|
|
126
|
-
} .bottom-sheet__background-
|
|
126
|
+
} .bottom-sheet__background-accent_t885f {
|
|
127
127
|
background-color: var(--color-light-bg-accent);
|
|
128
|
-
} .bottom-sheet__background-
|
|
128
|
+
} .bottom-sheet__background-info_t885f {
|
|
129
129
|
background-color: var(--color-light-bg-info);
|
|
130
|
-
} .bottom-sheet__background-attention-
|
|
130
|
+
} .bottom-sheet__background-attention-muted_t885f {
|
|
131
131
|
background-color: var(--color-light-bg-attention-muted);
|
|
132
|
-
} .bottom-sheet__background-positive-
|
|
132
|
+
} .bottom-sheet__background-positive-muted_t885f {
|
|
133
133
|
background-color: var(--color-light-bg-positive-muted);
|
|
134
|
-
} .bottom-sheet__background-negative-
|
|
134
|
+
} .bottom-sheet__background-negative-muted_t885f {
|
|
135
135
|
background-color: var(--color-light-bg-negative-muted);
|
|
136
|
-
} .bottom-sheet__background-
|
|
136
|
+
} .bottom-sheet__background-primary_t885f {
|
|
137
137
|
background-color: var(--color-light-bg-primary);
|
|
138
|
-
} .bottom-sheet__background-primary-
|
|
138
|
+
} .bottom-sheet__background-primary-inverted_t885f {
|
|
139
139
|
background-color: var(--color-light-bg-primary-inverted);
|
|
140
|
-
} .bottom-sheet__background-
|
|
140
|
+
} .bottom-sheet__background-secondary_t885f {
|
|
141
141
|
background-color: var(--color-light-bg-secondary);
|
|
142
|
-
} .bottom-sheet__background-secondary-
|
|
142
|
+
} .bottom-sheet__background-secondary-inverted_t885f {
|
|
143
143
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
144
|
-
} .bottom-sheet__background-
|
|
144
|
+
} .bottom-sheet__background-tertiary_t885f {
|
|
145
145
|
background-color: var(--color-light-bg-tertiary);
|
|
146
|
-
} .bottom-sheet__background-tertiary-
|
|
146
|
+
} .bottom-sheet__background-tertiary-inverted_t885f {
|
|
147
147
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
148
|
-
} .bottom-sheet__background-
|
|
148
|
+
} .bottom-sheet__background-quaternary_t885f {
|
|
149
149
|
background-color: var(--color-light-bg-quaternary);
|
|
150
|
-
} .bottom-sheet__background-quaternary-
|
|
150
|
+
} .bottom-sheet__background-quaternary-inverted_t885f {
|
|
151
151
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
152
|
-
} .bottom-sheet__background-specialbg-
|
|
152
|
+
} .bottom-sheet__background-specialbg-component_t885f {
|
|
153
153
|
background-color: var(--color-light-specialbg-component);
|
|
154
|
-
} .bottom-sheet__background-specialbg-component-
|
|
154
|
+
} .bottom-sheet__background-specialbg-component-inverted_t885f {
|
|
155
155
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
156
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
156
|
+
} .bottom-sheet__background-specialbg-primary-grouped_t885f {
|
|
157
157
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
158
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
158
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_t885f {
|
|
159
159
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
160
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
160
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_t885f {
|
|
161
161
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
162
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
162
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_t885f {
|
|
163
163
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
164
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
164
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_t885f {
|
|
165
165
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
166
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
166
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_t885f {
|
|
167
167
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
168
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
168
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_t885f {
|
|
169
169
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
170
170
|
}
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: kxowe */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -45,31 +45,31 @@
|
|
|
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_t885f {
|
|
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_t885f {
|
|
56
56
|
transform: translateY(100%);
|
|
57
57
|
pointer-events: none;
|
|
58
58
|
border-top-right-radius: var(--border-radius-xl);
|
|
59
59
|
border-top-left-radius: var(--border-radius-xl);
|
|
60
60
|
transition: border-radius 0.3s ease;
|
|
61
|
-
} .bottom-
|
|
61
|
+
} .bottom-sheet__fullscreen_t885f {
|
|
62
62
|
border-radius: 0;
|
|
63
|
-
} .bottom-
|
|
63
|
+
} .bottom-sheet__component_t885f {
|
|
64
64
|
position: relative;
|
|
65
65
|
display: flex;
|
|
66
66
|
flex-direction: column;
|
|
67
67
|
border-radius: inherit;
|
|
68
68
|
background-color: var(--color-light-bg-primary);
|
|
69
69
|
pointer-events: all;
|
|
70
|
-
} .bottom-
|
|
70
|
+
} .bottom-sheet__withTransition_t885f {
|
|
71
71
|
transition: var(--bottom-sheet-out-transition);
|
|
72
|
-
} .bottom-
|
|
72
|
+
} .bottom-sheet__scrollableContainer_t885f {
|
|
73
73
|
overflow: auto;
|
|
74
74
|
display: flex;
|
|
75
75
|
flex-direction: column;
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
height: 100%;
|
|
78
78
|
background-color: inherit;
|
|
79
79
|
border-radius: inherit;
|
|
80
|
-
} .bottom-
|
|
80
|
+
} .bottom-sheet__marker_t885f {
|
|
81
81
|
position: fixed;
|
|
82
82
|
top: var(--gap-2xs);
|
|
83
83
|
right: 0;
|
|
@@ -85,11 +85,11 @@
|
|
|
85
85
|
z-index: 1000;
|
|
86
86
|
width: 36px;
|
|
87
87
|
margin: 0 auto;
|
|
88
|
-
} .bottom-
|
|
88
|
+
} .bottom-sheet__defaultMarker_t885f {
|
|
89
89
|
height: 4px;
|
|
90
90
|
border-radius: var(--border-radius-xxl);
|
|
91
91
|
background-color: var(--color-light-graphic-quaternary);
|
|
92
|
-
} .bottom-
|
|
92
|
+
} .bottom-sheet__content_t885f {
|
|
93
93
|
position: relative;
|
|
94
94
|
z-index: 0;
|
|
95
95
|
display: flex;
|
|
@@ -98,73 +98,73 @@
|
|
|
98
98
|
padding: 0 var(--gap-m);
|
|
99
99
|
color: var(--color-light-text-primary);
|
|
100
100
|
background-color: inherit;
|
|
101
|
-
} .bottom-
|
|
101
|
+
} .bottom-sheet__noHeader_t885f {
|
|
102
102
|
padding-top: var(--gap-m);
|
|
103
|
-
} .bottom-
|
|
103
|
+
} .bottom-sheet__noFooter_t885f {
|
|
104
104
|
padding-bottom: var(--gap-m);
|
|
105
|
-
} .bottom-
|
|
105
|
+
} .bottom-sheet__scrollLocked_t885f {
|
|
106
106
|
overflow: hidden;
|
|
107
|
-
} .bottom-
|
|
107
|
+
} .bottom-sheet__hiddenScrollbar_t885f {
|
|
108
108
|
scrollbar-width: none
|
|
109
|
-
} .bottom-
|
|
109
|
+
} .bottom-sheet__hiddenScrollbar_t885f::-webkit-scrollbar {
|
|
110
110
|
width: 0;
|
|
111
111
|
height: 0;
|
|
112
|
-
} .bottom-
|
|
112
|
+
} .bottom-sheet__disabledPointerEvents_t885f {
|
|
113
113
|
pointer-events: none;
|
|
114
|
-
} .bottom-
|
|
114
|
+
} .bottom-sheet__appear_t885f .bottom-sheet__wrapper_t885f, .bottom-sheet__enter_t885f .bottom-sheet__wrapper_t885f {
|
|
115
115
|
transition: none;
|
|
116
|
-
} .bottom-
|
|
116
|
+
} .bottom-sheet__appearActive_t885f .bottom-sheet__wrapper_t885f, .bottom-sheet__enterActive_t885f .bottom-sheet__wrapper_t885f {
|
|
117
117
|
transition: var(--bottom-sheet-in-transition);
|
|
118
118
|
transform: translateY(0);
|
|
119
|
-
} .bottom-
|
|
119
|
+
} .bottom-sheet__enterDone_t885f .bottom-sheet__wrapper_t885f, .bottom-sheet__appearDone_t885f .bottom-sheet__wrapper_t885f {
|
|
120
120
|
transform: translateY(0);
|
|
121
|
-
} .bottom-
|
|
121
|
+
} .bottom-sheet__exit_t885f .bottom-sheet__wrapper_t885f {
|
|
122
122
|
transform: translateY(0);
|
|
123
|
-
} .bottom-
|
|
123
|
+
} .bottom-sheet__exitActive_t885f .bottom-sheet__wrapper_t885f {
|
|
124
124
|
transition: var(--bottom-sheet-out-transition);
|
|
125
125
|
transform: translateY(100%);
|
|
126
|
-
} .bottom-sheet__background-
|
|
126
|
+
} .bottom-sheet__background-accent_t885f {
|
|
127
127
|
background-color: var(--color-light-bg-accent);
|
|
128
|
-
} .bottom-sheet__background-
|
|
128
|
+
} .bottom-sheet__background-info_t885f {
|
|
129
129
|
background-color: var(--color-light-bg-info);
|
|
130
|
-
} .bottom-sheet__background-attention-
|
|
130
|
+
} .bottom-sheet__background-attention-muted_t885f {
|
|
131
131
|
background-color: var(--color-light-bg-attention-muted);
|
|
132
|
-
} .bottom-sheet__background-positive-
|
|
132
|
+
} .bottom-sheet__background-positive-muted_t885f {
|
|
133
133
|
background-color: var(--color-light-bg-positive-muted);
|
|
134
|
-
} .bottom-sheet__background-negative-
|
|
134
|
+
} .bottom-sheet__background-negative-muted_t885f {
|
|
135
135
|
background-color: var(--color-light-bg-negative-muted);
|
|
136
|
-
} .bottom-sheet__background-
|
|
136
|
+
} .bottom-sheet__background-primary_t885f {
|
|
137
137
|
background-color: var(--color-light-bg-primary);
|
|
138
|
-
} .bottom-sheet__background-primary-
|
|
138
|
+
} .bottom-sheet__background-primary-inverted_t885f {
|
|
139
139
|
background-color: var(--color-light-bg-primary-inverted);
|
|
140
|
-
} .bottom-sheet__background-
|
|
140
|
+
} .bottom-sheet__background-secondary_t885f {
|
|
141
141
|
background-color: var(--color-light-bg-secondary);
|
|
142
|
-
} .bottom-sheet__background-secondary-
|
|
142
|
+
} .bottom-sheet__background-secondary-inverted_t885f {
|
|
143
143
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
144
|
-
} .bottom-sheet__background-
|
|
144
|
+
} .bottom-sheet__background-tertiary_t885f {
|
|
145
145
|
background-color: var(--color-light-bg-tertiary);
|
|
146
|
-
} .bottom-sheet__background-tertiary-
|
|
146
|
+
} .bottom-sheet__background-tertiary-inverted_t885f {
|
|
147
147
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
148
|
-
} .bottom-sheet__background-
|
|
148
|
+
} .bottom-sheet__background-quaternary_t885f {
|
|
149
149
|
background-color: var(--color-light-bg-quaternary);
|
|
150
|
-
} .bottom-sheet__background-quaternary-
|
|
150
|
+
} .bottom-sheet__background-quaternary-inverted_t885f {
|
|
151
151
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
152
|
-
} .bottom-sheet__background-specialbg-
|
|
152
|
+
} .bottom-sheet__background-specialbg-component_t885f {
|
|
153
153
|
background-color: var(--color-light-specialbg-component);
|
|
154
|
-
} .bottom-sheet__background-specialbg-component-
|
|
154
|
+
} .bottom-sheet__background-specialbg-component-inverted_t885f {
|
|
155
155
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
156
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
156
|
+
} .bottom-sheet__background-specialbg-primary-grouped_t885f {
|
|
157
157
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
158
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
158
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_t885f {
|
|
159
159
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
160
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
160
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_t885f {
|
|
161
161
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
162
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
162
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_t885f {
|
|
163
163
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
164
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
164
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_t885f {
|
|
165
165
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
166
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
166
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_t885f {
|
|
167
167
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
168
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
168
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_t885f {
|
|
169
169
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
170
170
|
}
|
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_t885f","wrapper":"bottom-sheet__wrapper_t885f","fullscreen":"bottom-sheet__fullscreen_t885f","component":"bottom-sheet__component_t885f","withTransition":"bottom-sheet__withTransition_t885f","scrollableContainer":"bottom-sheet__scrollableContainer_t885f","marker":"bottom-sheet__marker_t885f","defaultMarker":"bottom-sheet__defaultMarker_t885f","content":"bottom-sheet__content_t885f","noHeader":"bottom-sheet__noHeader_t885f","noFooter":"bottom-sheet__noFooter_t885f","scrollLocked":"bottom-sheet__scrollLocked_t885f","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_t885f","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_t885f","appear":"bottom-sheet__appear_t885f","enter":"bottom-sheet__enter_t885f","appearActive":"bottom-sheet__appearActive_t885f","enterActive":"bottom-sheet__enterActive_t885f","enterDone":"bottom-sheet__enterDone_t885f","appearDone":"bottom-sheet__appearDone_t885f","exit":"bottom-sheet__exit_t885f","exitActive":"bottom-sheet__exitActive_t885f","background-accent":"bottom-sheet__background-accent_t885f","background-info":"bottom-sheet__background-info_t885f","background-attention-muted":"bottom-sheet__background-attention-muted_t885f","background-positive-muted":"bottom-sheet__background-positive-muted_t885f","background-negative-muted":"bottom-sheet__background-negative-muted_t885f","background-primary":"bottom-sheet__background-primary_t885f","background-primary-inverted":"bottom-sheet__background-primary-inverted_t885f","background-secondary":"bottom-sheet__background-secondary_t885f","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_t885f","background-tertiary":"bottom-sheet__background-tertiary_t885f","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_t885f","background-quaternary":"bottom-sheet__background-quaternary_t885f","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_t885f","background-specialbg-component":"bottom-sheet__background-specialbg-component_t885f","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_t885f","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_t885f","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_t885f","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_t885f","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_t885f","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_t885f","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_t885f","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_t885f"};
|
|
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_1pca6","sticky":"bottom-sheet__sticky_1pca6","highlighted":"bottom-sheet__highlighted_1pca6","background-accent":"bottom-sheet__background-accent_1pca6","background-info":"bottom-sheet__background-info_1pca6","background-attention-muted":"bottom-sheet__background-attention-muted_1pca6","background-positive-muted":"bottom-sheet__background-positive-muted_1pca6","background-negative-muted":"bottom-sheet__background-negative-muted_1pca6","background-primary":"bottom-sheet__background-primary_1pca6","background-primary-inverted":"bottom-sheet__background-primary-inverted_1pca6","background-secondary":"bottom-sheet__background-secondary_1pca6","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_1pca6","background-tertiary":"bottom-sheet__background-tertiary_1pca6","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_1pca6","background-quaternary":"bottom-sheet__background-quaternary_1pca6","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_1pca6","background-specialbg-component":"bottom-sheet__background-specialbg-component_1pca6","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_1pca6","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_1pca6","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_1pca6","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_1pca6","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_1pca6","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_1pca6","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_1pca6","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_1pca6"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Footer = ({ children, className, sticky }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: piiay */
|
|
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_1pca6 {
|
|
45
45
|
padding: var(--gap-m) var(--gap-m);
|
|
46
46
|
background-color: var(--color-light-bg-primary);
|
|
47
|
-
} .bottom-
|
|
47
|
+
} .bottom-sheet__sticky_1pca6 {
|
|
48
48
|
position: sticky;
|
|
49
49
|
bottom: 0;
|
|
50
50
|
z-index: 1;
|
|
51
|
-
} .bottom-
|
|
51
|
+
} .bottom-sheet__highlighted_1pca6 {
|
|
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_1pca6 {
|
|
55
55
|
background-color: var(--color-light-bg-accent);
|
|
56
|
-
} .bottom-sheet__background-
|
|
56
|
+
} .bottom-sheet__background-info_1pca6 {
|
|
57
57
|
background-color: var(--color-light-bg-info);
|
|
58
|
-
} .bottom-sheet__background-attention-
|
|
58
|
+
} .bottom-sheet__background-attention-muted_1pca6 {
|
|
59
59
|
background-color: var(--color-light-bg-attention-muted);
|
|
60
|
-
} .bottom-sheet__background-positive-
|
|
60
|
+
} .bottom-sheet__background-positive-muted_1pca6 {
|
|
61
61
|
background-color: var(--color-light-bg-positive-muted);
|
|
62
|
-
} .bottom-sheet__background-negative-
|
|
62
|
+
} .bottom-sheet__background-negative-muted_1pca6 {
|
|
63
63
|
background-color: var(--color-light-bg-negative-muted);
|
|
64
|
-
} .bottom-sheet__background-
|
|
64
|
+
} .bottom-sheet__background-primary_1pca6 {
|
|
65
65
|
background-color: var(--color-light-bg-primary);
|
|
66
|
-
} .bottom-sheet__background-primary-
|
|
66
|
+
} .bottom-sheet__background-primary-inverted_1pca6 {
|
|
67
67
|
background-color: var(--color-light-bg-primary-inverted);
|
|
68
|
-
} .bottom-sheet__background-
|
|
68
|
+
} .bottom-sheet__background-secondary_1pca6 {
|
|
69
69
|
background-color: var(--color-light-bg-secondary);
|
|
70
|
-
} .bottom-sheet__background-secondary-
|
|
70
|
+
} .bottom-sheet__background-secondary-inverted_1pca6 {
|
|
71
71
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
72
|
-
} .bottom-sheet__background-
|
|
72
|
+
} .bottom-sheet__background-tertiary_1pca6 {
|
|
73
73
|
background-color: var(--color-light-bg-tertiary);
|
|
74
|
-
} .bottom-sheet__background-tertiary-
|
|
74
|
+
} .bottom-sheet__background-tertiary-inverted_1pca6 {
|
|
75
75
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
76
|
-
} .bottom-sheet__background-
|
|
76
|
+
} .bottom-sheet__background-quaternary_1pca6 {
|
|
77
77
|
background-color: var(--color-light-bg-quaternary);
|
|
78
|
-
} .bottom-sheet__background-quaternary-
|
|
78
|
+
} .bottom-sheet__background-quaternary-inverted_1pca6 {
|
|
79
79
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
80
|
-
} .bottom-sheet__background-specialbg-
|
|
80
|
+
} .bottom-sheet__background-specialbg-component_1pca6 {
|
|
81
81
|
background-color: var(--color-light-specialbg-component);
|
|
82
|
-
} .bottom-sheet__background-specialbg-component-
|
|
82
|
+
} .bottom-sheet__background-specialbg-component-inverted_1pca6 {
|
|
83
83
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
84
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
84
|
+
} .bottom-sheet__background-specialbg-primary-grouped_1pca6 {
|
|
85
85
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
86
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
86
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_1pca6 {
|
|
87
87
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
88
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
88
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_1pca6 {
|
|
89
89
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
90
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
90
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_1pca6 {
|
|
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_1pca6 {
|
|
93
93
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
94
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
94
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_1pca6 {
|
|
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_1pca6 {
|
|
97
97
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
98
98
|
}
|
|
@@ -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_9u9n9","hasContent":"bottom-sheet__hasContent_9u9n9","header":"bottom-sheet__header_9u9n9","sticky":"bottom-sheet__sticky_9u9n9","highlighted":"bottom-sheet__highlighted_9u9n9","justifyEnd":"bottom-sheet__justifyEnd_9u9n9","addon":"bottom-sheet__addon_9u9n9","addonFixed":"bottom-sheet__addonFixed_9u9n9","title":"bottom-sheet__title_9u9n9","titleCenter":"bottom-sheet__titleCenter_9u9n9","titleLeft":"bottom-sheet__titleLeft_9u9n9","trimTitle":"bottom-sheet__trimTitle_9u9n9"};
|
|
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: 1jt3v */
|
|
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_9u9n9 {
|
|
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_9u9n9 {
|
|
36
36
|
background-color: inherit;
|
|
37
|
-
} .bottom-
|
|
37
|
+
} .bottom-sheet__header_9u9n9 {
|
|
38
38
|
display: flex;
|
|
39
|
-
} .bottom-
|
|
39
|
+
} .bottom-sheet__sticky_9u9n9 {
|
|
40
40
|
position: sticky;
|
|
41
41
|
top: 0;
|
|
42
|
-
} .bottom-
|
|
42
|
+
} .bottom-sheet__highlighted_9u9n9 {
|
|
43
43
|
border-bottom: var(--bottom-sheet-header-border-bottom);
|
|
44
|
-
} .bottom-
|
|
44
|
+
} .bottom-sheet__justifyEnd_9u9n9 {
|
|
45
45
|
justify-content: flex-end;
|
|
46
|
-
} .bottom-
|
|
46
|
+
} .bottom-sheet__addon_9u9n9 {
|
|
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_9u9n9 {
|
|
53
53
|
position: fixed;
|
|
54
|
-
} .bottom-
|
|
54
|
+
} .bottom-sheet__title_9u9n9 {
|
|
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_9u9n9 {
|
|
62
62
|
text-align: center;
|
|
63
|
-
} .bottom-
|
|
63
|
+
} .bottom-sheet__titleLeft_9u9n9 {
|
|
64
64
|
text-align: left;
|
|
65
|
-
} .bottom-
|
|
65
|
+
} .bottom-sheet__trimTitle_9u9n9 {
|
|
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: kxowe */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -45,31 +45,31 @@
|
|
|
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_t885f {
|
|
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_t885f {
|
|
56
56
|
transform: translateY(100%);
|
|
57
57
|
pointer-events: none;
|
|
58
58
|
border-top-right-radius: var(--border-radius-xl);
|
|
59
59
|
border-top-left-radius: var(--border-radius-xl);
|
|
60
60
|
transition: border-radius 0.3s ease;
|
|
61
|
-
} .bottom-
|
|
61
|
+
} .bottom-sheet__fullscreen_t885f {
|
|
62
62
|
border-radius: 0;
|
|
63
|
-
} .bottom-
|
|
63
|
+
} .bottom-sheet__component_t885f {
|
|
64
64
|
position: relative;
|
|
65
65
|
display: flex;
|
|
66
66
|
flex-direction: column;
|
|
67
67
|
border-radius: inherit;
|
|
68
68
|
background-color: var(--color-light-bg-primary);
|
|
69
69
|
pointer-events: all;
|
|
70
|
-
} .bottom-
|
|
70
|
+
} .bottom-sheet__withTransition_t885f {
|
|
71
71
|
transition: var(--bottom-sheet-out-transition);
|
|
72
|
-
} .bottom-
|
|
72
|
+
} .bottom-sheet__scrollableContainer_t885f {
|
|
73
73
|
overflow: auto;
|
|
74
74
|
display: flex;
|
|
75
75
|
flex-direction: column;
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
height: 100%;
|
|
78
78
|
background-color: inherit;
|
|
79
79
|
border-radius: inherit;
|
|
80
|
-
} .bottom-
|
|
80
|
+
} .bottom-sheet__marker_t885f {
|
|
81
81
|
position: fixed;
|
|
82
82
|
top: var(--gap-2xs);
|
|
83
83
|
right: 0;
|
|
@@ -85,11 +85,11 @@
|
|
|
85
85
|
z-index: 1000;
|
|
86
86
|
width: 36px;
|
|
87
87
|
margin: 0 auto;
|
|
88
|
-
} .bottom-
|
|
88
|
+
} .bottom-sheet__defaultMarker_t885f {
|
|
89
89
|
height: 4px;
|
|
90
90
|
border-radius: var(--border-radius-xxl);
|
|
91
91
|
background-color: var(--color-light-graphic-quaternary);
|
|
92
|
-
} .bottom-
|
|
92
|
+
} .bottom-sheet__content_t885f {
|
|
93
93
|
position: relative;
|
|
94
94
|
z-index: 0;
|
|
95
95
|
display: flex;
|
|
@@ -98,73 +98,73 @@
|
|
|
98
98
|
padding: 0 var(--gap-m);
|
|
99
99
|
color: var(--color-light-text-primary);
|
|
100
100
|
background-color: inherit;
|
|
101
|
-
} .bottom-
|
|
101
|
+
} .bottom-sheet__noHeader_t885f {
|
|
102
102
|
padding-top: var(--gap-m);
|
|
103
|
-
} .bottom-
|
|
103
|
+
} .bottom-sheet__noFooter_t885f {
|
|
104
104
|
padding-bottom: var(--gap-m);
|
|
105
|
-
} .bottom-
|
|
105
|
+
} .bottom-sheet__scrollLocked_t885f {
|
|
106
106
|
overflow: hidden;
|
|
107
|
-
} .bottom-
|
|
107
|
+
} .bottom-sheet__hiddenScrollbar_t885f {
|
|
108
108
|
scrollbar-width: none
|
|
109
|
-
} .bottom-
|
|
109
|
+
} .bottom-sheet__hiddenScrollbar_t885f::-webkit-scrollbar {
|
|
110
110
|
width: 0;
|
|
111
111
|
height: 0;
|
|
112
|
-
} .bottom-
|
|
112
|
+
} .bottom-sheet__disabledPointerEvents_t885f {
|
|
113
113
|
pointer-events: none;
|
|
114
|
-
} .bottom-
|
|
114
|
+
} .bottom-sheet__appear_t885f .bottom-sheet__wrapper_t885f, .bottom-sheet__enter_t885f .bottom-sheet__wrapper_t885f {
|
|
115
115
|
transition: none;
|
|
116
|
-
} .bottom-
|
|
116
|
+
} .bottom-sheet__appearActive_t885f .bottom-sheet__wrapper_t885f, .bottom-sheet__enterActive_t885f .bottom-sheet__wrapper_t885f {
|
|
117
117
|
transition: var(--bottom-sheet-in-transition);
|
|
118
118
|
transform: translateY(0);
|
|
119
|
-
} .bottom-
|
|
119
|
+
} .bottom-sheet__enterDone_t885f .bottom-sheet__wrapper_t885f, .bottom-sheet__appearDone_t885f .bottom-sheet__wrapper_t885f {
|
|
120
120
|
transform: translateY(0);
|
|
121
|
-
} .bottom-
|
|
121
|
+
} .bottom-sheet__exit_t885f .bottom-sheet__wrapper_t885f {
|
|
122
122
|
transform: translateY(0);
|
|
123
|
-
} .bottom-
|
|
123
|
+
} .bottom-sheet__exitActive_t885f .bottom-sheet__wrapper_t885f {
|
|
124
124
|
transition: var(--bottom-sheet-out-transition);
|
|
125
125
|
transform: translateY(100%);
|
|
126
|
-
} .bottom-sheet__background-
|
|
126
|
+
} .bottom-sheet__background-accent_t885f {
|
|
127
127
|
background-color: var(--color-light-bg-accent);
|
|
128
|
-
} .bottom-sheet__background-
|
|
128
|
+
} .bottom-sheet__background-info_t885f {
|
|
129
129
|
background-color: var(--color-light-bg-info);
|
|
130
|
-
} .bottom-sheet__background-attention-
|
|
130
|
+
} .bottom-sheet__background-attention-muted_t885f {
|
|
131
131
|
background-color: var(--color-light-bg-attention-muted);
|
|
132
|
-
} .bottom-sheet__background-positive-
|
|
132
|
+
} .bottom-sheet__background-positive-muted_t885f {
|
|
133
133
|
background-color: var(--color-light-bg-positive-muted);
|
|
134
|
-
} .bottom-sheet__background-negative-
|
|
134
|
+
} .bottom-sheet__background-negative-muted_t885f {
|
|
135
135
|
background-color: var(--color-light-bg-negative-muted);
|
|
136
|
-
} .bottom-sheet__background-
|
|
136
|
+
} .bottom-sheet__background-primary_t885f {
|
|
137
137
|
background-color: var(--color-light-bg-primary);
|
|
138
|
-
} .bottom-sheet__background-primary-
|
|
138
|
+
} .bottom-sheet__background-primary-inverted_t885f {
|
|
139
139
|
background-color: var(--color-light-bg-primary-inverted);
|
|
140
|
-
} .bottom-sheet__background-
|
|
140
|
+
} .bottom-sheet__background-secondary_t885f {
|
|
141
141
|
background-color: var(--color-light-bg-secondary);
|
|
142
|
-
} .bottom-sheet__background-secondary-
|
|
142
|
+
} .bottom-sheet__background-secondary-inverted_t885f {
|
|
143
143
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
144
|
-
} .bottom-sheet__background-
|
|
144
|
+
} .bottom-sheet__background-tertiary_t885f {
|
|
145
145
|
background-color: var(--color-light-bg-tertiary);
|
|
146
|
-
} .bottom-sheet__background-tertiary-
|
|
146
|
+
} .bottom-sheet__background-tertiary-inverted_t885f {
|
|
147
147
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
148
|
-
} .bottom-sheet__background-
|
|
148
|
+
} .bottom-sheet__background-quaternary_t885f {
|
|
149
149
|
background-color: var(--color-light-bg-quaternary);
|
|
150
|
-
} .bottom-sheet__background-quaternary-
|
|
150
|
+
} .bottom-sheet__background-quaternary-inverted_t885f {
|
|
151
151
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
152
|
-
} .bottom-sheet__background-specialbg-
|
|
152
|
+
} .bottom-sheet__background-specialbg-component_t885f {
|
|
153
153
|
background-color: var(--color-light-specialbg-component);
|
|
154
|
-
} .bottom-sheet__background-specialbg-component-
|
|
154
|
+
} .bottom-sheet__background-specialbg-component-inverted_t885f {
|
|
155
155
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
156
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
156
|
+
} .bottom-sheet__background-specialbg-primary-grouped_t885f {
|
|
157
157
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
158
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
158
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_t885f {
|
|
159
159
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
160
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
160
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_t885f {
|
|
161
161
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
162
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
162
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_t885f {
|
|
163
163
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
164
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
164
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_t885f {
|
|
165
165
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
166
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
166
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_t885f {
|
|
167
167
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
168
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
168
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_t885f {
|
|
169
169
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
170
170
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-bottom-sheet",
|
|
3
|
-
"version": "6.9.
|
|
3
|
+
"version": "6.9.2",
|
|
4
4
|
"description": "Bottom sheet mobile component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@alfalab/core-components-backdrop": "^3.1.0",
|
|
19
19
|
"@alfalab/core-components-base-modal": "^5.4.0",
|
|
20
|
-
"@alfalab/core-components-navigation-bar": "^0.5.
|
|
21
|
-
"@alfalab/core-components-shared": "^0.
|
|
20
|
+
"@alfalab/core-components-navigation-bar": "^0.5.6",
|
|
21
|
+
"@alfalab/core-components-shared": "^0.5.0",
|
|
22
22
|
"classnames": "^2.3.1",
|
|
23
23
|
"react-div-100vh": "^0.7.0",
|
|
24
24
|
"react-merge-refs": "^1.1.0",
|