@alfalab/core-components-navigation-bar-private 0.5.7 → 0.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Component.js +1 -1
- package/components/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/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/vars.css +3 -0
- package/esm/Component.js +1 -1
- 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/index.css +31 -28
- package/modern/Component.js +1 -1
- 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/package.json +6 -6
package/Component.js
CHANGED
|
@@ -17,7 +17,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
17
17
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
18
18
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
19
19
|
|
|
20
|
-
var styles = {"header":"navigation-bar-
|
|
20
|
+
var styles = {"header":"navigation-bar-private__header_9ony2","backgroundImage":"navigation-bar-private__backgroundImage_9ony2","mainLine":"navigation-bar-private__mainLine_9ony2","mainLineSticky":"navigation-bar-private__mainLineSticky_9ony2","mainLineWithImageBg":"navigation-bar-private__mainLineWithImageBg_9ony2","content":"navigation-bar-private__content_9ony2","withBothAddons":"navigation-bar-private__withBothAddons_9ony2","withCompactTitle":"navigation-bar-private__withCompactTitle_9ony2","children":"navigation-bar-private__children_9ony2","title":"navigation-bar-private__title_9ony2","contentOnBotDesktop":"navigation-bar-private__contentOnBotDesktop_9ony2","contentOnBotMobile":"navigation-bar-private__contentOnBotMobile_9ony2","subtitle":"navigation-bar-private__subtitle_9ony2","addonsWrapper":"navigation-bar-private__addonsWrapper_9ony2","rightAddons":"navigation-bar-private__rightAddons_9ony2","addon":"navigation-bar-private__addon_9ony2","bottomAddons":"navigation-bar-private__bottomAddons_9ony2","closer":"navigation-bar-private__closer_9ony2","left":"navigation-bar-private__left_9ony2","center":"navigation-bar-private__center_9ony2","trim":"navigation-bar-private__trim_9ony2"};
|
|
21
21
|
require('./index.css')
|
|
22
22
|
|
|
23
23
|
var ADDONS_HEIGHT = 48;
|
|
@@ -15,7 +15,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
15
15
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
16
16
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
17
17
|
|
|
18
|
-
var styles = {"component":"navigation-bar-
|
|
18
|
+
var styles = {"component":"navigation-bar-private__component_o9ixg","mobileComponent":"navigation-bar-private__mobileComponent_o9ixg","flex":"navigation-bar-private__flex_o9ixg","iconWrapper":"navigation-bar-private__iconWrapper_o9ixg","text":"navigation-bar-private__text_o9ixg","mobileWrapper":"navigation-bar-private__mobileWrapper_o9ixg"};
|
|
19
19
|
require('./index.css')
|
|
20
20
|
|
|
21
21
|
var BackArrowAddon = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 19axe */
|
|
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_o9ixg {
|
|
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_o9ixg 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_o9ixg:hover svg > path {
|
|
50
53
|
fill: var(--color-light-neutral-translucent-1300-hover);
|
|
51
|
-
} .navigation-bar-
|
|
54
|
+
} .navigation-bar-private__component_o9ixg:active svg > path {
|
|
52
55
|
fill: var(--color-light-neutral-translucent-1300-press);
|
|
53
|
-
} .navigation-bar-
|
|
56
|
+
} .navigation-bar-private__mobileComponent_o9ixg {
|
|
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_o9ixg {
|
|
61
64
|
display: flex;
|
|
62
65
|
align-items: center;
|
|
63
|
-
} .navigation-bar-
|
|
66
|
+
} .navigation-bar-private__iconWrapper_o9ixg {
|
|
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_o9ixg + .navigation-bar-private__text_o9ixg {
|
|
71
74
|
margin-right: var(--gap-12);
|
|
72
|
-
} .navigation-bar-
|
|
75
|
+
} .navigation-bar-private__mobileWrapper_o9ixg {
|
|
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_o9ixg + .navigation-bar-private__text_o9ixg {
|
|
80
83
|
margin: var(--gap-0) var(--gap-12) var(--gap-0) var(--gap-8);
|
|
81
|
-
} .navigation-bar-
|
|
84
|
+
} .navigation-bar-private__mobileWrapper_o9ixg svg > path {
|
|
82
85
|
fill: var(--navigation-bar-back-arrow-mobile-fill);
|
|
83
86
|
}
|
|
@@ -14,7 +14,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
14
14
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
15
15
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
16
16
|
|
|
17
|
-
var styles = {"closer":"navigation-bar-
|
|
17
|
+
var styles = {"closer":"navigation-bar-private__closer_bbwgj","button":"navigation-bar-private__button_bbwgj","mobile":"navigation-bar-private__mobile_bbwgj","sticky":"navigation-bar-private__sticky_bbwgj"};
|
|
18
18
|
require('./index.css')
|
|
19
19
|
|
|
20
20
|
var Closer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: vbtjq */
|
|
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_bbwgj {
|
|
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_bbwgj {
|
|
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_bbwgj.navigation-bar-private__mobile_bbwgj {
|
|
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_bbwgj.navigation-bar-private__button_bbwgj {
|
|
49
52
|
border-radius: var(--border-radius-circle);
|
|
50
|
-
} .navigation-bar-
|
|
53
|
+
} .navigation-bar-private__sticky_bbwgj {
|
|
51
54
|
position: sticky;
|
|
52
55
|
top: var(--gap-0);
|
|
53
56
|
}
|
|
@@ -25,7 +25,10 @@
|
|
|
25
25
|
--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 */
|
|
26
26
|
|
|
27
27
|
/* новые значения, используйте их */
|
|
28
|
-
|
|
28
|
+
|
|
29
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
30
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
31
|
+
--gap-0: 0px;
|
|
29
32
|
--gap-8: var(--gap-xs);
|
|
30
33
|
--gap-12: var(--gap-s);
|
|
31
34
|
} :root {
|
|
@@ -20,7 +20,10 @@
|
|
|
20
20
|
} :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 */
|
|
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
|
} :root {
|
|
25
28
|
} :root {
|
|
26
29
|
} /* сбрасывает синюю подсветку при нажатии */ :root {
|
package/cssm/index.module.css
CHANGED
|
@@ -19,7 +19,10 @@
|
|
|
19
19
|
--gap-s: 12px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
20
20
|
|
|
21
21
|
/* новые значения, используйте их */
|
|
22
|
-
|
|
22
|
+
|
|
23
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
24
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
25
|
+
--gap-0: 0px;
|
|
23
26
|
--gap-4: var(--gap-2xs);
|
|
24
27
|
--gap-12: var(--gap-s);
|
|
25
28
|
} :root {
|
package/cssm/vars.css
CHANGED
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
16
16
|
|
|
17
17
|
/* новые значения, используйте их */
|
|
18
|
+
|
|
19
|
+
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
20
|
+
/* stylelint-disable-next-line length-zero-no-unit */
|
|
18
21
|
} :root {
|
|
19
22
|
} :root {
|
|
20
23
|
} /* сбрасывает синюю подсветку при нажатии */ :root {
|
package/esm/Component.js
CHANGED
|
@@ -7,7 +7,7 @@ import { useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
|
|
|
7
7
|
import { BackArrowAddon } from './components/back-arrow-addon/Component.js';
|
|
8
8
|
import { Closer } from './components/closer/Component.js';
|
|
9
9
|
|
|
10
|
-
var styles = {"header":"navigation-bar-
|
|
10
|
+
var styles = {"header":"navigation-bar-private__header_9ony2","backgroundImage":"navigation-bar-private__backgroundImage_9ony2","mainLine":"navigation-bar-private__mainLine_9ony2","mainLineSticky":"navigation-bar-private__mainLineSticky_9ony2","mainLineWithImageBg":"navigation-bar-private__mainLineWithImageBg_9ony2","content":"navigation-bar-private__content_9ony2","withBothAddons":"navigation-bar-private__withBothAddons_9ony2","withCompactTitle":"navigation-bar-private__withCompactTitle_9ony2","children":"navigation-bar-private__children_9ony2","title":"navigation-bar-private__title_9ony2","contentOnBotDesktop":"navigation-bar-private__contentOnBotDesktop_9ony2","contentOnBotMobile":"navigation-bar-private__contentOnBotMobile_9ony2","subtitle":"navigation-bar-private__subtitle_9ony2","addonsWrapper":"navigation-bar-private__addonsWrapper_9ony2","rightAddons":"navigation-bar-private__rightAddons_9ony2","addon":"navigation-bar-private__addon_9ony2","bottomAddons":"navigation-bar-private__bottomAddons_9ony2","closer":"navigation-bar-private__closer_9ony2","left":"navigation-bar-private__left_9ony2","center":"navigation-bar-private__center_9ony2","trim":"navigation-bar-private__trim_9ony2"};
|
|
11
11
|
require('./index.css')
|
|
12
12
|
|
|
13
13
|
var ADDONS_HEIGHT = 48;
|
|
@@ -6,7 +6,7 @@ import { Text } 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-bar-
|
|
9
|
+
var styles = {"component":"navigation-bar-private__component_o9ixg","mobileComponent":"navigation-bar-private__mobileComponent_o9ixg","flex":"navigation-bar-private__flex_o9ixg","iconWrapper":"navigation-bar-private__iconWrapper_o9ixg","text":"navigation-bar-private__text_o9ixg","mobileWrapper":"navigation-bar-private__mobileWrapper_o9ixg"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
var BackArrowAddon = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 19axe */
|
|
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_o9ixg {
|
|
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_o9ixg 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_o9ixg:hover svg > path {
|
|
50
53
|
fill: var(--color-light-neutral-translucent-1300-hover);
|
|
51
|
-
} .navigation-bar-
|
|
54
|
+
} .navigation-bar-private__component_o9ixg:active svg > path {
|
|
52
55
|
fill: var(--color-light-neutral-translucent-1300-press);
|
|
53
|
-
} .navigation-bar-
|
|
56
|
+
} .navigation-bar-private__mobileComponent_o9ixg {
|
|
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_o9ixg {
|
|
61
64
|
display: flex;
|
|
62
65
|
align-items: center;
|
|
63
|
-
} .navigation-bar-
|
|
66
|
+
} .navigation-bar-private__iconWrapper_o9ixg {
|
|
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_o9ixg + .navigation-bar-private__text_o9ixg {
|
|
71
74
|
margin-right: var(--gap-12);
|
|
72
|
-
} .navigation-bar-
|
|
75
|
+
} .navigation-bar-private__mobileWrapper_o9ixg {
|
|
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_o9ixg + .navigation-bar-private__text_o9ixg {
|
|
80
83
|
margin: var(--gap-0) var(--gap-12) var(--gap-0) var(--gap-8);
|
|
81
|
-
} .navigation-bar-
|
|
84
|
+
} .navigation-bar-private__mobileWrapper_o9ixg svg > path {
|
|
82
85
|
fill: var(--navigation-bar-back-arrow-mobile-fill);
|
|
83
86
|
}
|
|
@@ -5,7 +5,7 @@ import { IconButton } from '@alfalab/core-components-icon-button/esm';
|
|
|
5
5
|
import { CrossHeavyMIcon } from '@alfalab/icons-glyph/CrossHeavyMIcon';
|
|
6
6
|
import { CrossMIcon } from '@alfalab/icons-glyph/CrossMIcon';
|
|
7
7
|
|
|
8
|
-
var styles = {"closer":"navigation-bar-
|
|
8
|
+
var styles = {"closer":"navigation-bar-private__closer_bbwgj","button":"navigation-bar-private__button_bbwgj","mobile":"navigation-bar-private__mobile_bbwgj","sticky":"navigation-bar-private__sticky_bbwgj"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
var Closer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: vbtjq */
|
|
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_bbwgj {
|
|
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_bbwgj {
|
|
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_bbwgj.navigation-bar-private__mobile_bbwgj {
|
|
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_bbwgj.navigation-bar-private__button_bbwgj {
|
|
49
52
|
border-radius: var(--border-radius-circle);
|
|
50
|
-
} .navigation-bar-
|
|
53
|
+
} .navigation-bar-private__sticky_bbwgj {
|
|
51
54
|
position: sticky;
|
|
52
55
|
top: var(--gap-0);
|
|
53
56
|
}
|
package/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: mivmv */
|
|
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_9ony2 {
|
|
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_9ony2.navigation-bar-private__header_9ony2.navigation-bar-private__backgroundImage_9ony2 {
|
|
33
36
|
background-repeat: no-repeat;
|
|
34
37
|
background-position: center;
|
|
35
38
|
background-size: cover;
|
|
36
|
-
} .navigation-bar-
|
|
39
|
+
} .navigation-bar-private__mainLine_9ony2 {
|
|
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_9ony2 {
|
|
43
46
|
position: sticky;
|
|
44
47
|
top: var(--gap-0);
|
|
45
|
-
} .navigation-bar-
|
|
48
|
+
} .navigation-bar-private__mainLineWithImageBg_9ony2 {
|
|
46
49
|
background-color: initial;
|
|
47
|
-
} .navigation-bar-
|
|
50
|
+
} .navigation-bar-private__content_9ony2 {
|
|
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_9ony2.navigation-bar-private__withBothAddons_9ony2,
|
|
60
|
+
.navigation-bar-private__content_9ony2.navigation-bar-private__withCompactTitle_9ony2 {
|
|
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_9ony2.navigation-bar-private__withBothAddons_9ony2 > .navigation-bar-private__children_9ony2,
|
|
68
|
+
.navigation-bar-private__content_9ony2.navigation-bar-private__withBothAddons_9ony2 > .navigation-bar-private__title_9ony2,
|
|
69
|
+
.navigation-bar-private__content_9ony2.navigation-bar-private__withCompactTitle_9ony2 > .navigation-bar-private__children_9ony2,
|
|
70
|
+
.navigation-bar-private__content_9ony2.navigation-bar-private__withCompactTitle_9ony2 > .navigation-bar-private__title_9ony2 {
|
|
68
71
|
-webkit-line-clamp: 1;
|
|
69
72
|
word-break: break-all;
|
|
70
|
-
} .navigation-bar-
|
|
73
|
+
} .navigation-bar-private__content_9ony2.navigation-bar-private__contentOnBotDesktop_9ony2.navigation-bar-private__contentOnBotDesktop_9ony2 {
|
|
71
74
|
padding-top: var(--gap-12);
|
|
72
|
-
} .navigation-bar-
|
|
75
|
+
} .navigation-bar-private__content_9ony2.navigation-bar-private__contentOnBotMobile_9ony2.navigation-bar-private__contentOnBotMobile_9ony2 {
|
|
73
76
|
padding-top: var(--gap-12);
|
|
74
|
-
} .navigation-bar-
|
|
77
|
+
} .navigation-bar-private__title_9ony2 {
|
|
75
78
|
word-break: break-word;
|
|
76
|
-
} .navigation-bar-
|
|
79
|
+
} .navigation-bar-private__subtitle_9ony2 {
|
|
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_9ony2 {
|
|
88
91
|
display: flex;
|
|
89
|
-
} .navigation-bar-
|
|
92
|
+
} .navigation-bar-private__rightAddons_9ony2 {
|
|
90
93
|
margin-left: auto;
|
|
91
|
-
} .navigation-bar-
|
|
94
|
+
} .navigation-bar-private__addon_9ony2 {
|
|
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_9ony2 {
|
|
100
103
|
pointer-events: all;
|
|
101
|
-
} .navigation-bar-
|
|
104
|
+
} .navigation-bar-private__closer_9ony2 {
|
|
102
105
|
margin-left: auto;
|
|
103
|
-
} .navigation-bar-
|
|
106
|
+
} .navigation-bar-private__left_9ony2 {
|
|
104
107
|
text-align: left;
|
|
105
|
-
} .navigation-bar-
|
|
108
|
+
} .navigation-bar-private__center_9ony2 {
|
|
106
109
|
text-align: center;
|
|
107
|
-
} .navigation-bar-
|
|
110
|
+
} .navigation-bar-private__trim_9ony2 {
|
|
108
111
|
overflow: hidden
|
|
109
|
-
} .navigation-bar-
|
|
110
|
-
.navigation-bar-
|
|
112
|
+
} .navigation-bar-private__trim_9ony2 .navigation-bar-private__title_9ony2,
|
|
113
|
+
.navigation-bar-private__trim_9ony2 .navigation-bar-private__children_9ony2 {
|
|
111
114
|
-webkit-line-clamp: 2;
|
|
112
115
|
display: -webkit-box;
|
|
113
116
|
-webkit-box-orient: vertical;
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: mivmv */
|
|
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_9ony2 {
|
|
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_9ony2.navigation-bar-private__header_9ony2.navigation-bar-private__backgroundImage_9ony2 {
|
|
33
36
|
background-repeat: no-repeat;
|
|
34
37
|
background-position: center;
|
|
35
38
|
background-size: cover;
|
|
36
|
-
} .navigation-bar-
|
|
39
|
+
} .navigation-bar-private__mainLine_9ony2 {
|
|
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_9ony2 {
|
|
43
46
|
position: sticky;
|
|
44
47
|
top: var(--gap-0);
|
|
45
|
-
} .navigation-bar-
|
|
48
|
+
} .navigation-bar-private__mainLineWithImageBg_9ony2 {
|
|
46
49
|
background-color: initial;
|
|
47
|
-
} .navigation-bar-
|
|
50
|
+
} .navigation-bar-private__content_9ony2 {
|
|
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_9ony2.navigation-bar-private__withBothAddons_9ony2,
|
|
60
|
+
.navigation-bar-private__content_9ony2.navigation-bar-private__withCompactTitle_9ony2 {
|
|
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_9ony2.navigation-bar-private__withBothAddons_9ony2 > .navigation-bar-private__children_9ony2,
|
|
68
|
+
.navigation-bar-private__content_9ony2.navigation-bar-private__withBothAddons_9ony2 > .navigation-bar-private__title_9ony2,
|
|
69
|
+
.navigation-bar-private__content_9ony2.navigation-bar-private__withCompactTitle_9ony2 > .navigation-bar-private__children_9ony2,
|
|
70
|
+
.navigation-bar-private__content_9ony2.navigation-bar-private__withCompactTitle_9ony2 > .navigation-bar-private__title_9ony2 {
|
|
68
71
|
-webkit-line-clamp: 1;
|
|
69
72
|
word-break: break-all;
|
|
70
|
-
} .navigation-bar-
|
|
73
|
+
} .navigation-bar-private__content_9ony2.navigation-bar-private__contentOnBotDesktop_9ony2.navigation-bar-private__contentOnBotDesktop_9ony2 {
|
|
71
74
|
padding-top: var(--gap-12);
|
|
72
|
-
} .navigation-bar-
|
|
75
|
+
} .navigation-bar-private__content_9ony2.navigation-bar-private__contentOnBotMobile_9ony2.navigation-bar-private__contentOnBotMobile_9ony2 {
|
|
73
76
|
padding-top: var(--gap-12);
|
|
74
|
-
} .navigation-bar-
|
|
77
|
+
} .navigation-bar-private__title_9ony2 {
|
|
75
78
|
word-break: break-word;
|
|
76
|
-
} .navigation-bar-
|
|
79
|
+
} .navigation-bar-private__subtitle_9ony2 {
|
|
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_9ony2 {
|
|
88
91
|
display: flex;
|
|
89
|
-
} .navigation-bar-
|
|
92
|
+
} .navigation-bar-private__rightAddons_9ony2 {
|
|
90
93
|
margin-left: auto;
|
|
91
|
-
} .navigation-bar-
|
|
94
|
+
} .navigation-bar-private__addon_9ony2 {
|
|
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_9ony2 {
|
|
100
103
|
pointer-events: all;
|
|
101
|
-
} .navigation-bar-
|
|
104
|
+
} .navigation-bar-private__closer_9ony2 {
|
|
102
105
|
margin-left: auto;
|
|
103
|
-
} .navigation-bar-
|
|
106
|
+
} .navigation-bar-private__left_9ony2 {
|
|
104
107
|
text-align: left;
|
|
105
|
-
} .navigation-bar-
|
|
108
|
+
} .navigation-bar-private__center_9ony2 {
|
|
106
109
|
text-align: center;
|
|
107
|
-
} .navigation-bar-
|
|
110
|
+
} .navigation-bar-private__trim_9ony2 {
|
|
108
111
|
overflow: hidden
|
|
109
|
-
} .navigation-bar-
|
|
110
|
-
.navigation-bar-
|
|
112
|
+
} .navigation-bar-private__trim_9ony2 .navigation-bar-private__title_9ony2,
|
|
113
|
+
.navigation-bar-private__trim_9ony2 .navigation-bar-private__children_9ony2 {
|
|
111
114
|
-webkit-line-clamp: 2;
|
|
112
115
|
display: -webkit-box;
|
|
113
116
|
-webkit-box-orient: vertical;
|
package/modern/Component.js
CHANGED
|
@@ -6,7 +6,7 @@ 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_9ony2","backgroundImage":"navigation-bar-private__backgroundImage_9ony2","mainLine":"navigation-bar-private__mainLine_9ony2","mainLineSticky":"navigation-bar-private__mainLineSticky_9ony2","mainLineWithImageBg":"navigation-bar-private__mainLineWithImageBg_9ony2","content":"navigation-bar-private__content_9ony2","withBothAddons":"navigation-bar-private__withBothAddons_9ony2","withCompactTitle":"navigation-bar-private__withCompactTitle_9ony2","children":"navigation-bar-private__children_9ony2","title":"navigation-bar-private__title_9ony2","contentOnBotDesktop":"navigation-bar-private__contentOnBotDesktop_9ony2","contentOnBotMobile":"navigation-bar-private__contentOnBotMobile_9ony2","subtitle":"navigation-bar-private__subtitle_9ony2","addonsWrapper":"navigation-bar-private__addonsWrapper_9ony2","rightAddons":"navigation-bar-private__rightAddons_9ony2","addon":"navigation-bar-private__addon_9ony2","bottomAddons":"navigation-bar-private__bottomAddons_9ony2","closer":"navigation-bar-private__closer_9ony2","left":"navigation-bar-private__left_9ony2","center":"navigation-bar-private__center_9ony2","trim":"navigation-bar-private__trim_9ony2"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
/* eslint-disable complexity */
|
|
@@ -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_o9ixg","mobileComponent":"navigation-bar-private__mobileComponent_o9ixg","flex":"navigation-bar-private__flex_o9ixg","iconWrapper":"navigation-bar-private__iconWrapper_o9ixg","text":"navigation-bar-private__text_o9ixg","mobileWrapper":"navigation-bar-private__mobileWrapper_o9ixg"};
|
|
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: 19axe */
|
|
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_o9ixg {
|
|
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_o9ixg 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_o9ixg:hover svg > path {
|
|
50
53
|
fill: var(--color-light-neutral-translucent-1300-hover);
|
|
51
|
-
} .navigation-bar-
|
|
54
|
+
} .navigation-bar-private__component_o9ixg:active svg > path {
|
|
52
55
|
fill: var(--color-light-neutral-translucent-1300-press);
|
|
53
|
-
} .navigation-bar-
|
|
56
|
+
} .navigation-bar-private__mobileComponent_o9ixg {
|
|
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_o9ixg {
|
|
61
64
|
display: flex;
|
|
62
65
|
align-items: center;
|
|
63
|
-
} .navigation-bar-
|
|
66
|
+
} .navigation-bar-private__iconWrapper_o9ixg {
|
|
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_o9ixg + .navigation-bar-private__text_o9ixg {
|
|
71
74
|
margin-right: var(--gap-12);
|
|
72
|
-
} .navigation-bar-
|
|
75
|
+
} .navigation-bar-private__mobileWrapper_o9ixg {
|
|
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_o9ixg + .navigation-bar-private__text_o9ixg {
|
|
80
83
|
margin: var(--gap-0) var(--gap-12) var(--gap-0) var(--gap-8);
|
|
81
|
-
} .navigation-bar-
|
|
84
|
+
} .navigation-bar-private__mobileWrapper_o9ixg 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_bbwgj","button":"navigation-bar-private__button_bbwgj","mobile":"navigation-bar-private__mobile_bbwgj","sticky":"navigation-bar-private__sticky_bbwgj"};
|
|
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: vbtjq */
|
|
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_bbwgj {
|
|
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_bbwgj {
|
|
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_bbwgj.navigation-bar-private__mobile_bbwgj {
|
|
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_bbwgj.navigation-bar-private__button_bbwgj {
|
|
49
52
|
border-radius: var(--border-radius-circle);
|
|
50
|
-
} .navigation-bar-
|
|
53
|
+
} .navigation-bar-private__sticky_bbwgj {
|
|
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: mivmv */
|
|
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_9ony2 {
|
|
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_9ony2.navigation-bar-private__header_9ony2.navigation-bar-private__backgroundImage_9ony2 {
|
|
33
36
|
background-repeat: no-repeat;
|
|
34
37
|
background-position: center;
|
|
35
38
|
background-size: cover;
|
|
36
|
-
} .navigation-bar-
|
|
39
|
+
} .navigation-bar-private__mainLine_9ony2 {
|
|
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_9ony2 {
|
|
43
46
|
position: sticky;
|
|
44
47
|
top: var(--gap-0);
|
|
45
|
-
} .navigation-bar-
|
|
48
|
+
} .navigation-bar-private__mainLineWithImageBg_9ony2 {
|
|
46
49
|
background-color: initial;
|
|
47
|
-
} .navigation-bar-
|
|
50
|
+
} .navigation-bar-private__content_9ony2 {
|
|
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_9ony2.navigation-bar-private__withBothAddons_9ony2,
|
|
60
|
+
.navigation-bar-private__content_9ony2.navigation-bar-private__withCompactTitle_9ony2 {
|
|
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_9ony2.navigation-bar-private__withBothAddons_9ony2 > .navigation-bar-private__children_9ony2,
|
|
68
|
+
.navigation-bar-private__content_9ony2.navigation-bar-private__withBothAddons_9ony2 > .navigation-bar-private__title_9ony2,
|
|
69
|
+
.navigation-bar-private__content_9ony2.navigation-bar-private__withCompactTitle_9ony2 > .navigation-bar-private__children_9ony2,
|
|
70
|
+
.navigation-bar-private__content_9ony2.navigation-bar-private__withCompactTitle_9ony2 > .navigation-bar-private__title_9ony2 {
|
|
68
71
|
-webkit-line-clamp: 1;
|
|
69
72
|
word-break: break-all;
|
|
70
|
-
} .navigation-bar-
|
|
73
|
+
} .navigation-bar-private__content_9ony2.navigation-bar-private__contentOnBotDesktop_9ony2.navigation-bar-private__contentOnBotDesktop_9ony2 {
|
|
71
74
|
padding-top: var(--gap-12);
|
|
72
|
-
} .navigation-bar-
|
|
75
|
+
} .navigation-bar-private__content_9ony2.navigation-bar-private__contentOnBotMobile_9ony2.navigation-bar-private__contentOnBotMobile_9ony2 {
|
|
73
76
|
padding-top: var(--gap-12);
|
|
74
|
-
} .navigation-bar-
|
|
77
|
+
} .navigation-bar-private__title_9ony2 {
|
|
75
78
|
word-break: break-word;
|
|
76
|
-
} .navigation-bar-
|
|
79
|
+
} .navigation-bar-private__subtitle_9ony2 {
|
|
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_9ony2 {
|
|
88
91
|
display: flex;
|
|
89
|
-
} .navigation-bar-
|
|
92
|
+
} .navigation-bar-private__rightAddons_9ony2 {
|
|
90
93
|
margin-left: auto;
|
|
91
|
-
} .navigation-bar-
|
|
94
|
+
} .navigation-bar-private__addon_9ony2 {
|
|
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_9ony2 {
|
|
100
103
|
pointer-events: all;
|
|
101
|
-
} .navigation-bar-
|
|
104
|
+
} .navigation-bar-private__closer_9ony2 {
|
|
102
105
|
margin-left: auto;
|
|
103
|
-
} .navigation-bar-
|
|
106
|
+
} .navigation-bar-private__left_9ony2 {
|
|
104
107
|
text-align: left;
|
|
105
|
-
} .navigation-bar-
|
|
108
|
+
} .navigation-bar-private__center_9ony2 {
|
|
106
109
|
text-align: center;
|
|
107
|
-
} .navigation-bar-
|
|
110
|
+
} .navigation-bar-private__trim_9ony2 {
|
|
108
111
|
overflow: hidden
|
|
109
|
-
} .navigation-bar-
|
|
110
|
-
.navigation-bar-
|
|
112
|
+
} .navigation-bar-private__trim_9ony2 .navigation-bar-private__title_9ony2,
|
|
113
|
+
.navigation-bar-private__trim_9ony2 .navigation-bar-private__children_9ony2 {
|
|
111
114
|
-webkit-line-clamp: 2;
|
|
112
115
|
display: -webkit-box;
|
|
113
116
|
-webkit-box-orient: vertical;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-navigation-bar-private",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.8",
|
|
4
4
|
"description": "Navigation bar private component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
},
|
|
13
13
|
"sideEffects": false,
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@alfalab/core-components-icon-button": "^6.11.
|
|
16
|
-
"@alfalab/core-components-button": "^11.11.
|
|
17
|
-
"@alfalab/core-components-typography": "^4.11.
|
|
18
|
-
"@alfalab/core-components-shared": "^0.
|
|
15
|
+
"@alfalab/core-components-icon-button": "^6.11.7",
|
|
16
|
+
"@alfalab/core-components-button": "^11.11.4",
|
|
17
|
+
"@alfalab/core-components-typography": "^4.11.4",
|
|
18
|
+
"@alfalab/core-components-shared": "^0.15.0",
|
|
19
19
|
"@alfalab/hooks": "^1.13.1",
|
|
20
20
|
"@alfalab/icons-glyph": "^2.210.0",
|
|
21
21
|
"classnames": "^2.5.1",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"react": "^16.9.0 || ^17.0.1 || ^18.0.0"
|
|
27
27
|
},
|
|
28
28
|
"themesVersion": "13.7.0",
|
|
29
|
-
"varsVersion": "9.
|
|
29
|
+
"varsVersion": "9.18.0"
|
|
30
30
|
}
|