@alfalab/core-components-bottom-sheet 6.13.2 → 6.14.0
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 +3 -5
- package/components/footer/Component.d.ts +4 -0
- package/components/footer/Component.js +3 -3
- package/components/footer/index.css +26 -26
- package/components/header/Component.js +1 -1
- package/components/header/index.css +13 -13
- package/cssm/component.js +2 -6
- package/cssm/components/footer/Component.d.ts +4 -0
- package/cssm/components/footer/Component.js +2 -2
- package/cssm/index.js +0 -16
- package/cssm/shared/index.d.ts +1 -0
- package/cssm/shared/index.js +9 -0
- package/cssm/utils.d.ts +10 -1
- package/cssm/utils.js +14 -0
- package/esm/component.js +3 -5
- package/esm/components/footer/Component.d.ts +4 -0
- package/esm/components/footer/Component.js +3 -3
- package/esm/components/footer/index.css +26 -26
- package/esm/components/header/Component.js +1 -1
- package/esm/components/header/index.css +13 -13
- package/esm/index.css +44 -44
- package/esm/index.js +0 -13
- package/esm/shared/index.d.ts +1 -0
- package/esm/shared/index.js +1 -0
- package/esm/utils.d.ts +10 -1
- package/esm/utils.js +14 -1
- package/index.css +44 -44
- package/index.js +0 -13
- package/modern/component.js +3 -5
- package/modern/components/footer/Component.d.ts +4 -0
- package/modern/components/footer/Component.js +3 -3
- package/modern/components/footer/index.css +26 -26
- package/modern/components/header/Component.js +1 -1
- package/modern/components/header/index.css +13 -13
- package/modern/index.css +44 -44
- package/modern/index.js +0 -12
- package/modern/shared/index.d.ts +1 -0
- package/modern/shared/index.js +1 -0
- package/modern/utils.d.ts +10 -1
- package/modern/utils.js +14 -1
- package/package.json +2 -2
- package/shared/index.d.ts +1 -0
- package/shared/index.js +9 -0
- package/shared/package.json +3 -0
- package/src/component.tsx +2 -0
- package/src/components/footer/Component.tsx +7 -1
- package/src/shared/index.ts +1 -0
- package/src/shared/package.json +3 -0
- package/src/utils.ts +14 -0
- package/utils.d.ts +10 -1
- package/utils.js +14 -0
package/component.js
CHANGED
|
@@ -14,8 +14,6 @@ var components_footer_Component = require('./components/footer/Component.js');
|
|
|
14
14
|
var components_header_Component = require('./components/header/Component.js');
|
|
15
15
|
var components_swipeableBackdrop_Component = require('./components/swipeable-backdrop/Component.js');
|
|
16
16
|
var utils = require('./utils.js');
|
|
17
|
-
require('@alfalab/core-components-navigation-bar');
|
|
18
|
-
require('@alfalab/core-components-backdrop');
|
|
19
17
|
|
|
20
18
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
21
19
|
|
|
@@ -23,7 +21,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
23
21
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
24
22
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
25
23
|
|
|
26
|
-
var styles = {"modal":"bottom-
|
|
24
|
+
var styles = {"modal":"bottom-sheet__modal_6rf8a","wrapper":"bottom-sheet__wrapper_6rf8a","fullscreen":"bottom-sheet__fullscreen_6rf8a","component":"bottom-sheet__component_6rf8a","withTransition":"bottom-sheet__withTransition_6rf8a","scrollableContainer":"bottom-sheet__scrollableContainer_6rf8a","marker":"bottom-sheet__marker_6rf8a","defaultMarker":"bottom-sheet__defaultMarker_6rf8a","content":"bottom-sheet__content_6rf8a","noHeader":"bottom-sheet__noHeader_6rf8a","noFooter":"bottom-sheet__noFooter_6rf8a","scrollLocked":"bottom-sheet__scrollLocked_6rf8a","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_6rf8a","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_6rf8a","appear":"bottom-sheet__appear_6rf8a","enter":"bottom-sheet__enter_6rf8a","appearActive":"bottom-sheet__appearActive_6rf8a","enterActive":"bottom-sheet__enterActive_6rf8a","enterDone":"bottom-sheet__enterDone_6rf8a","appearDone":"bottom-sheet__appearDone_6rf8a","exit":"bottom-sheet__exit_6rf8a","exitActive":"bottom-sheet__exitActive_6rf8a","background-accent":"bottom-sheet__background-accent_6rf8a","background-info":"bottom-sheet__background-info_6rf8a","background-attention-muted":"bottom-sheet__background-attention-muted_6rf8a","background-positive-muted":"bottom-sheet__background-positive-muted_6rf8a","background-negative-muted":"bottom-sheet__background-negative-muted_6rf8a","background-primary":"bottom-sheet__background-primary_6rf8a","background-primary-inverted":"bottom-sheet__background-primary-inverted_6rf8a","background-secondary":"bottom-sheet__background-secondary_6rf8a","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_6rf8a","background-tertiary":"bottom-sheet__background-tertiary_6rf8a","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_6rf8a","background-quaternary":"bottom-sheet__background-quaternary_6rf8a","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_6rf8a","background-specialbg-component":"bottom-sheet__background-specialbg-component_6rf8a","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_6rf8a","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_6rf8a","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_6rf8a","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_6rf8a","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_6rf8a","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_6rf8a","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_6rf8a","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_6rf8a"};
|
|
27
25
|
require('./index.css')
|
|
28
26
|
|
|
29
27
|
var isNil = coreComponentsShared.fnUtils.isNil;
|
|
@@ -351,8 +349,8 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
351
349
|
React__default.default.createElement("div", { ref: contentRef, className: cn__default.default(styles.content, contentClassName, (_f = {},
|
|
352
350
|
_f[styles.noHeader] = hideHeader || emptyHeader,
|
|
353
351
|
_f[styles.noFooter] = !actionButton,
|
|
354
|
-
_f)) }, children),
|
|
355
|
-
actionButton && (React__default.default.createElement(components_footer_Component.Footer, { sticky: stickyFooter, className: cn__default.default(bgClassName, footerClassName) }, actionButton)))))));
|
|
352
|
+
_f)), "data-test-id": coreComponentsShared.getDataTestId(dataTestId, 'content') }, children),
|
|
353
|
+
actionButton && (React__default.default.createElement(components_footer_Component.Footer, { sticky: stickyFooter, className: cn__default.default(bgClassName, footerClassName), dataTestId: coreComponentsShared.getDataTestId(dataTestId, 'footer') }, actionButton)))))));
|
|
356
354
|
});
|
|
357
355
|
|
|
358
356
|
exports.BottomSheet = BottomSheet;
|
|
@@ -12,6 +12,10 @@ type FooterProps = {
|
|
|
12
12
|
* Дополнительный класс
|
|
13
13
|
*/
|
|
14
14
|
className?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
17
|
+
*/
|
|
18
|
+
dataTestId?: string;
|
|
15
19
|
};
|
|
16
20
|
declare const Footer: FC<FooterProps>;
|
|
17
21
|
export { FooterProps, Footer };
|
|
@@ -11,12 +11,12 @@ 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_17wtd","sticky":"bottom-sheet__sticky_17wtd","highlighted":"bottom-sheet__highlighted_17wtd","background-accent":"bottom-sheet__background-accent_17wtd","background-info":"bottom-sheet__background-info_17wtd","background-attention-muted":"bottom-sheet__background-attention-muted_17wtd","background-positive-muted":"bottom-sheet__background-positive-muted_17wtd","background-negative-muted":"bottom-sheet__background-negative-muted_17wtd","background-primary":"bottom-sheet__background-primary_17wtd","background-primary-inverted":"bottom-sheet__background-primary-inverted_17wtd","background-secondary":"bottom-sheet__background-secondary_17wtd","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_17wtd","background-tertiary":"bottom-sheet__background-tertiary_17wtd","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_17wtd","background-quaternary":"bottom-sheet__background-quaternary_17wtd","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_17wtd","background-specialbg-component":"bottom-sheet__background-specialbg-component_17wtd","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_17wtd","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_17wtd","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_17wtd","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_17wtd","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_17wtd","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_17wtd","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_17wtd","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_17wtd"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
var Footer = function (_a) {
|
|
18
18
|
var _b;
|
|
19
|
-
var children = _a.children, className = _a.className, sticky = _a.sticky;
|
|
19
|
+
var children = _a.children, className = _a.className, sticky = _a.sticky, dataTestId = _a.dataTestId;
|
|
20
20
|
var _c = React.useContext(coreComponentsBaseModal.BaseModalContext), footerHighlighted = _c.footerHighlighted, setHasFooter = _c.setHasFooter;
|
|
21
21
|
React.useEffect(function () {
|
|
22
22
|
setHasFooter(true);
|
|
@@ -24,7 +24,7 @@ var Footer = function (_a) {
|
|
|
24
24
|
return (React__default.default.createElement("div", { className: cn__default.default(styles.footer, className, (_b = {},
|
|
25
25
|
_b[styles.sticky] = sticky,
|
|
26
26
|
_b[styles.highlighted] = footerHighlighted && sticky,
|
|
27
|
-
_b)) }, children));
|
|
27
|
+
_b)), "data-test-id": dataTestId }, children));
|
|
28
28
|
};
|
|
29
29
|
|
|
30
30
|
exports.Footer = Footer;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 17kb9 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -46,58 +46,58 @@
|
|
|
46
46
|
/* footer */
|
|
47
47
|
--bottom-sheet-footer-border-top: 1px solid var(--color-light-neutral-300);
|
|
48
48
|
--bottom-sheet-footer-background-color: var(--color-light-modal-bg-primary);
|
|
49
|
-
} .bottom-
|
|
49
|
+
} .bottom-sheet__footer_17wtd {
|
|
50
50
|
padding: var(--gap-m) var(--gap-m);
|
|
51
51
|
background-color: var(--color-light-modal-bg-primary);
|
|
52
|
-
} .bottom-
|
|
52
|
+
} .bottom-sheet__sticky_17wtd {
|
|
53
53
|
position: sticky;
|
|
54
54
|
bottom: 0;
|
|
55
55
|
z-index: 1;
|
|
56
|
-
} .bottom-
|
|
56
|
+
} .bottom-sheet__highlighted_17wtd {
|
|
57
57
|
border-top: var(--bottom-sheet-footer-border-top);
|
|
58
58
|
background-color: var(--bottom-sheet-footer-background-color);
|
|
59
|
-
} .bottom-sheet__background-
|
|
59
|
+
} .bottom-sheet__background-accent_17wtd {
|
|
60
60
|
background-color: var(--color-light-bg-accent);
|
|
61
|
-
} .bottom-sheet__background-
|
|
61
|
+
} .bottom-sheet__background-info_17wtd {
|
|
62
62
|
background-color: var(--color-light-bg-info);
|
|
63
|
-
} .bottom-sheet__background-attention-
|
|
63
|
+
} .bottom-sheet__background-attention-muted_17wtd {
|
|
64
64
|
background-color: var(--color-light-bg-attention-muted);
|
|
65
|
-
} .bottom-sheet__background-positive-
|
|
65
|
+
} .bottom-sheet__background-positive-muted_17wtd {
|
|
66
66
|
background-color: var(--color-light-bg-positive-muted);
|
|
67
|
-
} .bottom-sheet__background-negative-
|
|
67
|
+
} .bottom-sheet__background-negative-muted_17wtd {
|
|
68
68
|
background-color: var(--color-light-bg-negative-muted);
|
|
69
|
-
} .bottom-sheet__background-
|
|
69
|
+
} .bottom-sheet__background-primary_17wtd {
|
|
70
70
|
background-color: var(--color-light-bg-primary);
|
|
71
|
-
} .bottom-sheet__background-primary-
|
|
71
|
+
} .bottom-sheet__background-primary-inverted_17wtd {
|
|
72
72
|
background-color: var(--color-light-bg-primary-inverted);
|
|
73
|
-
} .bottom-sheet__background-
|
|
73
|
+
} .bottom-sheet__background-secondary_17wtd {
|
|
74
74
|
background-color: var(--color-light-bg-secondary);
|
|
75
|
-
} .bottom-sheet__background-secondary-
|
|
75
|
+
} .bottom-sheet__background-secondary-inverted_17wtd {
|
|
76
76
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
77
|
-
} .bottom-sheet__background-
|
|
77
|
+
} .bottom-sheet__background-tertiary_17wtd {
|
|
78
78
|
background-color: var(--color-light-bg-tertiary);
|
|
79
|
-
} .bottom-sheet__background-tertiary-
|
|
79
|
+
} .bottom-sheet__background-tertiary-inverted_17wtd {
|
|
80
80
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
81
|
-
} .bottom-sheet__background-
|
|
81
|
+
} .bottom-sheet__background-quaternary_17wtd {
|
|
82
82
|
background-color: var(--color-light-bg-quaternary);
|
|
83
|
-
} .bottom-sheet__background-quaternary-
|
|
83
|
+
} .bottom-sheet__background-quaternary-inverted_17wtd {
|
|
84
84
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
85
|
-
} .bottom-sheet__background-specialbg-
|
|
85
|
+
} .bottom-sheet__background-specialbg-component_17wtd {
|
|
86
86
|
background-color: var(--color-light-specialbg-component);
|
|
87
|
-
} .bottom-sheet__background-specialbg-component-
|
|
87
|
+
} .bottom-sheet__background-specialbg-component-inverted_17wtd {
|
|
88
88
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
89
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
89
|
+
} .bottom-sheet__background-specialbg-primary-grouped_17wtd {
|
|
90
90
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
91
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
91
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_17wtd {
|
|
92
92
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
93
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
93
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_17wtd {
|
|
94
94
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
95
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
95
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_17wtd {
|
|
96
96
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
97
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
97
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_17wtd {
|
|
98
98
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
99
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
99
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_17wtd {
|
|
100
100
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
101
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
101
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_17wtd {
|
|
102
102
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
103
103
|
}
|
|
@@ -13,7 +13,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
13
13
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
14
14
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
15
15
|
|
|
16
|
-
var styles = {"headerWrapper":"bottom-
|
|
16
|
+
var styles = {"headerWrapper":"bottom-sheet__headerWrapper_1hvqa","hasContent":"bottom-sheet__hasContent_1hvqa","header":"bottom-sheet__header_1hvqa","sticky":"bottom-sheet__sticky_1hvqa","highlighted":"bottom-sheet__highlighted_1hvqa","justifyEnd":"bottom-sheet__justifyEnd_1hvqa","addon":"bottom-sheet__addon_1hvqa","addonFixed":"bottom-sheet__addonFixed_1hvqa","title":"bottom-sheet__title_1hvqa","titleCenter":"bottom-sheet__titleCenter_1hvqa","titleLeft":"bottom-sheet__titleLeft_1hvqa","trimTitle":"bottom-sheet__trimTitle_1hvqa"};
|
|
17
17
|
require('./index.css')
|
|
18
18
|
|
|
19
19
|
var Header = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: frex9 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-neutral-300: #e7e8eb; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -30,42 +30,42 @@
|
|
|
30
30
|
--bottom-sheet-title-font-family: var(--font-family-system);
|
|
31
31
|
|
|
32
32
|
/* footer */
|
|
33
|
-
} .bottom-
|
|
33
|
+
} .bottom-sheet__headerWrapper_1hvqa {
|
|
34
34
|
padding: var(--gap-s) var(--gap-xs) var(--gap-2xs);
|
|
35
35
|
border-top-left-radius: inherit;
|
|
36
36
|
border-top-right-radius: inherit;
|
|
37
37
|
z-index: 1;
|
|
38
|
-
} .bottom-
|
|
38
|
+
} .bottom-sheet__hasContent_1hvqa {
|
|
39
39
|
background-color: inherit;
|
|
40
|
-
} .bottom-
|
|
40
|
+
} .bottom-sheet__header_1hvqa {
|
|
41
41
|
display: flex;
|
|
42
|
-
} .bottom-
|
|
42
|
+
} .bottom-sheet__sticky_1hvqa {
|
|
43
43
|
position: sticky;
|
|
44
44
|
top: 0;
|
|
45
|
-
} .bottom-
|
|
45
|
+
} .bottom-sheet__highlighted_1hvqa {
|
|
46
46
|
border-bottom: var(--bottom-sheet-header-border-bottom);
|
|
47
|
-
} .bottom-
|
|
47
|
+
} .bottom-sheet__justifyEnd_1hvqa {
|
|
48
48
|
justify-content: flex-end;
|
|
49
|
-
} .bottom-
|
|
49
|
+
} .bottom-sheet__addon_1hvqa {
|
|
50
50
|
display: flex;
|
|
51
51
|
justify-content: center;
|
|
52
52
|
align-items: center;
|
|
53
53
|
min-width: 48px;
|
|
54
54
|
height: 48px;
|
|
55
|
-
} .bottom-
|
|
55
|
+
} .bottom-sheet__addonFixed_1hvqa {
|
|
56
56
|
position: fixed;
|
|
57
|
-
} .bottom-
|
|
57
|
+
} .bottom-sheet__title_1hvqa {
|
|
58
58
|
padding: var(--gap-s) var(--gap-xs);
|
|
59
59
|
width: 100%;
|
|
60
60
|
font-size: var(--bottom-sheet-title-font-size);
|
|
61
61
|
font-weight: var(--bottom-sheet-title-font-weight);
|
|
62
62
|
line-height: var(--bottom-sheet-title-line-height);
|
|
63
63
|
font-family: var(--bottom-sheet-title-font-family);
|
|
64
|
-
} .bottom-
|
|
64
|
+
} .bottom-sheet__titleCenter_1hvqa {
|
|
65
65
|
text-align: center;
|
|
66
|
-
} .bottom-
|
|
66
|
+
} .bottom-sheet__titleLeft_1hvqa {
|
|
67
67
|
text-align: left;
|
|
68
|
-
} .bottom-
|
|
68
|
+
} .bottom-sheet__trimTitle_1hvqa {
|
|
69
69
|
white-space: nowrap;
|
|
70
70
|
overflow: hidden;
|
|
71
71
|
text-overflow: ellipsis;
|
package/cssm/component.js
CHANGED
|
@@ -15,10 +15,6 @@ var components_header_Component = require('./components/header/Component.js');
|
|
|
15
15
|
var components_swipeableBackdrop_Component = require('./components/swipeable-backdrop/Component.js');
|
|
16
16
|
var utils = require('./utils.js');
|
|
17
17
|
var styles = require('./index.module.css');
|
|
18
|
-
require('./components/footer/index.module.css');
|
|
19
|
-
require('@alfalab/core-components-navigation-bar/cssm');
|
|
20
|
-
require('./components/header/index.module.css');
|
|
21
|
-
require('@alfalab/core-components-backdrop/cssm');
|
|
22
18
|
|
|
23
19
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
24
20
|
|
|
@@ -352,8 +348,8 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
352
348
|
React__default.default.createElement("div", { ref: contentRef, className: cn__default.default(styles__default.default.content, contentClassName, (_f = {},
|
|
353
349
|
_f[styles__default.default.noHeader] = hideHeader || emptyHeader,
|
|
354
350
|
_f[styles__default.default.noFooter] = !actionButton,
|
|
355
|
-
_f)) }, children),
|
|
356
|
-
actionButton && (React__default.default.createElement(components_footer_Component.Footer, { sticky: stickyFooter, className: cn__default.default(bgClassName, footerClassName) }, actionButton)))))));
|
|
351
|
+
_f)), "data-test-id": coreComponentsShared.getDataTestId(dataTestId, 'content') }, children),
|
|
352
|
+
actionButton && (React__default.default.createElement(components_footer_Component.Footer, { sticky: stickyFooter, className: cn__default.default(bgClassName, footerClassName), dataTestId: coreComponentsShared.getDataTestId(dataTestId, 'footer') }, actionButton)))))));
|
|
357
353
|
});
|
|
358
354
|
|
|
359
355
|
exports.BottomSheet = BottomSheet;
|
|
@@ -12,6 +12,10 @@ type FooterProps = {
|
|
|
12
12
|
* Дополнительный класс
|
|
13
13
|
*/
|
|
14
14
|
className?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
17
|
+
*/
|
|
18
|
+
dataTestId?: string;
|
|
15
19
|
};
|
|
16
20
|
declare const Footer: FC<FooterProps>;
|
|
17
21
|
export { FooterProps, Footer };
|
|
@@ -15,7 +15,7 @@ var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
|
|
|
15
15
|
|
|
16
16
|
var Footer = function (_a) {
|
|
17
17
|
var _b;
|
|
18
|
-
var children = _a.children, className = _a.className, sticky = _a.sticky;
|
|
18
|
+
var children = _a.children, className = _a.className, sticky = _a.sticky, dataTestId = _a.dataTestId;
|
|
19
19
|
var _c = React.useContext(coreComponentsBaseModal.BaseModalContext), footerHighlighted = _c.footerHighlighted, setHasFooter = _c.setHasFooter;
|
|
20
20
|
React.useEffect(function () {
|
|
21
21
|
setHasFooter(true);
|
|
@@ -23,7 +23,7 @@ var Footer = function (_a) {
|
|
|
23
23
|
return (React__default.default.createElement("div", { className: cn__default.default(styles__default.default.footer, className, (_b = {},
|
|
24
24
|
_b[styles__default.default.sticky] = sticky,
|
|
25
25
|
_b[styles__default.default.highlighted] = footerHighlighted && sticky,
|
|
26
|
-
_b)) }, children));
|
|
26
|
+
_b)), "data-test-id": dataTestId }, children));
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
exports.Footer = Footer;
|
package/cssm/index.js
CHANGED
|
@@ -4,22 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var component = require('./component.js');
|
|
6
6
|
var utils = require('./utils.js');
|
|
7
|
-
require('tslib');
|
|
8
|
-
require('react');
|
|
9
|
-
require('react-div-100vh');
|
|
10
|
-
require('react-merge-refs');
|
|
11
|
-
require('react-swipeable');
|
|
12
|
-
require('classnames');
|
|
13
|
-
require('@alfalab/core-components-base-modal/cssm');
|
|
14
|
-
require('@alfalab/core-components-shared/cssm');
|
|
15
|
-
require('./components/footer/Component.js');
|
|
16
|
-
require('./components/footer/index.module.css');
|
|
17
|
-
require('./components/header/Component.js');
|
|
18
|
-
require('@alfalab/core-components-navigation-bar/cssm');
|
|
19
|
-
require('./components/header/index.module.css');
|
|
20
|
-
require('./components/swipeable-backdrop/Component.js');
|
|
21
|
-
require('@alfalab/core-components-backdrop/cssm');
|
|
22
|
-
require('./index.module.css');
|
|
23
7
|
|
|
24
8
|
|
|
25
9
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { getBottomSheetTestIds } from "../utils";
|
package/cssm/utils.d.ts
CHANGED
|
@@ -5,4 +5,13 @@ declare const CLOSE_OFFSET = 0.2;
|
|
|
5
5
|
declare const SCROLL_OFFSET = 1;
|
|
6
6
|
declare const HEADER_OFFSET = 24;
|
|
7
7
|
declare const convertPercentToNumber: (value: string | number, fullHeight: number, headerOffset?: number) => number;
|
|
8
|
-
|
|
8
|
+
declare function getBottomSheetTestIds(dataTestId: string): {
|
|
9
|
+
bottomSheet: string;
|
|
10
|
+
content: string;
|
|
11
|
+
footer: string;
|
|
12
|
+
header: string;
|
|
13
|
+
title: string;
|
|
14
|
+
closer: string;
|
|
15
|
+
backButton: string;
|
|
16
|
+
};
|
|
17
|
+
export { TIMEOUT, SWIPE_VELOCITY, MARKER_HEIGHT, CLOSE_OFFSET, SCROLL_OFFSET, HEADER_OFFSET, convertPercentToNumber, getBottomSheetTestIds };
|
package/cssm/utils.js
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var coreComponentsShared = require('@alfalab/core-components-shared/cssm');
|
|
6
|
+
|
|
5
7
|
var TIMEOUT = 500;
|
|
6
8
|
var SWIPE_VELOCITY = 0.4;
|
|
7
9
|
var MARKER_HEIGHT = 24;
|
|
@@ -23,6 +25,17 @@ var convertPercentToNumber = function (value, fullHeight, headerOffset) {
|
|
|
23
25
|
}
|
|
24
26
|
return Math.min(maxHeight, value);
|
|
25
27
|
};
|
|
28
|
+
function getBottomSheetTestIds(dataTestId) {
|
|
29
|
+
return {
|
|
30
|
+
bottomSheet: dataTestId,
|
|
31
|
+
content: coreComponentsShared.getDataTestId(dataTestId, 'content'),
|
|
32
|
+
footer: coreComponentsShared.getDataTestId(dataTestId, 'footer'),
|
|
33
|
+
header: coreComponentsShared.getDataTestId(dataTestId, 'header'),
|
|
34
|
+
title: coreComponentsShared.getDataTestId(dataTestId, 'header-title'),
|
|
35
|
+
closer: coreComponentsShared.getDataTestId(dataTestId, 'header-closer'),
|
|
36
|
+
backButton: coreComponentsShared.getDataTestId(dataTestId, 'header-back-button'),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
26
39
|
|
|
27
40
|
exports.CLOSE_OFFSET = CLOSE_OFFSET;
|
|
28
41
|
exports.HEADER_OFFSET = HEADER_OFFSET;
|
|
@@ -31,3 +44,4 @@ exports.SCROLL_OFFSET = SCROLL_OFFSET;
|
|
|
31
44
|
exports.SWIPE_VELOCITY = SWIPE_VELOCITY;
|
|
32
45
|
exports.TIMEOUT = TIMEOUT;
|
|
33
46
|
exports.convertPercentToNumber = convertPercentToNumber;
|
|
47
|
+
exports.getBottomSheetTestIds = getBottomSheetTestIds;
|
package/esm/component.js
CHANGED
|
@@ -10,10 +10,8 @@ import { Footer } from './components/footer/Component.js';
|
|
|
10
10
|
import { Header } from './components/header/Component.js';
|
|
11
11
|
import { SwipeableBackdrop } from './components/swipeable-backdrop/Component.js';
|
|
12
12
|
import { convertPercentToNumber, TIMEOUT, MARKER_HEIGHT, SCROLL_OFFSET, SWIPE_VELOCITY, CLOSE_OFFSET } from './utils.js';
|
|
13
|
-
import '@alfalab/core-components-navigation-bar/esm';
|
|
14
|
-
import '@alfalab/core-components-backdrop/esm';
|
|
15
13
|
|
|
16
|
-
var styles = {"modal":"bottom-
|
|
14
|
+
var styles = {"modal":"bottom-sheet__modal_6rf8a","wrapper":"bottom-sheet__wrapper_6rf8a","fullscreen":"bottom-sheet__fullscreen_6rf8a","component":"bottom-sheet__component_6rf8a","withTransition":"bottom-sheet__withTransition_6rf8a","scrollableContainer":"bottom-sheet__scrollableContainer_6rf8a","marker":"bottom-sheet__marker_6rf8a","defaultMarker":"bottom-sheet__defaultMarker_6rf8a","content":"bottom-sheet__content_6rf8a","noHeader":"bottom-sheet__noHeader_6rf8a","noFooter":"bottom-sheet__noFooter_6rf8a","scrollLocked":"bottom-sheet__scrollLocked_6rf8a","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_6rf8a","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_6rf8a","appear":"bottom-sheet__appear_6rf8a","enter":"bottom-sheet__enter_6rf8a","appearActive":"bottom-sheet__appearActive_6rf8a","enterActive":"bottom-sheet__enterActive_6rf8a","enterDone":"bottom-sheet__enterDone_6rf8a","appearDone":"bottom-sheet__appearDone_6rf8a","exit":"bottom-sheet__exit_6rf8a","exitActive":"bottom-sheet__exitActive_6rf8a","background-accent":"bottom-sheet__background-accent_6rf8a","background-info":"bottom-sheet__background-info_6rf8a","background-attention-muted":"bottom-sheet__background-attention-muted_6rf8a","background-positive-muted":"bottom-sheet__background-positive-muted_6rf8a","background-negative-muted":"bottom-sheet__background-negative-muted_6rf8a","background-primary":"bottom-sheet__background-primary_6rf8a","background-primary-inverted":"bottom-sheet__background-primary-inverted_6rf8a","background-secondary":"bottom-sheet__background-secondary_6rf8a","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_6rf8a","background-tertiary":"bottom-sheet__background-tertiary_6rf8a","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_6rf8a","background-quaternary":"bottom-sheet__background-quaternary_6rf8a","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_6rf8a","background-specialbg-component":"bottom-sheet__background-specialbg-component_6rf8a","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_6rf8a","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_6rf8a","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_6rf8a","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_6rf8a","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_6rf8a","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_6rf8a","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_6rf8a","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_6rf8a"};
|
|
17
15
|
require('./index.css')
|
|
18
16
|
|
|
19
17
|
var isNil = fnUtils.isNil;
|
|
@@ -341,8 +339,8 @@ var BottomSheet = forwardRef(function (_a, ref) {
|
|
|
341
339
|
React.createElement("div", { ref: contentRef, className: cn(styles.content, contentClassName, (_f = {},
|
|
342
340
|
_f[styles.noHeader] = hideHeader || emptyHeader,
|
|
343
341
|
_f[styles.noFooter] = !actionButton,
|
|
344
|
-
_f)) }, children),
|
|
345
|
-
actionButton && (React.createElement(Footer, { sticky: stickyFooter, className: cn(bgClassName, footerClassName) }, actionButton)))))));
|
|
342
|
+
_f)), "data-test-id": getDataTestId(dataTestId, 'content') }, children),
|
|
343
|
+
actionButton && (React.createElement(Footer, { sticky: stickyFooter, className: cn(bgClassName, footerClassName), dataTestId: getDataTestId(dataTestId, 'footer') }, actionButton)))))));
|
|
346
344
|
});
|
|
347
345
|
|
|
348
346
|
export { BottomSheet };
|
|
@@ -12,6 +12,10 @@ type FooterProps = {
|
|
|
12
12
|
* Дополнительный класс
|
|
13
13
|
*/
|
|
14
14
|
className?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
17
|
+
*/
|
|
18
|
+
dataTestId?: string;
|
|
15
19
|
};
|
|
16
20
|
declare const Footer: FC<FooterProps>;
|
|
17
21
|
export { FooterProps, Footer };
|
|
@@ -2,12 +2,12 @@ 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_17wtd","sticky":"bottom-sheet__sticky_17wtd","highlighted":"bottom-sheet__highlighted_17wtd","background-accent":"bottom-sheet__background-accent_17wtd","background-info":"bottom-sheet__background-info_17wtd","background-attention-muted":"bottom-sheet__background-attention-muted_17wtd","background-positive-muted":"bottom-sheet__background-positive-muted_17wtd","background-negative-muted":"bottom-sheet__background-negative-muted_17wtd","background-primary":"bottom-sheet__background-primary_17wtd","background-primary-inverted":"bottom-sheet__background-primary-inverted_17wtd","background-secondary":"bottom-sheet__background-secondary_17wtd","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_17wtd","background-tertiary":"bottom-sheet__background-tertiary_17wtd","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_17wtd","background-quaternary":"bottom-sheet__background-quaternary_17wtd","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_17wtd","background-specialbg-component":"bottom-sheet__background-specialbg-component_17wtd","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_17wtd","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_17wtd","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_17wtd","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_17wtd","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_17wtd","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_17wtd","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_17wtd","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_17wtd"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var Footer = function (_a) {
|
|
9
9
|
var _b;
|
|
10
|
-
var children = _a.children, className = _a.className, sticky = _a.sticky;
|
|
10
|
+
var children = _a.children, className = _a.className, sticky = _a.sticky, dataTestId = _a.dataTestId;
|
|
11
11
|
var _c = useContext(BaseModalContext), footerHighlighted = _c.footerHighlighted, setHasFooter = _c.setHasFooter;
|
|
12
12
|
useEffect(function () {
|
|
13
13
|
setHasFooter(true);
|
|
@@ -15,7 +15,7 @@ var Footer = function (_a) {
|
|
|
15
15
|
return (React.createElement("div", { className: cn(styles.footer, className, (_b = {},
|
|
16
16
|
_b[styles.sticky] = sticky,
|
|
17
17
|
_b[styles.highlighted] = footerHighlighted && sticky,
|
|
18
|
-
_b)) }, children));
|
|
18
|
+
_b)), "data-test-id": dataTestId }, children));
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
export { Footer };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 17kb9 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -46,58 +46,58 @@
|
|
|
46
46
|
/* footer */
|
|
47
47
|
--bottom-sheet-footer-border-top: 1px solid var(--color-light-neutral-300);
|
|
48
48
|
--bottom-sheet-footer-background-color: var(--color-light-modal-bg-primary);
|
|
49
|
-
} .bottom-
|
|
49
|
+
} .bottom-sheet__footer_17wtd {
|
|
50
50
|
padding: var(--gap-m) var(--gap-m);
|
|
51
51
|
background-color: var(--color-light-modal-bg-primary);
|
|
52
|
-
} .bottom-
|
|
52
|
+
} .bottom-sheet__sticky_17wtd {
|
|
53
53
|
position: sticky;
|
|
54
54
|
bottom: 0;
|
|
55
55
|
z-index: 1;
|
|
56
|
-
} .bottom-
|
|
56
|
+
} .bottom-sheet__highlighted_17wtd {
|
|
57
57
|
border-top: var(--bottom-sheet-footer-border-top);
|
|
58
58
|
background-color: var(--bottom-sheet-footer-background-color);
|
|
59
|
-
} .bottom-sheet__background-
|
|
59
|
+
} .bottom-sheet__background-accent_17wtd {
|
|
60
60
|
background-color: var(--color-light-bg-accent);
|
|
61
|
-
} .bottom-sheet__background-
|
|
61
|
+
} .bottom-sheet__background-info_17wtd {
|
|
62
62
|
background-color: var(--color-light-bg-info);
|
|
63
|
-
} .bottom-sheet__background-attention-
|
|
63
|
+
} .bottom-sheet__background-attention-muted_17wtd {
|
|
64
64
|
background-color: var(--color-light-bg-attention-muted);
|
|
65
|
-
} .bottom-sheet__background-positive-
|
|
65
|
+
} .bottom-sheet__background-positive-muted_17wtd {
|
|
66
66
|
background-color: var(--color-light-bg-positive-muted);
|
|
67
|
-
} .bottom-sheet__background-negative-
|
|
67
|
+
} .bottom-sheet__background-negative-muted_17wtd {
|
|
68
68
|
background-color: var(--color-light-bg-negative-muted);
|
|
69
|
-
} .bottom-sheet__background-
|
|
69
|
+
} .bottom-sheet__background-primary_17wtd {
|
|
70
70
|
background-color: var(--color-light-bg-primary);
|
|
71
|
-
} .bottom-sheet__background-primary-
|
|
71
|
+
} .bottom-sheet__background-primary-inverted_17wtd {
|
|
72
72
|
background-color: var(--color-light-bg-primary-inverted);
|
|
73
|
-
} .bottom-sheet__background-
|
|
73
|
+
} .bottom-sheet__background-secondary_17wtd {
|
|
74
74
|
background-color: var(--color-light-bg-secondary);
|
|
75
|
-
} .bottom-sheet__background-secondary-
|
|
75
|
+
} .bottom-sheet__background-secondary-inverted_17wtd {
|
|
76
76
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
77
|
-
} .bottom-sheet__background-
|
|
77
|
+
} .bottom-sheet__background-tertiary_17wtd {
|
|
78
78
|
background-color: var(--color-light-bg-tertiary);
|
|
79
|
-
} .bottom-sheet__background-tertiary-
|
|
79
|
+
} .bottom-sheet__background-tertiary-inverted_17wtd {
|
|
80
80
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
81
|
-
} .bottom-sheet__background-
|
|
81
|
+
} .bottom-sheet__background-quaternary_17wtd {
|
|
82
82
|
background-color: var(--color-light-bg-quaternary);
|
|
83
|
-
} .bottom-sheet__background-quaternary-
|
|
83
|
+
} .bottom-sheet__background-quaternary-inverted_17wtd {
|
|
84
84
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
85
|
-
} .bottom-sheet__background-specialbg-
|
|
85
|
+
} .bottom-sheet__background-specialbg-component_17wtd {
|
|
86
86
|
background-color: var(--color-light-specialbg-component);
|
|
87
|
-
} .bottom-sheet__background-specialbg-component-
|
|
87
|
+
} .bottom-sheet__background-specialbg-component-inverted_17wtd {
|
|
88
88
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
89
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
89
|
+
} .bottom-sheet__background-specialbg-primary-grouped_17wtd {
|
|
90
90
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
91
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
91
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_17wtd {
|
|
92
92
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
93
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
93
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_17wtd {
|
|
94
94
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
95
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
95
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_17wtd {
|
|
96
96
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
97
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
97
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_17wtd {
|
|
98
98
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
99
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
99
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_17wtd {
|
|
100
100
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
101
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
101
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_17wtd {
|
|
102
102
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
103
103
|
}
|
|
@@ -4,7 +4,7 @@ import cn from 'classnames';
|
|
|
4
4
|
import { BaseModalContext } from '@alfalab/core-components-base-modal/esm';
|
|
5
5
|
import { NavigationBar } from '@alfalab/core-components-navigation-bar/esm';
|
|
6
6
|
|
|
7
|
-
var styles = {"headerWrapper":"bottom-
|
|
7
|
+
var styles = {"headerWrapper":"bottom-sheet__headerWrapper_1hvqa","hasContent":"bottom-sheet__hasContent_1hvqa","header":"bottom-sheet__header_1hvqa","sticky":"bottom-sheet__sticky_1hvqa","highlighted":"bottom-sheet__highlighted_1hvqa","justifyEnd":"bottom-sheet__justifyEnd_1hvqa","addon":"bottom-sheet__addon_1hvqa","addonFixed":"bottom-sheet__addonFixed_1hvqa","title":"bottom-sheet__title_1hvqa","titleCenter":"bottom-sheet__titleCenter_1hvqa","titleLeft":"bottom-sheet__titleLeft_1hvqa","trimTitle":"bottom-sheet__trimTitle_1hvqa"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
var Header = function (_a) {
|