@alfalab/core-components-navigation-bar-private 0.6.0 → 0.6.1
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 +12 -12
- package/components/closer/Component.js +1 -1
- package/components/closer/index.css +6 -6
- package/esm/Component.js +1 -1
- package/esm/components/back-arrow-addon/Component.js +1 -1
- package/esm/components/back-arrow-addon/index.css +12 -12
- package/esm/components/closer/Component.js +1 -1
- package/esm/components/closer/index.css +6 -6
- package/esm/index.css +27 -27
- package/index.css +27 -27
- package/modern/Component.js +1 -1
- package/modern/components/back-arrow-addon/Component.js +1 -1
- package/modern/components/back-arrow-addon/index.css +12 -12
- package/modern/components/closer/Component.js +1 -1
- package/modern/components/closer/index.css +6 -6
- package/modern/index.css +27 -27
- package/package.json +2 -2
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_1io9h","backgroundImage":"navigation-bar-private__backgroundImage_1io9h","mainLine":"navigation-bar-private__mainLine_1io9h","mainLineSticky":"navigation-bar-private__mainLineSticky_1io9h","mainLineWithImageBg":"navigation-bar-private__mainLineWithImageBg_1io9h","content":"navigation-bar-private__content_1io9h","withBothAddons":"navigation-bar-private__withBothAddons_1io9h","withCompactTitle":"navigation-bar-private__withCompactTitle_1io9h","children":"navigation-bar-private__children_1io9h","title":"navigation-bar-private__title_1io9h","contentOnBotDesktop":"navigation-bar-private__contentOnBotDesktop_1io9h","contentOnBotMobile":"navigation-bar-private__contentOnBotMobile_1io9h","subtitle":"navigation-bar-private__subtitle_1io9h","addonsWrapper":"navigation-bar-private__addonsWrapper_1io9h","rightAddons":"navigation-bar-private__rightAddons_1io9h","addon":"navigation-bar-private__addon_1io9h","bottomAddons":"navigation-bar-private__bottomAddons_1io9h","closer":"navigation-bar-private__closer_1io9h","left":"navigation-bar-private__left_1io9h","center":"navigation-bar-private__center_1io9h","trim":"navigation-bar-private__trim_1io9h"};
|
|
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_1eb1g","mobileComponent":"navigation-bar-private__mobileComponent_1eb1g","flex":"navigation-bar-private__flex_1eb1g","iconWrapper":"navigation-bar-private__iconWrapper_1eb1g","text":"navigation-bar-private__text_1eb1g","mobileWrapper":"navigation-bar-private__mobileWrapper_1eb1g"};
|
|
19
19
|
require('./index.css')
|
|
20
20
|
|
|
21
21
|
var BackArrowAddon = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ekwke */
|
|
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);
|
|
@@ -39,48 +39,48 @@
|
|
|
39
39
|
|
|
40
40
|
/* back-arrow */
|
|
41
41
|
--navigation-bar-back-arrow-mobile-fill: var(--color-light-neutral-translucent-700);
|
|
42
|
-
} .navigation-bar-
|
|
42
|
+
} .navigation-bar-private__component_1eb1g {
|
|
43
43
|
height: 100%;
|
|
44
44
|
background: var(--color-light-bg-primary-alpha-40);
|
|
45
45
|
-webkit-backdrop-filter: blur(10px);
|
|
46
46
|
backdrop-filter: blur(10px);
|
|
47
47
|
border-radius: var(--border-radius-pill);
|
|
48
48
|
min-width: 48px
|
|
49
|
-
} .navigation-bar-
|
|
49
|
+
} .navigation-bar-private__component_1eb1g svg > path {
|
|
50
50
|
transition: fill 0.2s ease;
|
|
51
51
|
fill: var(--color-light-neutral-translucent-1300);
|
|
52
|
-
} .navigation-bar-
|
|
52
|
+
} .navigation-bar-private__component_1eb1g:hover svg > path {
|
|
53
53
|
fill: var(--color-light-neutral-translucent-1300-hover);
|
|
54
|
-
} .navigation-bar-
|
|
54
|
+
} .navigation-bar-private__component_1eb1g:active svg > path {
|
|
55
55
|
fill: var(--color-light-neutral-translucent-1300-press);
|
|
56
|
-
} .navigation-bar-
|
|
56
|
+
} .navigation-bar-private__mobileComponent_1eb1g {
|
|
57
57
|
height: 32px;
|
|
58
58
|
min-width: 32px;
|
|
59
59
|
margin: var(--gap-0) var(--gap-8);
|
|
60
60
|
-webkit-backdrop-filter: none;
|
|
61
61
|
backdrop-filter: none;
|
|
62
62
|
background: none;
|
|
63
|
-
} .navigation-bar-
|
|
63
|
+
} .navigation-bar-private__flex_1eb1g {
|
|
64
64
|
display: flex;
|
|
65
65
|
align-items: center;
|
|
66
|
-
} .navigation-bar-
|
|
66
|
+
} .navigation-bar-private__iconWrapper_1eb1g {
|
|
67
67
|
display: inline-flex;
|
|
68
68
|
align-items: center;
|
|
69
69
|
justify-content: center;
|
|
70
70
|
height: 48px;
|
|
71
71
|
margin: var(--gap-0) var(--gap-8) var(--gap-0) var(--gap-12);
|
|
72
72
|
border-radius: var(--border-radius-circle)
|
|
73
|
-
} .navigation-bar-
|
|
73
|
+
} .navigation-bar-private__iconWrapper_1eb1g + .navigation-bar-private__text_1eb1g {
|
|
74
74
|
margin-right: var(--gap-12);
|
|
75
|
-
} .navigation-bar-
|
|
75
|
+
} .navigation-bar-private__mobileWrapper_1eb1g {
|
|
76
76
|
width: 32px;
|
|
77
77
|
height: 32px;
|
|
78
78
|
background: var(--color-light-neutral-translucent-100);
|
|
79
79
|
-webkit-backdrop-filter: blur(10px);
|
|
80
80
|
backdrop-filter: blur(10px);
|
|
81
81
|
margin: var(--gap-0)
|
|
82
|
-
} .navigation-bar-
|
|
82
|
+
} .navigation-bar-private__mobileWrapper_1eb1g + .navigation-bar-private__text_1eb1g {
|
|
83
83
|
margin: var(--gap-0) var(--gap-12) var(--gap-0) var(--gap-8);
|
|
84
|
-
} .navigation-bar-
|
|
84
|
+
} .navigation-bar-private__mobileWrapper_1eb1g svg > path {
|
|
85
85
|
fill: var(--navigation-bar-back-arrow-mobile-fill);
|
|
86
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_2xs3i","button":"navigation-bar-private__button_2xs3i","mobile":"navigation-bar-private__mobile_2xs3i","sticky":"navigation-bar-private__sticky_2xs3i"};
|
|
18
18
|
require('./index.css')
|
|
19
19
|
|
|
20
20
|
var Closer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1r39q */
|
|
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);
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
--navigation-bar-closer-mobile-color: var(--color-light-neutral-translucent-700);
|
|
33
33
|
|
|
34
34
|
/* back-arrow */
|
|
35
|
-
} .navigation-bar-
|
|
35
|
+
} .navigation-bar-private__closer_2xs3i {
|
|
36
36
|
flex-shrink: 0;
|
|
37
37
|
width: 48px;
|
|
38
38
|
height: 48px;
|
|
@@ -40,17 +40,17 @@
|
|
|
40
40
|
display: flex;
|
|
41
41
|
align-items: center;
|
|
42
42
|
justify-content: center;
|
|
43
|
-
} .navigation-bar-
|
|
43
|
+
} .navigation-bar-private__button_2xs3i {
|
|
44
44
|
background: var(--color-light-bg-primary-alpha-40);
|
|
45
45
|
-webkit-backdrop-filter: blur(10px);
|
|
46
46
|
backdrop-filter: blur(10px);
|
|
47
47
|
color: var(--color-light-neutral-translucent-1300)
|
|
48
|
-
} .navigation-bar-
|
|
48
|
+
} .navigation-bar-private__button_2xs3i.navigation-bar-private__mobile_2xs3i {
|
|
49
49
|
background: var(--color-light-neutral-translucent-100);
|
|
50
50
|
color: var(--navigation-bar-closer-mobile-color);
|
|
51
|
-
} .navigation-bar-
|
|
51
|
+
} .navigation-bar-private__button_2xs3i.navigation-bar-private__button_2xs3i {
|
|
52
52
|
border-radius: var(--border-radius-circle);
|
|
53
|
-
} .navigation-bar-
|
|
53
|
+
} .navigation-bar-private__sticky_2xs3i {
|
|
54
54
|
position: sticky;
|
|
55
55
|
top: var(--gap-0);
|
|
56
56
|
}
|
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_1io9h","backgroundImage":"navigation-bar-private__backgroundImage_1io9h","mainLine":"navigation-bar-private__mainLine_1io9h","mainLineSticky":"navigation-bar-private__mainLineSticky_1io9h","mainLineWithImageBg":"navigation-bar-private__mainLineWithImageBg_1io9h","content":"navigation-bar-private__content_1io9h","withBothAddons":"navigation-bar-private__withBothAddons_1io9h","withCompactTitle":"navigation-bar-private__withCompactTitle_1io9h","children":"navigation-bar-private__children_1io9h","title":"navigation-bar-private__title_1io9h","contentOnBotDesktop":"navigation-bar-private__contentOnBotDesktop_1io9h","contentOnBotMobile":"navigation-bar-private__contentOnBotMobile_1io9h","subtitle":"navigation-bar-private__subtitle_1io9h","addonsWrapper":"navigation-bar-private__addonsWrapper_1io9h","rightAddons":"navigation-bar-private__rightAddons_1io9h","addon":"navigation-bar-private__addon_1io9h","bottomAddons":"navigation-bar-private__bottomAddons_1io9h","closer":"navigation-bar-private__closer_1io9h","left":"navigation-bar-private__left_1io9h","center":"navigation-bar-private__center_1io9h","trim":"navigation-bar-private__trim_1io9h"};
|
|
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_1eb1g","mobileComponent":"navigation-bar-private__mobileComponent_1eb1g","flex":"navigation-bar-private__flex_1eb1g","iconWrapper":"navigation-bar-private__iconWrapper_1eb1g","text":"navigation-bar-private__text_1eb1g","mobileWrapper":"navigation-bar-private__mobileWrapper_1eb1g"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
var BackArrowAddon = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ekwke */
|
|
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);
|
|
@@ -39,48 +39,48 @@
|
|
|
39
39
|
|
|
40
40
|
/* back-arrow */
|
|
41
41
|
--navigation-bar-back-arrow-mobile-fill: var(--color-light-neutral-translucent-700);
|
|
42
|
-
} .navigation-bar-
|
|
42
|
+
} .navigation-bar-private__component_1eb1g {
|
|
43
43
|
height: 100%;
|
|
44
44
|
background: var(--color-light-bg-primary-alpha-40);
|
|
45
45
|
-webkit-backdrop-filter: blur(10px);
|
|
46
46
|
backdrop-filter: blur(10px);
|
|
47
47
|
border-radius: var(--border-radius-pill);
|
|
48
48
|
min-width: 48px
|
|
49
|
-
} .navigation-bar-
|
|
49
|
+
} .navigation-bar-private__component_1eb1g svg > path {
|
|
50
50
|
transition: fill 0.2s ease;
|
|
51
51
|
fill: var(--color-light-neutral-translucent-1300);
|
|
52
|
-
} .navigation-bar-
|
|
52
|
+
} .navigation-bar-private__component_1eb1g:hover svg > path {
|
|
53
53
|
fill: var(--color-light-neutral-translucent-1300-hover);
|
|
54
|
-
} .navigation-bar-
|
|
54
|
+
} .navigation-bar-private__component_1eb1g:active svg > path {
|
|
55
55
|
fill: var(--color-light-neutral-translucent-1300-press);
|
|
56
|
-
} .navigation-bar-
|
|
56
|
+
} .navigation-bar-private__mobileComponent_1eb1g {
|
|
57
57
|
height: 32px;
|
|
58
58
|
min-width: 32px;
|
|
59
59
|
margin: var(--gap-0) var(--gap-8);
|
|
60
60
|
-webkit-backdrop-filter: none;
|
|
61
61
|
backdrop-filter: none;
|
|
62
62
|
background: none;
|
|
63
|
-
} .navigation-bar-
|
|
63
|
+
} .navigation-bar-private__flex_1eb1g {
|
|
64
64
|
display: flex;
|
|
65
65
|
align-items: center;
|
|
66
|
-
} .navigation-bar-
|
|
66
|
+
} .navigation-bar-private__iconWrapper_1eb1g {
|
|
67
67
|
display: inline-flex;
|
|
68
68
|
align-items: center;
|
|
69
69
|
justify-content: center;
|
|
70
70
|
height: 48px;
|
|
71
71
|
margin: var(--gap-0) var(--gap-8) var(--gap-0) var(--gap-12);
|
|
72
72
|
border-radius: var(--border-radius-circle)
|
|
73
|
-
} .navigation-bar-
|
|
73
|
+
} .navigation-bar-private__iconWrapper_1eb1g + .navigation-bar-private__text_1eb1g {
|
|
74
74
|
margin-right: var(--gap-12);
|
|
75
|
-
} .navigation-bar-
|
|
75
|
+
} .navigation-bar-private__mobileWrapper_1eb1g {
|
|
76
76
|
width: 32px;
|
|
77
77
|
height: 32px;
|
|
78
78
|
background: var(--color-light-neutral-translucent-100);
|
|
79
79
|
-webkit-backdrop-filter: blur(10px);
|
|
80
80
|
backdrop-filter: blur(10px);
|
|
81
81
|
margin: var(--gap-0)
|
|
82
|
-
} .navigation-bar-
|
|
82
|
+
} .navigation-bar-private__mobileWrapper_1eb1g + .navigation-bar-private__text_1eb1g {
|
|
83
83
|
margin: var(--gap-0) var(--gap-12) var(--gap-0) var(--gap-8);
|
|
84
|
-
} .navigation-bar-
|
|
84
|
+
} .navigation-bar-private__mobileWrapper_1eb1g svg > path {
|
|
85
85
|
fill: var(--navigation-bar-back-arrow-mobile-fill);
|
|
86
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_2xs3i","button":"navigation-bar-private__button_2xs3i","mobile":"navigation-bar-private__mobile_2xs3i","sticky":"navigation-bar-private__sticky_2xs3i"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
var Closer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1r39q */
|
|
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);
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
--navigation-bar-closer-mobile-color: var(--color-light-neutral-translucent-700);
|
|
33
33
|
|
|
34
34
|
/* back-arrow */
|
|
35
|
-
} .navigation-bar-
|
|
35
|
+
} .navigation-bar-private__closer_2xs3i {
|
|
36
36
|
flex-shrink: 0;
|
|
37
37
|
width: 48px;
|
|
38
38
|
height: 48px;
|
|
@@ -40,17 +40,17 @@
|
|
|
40
40
|
display: flex;
|
|
41
41
|
align-items: center;
|
|
42
42
|
justify-content: center;
|
|
43
|
-
} .navigation-bar-
|
|
43
|
+
} .navigation-bar-private__button_2xs3i {
|
|
44
44
|
background: var(--color-light-bg-primary-alpha-40);
|
|
45
45
|
-webkit-backdrop-filter: blur(10px);
|
|
46
46
|
backdrop-filter: blur(10px);
|
|
47
47
|
color: var(--color-light-neutral-translucent-1300)
|
|
48
|
-
} .navigation-bar-
|
|
48
|
+
} .navigation-bar-private__button_2xs3i.navigation-bar-private__mobile_2xs3i {
|
|
49
49
|
background: var(--color-light-neutral-translucent-100);
|
|
50
50
|
color: var(--navigation-bar-closer-mobile-color);
|
|
51
|
-
} .navigation-bar-
|
|
51
|
+
} .navigation-bar-private__button_2xs3i.navigation-bar-private__button_2xs3i {
|
|
52
52
|
border-radius: var(--border-radius-circle);
|
|
53
|
-
} .navigation-bar-
|
|
53
|
+
} .navigation-bar-private__sticky_2xs3i {
|
|
54
54
|
position: sticky;
|
|
55
55
|
top: var(--gap-0);
|
|
56
56
|
}
|
package/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1rz9e */
|
|
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);
|
|
@@ -28,26 +28,26 @@
|
|
|
28
28
|
--gap-12: var(--gap-s);
|
|
29
29
|
} :root {
|
|
30
30
|
} :root {
|
|
31
|
-
} /* сбрасывает синюю подсветку при нажатии */ .navigation-bar-
|
|
31
|
+
} /* сбрасывает синюю подсветку при нажатии */ .navigation-bar-private__header_1io9h {
|
|
32
32
|
width: 100%;
|
|
33
33
|
box-sizing: border-box;
|
|
34
34
|
transition: box-shadow 0.2s ease, background 0.2s ease
|
|
35
|
-
} .navigation-bar-
|
|
35
|
+
} .navigation-bar-private__header_1io9h.navigation-bar-private__header_1io9h.navigation-bar-private__backgroundImage_1io9h {
|
|
36
36
|
background-repeat: no-repeat;
|
|
37
37
|
background-position: center;
|
|
38
38
|
background-size: cover;
|
|
39
|
-
} .navigation-bar-
|
|
39
|
+
} .navigation-bar-private__mainLine_1io9h {
|
|
40
40
|
display: flex;
|
|
41
41
|
align-items: stretch;
|
|
42
42
|
justify-content: space-between;
|
|
43
43
|
z-index: 1;
|
|
44
44
|
background-color: inherit;
|
|
45
|
-
} .navigation-bar-
|
|
45
|
+
} .navigation-bar-private__mainLineSticky_1io9h {
|
|
46
46
|
position: sticky;
|
|
47
47
|
top: var(--gap-0);
|
|
48
|
-
} .navigation-bar-
|
|
48
|
+
} .navigation-bar-private__mainLineWithImageBg_1io9h {
|
|
49
49
|
background-color: initial;
|
|
50
|
-
} .navigation-bar-
|
|
50
|
+
} .navigation-bar-private__content_1io9h {
|
|
51
51
|
color: var(--color-light-text-primary);
|
|
52
52
|
display: flex;
|
|
53
53
|
flex-flow: column nowrap;
|
|
@@ -56,27 +56,27 @@
|
|
|
56
56
|
align-self: baseline;
|
|
57
57
|
box-sizing: border-box;
|
|
58
58
|
min-height: 48px
|
|
59
|
-
} .navigation-bar-
|
|
60
|
-
.navigation-bar-
|
|
59
|
+
} .navigation-bar-private__content_1io9h.navigation-bar-private__withBothAddons_1io9h,
|
|
60
|
+
.navigation-bar-private__content_1io9h.navigation-bar-private__withCompactTitle_1io9h {
|
|
61
61
|
font-size: 16px;
|
|
62
62
|
line-height: 20px;
|
|
63
63
|
font-weight: 500;
|
|
64
64
|
align-self: center;
|
|
65
65
|
padding-top: var(--gap-4);
|
|
66
66
|
padding-bottom: var(--gap-4)
|
|
67
|
-
} .navigation-bar-
|
|
68
|
-
.navigation-bar-
|
|
69
|
-
.navigation-bar-
|
|
70
|
-
.navigation-bar-
|
|
67
|
+
} .navigation-bar-private__content_1io9h.navigation-bar-private__withBothAddons_1io9h > .navigation-bar-private__children_1io9h,
|
|
68
|
+
.navigation-bar-private__content_1io9h.navigation-bar-private__withBothAddons_1io9h > .navigation-bar-private__title_1io9h,
|
|
69
|
+
.navigation-bar-private__content_1io9h.navigation-bar-private__withCompactTitle_1io9h > .navigation-bar-private__children_1io9h,
|
|
70
|
+
.navigation-bar-private__content_1io9h.navigation-bar-private__withCompactTitle_1io9h > .navigation-bar-private__title_1io9h {
|
|
71
71
|
-webkit-line-clamp: 1;
|
|
72
72
|
word-break: break-all;
|
|
73
|
-
} .navigation-bar-
|
|
73
|
+
} .navigation-bar-private__content_1io9h.navigation-bar-private__contentOnBotDesktop_1io9h.navigation-bar-private__contentOnBotDesktop_1io9h {
|
|
74
74
|
padding-top: var(--gap-12);
|
|
75
|
-
} .navigation-bar-
|
|
75
|
+
} .navigation-bar-private__content_1io9h.navigation-bar-private__contentOnBotMobile_1io9h.navigation-bar-private__contentOnBotMobile_1io9h {
|
|
76
76
|
padding-top: var(--gap-12);
|
|
77
|
-
} .navigation-bar-
|
|
77
|
+
} .navigation-bar-private__title_1io9h {
|
|
78
78
|
word-break: break-word;
|
|
79
|
-
} .navigation-bar-
|
|
79
|
+
} .navigation-bar-private__subtitle_1io9h {
|
|
80
80
|
font-size: 14px;
|
|
81
81
|
line-height: 20px;
|
|
82
82
|
font-weight: 400;
|
|
@@ -87,11 +87,11 @@
|
|
|
87
87
|
|
|
88
88
|
color: var(--color-light-text-secondary);
|
|
89
89
|
word-break: break-all;
|
|
90
|
-
} .navigation-bar-
|
|
90
|
+
} .navigation-bar-private__addonsWrapper_1io9h {
|
|
91
91
|
display: flex;
|
|
92
|
-
} .navigation-bar-
|
|
92
|
+
} .navigation-bar-private__rightAddons_1io9h {
|
|
93
93
|
margin-left: auto;
|
|
94
|
-
} .navigation-bar-
|
|
94
|
+
} .navigation-bar-private__addon_1io9h {
|
|
95
95
|
min-width: 48px;
|
|
96
96
|
height: 48px;
|
|
97
97
|
display: flex;
|
|
@@ -99,18 +99,18 @@
|
|
|
99
99
|
align-items: center;
|
|
100
100
|
flex-shrink: 0;
|
|
101
101
|
pointer-events: all;
|
|
102
|
-
} .navigation-bar-
|
|
102
|
+
} .navigation-bar-private__bottomAddons_1io9h {
|
|
103
103
|
pointer-events: all;
|
|
104
|
-
} .navigation-bar-
|
|
104
|
+
} .navigation-bar-private__closer_1io9h {
|
|
105
105
|
margin-left: auto;
|
|
106
|
-
} .navigation-bar-
|
|
106
|
+
} .navigation-bar-private__left_1io9h {
|
|
107
107
|
text-align: left;
|
|
108
|
-
} .navigation-bar-
|
|
108
|
+
} .navigation-bar-private__center_1io9h {
|
|
109
109
|
text-align: center;
|
|
110
|
-
} .navigation-bar-
|
|
110
|
+
} .navigation-bar-private__trim_1io9h {
|
|
111
111
|
overflow: hidden
|
|
112
|
-
} .navigation-bar-
|
|
113
|
-
.navigation-bar-
|
|
112
|
+
} .navigation-bar-private__trim_1io9h .navigation-bar-private__title_1io9h,
|
|
113
|
+
.navigation-bar-private__trim_1io9h .navigation-bar-private__children_1io9h {
|
|
114
114
|
-webkit-line-clamp: 2;
|
|
115
115
|
display: -webkit-box;
|
|
116
116
|
-webkit-box-orient: vertical;
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1rz9e */
|
|
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);
|
|
@@ -28,26 +28,26 @@
|
|
|
28
28
|
--gap-12: var(--gap-s);
|
|
29
29
|
} :root {
|
|
30
30
|
} :root {
|
|
31
|
-
} /* сбрасывает синюю подсветку при нажатии */ .navigation-bar-
|
|
31
|
+
} /* сбрасывает синюю подсветку при нажатии */ .navigation-bar-private__header_1io9h {
|
|
32
32
|
width: 100%;
|
|
33
33
|
box-sizing: border-box;
|
|
34
34
|
transition: box-shadow 0.2s ease, background 0.2s ease
|
|
35
|
-
} .navigation-bar-
|
|
35
|
+
} .navigation-bar-private__header_1io9h.navigation-bar-private__header_1io9h.navigation-bar-private__backgroundImage_1io9h {
|
|
36
36
|
background-repeat: no-repeat;
|
|
37
37
|
background-position: center;
|
|
38
38
|
background-size: cover;
|
|
39
|
-
} .navigation-bar-
|
|
39
|
+
} .navigation-bar-private__mainLine_1io9h {
|
|
40
40
|
display: flex;
|
|
41
41
|
align-items: stretch;
|
|
42
42
|
justify-content: space-between;
|
|
43
43
|
z-index: 1;
|
|
44
44
|
background-color: inherit;
|
|
45
|
-
} .navigation-bar-
|
|
45
|
+
} .navigation-bar-private__mainLineSticky_1io9h {
|
|
46
46
|
position: sticky;
|
|
47
47
|
top: var(--gap-0);
|
|
48
|
-
} .navigation-bar-
|
|
48
|
+
} .navigation-bar-private__mainLineWithImageBg_1io9h {
|
|
49
49
|
background-color: initial;
|
|
50
|
-
} .navigation-bar-
|
|
50
|
+
} .navigation-bar-private__content_1io9h {
|
|
51
51
|
color: var(--color-light-text-primary);
|
|
52
52
|
display: flex;
|
|
53
53
|
flex-flow: column nowrap;
|
|
@@ -56,27 +56,27 @@
|
|
|
56
56
|
align-self: baseline;
|
|
57
57
|
box-sizing: border-box;
|
|
58
58
|
min-height: 48px
|
|
59
|
-
} .navigation-bar-
|
|
60
|
-
.navigation-bar-
|
|
59
|
+
} .navigation-bar-private__content_1io9h.navigation-bar-private__withBothAddons_1io9h,
|
|
60
|
+
.navigation-bar-private__content_1io9h.navigation-bar-private__withCompactTitle_1io9h {
|
|
61
61
|
font-size: 16px;
|
|
62
62
|
line-height: 20px;
|
|
63
63
|
font-weight: 500;
|
|
64
64
|
align-self: center;
|
|
65
65
|
padding-top: var(--gap-4);
|
|
66
66
|
padding-bottom: var(--gap-4)
|
|
67
|
-
} .navigation-bar-
|
|
68
|
-
.navigation-bar-
|
|
69
|
-
.navigation-bar-
|
|
70
|
-
.navigation-bar-
|
|
67
|
+
} .navigation-bar-private__content_1io9h.navigation-bar-private__withBothAddons_1io9h > .navigation-bar-private__children_1io9h,
|
|
68
|
+
.navigation-bar-private__content_1io9h.navigation-bar-private__withBothAddons_1io9h > .navigation-bar-private__title_1io9h,
|
|
69
|
+
.navigation-bar-private__content_1io9h.navigation-bar-private__withCompactTitle_1io9h > .navigation-bar-private__children_1io9h,
|
|
70
|
+
.navigation-bar-private__content_1io9h.navigation-bar-private__withCompactTitle_1io9h > .navigation-bar-private__title_1io9h {
|
|
71
71
|
-webkit-line-clamp: 1;
|
|
72
72
|
word-break: break-all;
|
|
73
|
-
} .navigation-bar-
|
|
73
|
+
} .navigation-bar-private__content_1io9h.navigation-bar-private__contentOnBotDesktop_1io9h.navigation-bar-private__contentOnBotDesktop_1io9h {
|
|
74
74
|
padding-top: var(--gap-12);
|
|
75
|
-
} .navigation-bar-
|
|
75
|
+
} .navigation-bar-private__content_1io9h.navigation-bar-private__contentOnBotMobile_1io9h.navigation-bar-private__contentOnBotMobile_1io9h {
|
|
76
76
|
padding-top: var(--gap-12);
|
|
77
|
-
} .navigation-bar-
|
|
77
|
+
} .navigation-bar-private__title_1io9h {
|
|
78
78
|
word-break: break-word;
|
|
79
|
-
} .navigation-bar-
|
|
79
|
+
} .navigation-bar-private__subtitle_1io9h {
|
|
80
80
|
font-size: 14px;
|
|
81
81
|
line-height: 20px;
|
|
82
82
|
font-weight: 400;
|
|
@@ -87,11 +87,11 @@
|
|
|
87
87
|
|
|
88
88
|
color: var(--color-light-text-secondary);
|
|
89
89
|
word-break: break-all;
|
|
90
|
-
} .navigation-bar-
|
|
90
|
+
} .navigation-bar-private__addonsWrapper_1io9h {
|
|
91
91
|
display: flex;
|
|
92
|
-
} .navigation-bar-
|
|
92
|
+
} .navigation-bar-private__rightAddons_1io9h {
|
|
93
93
|
margin-left: auto;
|
|
94
|
-
} .navigation-bar-
|
|
94
|
+
} .navigation-bar-private__addon_1io9h {
|
|
95
95
|
min-width: 48px;
|
|
96
96
|
height: 48px;
|
|
97
97
|
display: flex;
|
|
@@ -99,18 +99,18 @@
|
|
|
99
99
|
align-items: center;
|
|
100
100
|
flex-shrink: 0;
|
|
101
101
|
pointer-events: all;
|
|
102
|
-
} .navigation-bar-
|
|
102
|
+
} .navigation-bar-private__bottomAddons_1io9h {
|
|
103
103
|
pointer-events: all;
|
|
104
|
-
} .navigation-bar-
|
|
104
|
+
} .navigation-bar-private__closer_1io9h {
|
|
105
105
|
margin-left: auto;
|
|
106
|
-
} .navigation-bar-
|
|
106
|
+
} .navigation-bar-private__left_1io9h {
|
|
107
107
|
text-align: left;
|
|
108
|
-
} .navigation-bar-
|
|
108
|
+
} .navigation-bar-private__center_1io9h {
|
|
109
109
|
text-align: center;
|
|
110
|
-
} .navigation-bar-
|
|
110
|
+
} .navigation-bar-private__trim_1io9h {
|
|
111
111
|
overflow: hidden
|
|
112
|
-
} .navigation-bar-
|
|
113
|
-
.navigation-bar-
|
|
112
|
+
} .navigation-bar-private__trim_1io9h .navigation-bar-private__title_1io9h,
|
|
113
|
+
.navigation-bar-private__trim_1io9h .navigation-bar-private__children_1io9h {
|
|
114
114
|
-webkit-line-clamp: 2;
|
|
115
115
|
display: -webkit-box;
|
|
116
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_1io9h","backgroundImage":"navigation-bar-private__backgroundImage_1io9h","mainLine":"navigation-bar-private__mainLine_1io9h","mainLineSticky":"navigation-bar-private__mainLineSticky_1io9h","mainLineWithImageBg":"navigation-bar-private__mainLineWithImageBg_1io9h","content":"navigation-bar-private__content_1io9h","withBothAddons":"navigation-bar-private__withBothAddons_1io9h","withCompactTitle":"navigation-bar-private__withCompactTitle_1io9h","children":"navigation-bar-private__children_1io9h","title":"navigation-bar-private__title_1io9h","contentOnBotDesktop":"navigation-bar-private__contentOnBotDesktop_1io9h","contentOnBotMobile":"navigation-bar-private__contentOnBotMobile_1io9h","subtitle":"navigation-bar-private__subtitle_1io9h","addonsWrapper":"navigation-bar-private__addonsWrapper_1io9h","rightAddons":"navigation-bar-private__rightAddons_1io9h","addon":"navigation-bar-private__addon_1io9h","bottomAddons":"navigation-bar-private__bottomAddons_1io9h","closer":"navigation-bar-private__closer_1io9h","left":"navigation-bar-private__left_1io9h","center":"navigation-bar-private__center_1io9h","trim":"navigation-bar-private__trim_1io9h"};
|
|
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_1eb1g","mobileComponent":"navigation-bar-private__mobileComponent_1eb1g","flex":"navigation-bar-private__flex_1eb1g","iconWrapper":"navigation-bar-private__iconWrapper_1eb1g","text":"navigation-bar-private__text_1eb1g","mobileWrapper":"navigation-bar-private__mobileWrapper_1eb1g"};
|
|
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: ekwke */
|
|
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);
|
|
@@ -39,48 +39,48 @@
|
|
|
39
39
|
|
|
40
40
|
/* back-arrow */
|
|
41
41
|
--navigation-bar-back-arrow-mobile-fill: var(--color-light-neutral-translucent-700);
|
|
42
|
-
} .navigation-bar-
|
|
42
|
+
} .navigation-bar-private__component_1eb1g {
|
|
43
43
|
height: 100%;
|
|
44
44
|
background: var(--color-light-bg-primary-alpha-40);
|
|
45
45
|
-webkit-backdrop-filter: blur(10px);
|
|
46
46
|
backdrop-filter: blur(10px);
|
|
47
47
|
border-radius: var(--border-radius-pill);
|
|
48
48
|
min-width: 48px
|
|
49
|
-
} .navigation-bar-
|
|
49
|
+
} .navigation-bar-private__component_1eb1g svg > path {
|
|
50
50
|
transition: fill 0.2s ease;
|
|
51
51
|
fill: var(--color-light-neutral-translucent-1300);
|
|
52
|
-
} .navigation-bar-
|
|
52
|
+
} .navigation-bar-private__component_1eb1g:hover svg > path {
|
|
53
53
|
fill: var(--color-light-neutral-translucent-1300-hover);
|
|
54
|
-
} .navigation-bar-
|
|
54
|
+
} .navigation-bar-private__component_1eb1g:active svg > path {
|
|
55
55
|
fill: var(--color-light-neutral-translucent-1300-press);
|
|
56
|
-
} .navigation-bar-
|
|
56
|
+
} .navigation-bar-private__mobileComponent_1eb1g {
|
|
57
57
|
height: 32px;
|
|
58
58
|
min-width: 32px;
|
|
59
59
|
margin: var(--gap-0) var(--gap-8);
|
|
60
60
|
-webkit-backdrop-filter: none;
|
|
61
61
|
backdrop-filter: none;
|
|
62
62
|
background: none;
|
|
63
|
-
} .navigation-bar-
|
|
63
|
+
} .navigation-bar-private__flex_1eb1g {
|
|
64
64
|
display: flex;
|
|
65
65
|
align-items: center;
|
|
66
|
-
} .navigation-bar-
|
|
66
|
+
} .navigation-bar-private__iconWrapper_1eb1g {
|
|
67
67
|
display: inline-flex;
|
|
68
68
|
align-items: center;
|
|
69
69
|
justify-content: center;
|
|
70
70
|
height: 48px;
|
|
71
71
|
margin: var(--gap-0) var(--gap-8) var(--gap-0) var(--gap-12);
|
|
72
72
|
border-radius: var(--border-radius-circle)
|
|
73
|
-
} .navigation-bar-
|
|
73
|
+
} .navigation-bar-private__iconWrapper_1eb1g + .navigation-bar-private__text_1eb1g {
|
|
74
74
|
margin-right: var(--gap-12);
|
|
75
|
-
} .navigation-bar-
|
|
75
|
+
} .navigation-bar-private__mobileWrapper_1eb1g {
|
|
76
76
|
width: 32px;
|
|
77
77
|
height: 32px;
|
|
78
78
|
background: var(--color-light-neutral-translucent-100);
|
|
79
79
|
-webkit-backdrop-filter: blur(10px);
|
|
80
80
|
backdrop-filter: blur(10px);
|
|
81
81
|
margin: var(--gap-0)
|
|
82
|
-
} .navigation-bar-
|
|
82
|
+
} .navigation-bar-private__mobileWrapper_1eb1g + .navigation-bar-private__text_1eb1g {
|
|
83
83
|
margin: var(--gap-0) var(--gap-12) var(--gap-0) var(--gap-8);
|
|
84
|
-
} .navigation-bar-
|
|
84
|
+
} .navigation-bar-private__mobileWrapper_1eb1g svg > path {
|
|
85
85
|
fill: var(--navigation-bar-back-arrow-mobile-fill);
|
|
86
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_2xs3i","button":"navigation-bar-private__button_2xs3i","mobile":"navigation-bar-private__mobile_2xs3i","sticky":"navigation-bar-private__sticky_2xs3i"};
|
|
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: 1r39q */
|
|
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);
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
--navigation-bar-closer-mobile-color: var(--color-light-neutral-translucent-700);
|
|
33
33
|
|
|
34
34
|
/* back-arrow */
|
|
35
|
-
} .navigation-bar-
|
|
35
|
+
} .navigation-bar-private__closer_2xs3i {
|
|
36
36
|
flex-shrink: 0;
|
|
37
37
|
width: 48px;
|
|
38
38
|
height: 48px;
|
|
@@ -40,17 +40,17 @@
|
|
|
40
40
|
display: flex;
|
|
41
41
|
align-items: center;
|
|
42
42
|
justify-content: center;
|
|
43
|
-
} .navigation-bar-
|
|
43
|
+
} .navigation-bar-private__button_2xs3i {
|
|
44
44
|
background: var(--color-light-bg-primary-alpha-40);
|
|
45
45
|
-webkit-backdrop-filter: blur(10px);
|
|
46
46
|
backdrop-filter: blur(10px);
|
|
47
47
|
color: var(--color-light-neutral-translucent-1300)
|
|
48
|
-
} .navigation-bar-
|
|
48
|
+
} .navigation-bar-private__button_2xs3i.navigation-bar-private__mobile_2xs3i {
|
|
49
49
|
background: var(--color-light-neutral-translucent-100);
|
|
50
50
|
color: var(--navigation-bar-closer-mobile-color);
|
|
51
|
-
} .navigation-bar-
|
|
51
|
+
} .navigation-bar-private__button_2xs3i.navigation-bar-private__button_2xs3i {
|
|
52
52
|
border-radius: var(--border-radius-circle);
|
|
53
|
-
} .navigation-bar-
|
|
53
|
+
} .navigation-bar-private__sticky_2xs3i {
|
|
54
54
|
position: sticky;
|
|
55
55
|
top: var(--gap-0);
|
|
56
56
|
}
|
package/modern/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1rz9e */
|
|
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);
|
|
@@ -28,26 +28,26 @@
|
|
|
28
28
|
--gap-12: var(--gap-s);
|
|
29
29
|
} :root {
|
|
30
30
|
} :root {
|
|
31
|
-
} /* сбрасывает синюю подсветку при нажатии */ .navigation-bar-
|
|
31
|
+
} /* сбрасывает синюю подсветку при нажатии */ .navigation-bar-private__header_1io9h {
|
|
32
32
|
width: 100%;
|
|
33
33
|
box-sizing: border-box;
|
|
34
34
|
transition: box-shadow 0.2s ease, background 0.2s ease
|
|
35
|
-
} .navigation-bar-
|
|
35
|
+
} .navigation-bar-private__header_1io9h.navigation-bar-private__header_1io9h.navigation-bar-private__backgroundImage_1io9h {
|
|
36
36
|
background-repeat: no-repeat;
|
|
37
37
|
background-position: center;
|
|
38
38
|
background-size: cover;
|
|
39
|
-
} .navigation-bar-
|
|
39
|
+
} .navigation-bar-private__mainLine_1io9h {
|
|
40
40
|
display: flex;
|
|
41
41
|
align-items: stretch;
|
|
42
42
|
justify-content: space-between;
|
|
43
43
|
z-index: 1;
|
|
44
44
|
background-color: inherit;
|
|
45
|
-
} .navigation-bar-
|
|
45
|
+
} .navigation-bar-private__mainLineSticky_1io9h {
|
|
46
46
|
position: sticky;
|
|
47
47
|
top: var(--gap-0);
|
|
48
|
-
} .navigation-bar-
|
|
48
|
+
} .navigation-bar-private__mainLineWithImageBg_1io9h {
|
|
49
49
|
background-color: initial;
|
|
50
|
-
} .navigation-bar-
|
|
50
|
+
} .navigation-bar-private__content_1io9h {
|
|
51
51
|
color: var(--color-light-text-primary);
|
|
52
52
|
display: flex;
|
|
53
53
|
flex-flow: column nowrap;
|
|
@@ -56,27 +56,27 @@
|
|
|
56
56
|
align-self: baseline;
|
|
57
57
|
box-sizing: border-box;
|
|
58
58
|
min-height: 48px
|
|
59
|
-
} .navigation-bar-
|
|
60
|
-
.navigation-bar-
|
|
59
|
+
} .navigation-bar-private__content_1io9h.navigation-bar-private__withBothAddons_1io9h,
|
|
60
|
+
.navigation-bar-private__content_1io9h.navigation-bar-private__withCompactTitle_1io9h {
|
|
61
61
|
font-size: 16px;
|
|
62
62
|
line-height: 20px;
|
|
63
63
|
font-weight: 500;
|
|
64
64
|
align-self: center;
|
|
65
65
|
padding-top: var(--gap-4);
|
|
66
66
|
padding-bottom: var(--gap-4)
|
|
67
|
-
} .navigation-bar-
|
|
68
|
-
.navigation-bar-
|
|
69
|
-
.navigation-bar-
|
|
70
|
-
.navigation-bar-
|
|
67
|
+
} .navigation-bar-private__content_1io9h.navigation-bar-private__withBothAddons_1io9h > .navigation-bar-private__children_1io9h,
|
|
68
|
+
.navigation-bar-private__content_1io9h.navigation-bar-private__withBothAddons_1io9h > .navigation-bar-private__title_1io9h,
|
|
69
|
+
.navigation-bar-private__content_1io9h.navigation-bar-private__withCompactTitle_1io9h > .navigation-bar-private__children_1io9h,
|
|
70
|
+
.navigation-bar-private__content_1io9h.navigation-bar-private__withCompactTitle_1io9h > .navigation-bar-private__title_1io9h {
|
|
71
71
|
-webkit-line-clamp: 1;
|
|
72
72
|
word-break: break-all;
|
|
73
|
-
} .navigation-bar-
|
|
73
|
+
} .navigation-bar-private__content_1io9h.navigation-bar-private__contentOnBotDesktop_1io9h.navigation-bar-private__contentOnBotDesktop_1io9h {
|
|
74
74
|
padding-top: var(--gap-12);
|
|
75
|
-
} .navigation-bar-
|
|
75
|
+
} .navigation-bar-private__content_1io9h.navigation-bar-private__contentOnBotMobile_1io9h.navigation-bar-private__contentOnBotMobile_1io9h {
|
|
76
76
|
padding-top: var(--gap-12);
|
|
77
|
-
} .navigation-bar-
|
|
77
|
+
} .navigation-bar-private__title_1io9h {
|
|
78
78
|
word-break: break-word;
|
|
79
|
-
} .navigation-bar-
|
|
79
|
+
} .navigation-bar-private__subtitle_1io9h {
|
|
80
80
|
font-size: 14px;
|
|
81
81
|
line-height: 20px;
|
|
82
82
|
font-weight: 400;
|
|
@@ -87,11 +87,11 @@
|
|
|
87
87
|
|
|
88
88
|
color: var(--color-light-text-secondary);
|
|
89
89
|
word-break: break-all;
|
|
90
|
-
} .navigation-bar-
|
|
90
|
+
} .navigation-bar-private__addonsWrapper_1io9h {
|
|
91
91
|
display: flex;
|
|
92
|
-
} .navigation-bar-
|
|
92
|
+
} .navigation-bar-private__rightAddons_1io9h {
|
|
93
93
|
margin-left: auto;
|
|
94
|
-
} .navigation-bar-
|
|
94
|
+
} .navigation-bar-private__addon_1io9h {
|
|
95
95
|
min-width: 48px;
|
|
96
96
|
height: 48px;
|
|
97
97
|
display: flex;
|
|
@@ -99,18 +99,18 @@
|
|
|
99
99
|
align-items: center;
|
|
100
100
|
flex-shrink: 0;
|
|
101
101
|
pointer-events: all;
|
|
102
|
-
} .navigation-bar-
|
|
102
|
+
} .navigation-bar-private__bottomAddons_1io9h {
|
|
103
103
|
pointer-events: all;
|
|
104
|
-
} .navigation-bar-
|
|
104
|
+
} .navigation-bar-private__closer_1io9h {
|
|
105
105
|
margin-left: auto;
|
|
106
|
-
} .navigation-bar-
|
|
106
|
+
} .navigation-bar-private__left_1io9h {
|
|
107
107
|
text-align: left;
|
|
108
|
-
} .navigation-bar-
|
|
108
|
+
} .navigation-bar-private__center_1io9h {
|
|
109
109
|
text-align: center;
|
|
110
|
-
} .navigation-bar-
|
|
110
|
+
} .navigation-bar-private__trim_1io9h {
|
|
111
111
|
overflow: hidden
|
|
112
|
-
} .navigation-bar-
|
|
113
|
-
.navigation-bar-
|
|
112
|
+
} .navigation-bar-private__trim_1io9h .navigation-bar-private__title_1io9h,
|
|
113
|
+
.navigation-bar-private__trim_1io9h .navigation-bar-private__children_1io9h {
|
|
114
114
|
-webkit-line-clamp: 2;
|
|
115
115
|
display: -webkit-box;
|
|
116
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.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Navigation bar private component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@alfalab/core-components-icon-button": "^6.11.8",
|
|
16
16
|
"@alfalab/core-components-button": "^11.11.5",
|
|
17
|
-
"@alfalab/core-components-typography": "^4.
|
|
17
|
+
"@alfalab/core-components-typography": "^4.12.0",
|
|
18
18
|
"@alfalab/core-components-shared": "^0.16.0",
|
|
19
19
|
"@alfalab/hooks": "^1.13.1",
|
|
20
20
|
"@alfalab/icons-glyph": "^2.210.0",
|