@alfalab/core-components-navigation-bar-private 0.5.7 → 0.6.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 +5 -5
- package/components/back-arrow-addon/Component.js +1 -1
- package/components/back-arrow-addon/index.css +16 -13
- package/components/closer/Component.js +1 -1
- package/components/closer/index.css +10 -7
- package/cssm/Component.js +4 -4
- package/cssm/components/back-arrow-addon/index.module.css +4 -1
- package/cssm/components/closer/index.module.css +4 -1
- package/cssm/index.module.css +4 -1
- package/cssm/types.d.ts +13 -1
- package/cssm/vars.css +3 -0
- package/esm/Component.js +5 -5
- package/esm/components/back-arrow-addon/Component.js +1 -1
- package/esm/components/back-arrow-addon/index.css +16 -13
- package/esm/components/closer/Component.js +1 -1
- package/esm/components/closer/index.css +10 -7
- package/esm/index.css +31 -28
- package/esm/types.d.ts +13 -1
- package/index.css +31 -28
- package/modern/Component.js +5 -5
- package/modern/components/back-arrow-addon/Component.js +1 -1
- package/modern/components/back-arrow-addon/index.css +16 -13
- package/modern/components/closer/Component.js +1 -1
- package/modern/components/closer/index.css +10 -7
- package/modern/index.css +31 -28
- package/modern/types.d.ts +13 -1
- package/moderncssm/Component.js +4 -4
- package/moderncssm/types.d.ts +13 -1
- package/package.json +7 -7
- package/src/Component.tsx +14 -2
- package/src/types.ts +16 -1
- package/types.d.ts +13 -1
package/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 6y7fm */
|
|
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-text-primary: rgba(3, 3, 6, 0.88);
|
|
@@ -20,31 +20,34 @@
|
|
|
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-12: var(--gap-s);
|
|
26
29
|
} :root {
|
|
27
30
|
} :root {
|
|
28
|
-
} /* сбрасывает синюю подсветку при нажатии */ .navigation-bar-
|
|
31
|
+
} /* сбрасывает синюю подсветку при нажатии */ .navigation-bar-private__header_17jby {
|
|
29
32
|
width: 100%;
|
|
30
33
|
box-sizing: border-box;
|
|
31
34
|
transition: box-shadow 0.2s ease, background 0.2s ease
|
|
32
|
-
} .navigation-bar-
|
|
35
|
+
} .navigation-bar-private__header_17jby.navigation-bar-private__header_17jby.navigation-bar-private__backgroundImage_17jby {
|
|
33
36
|
background-repeat: no-repeat;
|
|
34
37
|
background-position: center;
|
|
35
38
|
background-size: cover;
|
|
36
|
-
} .navigation-bar-
|
|
39
|
+
} .navigation-bar-private__mainLine_17jby {
|
|
37
40
|
display: flex;
|
|
38
41
|
align-items: stretch;
|
|
39
42
|
justify-content: space-between;
|
|
40
43
|
z-index: 1;
|
|
41
44
|
background-color: inherit;
|
|
42
|
-
} .navigation-bar-
|
|
45
|
+
} .navigation-bar-private__mainLineSticky_17jby {
|
|
43
46
|
position: sticky;
|
|
44
47
|
top: var(--gap-0);
|
|
45
|
-
} .navigation-bar-
|
|
48
|
+
} .navigation-bar-private__mainLineWithImageBg_17jby {
|
|
46
49
|
background-color: initial;
|
|
47
|
-
} .navigation-bar-
|
|
50
|
+
} .navigation-bar-private__content_17jby {
|
|
48
51
|
color: var(--color-light-text-primary);
|
|
49
52
|
display: flex;
|
|
50
53
|
flex-flow: column nowrap;
|
|
@@ -53,27 +56,27 @@
|
|
|
53
56
|
align-self: baseline;
|
|
54
57
|
box-sizing: border-box;
|
|
55
58
|
min-height: 48px
|
|
56
|
-
} .navigation-bar-
|
|
57
|
-
.navigation-bar-
|
|
59
|
+
} .navigation-bar-private__content_17jby.navigation-bar-private__withBothAddons_17jby,
|
|
60
|
+
.navigation-bar-private__content_17jby.navigation-bar-private__withCompactTitle_17jby {
|
|
58
61
|
font-size: 16px;
|
|
59
62
|
line-height: 20px;
|
|
60
63
|
font-weight: 500;
|
|
61
64
|
align-self: center;
|
|
62
65
|
padding-top: var(--gap-4);
|
|
63
66
|
padding-bottom: var(--gap-4)
|
|
64
|
-
} .navigation-bar-
|
|
65
|
-
.navigation-bar-
|
|
66
|
-
.navigation-bar-
|
|
67
|
-
.navigation-bar-
|
|
67
|
+
} .navigation-bar-private__content_17jby.navigation-bar-private__withBothAddons_17jby > .navigation-bar-private__children_17jby,
|
|
68
|
+
.navigation-bar-private__content_17jby.navigation-bar-private__withBothAddons_17jby > .navigation-bar-private__title_17jby,
|
|
69
|
+
.navigation-bar-private__content_17jby.navigation-bar-private__withCompactTitle_17jby > .navigation-bar-private__children_17jby,
|
|
70
|
+
.navigation-bar-private__content_17jby.navigation-bar-private__withCompactTitle_17jby > .navigation-bar-private__title_17jby {
|
|
68
71
|
-webkit-line-clamp: 1;
|
|
69
72
|
word-break: break-all;
|
|
70
|
-
} .navigation-bar-
|
|
73
|
+
} .navigation-bar-private__content_17jby.navigation-bar-private__contentOnBotDesktop_17jby.navigation-bar-private__contentOnBotDesktop_17jby {
|
|
71
74
|
padding-top: var(--gap-12);
|
|
72
|
-
} .navigation-bar-
|
|
75
|
+
} .navigation-bar-private__content_17jby.navigation-bar-private__contentOnBotMobile_17jby.navigation-bar-private__contentOnBotMobile_17jby {
|
|
73
76
|
padding-top: var(--gap-12);
|
|
74
|
-
} .navigation-bar-
|
|
77
|
+
} .navigation-bar-private__title_17jby {
|
|
75
78
|
word-break: break-word;
|
|
76
|
-
} .navigation-bar-
|
|
79
|
+
} .navigation-bar-private__subtitle_17jby {
|
|
77
80
|
font-size: 14px;
|
|
78
81
|
line-height: 20px;
|
|
79
82
|
font-weight: 400;
|
|
@@ -84,11 +87,11 @@
|
|
|
84
87
|
|
|
85
88
|
color: var(--color-light-text-secondary);
|
|
86
89
|
word-break: break-all;
|
|
87
|
-
} .navigation-bar-
|
|
90
|
+
} .navigation-bar-private__addonsWrapper_17jby {
|
|
88
91
|
display: flex;
|
|
89
|
-
} .navigation-bar-
|
|
92
|
+
} .navigation-bar-private__rightAddons_17jby {
|
|
90
93
|
margin-left: auto;
|
|
91
|
-
} .navigation-bar-
|
|
94
|
+
} .navigation-bar-private__addon_17jby {
|
|
92
95
|
min-width: 48px;
|
|
93
96
|
height: 48px;
|
|
94
97
|
display: flex;
|
|
@@ -96,18 +99,18 @@
|
|
|
96
99
|
align-items: center;
|
|
97
100
|
flex-shrink: 0;
|
|
98
101
|
pointer-events: all;
|
|
99
|
-
} .navigation-bar-
|
|
102
|
+
} .navigation-bar-private__bottomAddons_17jby {
|
|
100
103
|
pointer-events: all;
|
|
101
|
-
} .navigation-bar-
|
|
104
|
+
} .navigation-bar-private__closer_17jby {
|
|
102
105
|
margin-left: auto;
|
|
103
|
-
} .navigation-bar-
|
|
106
|
+
} .navigation-bar-private__left_17jby {
|
|
104
107
|
text-align: left;
|
|
105
|
-
} .navigation-bar-
|
|
108
|
+
} .navigation-bar-private__center_17jby {
|
|
106
109
|
text-align: center;
|
|
107
|
-
} .navigation-bar-
|
|
110
|
+
} .navigation-bar-private__trim_17jby {
|
|
108
111
|
overflow: hidden
|
|
109
|
-
} .navigation-bar-
|
|
110
|
-
.navigation-bar-
|
|
112
|
+
} .navigation-bar-private__trim_17jby .navigation-bar-private__title_17jby,
|
|
113
|
+
.navigation-bar-private__trim_17jby .navigation-bar-private__children_17jby {
|
|
111
114
|
-webkit-line-clamp: 2;
|
|
112
115
|
display: -webkit-box;
|
|
113
116
|
-webkit-box-orient: vertical;
|
package/esm/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { ReactNode } from "react";
|
|
3
|
+
import { ReactNode, RefObject } from "react";
|
|
4
4
|
import { BackArrowAddonProps } from "./components/back-arrow-addon/index";
|
|
5
5
|
import { CloserProps } from "./components/closer/index";
|
|
6
6
|
type NavigationBarPrivateProps = {
|
|
@@ -108,6 +108,18 @@ type NavigationBarPrivateProps = {
|
|
|
108
108
|
* Ссылка на родительскую ноду overflow: auto
|
|
109
109
|
*/
|
|
110
110
|
scrollableParentRef?: React.RefObject<HTMLDivElement>;
|
|
111
|
+
/**
|
|
112
|
+
* Data атрибут для компонента
|
|
113
|
+
*/
|
|
114
|
+
dataName?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Дополнительный класс для title
|
|
117
|
+
*/
|
|
118
|
+
titleClassName?: string;
|
|
119
|
+
/**
|
|
120
|
+
* Ref для title элемента
|
|
121
|
+
*/
|
|
122
|
+
titleRef?: RefObject<HTMLDivElement>;
|
|
111
123
|
};
|
|
112
124
|
type ContentParams = {
|
|
113
125
|
extraClassName?: string;
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 6y7fm */
|
|
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-text-primary: rgba(3, 3, 6, 0.88);
|
|
@@ -20,31 +20,34 @@
|
|
|
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-12: var(--gap-s);
|
|
26
29
|
} :root {
|
|
27
30
|
} :root {
|
|
28
|
-
} /* сбрасывает синюю подсветку при нажатии */ .navigation-bar-
|
|
31
|
+
} /* сбрасывает синюю подсветку при нажатии */ .navigation-bar-private__header_17jby {
|
|
29
32
|
width: 100%;
|
|
30
33
|
box-sizing: border-box;
|
|
31
34
|
transition: box-shadow 0.2s ease, background 0.2s ease
|
|
32
|
-
} .navigation-bar-
|
|
35
|
+
} .navigation-bar-private__header_17jby.navigation-bar-private__header_17jby.navigation-bar-private__backgroundImage_17jby {
|
|
33
36
|
background-repeat: no-repeat;
|
|
34
37
|
background-position: center;
|
|
35
38
|
background-size: cover;
|
|
36
|
-
} .navigation-bar-
|
|
39
|
+
} .navigation-bar-private__mainLine_17jby {
|
|
37
40
|
display: flex;
|
|
38
41
|
align-items: stretch;
|
|
39
42
|
justify-content: space-between;
|
|
40
43
|
z-index: 1;
|
|
41
44
|
background-color: inherit;
|
|
42
|
-
} .navigation-bar-
|
|
45
|
+
} .navigation-bar-private__mainLineSticky_17jby {
|
|
43
46
|
position: sticky;
|
|
44
47
|
top: var(--gap-0);
|
|
45
|
-
} .navigation-bar-
|
|
48
|
+
} .navigation-bar-private__mainLineWithImageBg_17jby {
|
|
46
49
|
background-color: initial;
|
|
47
|
-
} .navigation-bar-
|
|
50
|
+
} .navigation-bar-private__content_17jby {
|
|
48
51
|
color: var(--color-light-text-primary);
|
|
49
52
|
display: flex;
|
|
50
53
|
flex-flow: column nowrap;
|
|
@@ -53,27 +56,27 @@
|
|
|
53
56
|
align-self: baseline;
|
|
54
57
|
box-sizing: border-box;
|
|
55
58
|
min-height: 48px
|
|
56
|
-
} .navigation-bar-
|
|
57
|
-
.navigation-bar-
|
|
59
|
+
} .navigation-bar-private__content_17jby.navigation-bar-private__withBothAddons_17jby,
|
|
60
|
+
.navigation-bar-private__content_17jby.navigation-bar-private__withCompactTitle_17jby {
|
|
58
61
|
font-size: 16px;
|
|
59
62
|
line-height: 20px;
|
|
60
63
|
font-weight: 500;
|
|
61
64
|
align-self: center;
|
|
62
65
|
padding-top: var(--gap-4);
|
|
63
66
|
padding-bottom: var(--gap-4)
|
|
64
|
-
} .navigation-bar-
|
|
65
|
-
.navigation-bar-
|
|
66
|
-
.navigation-bar-
|
|
67
|
-
.navigation-bar-
|
|
67
|
+
} .navigation-bar-private__content_17jby.navigation-bar-private__withBothAddons_17jby > .navigation-bar-private__children_17jby,
|
|
68
|
+
.navigation-bar-private__content_17jby.navigation-bar-private__withBothAddons_17jby > .navigation-bar-private__title_17jby,
|
|
69
|
+
.navigation-bar-private__content_17jby.navigation-bar-private__withCompactTitle_17jby > .navigation-bar-private__children_17jby,
|
|
70
|
+
.navigation-bar-private__content_17jby.navigation-bar-private__withCompactTitle_17jby > .navigation-bar-private__title_17jby {
|
|
68
71
|
-webkit-line-clamp: 1;
|
|
69
72
|
word-break: break-all;
|
|
70
|
-
} .navigation-bar-
|
|
73
|
+
} .navigation-bar-private__content_17jby.navigation-bar-private__contentOnBotDesktop_17jby.navigation-bar-private__contentOnBotDesktop_17jby {
|
|
71
74
|
padding-top: var(--gap-12);
|
|
72
|
-
} .navigation-bar-
|
|
75
|
+
} .navigation-bar-private__content_17jby.navigation-bar-private__contentOnBotMobile_17jby.navigation-bar-private__contentOnBotMobile_17jby {
|
|
73
76
|
padding-top: var(--gap-12);
|
|
74
|
-
} .navigation-bar-
|
|
77
|
+
} .navigation-bar-private__title_17jby {
|
|
75
78
|
word-break: break-word;
|
|
76
|
-
} .navigation-bar-
|
|
79
|
+
} .navigation-bar-private__subtitle_17jby {
|
|
77
80
|
font-size: 14px;
|
|
78
81
|
line-height: 20px;
|
|
79
82
|
font-weight: 400;
|
|
@@ -84,11 +87,11 @@
|
|
|
84
87
|
|
|
85
88
|
color: var(--color-light-text-secondary);
|
|
86
89
|
word-break: break-all;
|
|
87
|
-
} .navigation-bar-
|
|
90
|
+
} .navigation-bar-private__addonsWrapper_17jby {
|
|
88
91
|
display: flex;
|
|
89
|
-
} .navigation-bar-
|
|
92
|
+
} .navigation-bar-private__rightAddons_17jby {
|
|
90
93
|
margin-left: auto;
|
|
91
|
-
} .navigation-bar-
|
|
94
|
+
} .navigation-bar-private__addon_17jby {
|
|
92
95
|
min-width: 48px;
|
|
93
96
|
height: 48px;
|
|
94
97
|
display: flex;
|
|
@@ -96,18 +99,18 @@
|
|
|
96
99
|
align-items: center;
|
|
97
100
|
flex-shrink: 0;
|
|
98
101
|
pointer-events: all;
|
|
99
|
-
} .navigation-bar-
|
|
102
|
+
} .navigation-bar-private__bottomAddons_17jby {
|
|
100
103
|
pointer-events: all;
|
|
101
|
-
} .navigation-bar-
|
|
104
|
+
} .navigation-bar-private__closer_17jby {
|
|
102
105
|
margin-left: auto;
|
|
103
|
-
} .navigation-bar-
|
|
106
|
+
} .navigation-bar-private__left_17jby {
|
|
104
107
|
text-align: left;
|
|
105
|
-
} .navigation-bar-
|
|
108
|
+
} .navigation-bar-private__center_17jby {
|
|
106
109
|
text-align: center;
|
|
107
|
-
} .navigation-bar-
|
|
110
|
+
} .navigation-bar-private__trim_17jby {
|
|
108
111
|
overflow: hidden
|
|
109
|
-
} .navigation-bar-
|
|
110
|
-
.navigation-bar-
|
|
112
|
+
} .navigation-bar-private__trim_17jby .navigation-bar-private__title_17jby,
|
|
113
|
+
.navigation-bar-private__trim_17jby .navigation-bar-private__children_17jby {
|
|
111
114
|
-webkit-line-clamp: 2;
|
|
112
115
|
display: -webkit-box;
|
|
113
116
|
-webkit-box-orient: vertical;
|
package/modern/Component.js
CHANGED
|
@@ -6,12 +6,12 @@ import { useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
|
|
|
6
6
|
import { BackArrowAddon } from './components/back-arrow-addon/Component.js';
|
|
7
7
|
import { Closer } from './components/closer/Component.js';
|
|
8
8
|
|
|
9
|
-
const styles = {"header":"navigation-bar-
|
|
9
|
+
const styles = {"header":"navigation-bar-private__header_17jby","backgroundImage":"navigation-bar-private__backgroundImage_17jby","mainLine":"navigation-bar-private__mainLine_17jby","mainLineSticky":"navigation-bar-private__mainLineSticky_17jby","mainLineWithImageBg":"navigation-bar-private__mainLineWithImageBg_17jby","content":"navigation-bar-private__content_17jby","withBothAddons":"navigation-bar-private__withBothAddons_17jby","withCompactTitle":"navigation-bar-private__withCompactTitle_17jby","children":"navigation-bar-private__children_17jby","title":"navigation-bar-private__title_17jby","contentOnBotDesktop":"navigation-bar-private__contentOnBotDesktop_17jby","contentOnBotMobile":"navigation-bar-private__contentOnBotMobile_17jby","subtitle":"navigation-bar-private__subtitle_17jby","addonsWrapper":"navigation-bar-private__addonsWrapper_17jby","rightAddons":"navigation-bar-private__rightAddons_17jby","addon":"navigation-bar-private__addon_17jby","bottomAddons":"navigation-bar-private__bottomAddons_17jby","closer":"navigation-bar-private__closer_17jby","left":"navigation-bar-private__left_17jby","center":"navigation-bar-private__center_17jby","trim":"navigation-bar-private__trim_17jby"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
/* eslint-disable complexity */
|
|
13
13
|
const ADDONS_HEIGHT = 48;
|
|
14
|
-
const NavigationBarPrivate = forwardRef(({ addonClassName, className, contentClassName, closerClassName, leftAddons, rightAddons, bottomAddons, bottomAddonsClassName, children, align = 'left', trim = true, title, titleSize = 'default', subtitle, hasCloser, hasBackButton, backButtonClassName, backButtonProps, dataTestId, imageUrl, closerIcon, onClose, view, scrollableParentRef, sticky, onBack, }, ref) => {
|
|
14
|
+
const NavigationBarPrivate = forwardRef(({ addonClassName, className, contentClassName, closerClassName, leftAddons, rightAddons, bottomAddons, bottomAddonsClassName, children, align = 'left', trim = true, title, titleSize = 'default', subtitle, hasCloser, hasBackButton, backButtonClassName, backButtonProps, dataTestId, imageUrl, closerIcon, onClose, view, scrollableParentRef, sticky, onBack, dataName, titleClassName, titleRef, }, ref) => {
|
|
15
15
|
const [scrollTop, setScrollTop] = useState(0);
|
|
16
16
|
const [titleMargin, setTitleMargin] = useState({ left: 0, right: 0 });
|
|
17
17
|
const bottomContentRef = useRef(null);
|
|
@@ -87,8 +87,8 @@ const NavigationBarPrivate = forwardRef(({ addonClassName, className, contentCla
|
|
|
87
87
|
[styles.withCompactTitle]: view === 'mobile' && compactTitle && hasContent,
|
|
88
88
|
}), "aria-hidden": hidden },
|
|
89
89
|
children && React.createElement("div", { className: styles.children }, children),
|
|
90
|
-
title && (React.createElement("div", { className: styles.title, "data-test-id": hidden ? undefined : getDataTestId(dataTestId, 'title') }, title)),
|
|
91
|
-
compactTitle && subtitle && React.createElement("div", { className: styles.subtitle }, subtitle)));
|
|
90
|
+
title && (React.createElement("div", { className: cn(styles.title, titleClassName), "data-test-id": hidden ? undefined : getDataTestId(dataTestId, 'title'), ref: titleRef }, title)),
|
|
91
|
+
compactTitle && subtitle && (React.createElement("div", { className: styles.subtitle, "data-test-id": getDataTestId(dataTestId, 'subtitle') }, subtitle))));
|
|
92
92
|
};
|
|
93
93
|
const renderCloser = () => (React.createElement("div", { className: cn(styles.addon, styles.closer, closerClassName) },
|
|
94
94
|
React.createElement(Closer, { view: view, icon: closerIcon, dataTestId: getDataTestId(dataTestId, 'closer'), onClose: onClose })));
|
|
@@ -98,7 +98,7 @@ const NavigationBarPrivate = forwardRef(({ addonClassName, className, contentCla
|
|
|
98
98
|
bottomContentRef.current && {
|
|
99
99
|
top: -bottomContentRef.current.scrollHeight,
|
|
100
100
|
}),
|
|
101
|
-
} },
|
|
101
|
+
}, "data-name": dataName },
|
|
102
102
|
React.createElement("div", { className: cn(styles.mainLine, {
|
|
103
103
|
[styles.mainLineSticky]: withAnimation,
|
|
104
104
|
[styles.mainLineWithImageBg]: imageUrl,
|
|
@@ -5,7 +5,7 @@ import { Text } from '@alfalab/core-components-typography/modern';
|
|
|
5
5
|
import { ArrowLeftMediumMIcon } from '@alfalab/icons-glyph/ArrowLeftMediumMIcon';
|
|
6
6
|
import { ArrowLeftMIcon } from '@alfalab/icons-glyph/ArrowLeftMIcon';
|
|
7
7
|
|
|
8
|
-
const styles = {"component":"navigation-bar-
|
|
8
|
+
const styles = {"component":"navigation-bar-private__component_156jy","mobileComponent":"navigation-bar-private__mobileComponent_156jy","flex":"navigation-bar-private__flex_156jy","iconWrapper":"navigation-bar-private__iconWrapper_156jy","text":"navigation-bar-private__text_156jy","mobileWrapper":"navigation-bar-private__mobileWrapper_156jy"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
const BackArrowAddon = ({ text = 'Назад', onClick, className, textOpacity = 1, view, ...htmlAttributes }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: xa4w3 */
|
|
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-translucent-100: rgba(38, 55, 88, 0.06);
|
|
@@ -26,7 +26,10 @@
|
|
|
26
26
|
--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 */
|
|
27
27
|
|
|
28
28
|
/* новые значения, используйте их */
|
|
29
|
-
|
|
29
|
+
|
|
30
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
31
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
32
|
+
--gap-0: 0px;
|
|
30
33
|
--gap-8: var(--gap-xs);
|
|
31
34
|
--gap-12: var(--gap-s);
|
|
32
35
|
} :root {
|
|
@@ -36,48 +39,48 @@
|
|
|
36
39
|
|
|
37
40
|
/* back-arrow */
|
|
38
41
|
--navigation-bar-back-arrow-mobile-fill: var(--color-light-neutral-translucent-700);
|
|
39
|
-
} .navigation-bar-
|
|
42
|
+
} .navigation-bar-private__component_156jy {
|
|
40
43
|
height: 100%;
|
|
41
44
|
background: var(--color-light-bg-primary-alpha-40);
|
|
42
45
|
-webkit-backdrop-filter: blur(10px);
|
|
43
46
|
backdrop-filter: blur(10px);
|
|
44
47
|
border-radius: var(--border-radius-pill);
|
|
45
48
|
min-width: 48px
|
|
46
|
-
} .navigation-bar-
|
|
49
|
+
} .navigation-bar-private__component_156jy svg > path {
|
|
47
50
|
transition: fill 0.2s ease;
|
|
48
51
|
fill: var(--color-light-neutral-translucent-1300);
|
|
49
|
-
} .navigation-bar-
|
|
52
|
+
} .navigation-bar-private__component_156jy:hover svg > path {
|
|
50
53
|
fill: var(--color-light-neutral-translucent-1300-hover);
|
|
51
|
-
} .navigation-bar-
|
|
54
|
+
} .navigation-bar-private__component_156jy:active svg > path {
|
|
52
55
|
fill: var(--color-light-neutral-translucent-1300-press);
|
|
53
|
-
} .navigation-bar-
|
|
56
|
+
} .navigation-bar-private__mobileComponent_156jy {
|
|
54
57
|
height: 32px;
|
|
55
58
|
min-width: 32px;
|
|
56
59
|
margin: var(--gap-0) var(--gap-8);
|
|
57
60
|
-webkit-backdrop-filter: none;
|
|
58
61
|
backdrop-filter: none;
|
|
59
62
|
background: none;
|
|
60
|
-
} .navigation-bar-
|
|
63
|
+
} .navigation-bar-private__flex_156jy {
|
|
61
64
|
display: flex;
|
|
62
65
|
align-items: center;
|
|
63
|
-
} .navigation-bar-
|
|
66
|
+
} .navigation-bar-private__iconWrapper_156jy {
|
|
64
67
|
display: inline-flex;
|
|
65
68
|
align-items: center;
|
|
66
69
|
justify-content: center;
|
|
67
70
|
height: 48px;
|
|
68
71
|
margin: var(--gap-0) var(--gap-8) var(--gap-0) var(--gap-12);
|
|
69
72
|
border-radius: var(--border-radius-circle)
|
|
70
|
-
} .navigation-bar-
|
|
73
|
+
} .navigation-bar-private__iconWrapper_156jy + .navigation-bar-private__text_156jy {
|
|
71
74
|
margin-right: var(--gap-12);
|
|
72
|
-
} .navigation-bar-
|
|
75
|
+
} .navigation-bar-private__mobileWrapper_156jy {
|
|
73
76
|
width: 32px;
|
|
74
77
|
height: 32px;
|
|
75
78
|
background: var(--color-light-neutral-translucent-100);
|
|
76
79
|
-webkit-backdrop-filter: blur(10px);
|
|
77
80
|
backdrop-filter: blur(10px);
|
|
78
81
|
margin: var(--gap-0)
|
|
79
|
-
} .navigation-bar-
|
|
82
|
+
} .navigation-bar-private__mobileWrapper_156jy + .navigation-bar-private__text_156jy {
|
|
80
83
|
margin: var(--gap-0) var(--gap-12) var(--gap-0) var(--gap-8);
|
|
81
|
-
} .navigation-bar-
|
|
84
|
+
} .navigation-bar-private__mobileWrapper_156jy svg > path {
|
|
82
85
|
fill: var(--navigation-bar-back-arrow-mobile-fill);
|
|
83
86
|
}
|
|
@@ -4,7 +4,7 @@ import { IconButton } from '@alfalab/core-components-icon-button/modern';
|
|
|
4
4
|
import { CrossHeavyMIcon } from '@alfalab/icons-glyph/CrossHeavyMIcon';
|
|
5
5
|
import { CrossMIcon } from '@alfalab/icons-glyph/CrossMIcon';
|
|
6
6
|
|
|
7
|
-
const styles = {"closer":"navigation-bar-
|
|
7
|
+
const styles = {"closer":"navigation-bar-private__closer_196kg","button":"navigation-bar-private__button_196kg","mobile":"navigation-bar-private__mobile_196kg","sticky":"navigation-bar-private__sticky_196kg"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const Closer = ({ view, className, sticky, icon = view === 'desktop' ? CrossHeavyMIcon : CrossMIcon, dataTestId, onClose, ...restProps }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 12zho */
|
|
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-translucent-100: rgba(38, 55, 88, 0.06);
|
|
@@ -21,7 +21,10 @@
|
|
|
21
21
|
} :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 */
|
|
22
22
|
|
|
23
23
|
/* новые значения, используйте их */
|
|
24
|
-
|
|
24
|
+
|
|
25
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
26
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
27
|
+
--gap-0: 0px;
|
|
25
28
|
} :root {
|
|
26
29
|
} :root {
|
|
27
30
|
} /* сбрасывает синюю подсветку при нажатии */ :root {
|
|
@@ -29,7 +32,7 @@
|
|
|
29
32
|
--navigation-bar-closer-mobile-color: var(--color-light-neutral-translucent-700);
|
|
30
33
|
|
|
31
34
|
/* back-arrow */
|
|
32
|
-
} .navigation-bar-
|
|
35
|
+
} .navigation-bar-private__closer_196kg {
|
|
33
36
|
flex-shrink: 0;
|
|
34
37
|
width: 48px;
|
|
35
38
|
height: 48px;
|
|
@@ -37,17 +40,17 @@
|
|
|
37
40
|
display: flex;
|
|
38
41
|
align-items: center;
|
|
39
42
|
justify-content: center;
|
|
40
|
-
} .navigation-bar-
|
|
43
|
+
} .navigation-bar-private__button_196kg {
|
|
41
44
|
background: var(--color-light-bg-primary-alpha-40);
|
|
42
45
|
-webkit-backdrop-filter: blur(10px);
|
|
43
46
|
backdrop-filter: blur(10px);
|
|
44
47
|
color: var(--color-light-neutral-translucent-1300)
|
|
45
|
-
} .navigation-bar-
|
|
48
|
+
} .navigation-bar-private__button_196kg.navigation-bar-private__mobile_196kg {
|
|
46
49
|
background: var(--color-light-neutral-translucent-100);
|
|
47
50
|
color: var(--navigation-bar-closer-mobile-color);
|
|
48
|
-
} .navigation-bar-
|
|
51
|
+
} .navigation-bar-private__button_196kg.navigation-bar-private__button_196kg {
|
|
49
52
|
border-radius: var(--border-radius-circle);
|
|
50
|
-
} .navigation-bar-
|
|
53
|
+
} .navigation-bar-private__sticky_196kg {
|
|
51
54
|
position: sticky;
|
|
52
55
|
top: var(--gap-0);
|
|
53
56
|
}
|
package/modern/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 6y7fm */
|
|
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-text-primary: rgba(3, 3, 6, 0.88);
|
|
@@ -20,31 +20,34 @@
|
|
|
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-12: var(--gap-s);
|
|
26
29
|
} :root {
|
|
27
30
|
} :root {
|
|
28
|
-
} /* сбрасывает синюю подсветку при нажатии */ .navigation-bar-
|
|
31
|
+
} /* сбрасывает синюю подсветку при нажатии */ .navigation-bar-private__header_17jby {
|
|
29
32
|
width: 100%;
|
|
30
33
|
box-sizing: border-box;
|
|
31
34
|
transition: box-shadow 0.2s ease, background 0.2s ease
|
|
32
|
-
} .navigation-bar-
|
|
35
|
+
} .navigation-bar-private__header_17jby.navigation-bar-private__header_17jby.navigation-bar-private__backgroundImage_17jby {
|
|
33
36
|
background-repeat: no-repeat;
|
|
34
37
|
background-position: center;
|
|
35
38
|
background-size: cover;
|
|
36
|
-
} .navigation-bar-
|
|
39
|
+
} .navigation-bar-private__mainLine_17jby {
|
|
37
40
|
display: flex;
|
|
38
41
|
align-items: stretch;
|
|
39
42
|
justify-content: space-between;
|
|
40
43
|
z-index: 1;
|
|
41
44
|
background-color: inherit;
|
|
42
|
-
} .navigation-bar-
|
|
45
|
+
} .navigation-bar-private__mainLineSticky_17jby {
|
|
43
46
|
position: sticky;
|
|
44
47
|
top: var(--gap-0);
|
|
45
|
-
} .navigation-bar-
|
|
48
|
+
} .navigation-bar-private__mainLineWithImageBg_17jby {
|
|
46
49
|
background-color: initial;
|
|
47
|
-
} .navigation-bar-
|
|
50
|
+
} .navigation-bar-private__content_17jby {
|
|
48
51
|
color: var(--color-light-text-primary);
|
|
49
52
|
display: flex;
|
|
50
53
|
flex-flow: column nowrap;
|
|
@@ -53,27 +56,27 @@
|
|
|
53
56
|
align-self: baseline;
|
|
54
57
|
box-sizing: border-box;
|
|
55
58
|
min-height: 48px
|
|
56
|
-
} .navigation-bar-
|
|
57
|
-
.navigation-bar-
|
|
59
|
+
} .navigation-bar-private__content_17jby.navigation-bar-private__withBothAddons_17jby,
|
|
60
|
+
.navigation-bar-private__content_17jby.navigation-bar-private__withCompactTitle_17jby {
|
|
58
61
|
font-size: 16px;
|
|
59
62
|
line-height: 20px;
|
|
60
63
|
font-weight: 500;
|
|
61
64
|
align-self: center;
|
|
62
65
|
padding-top: var(--gap-4);
|
|
63
66
|
padding-bottom: var(--gap-4)
|
|
64
|
-
} .navigation-bar-
|
|
65
|
-
.navigation-bar-
|
|
66
|
-
.navigation-bar-
|
|
67
|
-
.navigation-bar-
|
|
67
|
+
} .navigation-bar-private__content_17jby.navigation-bar-private__withBothAddons_17jby > .navigation-bar-private__children_17jby,
|
|
68
|
+
.navigation-bar-private__content_17jby.navigation-bar-private__withBothAddons_17jby > .navigation-bar-private__title_17jby,
|
|
69
|
+
.navigation-bar-private__content_17jby.navigation-bar-private__withCompactTitle_17jby > .navigation-bar-private__children_17jby,
|
|
70
|
+
.navigation-bar-private__content_17jby.navigation-bar-private__withCompactTitle_17jby > .navigation-bar-private__title_17jby {
|
|
68
71
|
-webkit-line-clamp: 1;
|
|
69
72
|
word-break: break-all;
|
|
70
|
-
} .navigation-bar-
|
|
73
|
+
} .navigation-bar-private__content_17jby.navigation-bar-private__contentOnBotDesktop_17jby.navigation-bar-private__contentOnBotDesktop_17jby {
|
|
71
74
|
padding-top: var(--gap-12);
|
|
72
|
-
} .navigation-bar-
|
|
75
|
+
} .navigation-bar-private__content_17jby.navigation-bar-private__contentOnBotMobile_17jby.navigation-bar-private__contentOnBotMobile_17jby {
|
|
73
76
|
padding-top: var(--gap-12);
|
|
74
|
-
} .navigation-bar-
|
|
77
|
+
} .navigation-bar-private__title_17jby {
|
|
75
78
|
word-break: break-word;
|
|
76
|
-
} .navigation-bar-
|
|
79
|
+
} .navigation-bar-private__subtitle_17jby {
|
|
77
80
|
font-size: 14px;
|
|
78
81
|
line-height: 20px;
|
|
79
82
|
font-weight: 400;
|
|
@@ -84,11 +87,11 @@
|
|
|
84
87
|
|
|
85
88
|
color: var(--color-light-text-secondary);
|
|
86
89
|
word-break: break-all;
|
|
87
|
-
} .navigation-bar-
|
|
90
|
+
} .navigation-bar-private__addonsWrapper_17jby {
|
|
88
91
|
display: flex;
|
|
89
|
-
} .navigation-bar-
|
|
92
|
+
} .navigation-bar-private__rightAddons_17jby {
|
|
90
93
|
margin-left: auto;
|
|
91
|
-
} .navigation-bar-
|
|
94
|
+
} .navigation-bar-private__addon_17jby {
|
|
92
95
|
min-width: 48px;
|
|
93
96
|
height: 48px;
|
|
94
97
|
display: flex;
|
|
@@ -96,18 +99,18 @@
|
|
|
96
99
|
align-items: center;
|
|
97
100
|
flex-shrink: 0;
|
|
98
101
|
pointer-events: all;
|
|
99
|
-
} .navigation-bar-
|
|
102
|
+
} .navigation-bar-private__bottomAddons_17jby {
|
|
100
103
|
pointer-events: all;
|
|
101
|
-
} .navigation-bar-
|
|
104
|
+
} .navigation-bar-private__closer_17jby {
|
|
102
105
|
margin-left: auto;
|
|
103
|
-
} .navigation-bar-
|
|
106
|
+
} .navigation-bar-private__left_17jby {
|
|
104
107
|
text-align: left;
|
|
105
|
-
} .navigation-bar-
|
|
108
|
+
} .navigation-bar-private__center_17jby {
|
|
106
109
|
text-align: center;
|
|
107
|
-
} .navigation-bar-
|
|
110
|
+
} .navigation-bar-private__trim_17jby {
|
|
108
111
|
overflow: hidden
|
|
109
|
-
} .navigation-bar-
|
|
110
|
-
.navigation-bar-
|
|
112
|
+
} .navigation-bar-private__trim_17jby .navigation-bar-private__title_17jby,
|
|
113
|
+
.navigation-bar-private__trim_17jby .navigation-bar-private__children_17jby {
|
|
111
114
|
-webkit-line-clamp: 2;
|
|
112
115
|
display: -webkit-box;
|
|
113
116
|
-webkit-box-orient: vertical;
|