@alfalab/core-components-bottom-sheet 6.17.14 → 6.17.16
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 +30 -27
- package/components/header/Component.js +1 -1
- package/components/header/index.css +17 -14
- package/cssm/components/footer/index.module.css +4 -1
- package/cssm/components/header/index.module.css +4 -1
- package/cssm/index.module.css +7 -2
- package/cssm/vars.css +3 -0
- package/esm/component.js +1 -1
- package/esm/components/footer/Component.js +1 -1
- package/esm/components/footer/index.css +30 -27
- package/esm/components/header/Component.js +1 -1
- package/esm/components/header/index.css +17 -14
- package/esm/index.css +52 -47
- package/index.css +52 -47
- package/modern/component.js +1 -1
- package/modern/components/footer/Component.js +1 -1
- package/modern/components/footer/index.css +30 -27
- package/modern/components/header/Component.js +1 -1
- package/modern/components/header/index.css +17 -14
- package/modern/index.css +52 -47
- package/moderncssm/index.module.css +4 -1
- package/package.json +7 -7
- package/src/index.module.css +2 -1
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_kttwa","wrapper":"bottom-sheet__wrapper_kttwa","fullscreen":"bottom-sheet__fullscreen_kttwa","component":"bottom-sheet__component_kttwa","withTransition":"bottom-sheet__withTransition_kttwa","scrollableContainer":"bottom-sheet__scrollableContainer_kttwa","marker":"bottom-sheet__marker_kttwa","defaultMarker":"bottom-sheet__defaultMarker_kttwa","content":"bottom-sheet__content_kttwa","noHeader":"bottom-sheet__noHeader_kttwa","noFooter":"bottom-sheet__noFooter_kttwa","scrollLocked":"bottom-sheet__scrollLocked_kttwa","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_kttwa","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_kttwa","appear":"bottom-sheet__appear_kttwa","enter":"bottom-sheet__enter_kttwa","appearActive":"bottom-sheet__appearActive_kttwa","enterActive":"bottom-sheet__enterActive_kttwa","enterDone":"bottom-sheet__enterDone_kttwa","appearDone":"bottom-sheet__appearDone_kttwa","exit":"bottom-sheet__exit_kttwa","exitActive":"bottom-sheet__exitActive_kttwa","safeAreaBottom":"bottom-sheet__safeAreaBottom_kttwa","background-accent":"bottom-sheet__background-accent_kttwa","background-info":"bottom-sheet__background-info_kttwa","background-attention-muted":"bottom-sheet__background-attention-muted_kttwa","background-positive-muted":"bottom-sheet__background-positive-muted_kttwa","background-negative-muted":"bottom-sheet__background-negative-muted_kttwa","background-primary":"bottom-sheet__background-primary_kttwa","background-primary-inverted":"bottom-sheet__background-primary-inverted_kttwa","background-secondary":"bottom-sheet__background-secondary_kttwa","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_kttwa","background-tertiary":"bottom-sheet__background-tertiary_kttwa","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_kttwa","background-quaternary":"bottom-sheet__background-quaternary_kttwa","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_kttwa","background-specialbg-component":"bottom-sheet__background-specialbg-component_kttwa","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_kttwa","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_kttwa","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_kttwa","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_kttwa","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_kttwa","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_kttwa","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_kttwa","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_kttwa"};
|
|
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_40yy4","sticky":"bottom-sheet__sticky_40yy4","highlighted":"bottom-sheet__highlighted_40yy4","background-accent":"bottom-sheet__background-accent_40yy4","background-info":"bottom-sheet__background-info_40yy4","background-attention-muted":"bottom-sheet__background-attention-muted_40yy4","background-positive-muted":"bottom-sheet__background-positive-muted_40yy4","background-negative-muted":"bottom-sheet__background-negative-muted_40yy4","background-primary":"bottom-sheet__background-primary_40yy4","background-primary-inverted":"bottom-sheet__background-primary-inverted_40yy4","background-secondary":"bottom-sheet__background-secondary_40yy4","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_40yy4","background-tertiary":"bottom-sheet__background-tertiary_40yy4","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_40yy4","background-quaternary":"bottom-sheet__background-quaternary_40yy4","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_40yy4","background-specialbg-component":"bottom-sheet__background-specialbg-component_40yy4","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_40yy4","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_40yy4","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_40yy4","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_40yy4","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_40yy4","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_40yy4","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_40yy4","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_40yy4"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
var Footer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ow3gp */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-modal-bg-primary: #fff;
|
|
@@ -41,7 +41,10 @@
|
|
|
41
41
|
--gap-m: 16px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
42
42
|
|
|
43
43
|
/* новые значения, используйте их */
|
|
44
|
-
|
|
44
|
+
|
|
45
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
46
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
47
|
+
--gap-0: 0px;
|
|
45
48
|
--gap-16: var(--gap-m);
|
|
46
49
|
} :root {
|
|
47
50
|
} :root {
|
|
@@ -52,58 +55,58 @@
|
|
|
52
55
|
/* footer */
|
|
53
56
|
--bottom-sheet-footer-border-top: 1px solid var(--color-light-neutral-300);
|
|
54
57
|
--bottom-sheet-footer-background-color: var(--color-light-modal-bg-primary);
|
|
55
|
-
} .bottom-
|
|
58
|
+
} .bottom-sheet__footer_40yy4 {
|
|
56
59
|
padding: var(--gap-16) var(--gap-16);
|
|
57
60
|
background-color: var(--color-light-modal-bg-primary);
|
|
58
|
-
} .bottom-
|
|
61
|
+
} .bottom-sheet__sticky_40yy4 {
|
|
59
62
|
position: sticky;
|
|
60
63
|
bottom: var(--gap-0);
|
|
61
64
|
z-index: 1;
|
|
62
|
-
} .bottom-
|
|
65
|
+
} .bottom-sheet__highlighted_40yy4 {
|
|
63
66
|
border-top: var(--bottom-sheet-footer-border-top);
|
|
64
67
|
background-color: var(--bottom-sheet-footer-background-color);
|
|
65
|
-
} .bottom-sheet__background-
|
|
68
|
+
} .bottom-sheet__background-accent_40yy4 {
|
|
66
69
|
background-color: var(--color-light-bg-accent);
|
|
67
|
-
} .bottom-sheet__background-
|
|
70
|
+
} .bottom-sheet__background-info_40yy4 {
|
|
68
71
|
background-color: var(--color-light-bg-info);
|
|
69
|
-
} .bottom-sheet__background-attention-
|
|
72
|
+
} .bottom-sheet__background-attention-muted_40yy4 {
|
|
70
73
|
background-color: var(--color-light-bg-attention-muted);
|
|
71
|
-
} .bottom-sheet__background-positive-
|
|
74
|
+
} .bottom-sheet__background-positive-muted_40yy4 {
|
|
72
75
|
background-color: var(--color-light-bg-positive-muted);
|
|
73
|
-
} .bottom-sheet__background-negative-
|
|
76
|
+
} .bottom-sheet__background-negative-muted_40yy4 {
|
|
74
77
|
background-color: var(--color-light-bg-negative-muted);
|
|
75
|
-
} .bottom-sheet__background-
|
|
78
|
+
} .bottom-sheet__background-primary_40yy4 {
|
|
76
79
|
background-color: var(--color-light-bg-primary);
|
|
77
|
-
} .bottom-sheet__background-primary-
|
|
80
|
+
} .bottom-sheet__background-primary-inverted_40yy4 {
|
|
78
81
|
background-color: var(--color-light-bg-primary-inverted);
|
|
79
|
-
} .bottom-sheet__background-
|
|
82
|
+
} .bottom-sheet__background-secondary_40yy4 {
|
|
80
83
|
background-color: var(--color-light-bg-secondary);
|
|
81
|
-
} .bottom-sheet__background-secondary-
|
|
84
|
+
} .bottom-sheet__background-secondary-inverted_40yy4 {
|
|
82
85
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
83
|
-
} .bottom-sheet__background-
|
|
86
|
+
} .bottom-sheet__background-tertiary_40yy4 {
|
|
84
87
|
background-color: var(--color-light-bg-tertiary);
|
|
85
|
-
} .bottom-sheet__background-tertiary-
|
|
88
|
+
} .bottom-sheet__background-tertiary-inverted_40yy4 {
|
|
86
89
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
87
|
-
} .bottom-sheet__background-
|
|
90
|
+
} .bottom-sheet__background-quaternary_40yy4 {
|
|
88
91
|
background-color: var(--color-light-bg-quaternary);
|
|
89
|
-
} .bottom-sheet__background-quaternary-
|
|
92
|
+
} .bottom-sheet__background-quaternary-inverted_40yy4 {
|
|
90
93
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
91
|
-
} .bottom-sheet__background-specialbg-
|
|
94
|
+
} .bottom-sheet__background-specialbg-component_40yy4 {
|
|
92
95
|
background-color: var(--color-light-specialbg-component);
|
|
93
|
-
} .bottom-sheet__background-specialbg-component-
|
|
96
|
+
} .bottom-sheet__background-specialbg-component-inverted_40yy4 {
|
|
94
97
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
95
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
98
|
+
} .bottom-sheet__background-specialbg-primary-grouped_40yy4 {
|
|
96
99
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
97
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
100
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_40yy4 {
|
|
98
101
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
99
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
102
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_40yy4 {
|
|
100
103
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
101
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
104
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_40yy4 {
|
|
102
105
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
103
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
106
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_40yy4 {
|
|
104
107
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
105
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
108
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_40yy4 {
|
|
106
109
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
107
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
110
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_40yy4 {
|
|
108
111
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
109
112
|
}
|
|
@@ -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_1sun9","hasContent":"bottom-sheet__hasContent_1sun9","header":"bottom-sheet__header_1sun9","sticky":"bottom-sheet__sticky_1sun9","highlighted":"bottom-sheet__highlighted_1sun9","justifyEnd":"bottom-sheet__justifyEnd_1sun9","addon":"bottom-sheet__addon_1sun9","addonFixed":"bottom-sheet__addonFixed_1sun9","title":"bottom-sheet__title_1sun9","titleCenter":"bottom-sheet__titleCenter_1sun9","titleLeft":"bottom-sheet__titleLeft_1sun9","trimTitle":"bottom-sheet__trimTitle_1sun9"};
|
|
17
17
|
require('./index.css')
|
|
18
18
|
|
|
19
19
|
var Header = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 15jgh */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-neutral-300: #e7e8eb; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -20,7 +20,10 @@
|
|
|
20
20
|
--gap-s: 12px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
21
21
|
|
|
22
22
|
/* новые значения, используйте их */
|
|
23
|
-
|
|
23
|
+
|
|
24
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
25
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
26
|
+
--gap-0: 0px;
|
|
24
27
|
--gap-4: var(--gap-2xs);
|
|
25
28
|
--gap-8: var(--gap-xs);
|
|
26
29
|
--gap-12: var(--gap-s);
|
|
@@ -38,42 +41,42 @@
|
|
|
38
41
|
--bottom-sheet-title-font-family: var(--font-family-system);
|
|
39
42
|
|
|
40
43
|
/* footer */
|
|
41
|
-
} .bottom-
|
|
44
|
+
} .bottom-sheet__headerWrapper_1sun9 {
|
|
42
45
|
padding: var(--gap-12) var(--gap-8) var(--gap-4);
|
|
43
46
|
border-top-left-radius: inherit;
|
|
44
47
|
border-top-right-radius: inherit;
|
|
45
48
|
z-index: 1;
|
|
46
|
-
} .bottom-
|
|
49
|
+
} .bottom-sheet__hasContent_1sun9 {
|
|
47
50
|
background-color: inherit;
|
|
48
|
-
} .bottom-
|
|
51
|
+
} .bottom-sheet__header_1sun9 {
|
|
49
52
|
display: flex;
|
|
50
|
-
} .bottom-
|
|
53
|
+
} .bottom-sheet__sticky_1sun9 {
|
|
51
54
|
position: sticky;
|
|
52
55
|
top: var(--gap-0);
|
|
53
|
-
} .bottom-
|
|
56
|
+
} .bottom-sheet__highlighted_1sun9 {
|
|
54
57
|
border-bottom: var(--bottom-sheet-header-border-bottom);
|
|
55
|
-
} .bottom-
|
|
58
|
+
} .bottom-sheet__justifyEnd_1sun9 {
|
|
56
59
|
justify-content: flex-end;
|
|
57
|
-
} .bottom-
|
|
60
|
+
} .bottom-sheet__addon_1sun9 {
|
|
58
61
|
display: flex;
|
|
59
62
|
justify-content: center;
|
|
60
63
|
align-items: center;
|
|
61
64
|
min-width: 48px;
|
|
62
65
|
height: 48px;
|
|
63
|
-
} .bottom-
|
|
66
|
+
} .bottom-sheet__addonFixed_1sun9 {
|
|
64
67
|
position: fixed;
|
|
65
|
-
} .bottom-
|
|
68
|
+
} .bottom-sheet__title_1sun9 {
|
|
66
69
|
padding: 10px var(--gap-8);
|
|
67
70
|
width: 100%;
|
|
68
71
|
font-size: var(--bottom-sheet-title-font-size);
|
|
69
72
|
font-weight: var(--bottom-sheet-title-font-weight);
|
|
70
73
|
line-height: var(--bottom-sheet-title-line-height);
|
|
71
74
|
font-family: var(--bottom-sheet-title-font-family);
|
|
72
|
-
} .bottom-
|
|
75
|
+
} .bottom-sheet__titleCenter_1sun9 {
|
|
73
76
|
text-align: center;
|
|
74
|
-
} .bottom-
|
|
77
|
+
} .bottom-sheet__titleLeft_1sun9 {
|
|
75
78
|
text-align: left;
|
|
76
|
-
} .bottom-
|
|
79
|
+
} .bottom-sheet__trimTitle_1sun9 {
|
|
77
80
|
white-space: nowrap;
|
|
78
81
|
overflow: hidden;
|
|
79
82
|
text-overflow: ellipsis;
|
|
@@ -40,7 +40,10 @@
|
|
|
40
40
|
--gap-m: 16px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
41
41
|
|
|
42
42
|
/* новые значения, используйте их */
|
|
43
|
-
|
|
43
|
+
|
|
44
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
45
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
46
|
+
--gap-0: 0px;
|
|
44
47
|
--gap-16: var(--gap-m);
|
|
45
48
|
} :root {
|
|
46
49
|
} :root {
|
|
@@ -19,7 +19,10 @@
|
|
|
19
19
|
--gap-s: 12px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
20
20
|
|
|
21
21
|
/* новые значения, используйте их */
|
|
22
|
-
|
|
22
|
+
|
|
23
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
24
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
25
|
+
--gap-0: 0px;
|
|
23
26
|
--gap-4: var(--gap-2xs);
|
|
24
27
|
--gap-8: var(--gap-xs);
|
|
25
28
|
--gap-12: var(--gap-s);
|
package/cssm/index.module.css
CHANGED
|
@@ -46,12 +46,17 @@
|
|
|
46
46
|
--gap-m: 16px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
47
47
|
|
|
48
48
|
/* новые значения, используйте их */
|
|
49
|
-
|
|
49
|
+
|
|
50
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
51
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
52
|
+
--gap-0: 0px;
|
|
50
53
|
--gap-4: var(--gap-2xs);
|
|
51
54
|
--gap-16: var(--gap-m);
|
|
52
55
|
} :root {
|
|
53
56
|
} :root {
|
|
54
57
|
} /* сбрасывает синюю подсветку при нажатии */ :root {
|
|
58
|
+
--sab: env(safe-area-inset-bottom, var(--gap-0));
|
|
59
|
+
} :root {
|
|
55
60
|
--bottom-sheet-in-transition: transform 0.5s cubic-bezier(0.09, 0.91, 0.18, 0.99);
|
|
56
61
|
--bottom-sheet-out-transition: transform 0.3s ease;
|
|
57
62
|
--bottom-sheet-top-radius: var(--border-radius-16);
|
|
@@ -145,7 +150,7 @@
|
|
|
145
150
|
transition: var(--bottom-sheet-out-transition);
|
|
146
151
|
transform: translateY(100%);
|
|
147
152
|
} .safeAreaBottom {
|
|
148
|
-
padding-bottom:
|
|
153
|
+
padding-bottom: var(--sab);
|
|
149
154
|
} .background-accent {
|
|
150
155
|
background-color: var(--color-light-bg-accent);
|
|
151
156
|
} .background-info {
|
package/cssm/vars.css
CHANGED
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
16
16
|
|
|
17
17
|
/* новые значения, используйте их */
|
|
18
|
+
|
|
19
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
20
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
18
21
|
} :root {
|
|
19
22
|
} :root {
|
|
20
23
|
} /* сбрасывает синюю подсветку при нажатии */ :root {
|
package/esm/component.js
CHANGED
|
@@ -13,7 +13,7 @@ import { horizontalDirections } from './consts/swipeConsts.js';
|
|
|
13
13
|
import { useVisibleViewportSize } from './hooks/use-visualviewport-size.js';
|
|
14
14
|
import { convertPercentToNumber, TIMEOUT, MARKER_HEIGHT, SCROLL_OFFSET, SWIPE_VELOCITY, CLOSE_OFFSET } from './utils.js';
|
|
15
15
|
|
|
16
|
-
var styles = {"modal":"bottom-
|
|
16
|
+
var styles = {"modal":"bottom-sheet__modal_kttwa","wrapper":"bottom-sheet__wrapper_kttwa","fullscreen":"bottom-sheet__fullscreen_kttwa","component":"bottom-sheet__component_kttwa","withTransition":"bottom-sheet__withTransition_kttwa","scrollableContainer":"bottom-sheet__scrollableContainer_kttwa","marker":"bottom-sheet__marker_kttwa","defaultMarker":"bottom-sheet__defaultMarker_kttwa","content":"bottom-sheet__content_kttwa","noHeader":"bottom-sheet__noHeader_kttwa","noFooter":"bottom-sheet__noFooter_kttwa","scrollLocked":"bottom-sheet__scrollLocked_kttwa","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_kttwa","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_kttwa","appear":"bottom-sheet__appear_kttwa","enter":"bottom-sheet__enter_kttwa","appearActive":"bottom-sheet__appearActive_kttwa","enterActive":"bottom-sheet__enterActive_kttwa","enterDone":"bottom-sheet__enterDone_kttwa","appearDone":"bottom-sheet__appearDone_kttwa","exit":"bottom-sheet__exit_kttwa","exitActive":"bottom-sheet__exitActive_kttwa","safeAreaBottom":"bottom-sheet__safeAreaBottom_kttwa","background-accent":"bottom-sheet__background-accent_kttwa","background-info":"bottom-sheet__background-info_kttwa","background-attention-muted":"bottom-sheet__background-attention-muted_kttwa","background-positive-muted":"bottom-sheet__background-positive-muted_kttwa","background-negative-muted":"bottom-sheet__background-negative-muted_kttwa","background-primary":"bottom-sheet__background-primary_kttwa","background-primary-inverted":"bottom-sheet__background-primary-inverted_kttwa","background-secondary":"bottom-sheet__background-secondary_kttwa","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_kttwa","background-tertiary":"bottom-sheet__background-tertiary_kttwa","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_kttwa","background-quaternary":"bottom-sheet__background-quaternary_kttwa","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_kttwa","background-specialbg-component":"bottom-sheet__background-specialbg-component_kttwa","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_kttwa","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_kttwa","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_kttwa","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_kttwa","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_kttwa","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_kttwa","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_kttwa","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_kttwa"};
|
|
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_40yy4","sticky":"bottom-sheet__sticky_40yy4","highlighted":"bottom-sheet__highlighted_40yy4","background-accent":"bottom-sheet__background-accent_40yy4","background-info":"bottom-sheet__background-info_40yy4","background-attention-muted":"bottom-sheet__background-attention-muted_40yy4","background-positive-muted":"bottom-sheet__background-positive-muted_40yy4","background-negative-muted":"bottom-sheet__background-negative-muted_40yy4","background-primary":"bottom-sheet__background-primary_40yy4","background-primary-inverted":"bottom-sheet__background-primary-inverted_40yy4","background-secondary":"bottom-sheet__background-secondary_40yy4","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_40yy4","background-tertiary":"bottom-sheet__background-tertiary_40yy4","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_40yy4","background-quaternary":"bottom-sheet__background-quaternary_40yy4","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_40yy4","background-specialbg-component":"bottom-sheet__background-specialbg-component_40yy4","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_40yy4","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_40yy4","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_40yy4","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_40yy4","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_40yy4","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_40yy4","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_40yy4","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_40yy4"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var Footer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ow3gp */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-modal-bg-primary: #fff;
|
|
@@ -41,7 +41,10 @@
|
|
|
41
41
|
--gap-m: 16px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
42
42
|
|
|
43
43
|
/* новые значения, используйте их */
|
|
44
|
-
|
|
44
|
+
|
|
45
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
46
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
47
|
+
--gap-0: 0px;
|
|
45
48
|
--gap-16: var(--gap-m);
|
|
46
49
|
} :root {
|
|
47
50
|
} :root {
|
|
@@ -52,58 +55,58 @@
|
|
|
52
55
|
/* footer */
|
|
53
56
|
--bottom-sheet-footer-border-top: 1px solid var(--color-light-neutral-300);
|
|
54
57
|
--bottom-sheet-footer-background-color: var(--color-light-modal-bg-primary);
|
|
55
|
-
} .bottom-
|
|
58
|
+
} .bottom-sheet__footer_40yy4 {
|
|
56
59
|
padding: var(--gap-16) var(--gap-16);
|
|
57
60
|
background-color: var(--color-light-modal-bg-primary);
|
|
58
|
-
} .bottom-
|
|
61
|
+
} .bottom-sheet__sticky_40yy4 {
|
|
59
62
|
position: sticky;
|
|
60
63
|
bottom: var(--gap-0);
|
|
61
64
|
z-index: 1;
|
|
62
|
-
} .bottom-
|
|
65
|
+
} .bottom-sheet__highlighted_40yy4 {
|
|
63
66
|
border-top: var(--bottom-sheet-footer-border-top);
|
|
64
67
|
background-color: var(--bottom-sheet-footer-background-color);
|
|
65
|
-
} .bottom-sheet__background-
|
|
68
|
+
} .bottom-sheet__background-accent_40yy4 {
|
|
66
69
|
background-color: var(--color-light-bg-accent);
|
|
67
|
-
} .bottom-sheet__background-
|
|
70
|
+
} .bottom-sheet__background-info_40yy4 {
|
|
68
71
|
background-color: var(--color-light-bg-info);
|
|
69
|
-
} .bottom-sheet__background-attention-
|
|
72
|
+
} .bottom-sheet__background-attention-muted_40yy4 {
|
|
70
73
|
background-color: var(--color-light-bg-attention-muted);
|
|
71
|
-
} .bottom-sheet__background-positive-
|
|
74
|
+
} .bottom-sheet__background-positive-muted_40yy4 {
|
|
72
75
|
background-color: var(--color-light-bg-positive-muted);
|
|
73
|
-
} .bottom-sheet__background-negative-
|
|
76
|
+
} .bottom-sheet__background-negative-muted_40yy4 {
|
|
74
77
|
background-color: var(--color-light-bg-negative-muted);
|
|
75
|
-
} .bottom-sheet__background-
|
|
78
|
+
} .bottom-sheet__background-primary_40yy4 {
|
|
76
79
|
background-color: var(--color-light-bg-primary);
|
|
77
|
-
} .bottom-sheet__background-primary-
|
|
80
|
+
} .bottom-sheet__background-primary-inverted_40yy4 {
|
|
78
81
|
background-color: var(--color-light-bg-primary-inverted);
|
|
79
|
-
} .bottom-sheet__background-
|
|
82
|
+
} .bottom-sheet__background-secondary_40yy4 {
|
|
80
83
|
background-color: var(--color-light-bg-secondary);
|
|
81
|
-
} .bottom-sheet__background-secondary-
|
|
84
|
+
} .bottom-sheet__background-secondary-inverted_40yy4 {
|
|
82
85
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
83
|
-
} .bottom-sheet__background-
|
|
86
|
+
} .bottom-sheet__background-tertiary_40yy4 {
|
|
84
87
|
background-color: var(--color-light-bg-tertiary);
|
|
85
|
-
} .bottom-sheet__background-tertiary-
|
|
88
|
+
} .bottom-sheet__background-tertiary-inverted_40yy4 {
|
|
86
89
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
87
|
-
} .bottom-sheet__background-
|
|
90
|
+
} .bottom-sheet__background-quaternary_40yy4 {
|
|
88
91
|
background-color: var(--color-light-bg-quaternary);
|
|
89
|
-
} .bottom-sheet__background-quaternary-
|
|
92
|
+
} .bottom-sheet__background-quaternary-inverted_40yy4 {
|
|
90
93
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
91
|
-
} .bottom-sheet__background-specialbg-
|
|
94
|
+
} .bottom-sheet__background-specialbg-component_40yy4 {
|
|
92
95
|
background-color: var(--color-light-specialbg-component);
|
|
93
|
-
} .bottom-sheet__background-specialbg-component-
|
|
96
|
+
} .bottom-sheet__background-specialbg-component-inverted_40yy4 {
|
|
94
97
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
95
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
98
|
+
} .bottom-sheet__background-specialbg-primary-grouped_40yy4 {
|
|
96
99
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
97
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
100
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_40yy4 {
|
|
98
101
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
99
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
102
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_40yy4 {
|
|
100
103
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
101
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
104
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_40yy4 {
|
|
102
105
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
103
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
106
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_40yy4 {
|
|
104
107
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
105
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
108
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_40yy4 {
|
|
106
109
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
107
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
110
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_40yy4 {
|
|
108
111
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
109
112
|
}
|
|
@@ -4,7 +4,7 @@ import cn from 'classnames';
|
|
|
4
4
|
import { BaseModalContext } from '@alfalab/core-components-base-modal/esm';
|
|
5
5
|
import { NavigationBarPrivate } from '@alfalab/core-components-navigation-bar-private/esm';
|
|
6
6
|
|
|
7
|
-
var styles = {"headerWrapper":"bottom-
|
|
7
|
+
var styles = {"headerWrapper":"bottom-sheet__headerWrapper_1sun9","hasContent":"bottom-sheet__hasContent_1sun9","header":"bottom-sheet__header_1sun9","sticky":"bottom-sheet__sticky_1sun9","highlighted":"bottom-sheet__highlighted_1sun9","justifyEnd":"bottom-sheet__justifyEnd_1sun9","addon":"bottom-sheet__addon_1sun9","addonFixed":"bottom-sheet__addonFixed_1sun9","title":"bottom-sheet__title_1sun9","titleCenter":"bottom-sheet__titleCenter_1sun9","titleLeft":"bottom-sheet__titleLeft_1sun9","trimTitle":"bottom-sheet__trimTitle_1sun9"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
var Header = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 15jgh */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-neutral-300: #e7e8eb; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -20,7 +20,10 @@
|
|
|
20
20
|
--gap-s: 12px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
21
21
|
|
|
22
22
|
/* новые значения, используйте их */
|
|
23
|
-
|
|
23
|
+
|
|
24
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
25
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
26
|
+
--gap-0: 0px;
|
|
24
27
|
--gap-4: var(--gap-2xs);
|
|
25
28
|
--gap-8: var(--gap-xs);
|
|
26
29
|
--gap-12: var(--gap-s);
|
|
@@ -38,42 +41,42 @@
|
|
|
38
41
|
--bottom-sheet-title-font-family: var(--font-family-system);
|
|
39
42
|
|
|
40
43
|
/* footer */
|
|
41
|
-
} .bottom-
|
|
44
|
+
} .bottom-sheet__headerWrapper_1sun9 {
|
|
42
45
|
padding: var(--gap-12) var(--gap-8) var(--gap-4);
|
|
43
46
|
border-top-left-radius: inherit;
|
|
44
47
|
border-top-right-radius: inherit;
|
|
45
48
|
z-index: 1;
|
|
46
|
-
} .bottom-
|
|
49
|
+
} .bottom-sheet__hasContent_1sun9 {
|
|
47
50
|
background-color: inherit;
|
|
48
|
-
} .bottom-
|
|
51
|
+
} .bottom-sheet__header_1sun9 {
|
|
49
52
|
display: flex;
|
|
50
|
-
} .bottom-
|
|
53
|
+
} .bottom-sheet__sticky_1sun9 {
|
|
51
54
|
position: sticky;
|
|
52
55
|
top: var(--gap-0);
|
|
53
|
-
} .bottom-
|
|
56
|
+
} .bottom-sheet__highlighted_1sun9 {
|
|
54
57
|
border-bottom: var(--bottom-sheet-header-border-bottom);
|
|
55
|
-
} .bottom-
|
|
58
|
+
} .bottom-sheet__justifyEnd_1sun9 {
|
|
56
59
|
justify-content: flex-end;
|
|
57
|
-
} .bottom-
|
|
60
|
+
} .bottom-sheet__addon_1sun9 {
|
|
58
61
|
display: flex;
|
|
59
62
|
justify-content: center;
|
|
60
63
|
align-items: center;
|
|
61
64
|
min-width: 48px;
|
|
62
65
|
height: 48px;
|
|
63
|
-
} .bottom-
|
|
66
|
+
} .bottom-sheet__addonFixed_1sun9 {
|
|
64
67
|
position: fixed;
|
|
65
|
-
} .bottom-
|
|
68
|
+
} .bottom-sheet__title_1sun9 {
|
|
66
69
|
padding: 10px var(--gap-8);
|
|
67
70
|
width: 100%;
|
|
68
71
|
font-size: var(--bottom-sheet-title-font-size);
|
|
69
72
|
font-weight: var(--bottom-sheet-title-font-weight);
|
|
70
73
|
line-height: var(--bottom-sheet-title-line-height);
|
|
71
74
|
font-family: var(--bottom-sheet-title-font-family);
|
|
72
|
-
} .bottom-
|
|
75
|
+
} .bottom-sheet__titleCenter_1sun9 {
|
|
73
76
|
text-align: center;
|
|
74
|
-
} .bottom-
|
|
77
|
+
} .bottom-sheet__titleLeft_1sun9 {
|
|
75
78
|
text-align: left;
|
|
76
|
-
} .bottom-
|
|
79
|
+
} .bottom-sheet__trimTitle_1sun9 {
|
|
77
80
|
white-space: nowrap;
|
|
78
81
|
overflow: hidden;
|
|
79
82
|
text-overflow: ellipsis;
|