@alfalab/core-components-navigation-bar 0.1.2 → 0.2.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.d.ts +3 -2
- package/Component.js +18 -9
- package/components/back-arrow-addon/Component.js +3 -1
- package/components/back-arrow-addon/index.css +18 -18
- package/components/back-arrow-addon/index.js +2 -0
- package/components/closer/Component.js +3 -1
- package/components/closer/index.css +9 -9
- package/components/closer/index.js +2 -0
- package/cssm/Component.d.ts +3 -2
- package/cssm/Component.js +17 -8
- package/cssm/components/back-arrow-addon/Component.js +2 -0
- package/cssm/components/back-arrow-addon/index.js +2 -0
- package/cssm/components/back-arrow-addon/index.module.css +6 -6
- package/cssm/components/closer/Component.js +2 -0
- package/cssm/components/closer/index.js +2 -0
- package/cssm/components/closer/index.module.css +4 -4
- package/cssm/index.js +3 -0
- package/cssm/index.module.css +3 -3
- package/cssm/types.d.ts +1 -1
- package/esm/Component.d.ts +3 -2
- package/esm/Component.js +16 -10
- package/esm/components/back-arrow-addon/Component.js +1 -1
- package/esm/components/back-arrow-addon/index.css +18 -18
- package/esm/components/closer/Component.js +1 -1
- package/esm/components/closer/index.css +9 -9
- package/esm/index.css +30 -30
- package/esm/index.js +1 -0
- package/esm/types.d.ts +1 -1
- package/index.css +30 -30
- package/index.js +3 -0
- package/modern/Component.d.ts +3 -2
- package/modern/Component.js +16 -10
- package/modern/components/back-arrow-addon/Component.js +1 -1
- package/modern/components/back-arrow-addon/index.css +18 -18
- package/modern/components/closer/Component.js +1 -1
- package/modern/components/closer/index.css +9 -9
- package/modern/index.css +30 -30
- package/modern/index.js +1 -0
- package/modern/types.d.ts +1 -1
- package/package.json +4 -4
- package/types.d.ts +1 -1
package/Component.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import { NavigationBarProps } from "./types";
|
|
3
|
-
declare const NavigationBar:
|
|
4
|
+
declare const NavigationBar: React.ForwardRefExoticComponent<NavigationBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
5
|
export { NavigationBar };
|
package/Component.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
3
5
|
var tslib = require('tslib');
|
|
4
6
|
var React = require('react');
|
|
7
|
+
var mergeRefs = require('react-merge-refs');
|
|
5
8
|
var cn = require('classnames');
|
|
6
9
|
var hooks = require('@alfalab/hooks');
|
|
7
10
|
var components_backArrowAddon_Component = require('./components/back-arrow-addon/Component.js');
|
|
@@ -17,6 +20,7 @@ require('@alfalab/icons-glyph/CrossMIcon');
|
|
|
17
20
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
18
21
|
|
|
19
22
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
23
|
+
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
20
24
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
21
25
|
|
|
22
26
|
var getDataTestId = function (dataTestId, element) {
|
|
@@ -24,11 +28,11 @@ var getDataTestId = function (dataTestId, element) {
|
|
|
24
28
|
return dataTestId ? "".concat(dataTestId).concat(elementPart) : undefined;
|
|
25
29
|
};
|
|
26
30
|
|
|
27
|
-
var styles = {"header":"navigation-
|
|
31
|
+
var styles = {"header":"navigation-bar__header_1p62k","backgroundImage":"navigation-bar__backgroundImage_1p62k","mainLine":"navigation-bar__mainLine_1p62k","mainLineSticky":"navigation-bar__mainLineSticky_1p62k","mainLineWithImageBg":"navigation-bar__mainLineWithImageBg_1p62k","content":"navigation-bar__content_1p62k","withBothAddons":"navigation-bar__withBothAddons_1p62k","withCompactTitle":"navigation-bar__withCompactTitle_1p62k","children":"navigation-bar__children_1p62k","title":"navigation-bar__title_1p62k","contentOnBotDesktop":"navigation-bar__contentOnBotDesktop_1p62k","contentOnBotMobile":"navigation-bar__contentOnBotMobile_1p62k","subtitle":"navigation-bar__subtitle_1p62k","addonsWrapper":"navigation-bar__addonsWrapper_1p62k","rightAddons":"navigation-bar__rightAddons_1p62k","addon":"navigation-bar__addon_1p62k","bottomAddons":"navigation-bar__bottomAddons_1p62k","closer":"navigation-bar__closer_1p62k","left":"navigation-bar__left_1p62k","center":"navigation-bar__center_1p62k","trim":"navigation-bar__trim_1p62k"};
|
|
28
32
|
require('./index.css')
|
|
29
33
|
|
|
30
34
|
var ADDONS_HEIGHT = 48;
|
|
31
|
-
var NavigationBar = function (_a) {
|
|
35
|
+
var NavigationBar = React.forwardRef(function (_a, ref) {
|
|
32
36
|
var _b, _c, _d;
|
|
33
37
|
var addonClassName = _a.addonClassName, className = _a.className, contentClassName = _a.contentClassName, closerClassName = _a.closerClassName, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, bottomAddonsClassName = _a.bottomAddonsClassName, children = _a.children, _e = _a.align, align = _e === void 0 ? 'left' : _e, _f = _a.trim, trim = _f === void 0 ? true : _f, title = _a.title, _g = _a.titleSize, titleSize = _g === void 0 ? 'default' : _g, subtitle = _a.subtitle, hasCloser = _a.hasCloser, hasBackButton = _a.hasBackButton, backButtonClassName = _a.backButtonClassName, dataTestId = _a.dataTestId, imageUrl = _a.imageUrl, closerIcon = _a.closerIcon, onClose = _a.onClose, view = _a.view, scrollableParentRef = _a.scrollableParentRef, sticky = _a.sticky, onBack = _a.onBack;
|
|
34
38
|
var _h = React.useState(0), scrollTop = _h[0], setScrollTop = _h[1];
|
|
@@ -103,8 +107,8 @@ var NavigationBar = function (_a) {
|
|
|
103
107
|
var renderContent = function (args) {
|
|
104
108
|
var _a;
|
|
105
109
|
if (args === void 0) { args = {}; }
|
|
106
|
-
var extraClassName = args.extraClassName,
|
|
107
|
-
return (React__default.default.createElement("div", { style: tslib.__assign(tslib.__assign({}, style), { visibility: hidden ? 'hidden' : 'visible' }), ref:
|
|
110
|
+
var extraClassName = args.extraClassName, wrapperRef = args.wrapperRef, style = args.style, hidden = args.hidden;
|
|
111
|
+
return (React__default.default.createElement("div", { style: tslib.__assign(tslib.__assign({}, style), { visibility: hidden ? 'hidden' : 'visible' }), ref: wrapperRef, className: cn__default.default(styles.content, extraClassName, contentClassName, styles[align], (_a = {},
|
|
108
112
|
_a[styles.trim] = trim,
|
|
109
113
|
_a[styles.withCompactTitle] = view === 'mobile' && compactTitle && hasContent,
|
|
110
114
|
_a)), "aria-hidden": hidden },
|
|
@@ -114,8 +118,10 @@ var NavigationBar = function (_a) {
|
|
|
114
118
|
};
|
|
115
119
|
var renderCloser = function () { return (React__default.default.createElement("div", { className: cn__default.default(styles.addon, styles.closer, closerClassName) },
|
|
116
120
|
React__default.default.createElement(components_closer_Component.Closer, { view: view, icon: closerIcon, dataTestId: getDataTestId(dataTestId, 'closer'), onClose: onClose }))); };
|
|
117
|
-
return (React__default.default.createElement("div", { ref: headerRef, className: cn__default.default(styles.header, className, (_b = {}, _b[styles.backgroundImage] = imageUrl, _b)), "data-test-id": getDataTestId(dataTestId), style: tslib.__assign(tslib.__assign({}, (imageUrl && { backgroundImage: "url(".concat(imageUrl, ")") })), (withAnimation &&
|
|
118
|
-
bottomContentRef.current && {
|
|
121
|
+
return (React__default.default.createElement("div", { ref: mergeRefs__default.default([ref, headerRef]), className: cn__default.default(styles.header, className, (_b = {}, _b[styles.backgroundImage] = imageUrl, _b)), "data-test-id": getDataTestId(dataTestId), style: tslib.__assign(tslib.__assign({}, (imageUrl && { backgroundImage: "url(".concat(imageUrl, ")") })), (withAnimation &&
|
|
122
|
+
bottomContentRef.current && {
|
|
123
|
+
top: -bottomContentRef.current.scrollHeight,
|
|
124
|
+
})) },
|
|
119
125
|
React__default.default.createElement("div", { className: cn__default.default(styles.mainLine, (_c = {},
|
|
120
126
|
_c[styles.mainLineSticky] = withAnimation,
|
|
121
127
|
_c[styles.mainLineWithImageBg] = imageUrl,
|
|
@@ -141,7 +147,10 @@ var NavigationBar = function (_a) {
|
|
|
141
147
|
renderContent({
|
|
142
148
|
extraClassName: styles.withBothAddons,
|
|
143
149
|
style: tslib.__assign({ opacity: Math.min(1, (scrollTop - ADDONS_HEIGHT) / ADDONS_HEIGHT) }, (align === 'center'
|
|
144
|
-
? {
|
|
150
|
+
? {
|
|
151
|
+
marginLeft: titleMargin.left,
|
|
152
|
+
marginRight: titleMargin.right,
|
|
153
|
+
}
|
|
145
154
|
: null)),
|
|
146
155
|
}),
|
|
147
156
|
hasRightPart && (React__default.default.createElement("div", { className: cn__default.default(styles.addonsWrapper, styles.rightAddons), ref: rightAddonsRef },
|
|
@@ -149,7 +158,7 @@ var NavigationBar = function (_a) {
|
|
|
149
158
|
hasCloser && renderCloser()))),
|
|
150
159
|
showAnimatedContentOnBot &&
|
|
151
160
|
renderContent({
|
|
152
|
-
|
|
161
|
+
wrapperRef: bottomContentRef,
|
|
153
162
|
extraClassName: styles.underAddons,
|
|
154
163
|
style: { opacity: Math.max(0, 1 - scrollTop / ADDONS_HEIGHT) },
|
|
155
164
|
hidden: scrollTop / ADDONS_HEIGHT > 1,
|
|
@@ -162,6 +171,6 @@ var NavigationBar = function (_a) {
|
|
|
162
171
|
_d)),
|
|
163
172
|
}),
|
|
164
173
|
bottomAddons && (React__default.default.createElement("div", { className: cn__default.default(styles.bottomAddons, bottomAddonsClassName) }, bottomAddons))));
|
|
165
|
-
};
|
|
174
|
+
});
|
|
166
175
|
|
|
167
176
|
exports.NavigationBar = NavigationBar;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
3
5
|
var tslib = require('tslib');
|
|
4
6
|
var React = require('react');
|
|
5
7
|
var cn = require('classnames');
|
|
@@ -13,7 +15,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
13
15
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
14
16
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
15
17
|
|
|
16
|
-
var styles = {"component":"navigation-
|
|
18
|
+
var styles = {"component":"navigation-bar__component_1lkkr","mobileComponent":"navigation-bar__mobileComponent_1lkkr","flex":"navigation-bar__flex_1lkkr","iconWrapper":"navigation-bar__iconWrapper_1lkkr","text":"navigation-bar__text_1lkkr","mobileWrapper":"navigation-bar__mobileWrapper_1lkkr"};
|
|
17
19
|
require('./index.css')
|
|
18
20
|
|
|
19
21
|
var BackArrowAddon = function (_a) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 7mmij */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
|
-
--color-light-graphic-primary: #
|
|
5
|
-
--color-light-graphic-secondary: #
|
|
6
|
-
--color-light-specialbg-secondary-transparent: rgba(11, 31, 53, 0.05);
|
|
4
|
+
--color-light-graphic-primary: #0e0e0e;
|
|
5
|
+
--color-light-graphic-secondary: #86868a;
|
|
6
|
+
--color-light-specialbg-secondary-transparent: rgba(11, 31, 53, 0.05); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
7
7
|
--color-light-bg-primary-alpha-40: rgba(255, 255, 255, 0.4);
|
|
8
|
-
--color-light-graphic-primary-tint-20: rgb(
|
|
9
|
-
--color-light-graphic-primary-tint-30: rgb(
|
|
10
|
-
} :root {
|
|
8
|
+
--color-light-graphic-primary-tint-20: rgb(62, 62, 62);
|
|
9
|
+
--color-light-graphic-primary-tint-30: rgb(86, 86, 86);
|
|
10
|
+
} :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 */
|
|
11
11
|
} :root {
|
|
12
12
|
} :root {
|
|
13
13
|
|
|
@@ -24,46 +24,46 @@
|
|
|
24
24
|
--gap-s: 12px;
|
|
25
25
|
} :root {
|
|
26
26
|
} :root {
|
|
27
|
-
} .navigation-
|
|
27
|
+
} .navigation-bar__component_1lkkr {
|
|
28
28
|
height: 100%;
|
|
29
29
|
background: var(--color-light-bg-primary-alpha-40);
|
|
30
30
|
-webkit-backdrop-filter: blur(10px);
|
|
31
31
|
backdrop-filter: blur(10px);
|
|
32
32
|
border-radius: var(--border-radius-pill)
|
|
33
|
-
} .navigation-
|
|
33
|
+
} .navigation-bar__component_1lkkr svg > path {
|
|
34
34
|
transition: fill 0.2s ease;
|
|
35
35
|
fill: var(--color-light-graphic-primary);
|
|
36
|
-
} .navigation-
|
|
36
|
+
} .navigation-bar__component_1lkkr:hover svg > path {
|
|
37
37
|
fill: var(--color-light-graphic-primary-tint-20);
|
|
38
|
-
} .navigation-
|
|
38
|
+
} .navigation-bar__component_1lkkr:active svg > path {
|
|
39
39
|
fill: var(--color-light-graphic-primary-tint-30);
|
|
40
|
-
} .navigation-
|
|
40
|
+
} .navigation-bar__mobileComponent_1lkkr {
|
|
41
41
|
height: 32px;
|
|
42
42
|
margin: 0 var(--gap-xs);
|
|
43
43
|
-webkit-backdrop-filter: none;
|
|
44
44
|
backdrop-filter: none;
|
|
45
45
|
background: none;
|
|
46
|
-
} .navigation-
|
|
46
|
+
} .navigation-bar__flex_1lkkr {
|
|
47
47
|
display: flex;
|
|
48
48
|
align-items: center;
|
|
49
|
-
} .navigation-
|
|
49
|
+
} .navigation-bar__iconWrapper_1lkkr {
|
|
50
50
|
display: inline-flex;
|
|
51
51
|
align-items: center;
|
|
52
52
|
justify-content: center;
|
|
53
53
|
height: 48px;
|
|
54
54
|
margin: 0 var(--gap-xs) 0 var(--gap-s);
|
|
55
55
|
border-radius: var(--border-radius-circle)
|
|
56
|
-
} .navigation-
|
|
56
|
+
} .navigation-bar__iconWrapper_1lkkr + .navigation-bar__text_1lkkr {
|
|
57
57
|
margin-right: var(--gap-s);
|
|
58
|
-
} .navigation-
|
|
58
|
+
} .navigation-bar__mobileWrapper_1lkkr {
|
|
59
59
|
width: 32px;
|
|
60
60
|
height: 32px;
|
|
61
61
|
background: var(--color-light-specialbg-secondary-transparent);
|
|
62
62
|
-webkit-backdrop-filter: blur(10px);
|
|
63
63
|
backdrop-filter: blur(10px);
|
|
64
64
|
margin: 0
|
|
65
|
-
} .navigation-
|
|
65
|
+
} .navigation-bar__mobileWrapper_1lkkr + .navigation-bar__text_1lkkr {
|
|
66
66
|
margin: 0 var(--gap-s) 0 var(--gap-xs);
|
|
67
|
-
} .navigation-
|
|
67
|
+
} .navigation-bar__mobileWrapper_1lkkr svg > path {
|
|
68
68
|
fill: var(--color-light-graphic-secondary);
|
|
69
69
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
3
5
|
var tslib = require('tslib');
|
|
4
6
|
var React = require('react');
|
|
5
7
|
var cn = require('classnames');
|
|
@@ -12,7 +14,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
12
14
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
13
15
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
14
16
|
|
|
15
|
-
var styles = {"closer":"navigation-
|
|
17
|
+
var styles = {"closer":"navigation-bar__closer_ylt19","button":"navigation-bar__button_ylt19","mobile":"navigation-bar__mobile_ylt19","sticky":"navigation-bar__sticky_ylt19"};
|
|
16
18
|
require('./index.css')
|
|
17
19
|
|
|
18
20
|
var Closer = function (_a) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: fjemv */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
|
-
--color-light-graphic-primary: #
|
|
5
|
-
--color-light-graphic-secondary: #
|
|
6
|
-
--color-light-specialbg-secondary-transparent: rgba(11, 31, 53, 0.05);
|
|
4
|
+
--color-light-graphic-primary: #0e0e0e;
|
|
5
|
+
--color-light-graphic-secondary: #86868a;
|
|
6
|
+
--color-light-specialbg-secondary-transparent: rgba(11, 31, 53, 0.05); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
7
7
|
--color-light-bg-primary-alpha-40: rgba(255, 255, 255, 0.4);
|
|
8
|
-
} :root {
|
|
8
|
+
} :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 */
|
|
9
9
|
} :root {
|
|
10
10
|
} :root {
|
|
11
11
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
} :root {
|
|
19
19
|
} :root {
|
|
20
20
|
} :root {
|
|
21
|
-
} .navigation-
|
|
21
|
+
} .navigation-bar__closer_ylt19 {
|
|
22
22
|
flex-shrink: 0;
|
|
23
23
|
width: 48px;
|
|
24
24
|
height: 48px;
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
display: flex;
|
|
27
27
|
align-items: center;
|
|
28
28
|
justify-content: center;
|
|
29
|
-
} .navigation-
|
|
29
|
+
} .navigation-bar__button_ylt19 {
|
|
30
30
|
background: var(--color-light-bg-primary-alpha-40);
|
|
31
31
|
-webkit-backdrop-filter: blur(10px);
|
|
32
32
|
backdrop-filter: blur(10px);
|
|
33
33
|
border-radius: 50px;
|
|
34
34
|
color: var(--color-light-graphic-primary)
|
|
35
|
-
} .navigation-
|
|
35
|
+
} .navigation-bar__button_ylt19.navigation-bar__mobile_ylt19 {
|
|
36
36
|
background: var(--color-light-specialbg-secondary-transparent);
|
|
37
37
|
color: var(--color-light-graphic-secondary);
|
|
38
|
-
} .navigation-
|
|
38
|
+
} .navigation-bar__sticky_ylt19 {
|
|
39
39
|
position: sticky;
|
|
40
40
|
top: 0;
|
|
41
41
|
}
|
package/cssm/Component.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import { NavigationBarProps } from "./types";
|
|
3
|
-
declare const NavigationBar:
|
|
4
|
+
declare const NavigationBar: React.ForwardRefExoticComponent<NavigationBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
5
|
export { NavigationBar };
|
package/cssm/Component.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
3
5
|
var tslib = require('tslib');
|
|
4
6
|
var React = require('react');
|
|
7
|
+
var mergeRefs = require('react-merge-refs');
|
|
5
8
|
var cn = require('classnames');
|
|
6
9
|
var hooks = require('@alfalab/hooks');
|
|
7
10
|
var components_backArrowAddon_Component = require('./components/back-arrow-addon/Component.js');
|
|
@@ -20,6 +23,7 @@ require('./components/closer/index.module.css');
|
|
|
20
23
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
21
24
|
|
|
22
25
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
26
|
+
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
23
27
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
24
28
|
var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
|
|
25
29
|
|
|
@@ -29,7 +33,7 @@ var getDataTestId = function (dataTestId, element) {
|
|
|
29
33
|
};
|
|
30
34
|
|
|
31
35
|
var ADDONS_HEIGHT = 48;
|
|
32
|
-
var NavigationBar = function (_a) {
|
|
36
|
+
var NavigationBar = React.forwardRef(function (_a, ref) {
|
|
33
37
|
var _b, _c, _d;
|
|
34
38
|
var addonClassName = _a.addonClassName, className = _a.className, contentClassName = _a.contentClassName, closerClassName = _a.closerClassName, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, bottomAddonsClassName = _a.bottomAddonsClassName, children = _a.children, _e = _a.align, align = _e === void 0 ? 'left' : _e, _f = _a.trim, trim = _f === void 0 ? true : _f, title = _a.title, _g = _a.titleSize, titleSize = _g === void 0 ? 'default' : _g, subtitle = _a.subtitle, hasCloser = _a.hasCloser, hasBackButton = _a.hasBackButton, backButtonClassName = _a.backButtonClassName, dataTestId = _a.dataTestId, imageUrl = _a.imageUrl, closerIcon = _a.closerIcon, onClose = _a.onClose, view = _a.view, scrollableParentRef = _a.scrollableParentRef, sticky = _a.sticky, onBack = _a.onBack;
|
|
35
39
|
var _h = React.useState(0), scrollTop = _h[0], setScrollTop = _h[1];
|
|
@@ -104,8 +108,8 @@ var NavigationBar = function (_a) {
|
|
|
104
108
|
var renderContent = function (args) {
|
|
105
109
|
var _a;
|
|
106
110
|
if (args === void 0) { args = {}; }
|
|
107
|
-
var extraClassName = args.extraClassName,
|
|
108
|
-
return (React__default.default.createElement("div", { style: tslib.__assign(tslib.__assign({}, style), { visibility: hidden ? 'hidden' : 'visible' }), ref:
|
|
111
|
+
var extraClassName = args.extraClassName, wrapperRef = args.wrapperRef, style = args.style, hidden = args.hidden;
|
|
112
|
+
return (React__default.default.createElement("div", { style: tslib.__assign(tslib.__assign({}, style), { visibility: hidden ? 'hidden' : 'visible' }), ref: wrapperRef, className: cn__default.default(styles__default.default.content, extraClassName, contentClassName, styles__default.default[align], (_a = {},
|
|
109
113
|
_a[styles__default.default.trim] = trim,
|
|
110
114
|
_a[styles__default.default.withCompactTitle] = view === 'mobile' && compactTitle && hasContent,
|
|
111
115
|
_a)), "aria-hidden": hidden },
|
|
@@ -115,8 +119,10 @@ var NavigationBar = function (_a) {
|
|
|
115
119
|
};
|
|
116
120
|
var renderCloser = function () { return (React__default.default.createElement("div", { className: cn__default.default(styles__default.default.addon, styles__default.default.closer, closerClassName) },
|
|
117
121
|
React__default.default.createElement(components_closer_Component.Closer, { view: view, icon: closerIcon, dataTestId: getDataTestId(dataTestId, 'closer'), onClose: onClose }))); };
|
|
118
|
-
return (React__default.default.createElement("div", { ref: headerRef, className: cn__default.default(styles__default.default.header, className, (_b = {}, _b[styles__default.default.backgroundImage] = imageUrl, _b)), "data-test-id": getDataTestId(dataTestId), style: tslib.__assign(tslib.__assign({}, (imageUrl && { backgroundImage: "url(".concat(imageUrl, ")") })), (withAnimation &&
|
|
119
|
-
bottomContentRef.current && {
|
|
122
|
+
return (React__default.default.createElement("div", { ref: mergeRefs__default.default([ref, headerRef]), className: cn__default.default(styles__default.default.header, className, (_b = {}, _b[styles__default.default.backgroundImage] = imageUrl, _b)), "data-test-id": getDataTestId(dataTestId), style: tslib.__assign(tslib.__assign({}, (imageUrl && { backgroundImage: "url(".concat(imageUrl, ")") })), (withAnimation &&
|
|
123
|
+
bottomContentRef.current && {
|
|
124
|
+
top: -bottomContentRef.current.scrollHeight,
|
|
125
|
+
})) },
|
|
120
126
|
React__default.default.createElement("div", { className: cn__default.default(styles__default.default.mainLine, (_c = {},
|
|
121
127
|
_c[styles__default.default.mainLineSticky] = withAnimation,
|
|
122
128
|
_c[styles__default.default.mainLineWithImageBg] = imageUrl,
|
|
@@ -142,7 +148,10 @@ var NavigationBar = function (_a) {
|
|
|
142
148
|
renderContent({
|
|
143
149
|
extraClassName: styles__default.default.withBothAddons,
|
|
144
150
|
style: tslib.__assign({ opacity: Math.min(1, (scrollTop - ADDONS_HEIGHT) / ADDONS_HEIGHT) }, (align === 'center'
|
|
145
|
-
? {
|
|
151
|
+
? {
|
|
152
|
+
marginLeft: titleMargin.left,
|
|
153
|
+
marginRight: titleMargin.right,
|
|
154
|
+
}
|
|
146
155
|
: null)),
|
|
147
156
|
}),
|
|
148
157
|
hasRightPart && (React__default.default.createElement("div", { className: cn__default.default(styles__default.default.addonsWrapper, styles__default.default.rightAddons), ref: rightAddonsRef },
|
|
@@ -150,7 +159,7 @@ var NavigationBar = function (_a) {
|
|
|
150
159
|
hasCloser && renderCloser()))),
|
|
151
160
|
showAnimatedContentOnBot &&
|
|
152
161
|
renderContent({
|
|
153
|
-
|
|
162
|
+
wrapperRef: bottomContentRef,
|
|
154
163
|
extraClassName: styles__default.default.underAddons,
|
|
155
164
|
style: { opacity: Math.max(0, 1 - scrollTop / ADDONS_HEIGHT) },
|
|
156
165
|
hidden: scrollTop / ADDONS_HEIGHT > 1,
|
|
@@ -163,6 +172,6 @@ var NavigationBar = function (_a) {
|
|
|
163
172
|
_d)),
|
|
164
173
|
}),
|
|
165
174
|
bottomAddons && (React__default.default.createElement("div", { className: cn__default.default(styles__default.default.bottomAddons, bottomAddonsClassName) }, bottomAddons))));
|
|
166
|
-
};
|
|
175
|
+
});
|
|
167
176
|
|
|
168
177
|
exports.NavigationBar = NavigationBar;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
} /* deprecated */ :root {
|
|
3
|
-
--color-light-graphic-primary: #
|
|
4
|
-
--color-light-graphic-secondary: #
|
|
5
|
-
--color-light-specialbg-secondary-transparent: rgba(11, 31, 53, 0.05);
|
|
3
|
+
--color-light-graphic-primary: #0e0e0e;
|
|
4
|
+
--color-light-graphic-secondary: #86868a;
|
|
5
|
+
--color-light-specialbg-secondary-transparent: rgba(11, 31, 53, 0.05); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
6
6
|
--color-light-bg-primary-alpha-40: rgba(255, 255, 255, 0.4);
|
|
7
|
-
--color-light-graphic-primary-tint-20: rgb(
|
|
8
|
-
--color-light-graphic-primary-tint-30: rgb(
|
|
9
|
-
} :root {
|
|
7
|
+
--color-light-graphic-primary-tint-20: rgb(62, 62, 62);
|
|
8
|
+
--color-light-graphic-primary-tint-30: rgb(86, 86, 86);
|
|
9
|
+
} :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 */
|
|
10
10
|
} :root {
|
|
11
11
|
} :root {
|
|
12
12
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
} /* deprecated */ :root {
|
|
3
|
-
--color-light-graphic-primary: #
|
|
4
|
-
--color-light-graphic-secondary: #
|
|
5
|
-
--color-light-specialbg-secondary-transparent: rgba(11, 31, 53, 0.05);
|
|
3
|
+
--color-light-graphic-primary: #0e0e0e;
|
|
4
|
+
--color-light-graphic-secondary: #86868a;
|
|
5
|
+
--color-light-specialbg-secondary-transparent: rgba(11, 31, 53, 0.05); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
6
6
|
--color-light-bg-primary-alpha-40: rgba(255, 255, 255, 0.4);
|
|
7
|
-
} :root {
|
|
7
|
+
} :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 */
|
|
8
8
|
} :root {
|
|
9
9
|
} :root {
|
|
10
10
|
|
package/cssm/index.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
3
5
|
var Component = require('./Component.js');
|
|
4
6
|
var components_closer_Component = require('./components/closer/Component.js');
|
|
5
7
|
require('tslib');
|
|
6
8
|
require('react');
|
|
9
|
+
require('react-merge-refs');
|
|
7
10
|
require('classnames');
|
|
8
11
|
require('@alfalab/hooks');
|
|
9
12
|
require('./components/back-arrow-addon/Component.js');
|
package/cssm/index.module.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
} /* deprecated */ :root {
|
|
3
|
-
--color-light-text-primary: #
|
|
4
|
-
--color-light-text-secondary: rgba(
|
|
5
|
-
} :root {
|
|
3
|
+
--color-light-text-primary: #0e0e0e;
|
|
4
|
+
--color-light-text-secondary: rgba(60, 60, 67, 0.66); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
5
|
+
} :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 */
|
|
6
6
|
} :root {
|
|
7
7
|
} :root {
|
|
8
8
|
|
package/cssm/types.d.ts
CHANGED
package/esm/Component.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import { NavigationBarProps } from "./types";
|
|
3
|
-
declare const NavigationBar:
|
|
4
|
+
declare const NavigationBar: React.ForwardRefExoticComponent<NavigationBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
5
|
export { NavigationBar };
|
package/esm/Component.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __assign } from 'tslib';
|
|
2
|
-
import React, { useState, useRef, useEffect } from 'react';
|
|
2
|
+
import React, { forwardRef, useState, useRef, useEffect } from 'react';
|
|
3
|
+
import mergeRefs from 'react-merge-refs';
|
|
3
4
|
import cn from 'classnames';
|
|
4
5
|
import { useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
|
|
5
6
|
import { BackArrowAddon } from './components/back-arrow-addon/Component.js';
|
|
@@ -17,11 +18,11 @@ var getDataTestId = function (dataTestId, element) {
|
|
|
17
18
|
return dataTestId ? "".concat(dataTestId).concat(elementPart) : undefined;
|
|
18
19
|
};
|
|
19
20
|
|
|
20
|
-
var styles = {"header":"navigation-
|
|
21
|
+
var styles = {"header":"navigation-bar__header_1p62k","backgroundImage":"navigation-bar__backgroundImage_1p62k","mainLine":"navigation-bar__mainLine_1p62k","mainLineSticky":"navigation-bar__mainLineSticky_1p62k","mainLineWithImageBg":"navigation-bar__mainLineWithImageBg_1p62k","content":"navigation-bar__content_1p62k","withBothAddons":"navigation-bar__withBothAddons_1p62k","withCompactTitle":"navigation-bar__withCompactTitle_1p62k","children":"navigation-bar__children_1p62k","title":"navigation-bar__title_1p62k","contentOnBotDesktop":"navigation-bar__contentOnBotDesktop_1p62k","contentOnBotMobile":"navigation-bar__contentOnBotMobile_1p62k","subtitle":"navigation-bar__subtitle_1p62k","addonsWrapper":"navigation-bar__addonsWrapper_1p62k","rightAddons":"navigation-bar__rightAddons_1p62k","addon":"navigation-bar__addon_1p62k","bottomAddons":"navigation-bar__bottomAddons_1p62k","closer":"navigation-bar__closer_1p62k","left":"navigation-bar__left_1p62k","center":"navigation-bar__center_1p62k","trim":"navigation-bar__trim_1p62k"};
|
|
21
22
|
require('./index.css')
|
|
22
23
|
|
|
23
24
|
var ADDONS_HEIGHT = 48;
|
|
24
|
-
var NavigationBar = function (_a) {
|
|
25
|
+
var NavigationBar = forwardRef(function (_a, ref) {
|
|
25
26
|
var _b, _c, _d;
|
|
26
27
|
var addonClassName = _a.addonClassName, className = _a.className, contentClassName = _a.contentClassName, closerClassName = _a.closerClassName, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, bottomAddonsClassName = _a.bottomAddonsClassName, children = _a.children, _e = _a.align, align = _e === void 0 ? 'left' : _e, _f = _a.trim, trim = _f === void 0 ? true : _f, title = _a.title, _g = _a.titleSize, titleSize = _g === void 0 ? 'default' : _g, subtitle = _a.subtitle, hasCloser = _a.hasCloser, hasBackButton = _a.hasBackButton, backButtonClassName = _a.backButtonClassName, dataTestId = _a.dataTestId, imageUrl = _a.imageUrl, closerIcon = _a.closerIcon, onClose = _a.onClose, view = _a.view, scrollableParentRef = _a.scrollableParentRef, sticky = _a.sticky, onBack = _a.onBack;
|
|
27
28
|
var _h = useState(0), scrollTop = _h[0], setScrollTop = _h[1];
|
|
@@ -96,8 +97,8 @@ var NavigationBar = function (_a) {
|
|
|
96
97
|
var renderContent = function (args) {
|
|
97
98
|
var _a;
|
|
98
99
|
if (args === void 0) { args = {}; }
|
|
99
|
-
var extraClassName = args.extraClassName,
|
|
100
|
-
return (React.createElement("div", { style: __assign(__assign({}, style), { visibility: hidden ? 'hidden' : 'visible' }), ref:
|
|
100
|
+
var extraClassName = args.extraClassName, wrapperRef = args.wrapperRef, style = args.style, hidden = args.hidden;
|
|
101
|
+
return (React.createElement("div", { style: __assign(__assign({}, style), { visibility: hidden ? 'hidden' : 'visible' }), ref: wrapperRef, className: cn(styles.content, extraClassName, contentClassName, styles[align], (_a = {},
|
|
101
102
|
_a[styles.trim] = trim,
|
|
102
103
|
_a[styles.withCompactTitle] = view === 'mobile' && compactTitle && hasContent,
|
|
103
104
|
_a)), "aria-hidden": hidden },
|
|
@@ -107,8 +108,10 @@ var NavigationBar = function (_a) {
|
|
|
107
108
|
};
|
|
108
109
|
var renderCloser = function () { return (React.createElement("div", { className: cn(styles.addon, styles.closer, closerClassName) },
|
|
109
110
|
React.createElement(Closer, { view: view, icon: closerIcon, dataTestId: getDataTestId(dataTestId, 'closer'), onClose: onClose }))); };
|
|
110
|
-
return (React.createElement("div", { ref: headerRef, className: cn(styles.header, className, (_b = {}, _b[styles.backgroundImage] = imageUrl, _b)), "data-test-id": getDataTestId(dataTestId), style: __assign(__assign({}, (imageUrl && { backgroundImage: "url(".concat(imageUrl, ")") })), (withAnimation &&
|
|
111
|
-
bottomContentRef.current && {
|
|
111
|
+
return (React.createElement("div", { ref: mergeRefs([ref, headerRef]), className: cn(styles.header, className, (_b = {}, _b[styles.backgroundImage] = imageUrl, _b)), "data-test-id": getDataTestId(dataTestId), style: __assign(__assign({}, (imageUrl && { backgroundImage: "url(".concat(imageUrl, ")") })), (withAnimation &&
|
|
112
|
+
bottomContentRef.current && {
|
|
113
|
+
top: -bottomContentRef.current.scrollHeight,
|
|
114
|
+
})) },
|
|
112
115
|
React.createElement("div", { className: cn(styles.mainLine, (_c = {},
|
|
113
116
|
_c[styles.mainLineSticky] = withAnimation,
|
|
114
117
|
_c[styles.mainLineWithImageBg] = imageUrl,
|
|
@@ -134,7 +137,10 @@ var NavigationBar = function (_a) {
|
|
|
134
137
|
renderContent({
|
|
135
138
|
extraClassName: styles.withBothAddons,
|
|
136
139
|
style: __assign({ opacity: Math.min(1, (scrollTop - ADDONS_HEIGHT) / ADDONS_HEIGHT) }, (align === 'center'
|
|
137
|
-
? {
|
|
140
|
+
? {
|
|
141
|
+
marginLeft: titleMargin.left,
|
|
142
|
+
marginRight: titleMargin.right,
|
|
143
|
+
}
|
|
138
144
|
: null)),
|
|
139
145
|
}),
|
|
140
146
|
hasRightPart && (React.createElement("div", { className: cn(styles.addonsWrapper, styles.rightAddons), ref: rightAddonsRef },
|
|
@@ -142,7 +148,7 @@ var NavigationBar = function (_a) {
|
|
|
142
148
|
hasCloser && renderCloser()))),
|
|
143
149
|
showAnimatedContentOnBot &&
|
|
144
150
|
renderContent({
|
|
145
|
-
|
|
151
|
+
wrapperRef: bottomContentRef,
|
|
146
152
|
extraClassName: styles.underAddons,
|
|
147
153
|
style: { opacity: Math.max(0, 1 - scrollTop / ADDONS_HEIGHT) },
|
|
148
154
|
hidden: scrollTop / ADDONS_HEIGHT > 1,
|
|
@@ -155,6 +161,6 @@ var NavigationBar = function (_a) {
|
|
|
155
161
|
_d)),
|
|
156
162
|
}),
|
|
157
163
|
bottomAddons && (React.createElement("div", { className: cn(styles.bottomAddons, bottomAddonsClassName) }, bottomAddons))));
|
|
158
|
-
};
|
|
164
|
+
});
|
|
159
165
|
|
|
160
166
|
export { NavigationBar };
|
|
@@ -6,7 +6,7 @@ import { Typography } from '@alfalab/core-components-typography/esm';
|
|
|
6
6
|
import { ArrowLeftMediumMIcon } from '@alfalab/icons-glyph/ArrowLeftMediumMIcon';
|
|
7
7
|
import { ArrowLeftMIcon } from '@alfalab/icons-glyph/ArrowLeftMIcon';
|
|
8
8
|
|
|
9
|
-
var styles = {"component":"navigation-
|
|
9
|
+
var styles = {"component":"navigation-bar__component_1lkkr","mobileComponent":"navigation-bar__mobileComponent_1lkkr","flex":"navigation-bar__flex_1lkkr","iconWrapper":"navigation-bar__iconWrapper_1lkkr","text":"navigation-bar__text_1lkkr","mobileWrapper":"navigation-bar__mobileWrapper_1lkkr"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
var BackArrowAddon = function (_a) {
|