@alfalab/core-components-navigation-bar-private 0.1.10 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Component.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/moderncssm/Component.d.ts +5 -0
- package/moderncssm/Component.js +159 -0
- package/moderncssm/components/back-arrow-addon/Component.d.ts +26 -0
- package/moderncssm/components/back-arrow-addon/Component.js +21 -0
- package/moderncssm/components/back-arrow-addon/index.d.ts +1 -0
- package/moderncssm/components/back-arrow-addon/index.js +1 -0
- package/moderncssm/components/back-arrow-addon/index.module.css +62 -0
- package/moderncssm/components/closer/Component.d.ts +35 -0
- package/moderncssm/components/closer/Component.js +18 -0
- package/moderncssm/components/closer/index.d.ts +1 -0
- package/moderncssm/components/closer/index.js +1 -0
- package/moderncssm/components/closer/index.module.css +33 -0
- package/moderncssm/index.d.ts +2 -0
- package/moderncssm/index.js +1 -0
- package/moderncssm/index.module.css +131 -0
- package/moderncssm/shared/index.d.ts +2 -0
- package/moderncssm/shared/index.js +2 -0
- package/moderncssm/types.d.ts +118 -0
- package/moderncssm/types.js +1 -0
- package/moderncssm/vars.css +7 -0
- package/package.json +6 -6
- package/src/components/back-arrow-addon/index.module.css +1 -1
- package/src/components/closer/index.module.css +1 -1
- package/src/index.module.css +1 -1
- package/src/vars.css +1 -1
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_8xzyw","backgroundImage":"navigation-bar-private__backgroundImage_8xzyw","mainLine":"navigation-bar-private__mainLine_8xzyw","mainLineSticky":"navigation-bar-private__mainLineSticky_8xzyw","mainLineWithImageBg":"navigation-bar-private__mainLineWithImageBg_8xzyw","content":"navigation-bar-private__content_8xzyw","withBothAddons":"navigation-bar-private__withBothAddons_8xzyw","withCompactTitle":"navigation-bar-private__withCompactTitle_8xzyw","children":"navigation-bar-private__children_8xzyw","title":"navigation-bar-private__title_8xzyw","contentOnBotDesktop":"navigation-bar-private__contentOnBotDesktop_8xzyw","contentOnBotMobile":"navigation-bar-private__contentOnBotMobile_8xzyw","subtitle":"navigation-bar-private__subtitle_8xzyw","addonsWrapper":"navigation-bar-private__addonsWrapper_8xzyw","rightAddons":"navigation-bar-private__rightAddons_8xzyw","addon":"navigation-bar-private__addon_8xzyw","bottomAddons":"navigation-bar-private__bottomAddons_8xzyw","closer":"navigation-bar-private__closer_8xzyw","left":"navigation-bar-private__left_8xzyw","center":"navigation-bar-private__center_8xzyw","trim":"navigation-bar-private__trim_8xzyw"};
|
|
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_1sneo","mobileComponent":"navigation-bar-private__mobileComponent_1sneo","flex":"navigation-bar-private__flex_1sneo","iconWrapper":"navigation-bar-private__iconWrapper_1sneo","text":"navigation-bar-private__text_1sneo","mobileWrapper":"navigation-bar-private__mobileWrapper_1sneo"};
|
|
19
19
|
require('./index.css')
|
|
20
20
|
|
|
21
21
|
var BackArrowAddon = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1jkoy */
|
|
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);
|
|
@@ -35,48 +35,48 @@
|
|
|
35
35
|
|
|
36
36
|
/* back-arrow */
|
|
37
37
|
--navigation-bar-back-arrow-mobile-fill: var(--color-light-neutral-translucent-700);
|
|
38
|
-
} .navigation-bar-
|
|
38
|
+
} .navigation-bar-private__component_1sneo {
|
|
39
39
|
height: 100%;
|
|
40
40
|
background: var(--color-light-bg-primary-alpha-40);
|
|
41
41
|
-webkit-backdrop-filter: blur(10px);
|
|
42
42
|
backdrop-filter: blur(10px);
|
|
43
43
|
border-radius: var(--border-radius-pill);
|
|
44
44
|
min-width: 48px
|
|
45
|
-
} .navigation-bar-
|
|
45
|
+
} .navigation-bar-private__component_1sneo svg > path {
|
|
46
46
|
transition: fill 0.2s ease;
|
|
47
47
|
fill: var(--color-light-neutral-translucent-1300);
|
|
48
|
-
} .navigation-bar-
|
|
48
|
+
} .navigation-bar-private__component_1sneo:hover svg > path {
|
|
49
49
|
fill: var(--color-light-neutral-translucent-1300-hover);
|
|
50
|
-
} .navigation-bar-
|
|
50
|
+
} .navigation-bar-private__component_1sneo:active svg > path {
|
|
51
51
|
fill: var(--color-light-neutral-translucent-1300-press);
|
|
52
|
-
} .navigation-bar-
|
|
52
|
+
} .navigation-bar-private__mobileComponent_1sneo {
|
|
53
53
|
height: 32px;
|
|
54
54
|
min-width: 32px;
|
|
55
55
|
margin: 0 var(--gap-8);
|
|
56
56
|
-webkit-backdrop-filter: none;
|
|
57
57
|
backdrop-filter: none;
|
|
58
58
|
background: none;
|
|
59
|
-
} .navigation-bar-
|
|
59
|
+
} .navigation-bar-private__flex_1sneo {
|
|
60
60
|
display: flex;
|
|
61
61
|
align-items: center;
|
|
62
|
-
} .navigation-bar-
|
|
62
|
+
} .navigation-bar-private__iconWrapper_1sneo {
|
|
63
63
|
display: inline-flex;
|
|
64
64
|
align-items: center;
|
|
65
65
|
justify-content: center;
|
|
66
66
|
height: 48px;
|
|
67
67
|
margin: 0 var(--gap-8) 0 var(--gap-12);
|
|
68
68
|
border-radius: var(--border-radius-circle)
|
|
69
|
-
} .navigation-bar-
|
|
69
|
+
} .navigation-bar-private__iconWrapper_1sneo + .navigation-bar-private__text_1sneo {
|
|
70
70
|
margin-right: var(--gap-12);
|
|
71
|
-
} .navigation-bar-
|
|
71
|
+
} .navigation-bar-private__mobileWrapper_1sneo {
|
|
72
72
|
width: 32px;
|
|
73
73
|
height: 32px;
|
|
74
74
|
background: var(--color-light-neutral-translucent-100);
|
|
75
75
|
-webkit-backdrop-filter: blur(10px);
|
|
76
76
|
backdrop-filter: blur(10px);
|
|
77
77
|
margin: 0
|
|
78
|
-
} .navigation-bar-
|
|
78
|
+
} .navigation-bar-private__mobileWrapper_1sneo + .navigation-bar-private__text_1sneo {
|
|
79
79
|
margin: 0 var(--gap-12) 0 var(--gap-8);
|
|
80
|
-
} .navigation-bar-
|
|
80
|
+
} .navigation-bar-private__mobileWrapper_1sneo svg > path {
|
|
81
81
|
fill: var(--navigation-bar-back-arrow-mobile-fill);
|
|
82
82
|
}
|
|
@@ -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_216hm","button":"navigation-bar-private__button_216hm","mobile":"navigation-bar-private__mobile_216hm","sticky":"navigation-bar-private__sticky_216hm"};
|
|
18
18
|
require('./index.css')
|
|
19
19
|
|
|
20
20
|
var Closer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1gpbm */
|
|
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);
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
--navigation-bar-closer-mobile-color: var(--color-light-neutral-translucent-700);
|
|
29
29
|
|
|
30
30
|
/* back-arrow */
|
|
31
|
-
} .navigation-bar-
|
|
31
|
+
} .navigation-bar-private__closer_216hm {
|
|
32
32
|
flex-shrink: 0;
|
|
33
33
|
width: 48px;
|
|
34
34
|
height: 48px;
|
|
@@ -36,17 +36,17 @@
|
|
|
36
36
|
display: flex;
|
|
37
37
|
align-items: center;
|
|
38
38
|
justify-content: center;
|
|
39
|
-
} .navigation-bar-
|
|
39
|
+
} .navigation-bar-private__button_216hm {
|
|
40
40
|
background: var(--color-light-bg-primary-alpha-40);
|
|
41
41
|
-webkit-backdrop-filter: blur(10px);
|
|
42
42
|
backdrop-filter: blur(10px);
|
|
43
43
|
color: var(--color-light-neutral-translucent-1300)
|
|
44
|
-
} .navigation-bar-
|
|
44
|
+
} .navigation-bar-private__button_216hm.navigation-bar-private__mobile_216hm {
|
|
45
45
|
background: var(--color-light-neutral-translucent-100);
|
|
46
46
|
color: var(--navigation-bar-closer-mobile-color);
|
|
47
|
-
} .navigation-bar-
|
|
47
|
+
} .navigation-bar-private__button_216hm.navigation-bar-private__button_216hm {
|
|
48
48
|
border-radius: var(--border-radius-circle);
|
|
49
|
-
} .navigation-bar-
|
|
49
|
+
} .navigation-bar-private__sticky_216hm {
|
|
50
50
|
position: sticky;
|
|
51
51
|
top: 0;
|
|
52
52
|
}
|
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_8xzyw","backgroundImage":"navigation-bar-private__backgroundImage_8xzyw","mainLine":"navigation-bar-private__mainLine_8xzyw","mainLineSticky":"navigation-bar-private__mainLineSticky_8xzyw","mainLineWithImageBg":"navigation-bar-private__mainLineWithImageBg_8xzyw","content":"navigation-bar-private__content_8xzyw","withBothAddons":"navigation-bar-private__withBothAddons_8xzyw","withCompactTitle":"navigation-bar-private__withCompactTitle_8xzyw","children":"navigation-bar-private__children_8xzyw","title":"navigation-bar-private__title_8xzyw","contentOnBotDesktop":"navigation-bar-private__contentOnBotDesktop_8xzyw","contentOnBotMobile":"navigation-bar-private__contentOnBotMobile_8xzyw","subtitle":"navigation-bar-private__subtitle_8xzyw","addonsWrapper":"navigation-bar-private__addonsWrapper_8xzyw","rightAddons":"navigation-bar-private__rightAddons_8xzyw","addon":"navigation-bar-private__addon_8xzyw","bottomAddons":"navigation-bar-private__bottomAddons_8xzyw","closer":"navigation-bar-private__closer_8xzyw","left":"navigation-bar-private__left_8xzyw","center":"navigation-bar-private__center_8xzyw","trim":"navigation-bar-private__trim_8xzyw"};
|
|
11
11
|
require('./index.css')
|
|
12
12
|
|
|
13
13
|
var ADDONS_HEIGHT = 48;
|
|
@@ -6,7 +6,7 @@ import { Typography } from '@alfalab/core-components-typography/esm';
|
|
|
6
6
|
import { ArrowLeftMediumMIcon } from '@alfalab/icons-glyph/ArrowLeftMediumMIcon';
|
|
7
7
|
import { ArrowLeftMIcon } from '@alfalab/icons-glyph/ArrowLeftMIcon';
|
|
8
8
|
|
|
9
|
-
var styles = {"component":"navigation-bar-
|
|
9
|
+
var styles = {"component":"navigation-bar-private__component_1sneo","mobileComponent":"navigation-bar-private__mobileComponent_1sneo","flex":"navigation-bar-private__flex_1sneo","iconWrapper":"navigation-bar-private__iconWrapper_1sneo","text":"navigation-bar-private__text_1sneo","mobileWrapper":"navigation-bar-private__mobileWrapper_1sneo"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
var BackArrowAddon = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1jkoy */
|
|
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);
|
|
@@ -35,48 +35,48 @@
|
|
|
35
35
|
|
|
36
36
|
/* back-arrow */
|
|
37
37
|
--navigation-bar-back-arrow-mobile-fill: var(--color-light-neutral-translucent-700);
|
|
38
|
-
} .navigation-bar-
|
|
38
|
+
} .navigation-bar-private__component_1sneo {
|
|
39
39
|
height: 100%;
|
|
40
40
|
background: var(--color-light-bg-primary-alpha-40);
|
|
41
41
|
-webkit-backdrop-filter: blur(10px);
|
|
42
42
|
backdrop-filter: blur(10px);
|
|
43
43
|
border-radius: var(--border-radius-pill);
|
|
44
44
|
min-width: 48px
|
|
45
|
-
} .navigation-bar-
|
|
45
|
+
} .navigation-bar-private__component_1sneo svg > path {
|
|
46
46
|
transition: fill 0.2s ease;
|
|
47
47
|
fill: var(--color-light-neutral-translucent-1300);
|
|
48
|
-
} .navigation-bar-
|
|
48
|
+
} .navigation-bar-private__component_1sneo:hover svg > path {
|
|
49
49
|
fill: var(--color-light-neutral-translucent-1300-hover);
|
|
50
|
-
} .navigation-bar-
|
|
50
|
+
} .navigation-bar-private__component_1sneo:active svg > path {
|
|
51
51
|
fill: var(--color-light-neutral-translucent-1300-press);
|
|
52
|
-
} .navigation-bar-
|
|
52
|
+
} .navigation-bar-private__mobileComponent_1sneo {
|
|
53
53
|
height: 32px;
|
|
54
54
|
min-width: 32px;
|
|
55
55
|
margin: 0 var(--gap-8);
|
|
56
56
|
-webkit-backdrop-filter: none;
|
|
57
57
|
backdrop-filter: none;
|
|
58
58
|
background: none;
|
|
59
|
-
} .navigation-bar-
|
|
59
|
+
} .navigation-bar-private__flex_1sneo {
|
|
60
60
|
display: flex;
|
|
61
61
|
align-items: center;
|
|
62
|
-
} .navigation-bar-
|
|
62
|
+
} .navigation-bar-private__iconWrapper_1sneo {
|
|
63
63
|
display: inline-flex;
|
|
64
64
|
align-items: center;
|
|
65
65
|
justify-content: center;
|
|
66
66
|
height: 48px;
|
|
67
67
|
margin: 0 var(--gap-8) 0 var(--gap-12);
|
|
68
68
|
border-radius: var(--border-radius-circle)
|
|
69
|
-
} .navigation-bar-
|
|
69
|
+
} .navigation-bar-private__iconWrapper_1sneo + .navigation-bar-private__text_1sneo {
|
|
70
70
|
margin-right: var(--gap-12);
|
|
71
|
-
} .navigation-bar-
|
|
71
|
+
} .navigation-bar-private__mobileWrapper_1sneo {
|
|
72
72
|
width: 32px;
|
|
73
73
|
height: 32px;
|
|
74
74
|
background: var(--color-light-neutral-translucent-100);
|
|
75
75
|
-webkit-backdrop-filter: blur(10px);
|
|
76
76
|
backdrop-filter: blur(10px);
|
|
77
77
|
margin: 0
|
|
78
|
-
} .navigation-bar-
|
|
78
|
+
} .navigation-bar-private__mobileWrapper_1sneo + .navigation-bar-private__text_1sneo {
|
|
79
79
|
margin: 0 var(--gap-12) 0 var(--gap-8);
|
|
80
|
-
} .navigation-bar-
|
|
80
|
+
} .navigation-bar-private__mobileWrapper_1sneo svg > path {
|
|
81
81
|
fill: var(--navigation-bar-back-arrow-mobile-fill);
|
|
82
82
|
}
|
|
@@ -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_216hm","button":"navigation-bar-private__button_216hm","mobile":"navigation-bar-private__mobile_216hm","sticky":"navigation-bar-private__sticky_216hm"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
var Closer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1gpbm */
|
|
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);
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
--navigation-bar-closer-mobile-color: var(--color-light-neutral-translucent-700);
|
|
29
29
|
|
|
30
30
|
/* back-arrow */
|
|
31
|
-
} .navigation-bar-
|
|
31
|
+
} .navigation-bar-private__closer_216hm {
|
|
32
32
|
flex-shrink: 0;
|
|
33
33
|
width: 48px;
|
|
34
34
|
height: 48px;
|
|
@@ -36,17 +36,17 @@
|
|
|
36
36
|
display: flex;
|
|
37
37
|
align-items: center;
|
|
38
38
|
justify-content: center;
|
|
39
|
-
} .navigation-bar-
|
|
39
|
+
} .navigation-bar-private__button_216hm {
|
|
40
40
|
background: var(--color-light-bg-primary-alpha-40);
|
|
41
41
|
-webkit-backdrop-filter: blur(10px);
|
|
42
42
|
backdrop-filter: blur(10px);
|
|
43
43
|
color: var(--color-light-neutral-translucent-1300)
|
|
44
|
-
} .navigation-bar-
|
|
44
|
+
} .navigation-bar-private__button_216hm.navigation-bar-private__mobile_216hm {
|
|
45
45
|
background: var(--color-light-neutral-translucent-100);
|
|
46
46
|
color: var(--navigation-bar-closer-mobile-color);
|
|
47
|
-
} .navigation-bar-
|
|
47
|
+
} .navigation-bar-private__button_216hm.navigation-bar-private__button_216hm {
|
|
48
48
|
border-radius: var(--border-radius-circle);
|
|
49
|
-
} .navigation-bar-
|
|
49
|
+
} .navigation-bar-private__sticky_216hm {
|
|
50
50
|
position: sticky;
|
|
51
51
|
top: 0;
|
|
52
52
|
}
|
package/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1mj0b */
|
|
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);
|
|
@@ -24,26 +24,26 @@
|
|
|
24
24
|
--gap-12: var(--gap-s);
|
|
25
25
|
} :root {
|
|
26
26
|
} :root {
|
|
27
|
-
} .navigation-bar-
|
|
27
|
+
} .navigation-bar-private__header_8xzyw {
|
|
28
28
|
width: 100%;
|
|
29
29
|
box-sizing: border-box;
|
|
30
30
|
transition: box-shadow 0.2s ease, background 0.2s ease
|
|
31
|
-
} .navigation-bar-
|
|
31
|
+
} .navigation-bar-private__header_8xzyw.navigation-bar-private__header_8xzyw.navigation-bar-private__backgroundImage_8xzyw {
|
|
32
32
|
background-repeat: no-repeat;
|
|
33
33
|
background-position: center;
|
|
34
34
|
background-size: cover;
|
|
35
|
-
} .navigation-bar-
|
|
35
|
+
} .navigation-bar-private__mainLine_8xzyw {
|
|
36
36
|
display: flex;
|
|
37
37
|
align-items: stretch;
|
|
38
38
|
justify-content: space-between;
|
|
39
39
|
z-index: 1;
|
|
40
40
|
background-color: inherit;
|
|
41
|
-
} .navigation-bar-
|
|
41
|
+
} .navigation-bar-private__mainLineSticky_8xzyw {
|
|
42
42
|
position: sticky;
|
|
43
43
|
top: 0;
|
|
44
|
-
} .navigation-bar-
|
|
44
|
+
} .navigation-bar-private__mainLineWithImageBg_8xzyw {
|
|
45
45
|
background-color: initial;
|
|
46
|
-
} .navigation-bar-
|
|
46
|
+
} .navigation-bar-private__content_8xzyw {
|
|
47
47
|
color: var(--color-light-text-primary);
|
|
48
48
|
display: flex;
|
|
49
49
|
flex-flow: column nowrap;
|
|
@@ -52,27 +52,27 @@
|
|
|
52
52
|
align-self: baseline;
|
|
53
53
|
box-sizing: border-box;
|
|
54
54
|
min-height: 48px
|
|
55
|
-
} .navigation-bar-
|
|
56
|
-
.navigation-bar-
|
|
55
|
+
} .navigation-bar-private__content_8xzyw.navigation-bar-private__withBothAddons_8xzyw,
|
|
56
|
+
.navigation-bar-private__content_8xzyw.navigation-bar-private__withCompactTitle_8xzyw {
|
|
57
57
|
font-size: 16px;
|
|
58
58
|
line-height: 20px;
|
|
59
59
|
font-weight: 500;
|
|
60
60
|
align-self: center;
|
|
61
61
|
padding-top: var(--gap-4);
|
|
62
62
|
padding-bottom: var(--gap-4)
|
|
63
|
-
} .navigation-bar-
|
|
64
|
-
.navigation-bar-
|
|
65
|
-
.navigation-bar-
|
|
66
|
-
.navigation-bar-
|
|
63
|
+
} .navigation-bar-private__content_8xzyw.navigation-bar-private__withBothAddons_8xzyw > .navigation-bar-private__children_8xzyw,
|
|
64
|
+
.navigation-bar-private__content_8xzyw.navigation-bar-private__withBothAddons_8xzyw > .navigation-bar-private__title_8xzyw,
|
|
65
|
+
.navigation-bar-private__content_8xzyw.navigation-bar-private__withCompactTitle_8xzyw > .navigation-bar-private__children_8xzyw,
|
|
66
|
+
.navigation-bar-private__content_8xzyw.navigation-bar-private__withCompactTitle_8xzyw > .navigation-bar-private__title_8xzyw {
|
|
67
67
|
-webkit-line-clamp: 1;
|
|
68
68
|
word-break: break-all;
|
|
69
|
-
} .navigation-bar-
|
|
69
|
+
} .navigation-bar-private__content_8xzyw.navigation-bar-private__contentOnBotDesktop_8xzyw.navigation-bar-private__contentOnBotDesktop_8xzyw {
|
|
70
70
|
padding-top: var(--gap-12);
|
|
71
|
-
} .navigation-bar-
|
|
71
|
+
} .navigation-bar-private__content_8xzyw.navigation-bar-private__contentOnBotMobile_8xzyw.navigation-bar-private__contentOnBotMobile_8xzyw {
|
|
72
72
|
padding-top: var(--gap-12);
|
|
73
|
-
} .navigation-bar-
|
|
73
|
+
} .navigation-bar-private__title_8xzyw {
|
|
74
74
|
word-break: break-word;
|
|
75
|
-
} .navigation-bar-
|
|
75
|
+
} .navigation-bar-private__subtitle_8xzyw {
|
|
76
76
|
font-size: 14px;
|
|
77
77
|
line-height: 20px;
|
|
78
78
|
font-weight: 400;
|
|
@@ -83,11 +83,11 @@
|
|
|
83
83
|
|
|
84
84
|
color: var(--color-light-text-secondary);
|
|
85
85
|
word-break: break-all;
|
|
86
|
-
} .navigation-bar-
|
|
86
|
+
} .navigation-bar-private__addonsWrapper_8xzyw {
|
|
87
87
|
display: flex;
|
|
88
|
-
} .navigation-bar-
|
|
88
|
+
} .navigation-bar-private__rightAddons_8xzyw {
|
|
89
89
|
margin-left: auto;
|
|
90
|
-
} .navigation-bar-
|
|
90
|
+
} .navigation-bar-private__addon_8xzyw {
|
|
91
91
|
min-width: 48px;
|
|
92
92
|
height: 48px;
|
|
93
93
|
display: flex;
|
|
@@ -95,18 +95,18 @@
|
|
|
95
95
|
align-items: center;
|
|
96
96
|
flex-shrink: 0;
|
|
97
97
|
pointer-events: all;
|
|
98
|
-
} .navigation-bar-
|
|
98
|
+
} .navigation-bar-private__bottomAddons_8xzyw {
|
|
99
99
|
pointer-events: all;
|
|
100
|
-
} .navigation-bar-
|
|
100
|
+
} .navigation-bar-private__closer_8xzyw {
|
|
101
101
|
margin-left: auto;
|
|
102
|
-
} .navigation-bar-
|
|
102
|
+
} .navigation-bar-private__left_8xzyw {
|
|
103
103
|
text-align: left;
|
|
104
|
-
} .navigation-bar-
|
|
104
|
+
} .navigation-bar-private__center_8xzyw {
|
|
105
105
|
text-align: center;
|
|
106
|
-
} .navigation-bar-
|
|
106
|
+
} .navigation-bar-private__trim_8xzyw {
|
|
107
107
|
overflow: hidden
|
|
108
|
-
} .navigation-bar-
|
|
109
|
-
.navigation-bar-
|
|
108
|
+
} .navigation-bar-private__trim_8xzyw .navigation-bar-private__title_8xzyw,
|
|
109
|
+
.navigation-bar-private__trim_8xzyw .navigation-bar-private__children_8xzyw {
|
|
110
110
|
-webkit-line-clamp: 2;
|
|
111
111
|
display: -webkit-box;
|
|
112
112
|
-webkit-box-orient: vertical;
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1mj0b */
|
|
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);
|
|
@@ -24,26 +24,26 @@
|
|
|
24
24
|
--gap-12: var(--gap-s);
|
|
25
25
|
} :root {
|
|
26
26
|
} :root {
|
|
27
|
-
} .navigation-bar-
|
|
27
|
+
} .navigation-bar-private__header_8xzyw {
|
|
28
28
|
width: 100%;
|
|
29
29
|
box-sizing: border-box;
|
|
30
30
|
transition: box-shadow 0.2s ease, background 0.2s ease
|
|
31
|
-
} .navigation-bar-
|
|
31
|
+
} .navigation-bar-private__header_8xzyw.navigation-bar-private__header_8xzyw.navigation-bar-private__backgroundImage_8xzyw {
|
|
32
32
|
background-repeat: no-repeat;
|
|
33
33
|
background-position: center;
|
|
34
34
|
background-size: cover;
|
|
35
|
-
} .navigation-bar-
|
|
35
|
+
} .navigation-bar-private__mainLine_8xzyw {
|
|
36
36
|
display: flex;
|
|
37
37
|
align-items: stretch;
|
|
38
38
|
justify-content: space-between;
|
|
39
39
|
z-index: 1;
|
|
40
40
|
background-color: inherit;
|
|
41
|
-
} .navigation-bar-
|
|
41
|
+
} .navigation-bar-private__mainLineSticky_8xzyw {
|
|
42
42
|
position: sticky;
|
|
43
43
|
top: 0;
|
|
44
|
-
} .navigation-bar-
|
|
44
|
+
} .navigation-bar-private__mainLineWithImageBg_8xzyw {
|
|
45
45
|
background-color: initial;
|
|
46
|
-
} .navigation-bar-
|
|
46
|
+
} .navigation-bar-private__content_8xzyw {
|
|
47
47
|
color: var(--color-light-text-primary);
|
|
48
48
|
display: flex;
|
|
49
49
|
flex-flow: column nowrap;
|
|
@@ -52,27 +52,27 @@
|
|
|
52
52
|
align-self: baseline;
|
|
53
53
|
box-sizing: border-box;
|
|
54
54
|
min-height: 48px
|
|
55
|
-
} .navigation-bar-
|
|
56
|
-
.navigation-bar-
|
|
55
|
+
} .navigation-bar-private__content_8xzyw.navigation-bar-private__withBothAddons_8xzyw,
|
|
56
|
+
.navigation-bar-private__content_8xzyw.navigation-bar-private__withCompactTitle_8xzyw {
|
|
57
57
|
font-size: 16px;
|
|
58
58
|
line-height: 20px;
|
|
59
59
|
font-weight: 500;
|
|
60
60
|
align-self: center;
|
|
61
61
|
padding-top: var(--gap-4);
|
|
62
62
|
padding-bottom: var(--gap-4)
|
|
63
|
-
} .navigation-bar-
|
|
64
|
-
.navigation-bar-
|
|
65
|
-
.navigation-bar-
|
|
66
|
-
.navigation-bar-
|
|
63
|
+
} .navigation-bar-private__content_8xzyw.navigation-bar-private__withBothAddons_8xzyw > .navigation-bar-private__children_8xzyw,
|
|
64
|
+
.navigation-bar-private__content_8xzyw.navigation-bar-private__withBothAddons_8xzyw > .navigation-bar-private__title_8xzyw,
|
|
65
|
+
.navigation-bar-private__content_8xzyw.navigation-bar-private__withCompactTitle_8xzyw > .navigation-bar-private__children_8xzyw,
|
|
66
|
+
.navigation-bar-private__content_8xzyw.navigation-bar-private__withCompactTitle_8xzyw > .navigation-bar-private__title_8xzyw {
|
|
67
67
|
-webkit-line-clamp: 1;
|
|
68
68
|
word-break: break-all;
|
|
69
|
-
} .navigation-bar-
|
|
69
|
+
} .navigation-bar-private__content_8xzyw.navigation-bar-private__contentOnBotDesktop_8xzyw.navigation-bar-private__contentOnBotDesktop_8xzyw {
|
|
70
70
|
padding-top: var(--gap-12);
|
|
71
|
-
} .navigation-bar-
|
|
71
|
+
} .navigation-bar-private__content_8xzyw.navigation-bar-private__contentOnBotMobile_8xzyw.navigation-bar-private__contentOnBotMobile_8xzyw {
|
|
72
72
|
padding-top: var(--gap-12);
|
|
73
|
-
} .navigation-bar-
|
|
73
|
+
} .navigation-bar-private__title_8xzyw {
|
|
74
74
|
word-break: break-word;
|
|
75
|
-
} .navigation-bar-
|
|
75
|
+
} .navigation-bar-private__subtitle_8xzyw {
|
|
76
76
|
font-size: 14px;
|
|
77
77
|
line-height: 20px;
|
|
78
78
|
font-weight: 400;
|
|
@@ -83,11 +83,11 @@
|
|
|
83
83
|
|
|
84
84
|
color: var(--color-light-text-secondary);
|
|
85
85
|
word-break: break-all;
|
|
86
|
-
} .navigation-bar-
|
|
86
|
+
} .navigation-bar-private__addonsWrapper_8xzyw {
|
|
87
87
|
display: flex;
|
|
88
|
-
} .navigation-bar-
|
|
88
|
+
} .navigation-bar-private__rightAddons_8xzyw {
|
|
89
89
|
margin-left: auto;
|
|
90
|
-
} .navigation-bar-
|
|
90
|
+
} .navigation-bar-private__addon_8xzyw {
|
|
91
91
|
min-width: 48px;
|
|
92
92
|
height: 48px;
|
|
93
93
|
display: flex;
|
|
@@ -95,18 +95,18 @@
|
|
|
95
95
|
align-items: center;
|
|
96
96
|
flex-shrink: 0;
|
|
97
97
|
pointer-events: all;
|
|
98
|
-
} .navigation-bar-
|
|
98
|
+
} .navigation-bar-private__bottomAddons_8xzyw {
|
|
99
99
|
pointer-events: all;
|
|
100
|
-
} .navigation-bar-
|
|
100
|
+
} .navigation-bar-private__closer_8xzyw {
|
|
101
101
|
margin-left: auto;
|
|
102
|
-
} .navigation-bar-
|
|
102
|
+
} .navigation-bar-private__left_8xzyw {
|
|
103
103
|
text-align: left;
|
|
104
|
-
} .navigation-bar-
|
|
104
|
+
} .navigation-bar-private__center_8xzyw {
|
|
105
105
|
text-align: center;
|
|
106
|
-
} .navigation-bar-
|
|
106
|
+
} .navigation-bar-private__trim_8xzyw {
|
|
107
107
|
overflow: hidden
|
|
108
|
-
} .navigation-bar-
|
|
109
|
-
.navigation-bar-
|
|
108
|
+
} .navigation-bar-private__trim_8xzyw .navigation-bar-private__title_8xzyw,
|
|
109
|
+
.navigation-bar-private__trim_8xzyw .navigation-bar-private__children_8xzyw {
|
|
110
110
|
-webkit-line-clamp: 2;
|
|
111
111
|
display: -webkit-box;
|
|
112
112
|
-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_8xzyw","backgroundImage":"navigation-bar-private__backgroundImage_8xzyw","mainLine":"navigation-bar-private__mainLine_8xzyw","mainLineSticky":"navigation-bar-private__mainLineSticky_8xzyw","mainLineWithImageBg":"navigation-bar-private__mainLineWithImageBg_8xzyw","content":"navigation-bar-private__content_8xzyw","withBothAddons":"navigation-bar-private__withBothAddons_8xzyw","withCompactTitle":"navigation-bar-private__withCompactTitle_8xzyw","children":"navigation-bar-private__children_8xzyw","title":"navigation-bar-private__title_8xzyw","contentOnBotDesktop":"navigation-bar-private__contentOnBotDesktop_8xzyw","contentOnBotMobile":"navigation-bar-private__contentOnBotMobile_8xzyw","subtitle":"navigation-bar-private__subtitle_8xzyw","addonsWrapper":"navigation-bar-private__addonsWrapper_8xzyw","rightAddons":"navigation-bar-private__rightAddons_8xzyw","addon":"navigation-bar-private__addon_8xzyw","bottomAddons":"navigation-bar-private__bottomAddons_8xzyw","closer":"navigation-bar-private__closer_8xzyw","left":"navigation-bar-private__left_8xzyw","center":"navigation-bar-private__center_8xzyw","trim":"navigation-bar-private__trim_8xzyw"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
/* eslint-disable complexity */
|
|
@@ -5,7 +5,7 @@ import { Typography } 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_1sneo","mobileComponent":"navigation-bar-private__mobileComponent_1sneo","flex":"navigation-bar-private__flex_1sneo","iconWrapper":"navigation-bar-private__iconWrapper_1sneo","text":"navigation-bar-private__text_1sneo","mobileWrapper":"navigation-bar-private__mobileWrapper_1sneo"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
const BackArrowAddon = ({ text = 'Назад', onClick, className, textOpacity = 1, view, ...htmlAttributes }) => {
|