@alfalab/core-components-navigation-bar-private 0.2.0 → 0.3.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 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-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"};
20
+ var styles = {"header":"navigation-bar-private__header_17uoc","backgroundImage":"navigation-bar-private__backgroundImage_17uoc","mainLine":"navigation-bar-private__mainLine_17uoc","mainLineSticky":"navigation-bar-private__mainLineSticky_17uoc","mainLineWithImageBg":"navigation-bar-private__mainLineWithImageBg_17uoc","content":"navigation-bar-private__content_17uoc","withBothAddons":"navigation-bar-private__withBothAddons_17uoc","withCompactTitle":"navigation-bar-private__withCompactTitle_17uoc","children":"navigation-bar-private__children_17uoc","title":"navigation-bar-private__title_17uoc","contentOnBotDesktop":"navigation-bar-private__contentOnBotDesktop_17uoc","contentOnBotMobile":"navigation-bar-private__contentOnBotMobile_17uoc","subtitle":"navigation-bar-private__subtitle_17uoc","addonsWrapper":"navigation-bar-private__addonsWrapper_17uoc","rightAddons":"navigation-bar-private__rightAddons_17uoc","addon":"navigation-bar-private__addon_17uoc","bottomAddons":"navigation-bar-private__bottomAddons_17uoc","closer":"navigation-bar-private__closer_17uoc","left":"navigation-bar-private__left_17uoc","center":"navigation-bar-private__center_17uoc","trim":"navigation-bar-private__trim_17uoc"};
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-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"};
18
+ var styles = {"component":"navigation-bar-private__component_eoiyf","mobileComponent":"navigation-bar-private__mobileComponent_eoiyf","flex":"navigation-bar-private__flex_eoiyf","iconWrapper":"navigation-bar-private__iconWrapper_eoiyf","text":"navigation-bar-private__text_eoiyf","mobileWrapper":"navigation-bar-private__mobileWrapper_eoiyf"};
19
19
  require('./index.css')
20
20
 
21
21
  var BackArrowAddon = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1jkoy */
1
+ /* hash: 4tl7u */
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,57 +26,58 @@
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
+ --gap-0: 0;
29
30
  --gap-8: var(--gap-xs);
30
31
  --gap-12: var(--gap-s);
31
32
  } :root {
32
33
  } :root {
33
- } :root {
34
+ } /* сбрасывает синюю подсветку при нажатии */ :root {
34
35
  /* closer-mobile */
35
36
 
36
37
  /* back-arrow */
37
38
  --navigation-bar-back-arrow-mobile-fill: var(--color-light-neutral-translucent-700);
38
- } .navigation-bar-private__component_1sneo {
39
+ } .navigation-bar-private__component_eoiyf {
39
40
  height: 100%;
40
41
  background: var(--color-light-bg-primary-alpha-40);
41
42
  -webkit-backdrop-filter: blur(10px);
42
43
  backdrop-filter: blur(10px);
43
44
  border-radius: var(--border-radius-pill);
44
45
  min-width: 48px
45
- } .navigation-bar-private__component_1sneo svg > path {
46
+ } .navigation-bar-private__component_eoiyf svg > path {
46
47
  transition: fill 0.2s ease;
47
48
  fill: var(--color-light-neutral-translucent-1300);
48
- } .navigation-bar-private__component_1sneo:hover svg > path {
49
+ } .navigation-bar-private__component_eoiyf:hover svg > path {
49
50
  fill: var(--color-light-neutral-translucent-1300-hover);
50
- } .navigation-bar-private__component_1sneo:active svg > path {
51
+ } .navigation-bar-private__component_eoiyf:active svg > path {
51
52
  fill: var(--color-light-neutral-translucent-1300-press);
52
- } .navigation-bar-private__mobileComponent_1sneo {
53
+ } .navigation-bar-private__mobileComponent_eoiyf {
53
54
  height: 32px;
54
55
  min-width: 32px;
55
- margin: 0 var(--gap-8);
56
+ margin: var(--gap-0) var(--gap-8);
56
57
  -webkit-backdrop-filter: none;
57
58
  backdrop-filter: none;
58
59
  background: none;
59
- } .navigation-bar-private__flex_1sneo {
60
+ } .navigation-bar-private__flex_eoiyf {
60
61
  display: flex;
61
62
  align-items: center;
62
- } .navigation-bar-private__iconWrapper_1sneo {
63
+ } .navigation-bar-private__iconWrapper_eoiyf {
63
64
  display: inline-flex;
64
65
  align-items: center;
65
66
  justify-content: center;
66
67
  height: 48px;
67
- margin: 0 var(--gap-8) 0 var(--gap-12);
68
+ margin: var(--gap-0) var(--gap-8) var(--gap-0) var(--gap-12);
68
69
  border-radius: var(--border-radius-circle)
69
- } .navigation-bar-private__iconWrapper_1sneo + .navigation-bar-private__text_1sneo {
70
+ } .navigation-bar-private__iconWrapper_eoiyf + .navigation-bar-private__text_eoiyf {
70
71
  margin-right: var(--gap-12);
71
- } .navigation-bar-private__mobileWrapper_1sneo {
72
+ } .navigation-bar-private__mobileWrapper_eoiyf {
72
73
  width: 32px;
73
74
  height: 32px;
74
75
  background: var(--color-light-neutral-translucent-100);
75
76
  -webkit-backdrop-filter: blur(10px);
76
77
  backdrop-filter: blur(10px);
77
- margin: 0
78
- } .navigation-bar-private__mobileWrapper_1sneo + .navigation-bar-private__text_1sneo {
79
- margin: 0 var(--gap-12) 0 var(--gap-8);
80
- } .navigation-bar-private__mobileWrapper_1sneo svg > path {
78
+ margin: var(--gap-0)
79
+ } .navigation-bar-private__mobileWrapper_eoiyf + .navigation-bar-private__text_eoiyf {
80
+ margin: var(--gap-0) var(--gap-12) var(--gap-0) var(--gap-8);
81
+ } .navigation-bar-private__mobileWrapper_eoiyf svg > path {
81
82
  fill: var(--navigation-bar-back-arrow-mobile-fill);
82
83
  }
@@ -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-private__closer_216hm","button":"navigation-bar-private__button_216hm","mobile":"navigation-bar-private__mobile_216hm","sticky":"navigation-bar-private__sticky_216hm"};
17
+ var styles = {"closer":"navigation-bar-private__closer_yypki","button":"navigation-bar-private__button_yypki","mobile":"navigation-bar-private__mobile_yypki","sticky":"navigation-bar-private__sticky_yypki"};
18
18
  require('./index.css')
19
19
 
20
20
  var Closer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1gpbm */
1
+ /* hash: 1n9wd */
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,14 +21,15 @@
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
+ --gap-0: 0;
24
25
  } :root {
25
26
  } :root {
26
- } :root {
27
+ } /* сбрасывает синюю подсветку при нажатии */ :root {
27
28
  /* closer-mobile */
28
29
  --navigation-bar-closer-mobile-color: var(--color-light-neutral-translucent-700);
29
30
 
30
31
  /* back-arrow */
31
- } .navigation-bar-private__closer_216hm {
32
+ } .navigation-bar-private__closer_yypki {
32
33
  flex-shrink: 0;
33
34
  width: 48px;
34
35
  height: 48px;
@@ -36,17 +37,17 @@
36
37
  display: flex;
37
38
  align-items: center;
38
39
  justify-content: center;
39
- } .navigation-bar-private__button_216hm {
40
+ } .navigation-bar-private__button_yypki {
40
41
  background: var(--color-light-bg-primary-alpha-40);
41
42
  -webkit-backdrop-filter: blur(10px);
42
43
  backdrop-filter: blur(10px);
43
44
  color: var(--color-light-neutral-translucent-1300)
44
- } .navigation-bar-private__button_216hm.navigation-bar-private__mobile_216hm {
45
+ } .navigation-bar-private__button_yypki.navigation-bar-private__mobile_yypki {
45
46
  background: var(--color-light-neutral-translucent-100);
46
47
  color: var(--navigation-bar-closer-mobile-color);
47
- } .navigation-bar-private__button_216hm.navigation-bar-private__button_216hm {
48
+ } .navigation-bar-private__button_yypki.navigation-bar-private__button_yypki {
48
49
  border-radius: var(--border-radius-circle);
49
- } .navigation-bar-private__sticky_216hm {
50
+ } .navigation-bar-private__sticky_yypki {
50
51
  position: sticky;
51
- top: 0;
52
+ top: var(--gap-0);
52
53
  }
@@ -25,11 +25,12 @@
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
+ --gap-0: 0;
28
29
  --gap-8: var(--gap-xs);
29
30
  --gap-12: var(--gap-s);
30
31
  } :root {
31
32
  } :root {
32
- } :root {
33
+ } /* сбрасывает синюю подсветку при нажатии */ :root {
33
34
  /* closer-mobile */
34
35
 
35
36
  /* back-arrow */
@@ -51,7 +52,7 @@
51
52
  } .mobileComponent {
52
53
  height: 32px;
53
54
  min-width: 32px;
54
- margin: 0 var(--gap-8);
55
+ margin: var(--gap-0) var(--gap-8);
55
56
  -webkit-backdrop-filter: none;
56
57
  backdrop-filter: none;
57
58
  background: none;
@@ -63,7 +64,7 @@
63
64
  align-items: center;
64
65
  justify-content: center;
65
66
  height: 48px;
66
- margin: 0 var(--gap-8) 0 var(--gap-12);
67
+ margin: var(--gap-0) var(--gap-8) var(--gap-0) var(--gap-12);
67
68
  border-radius: var(--border-radius-circle)
68
69
  } .iconWrapper + .text {
69
70
  margin-right: var(--gap-12);
@@ -73,9 +74,9 @@
73
74
  background: var(--color-light-neutral-translucent-100);
74
75
  -webkit-backdrop-filter: blur(10px);
75
76
  backdrop-filter: blur(10px);
76
- margin: 0
77
+ margin: var(--gap-0)
77
78
  } .mobileWrapper + .text {
78
- margin: 0 var(--gap-12) 0 var(--gap-8);
79
+ margin: var(--gap-0) var(--gap-12) var(--gap-0) var(--gap-8);
79
80
  } .mobileWrapper svg > path {
80
81
  fill: var(--navigation-bar-back-arrow-mobile-fill);
81
82
  }
@@ -20,9 +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
+ --gap-0: 0;
23
24
  } :root {
24
25
  } :root {
25
- } :root {
26
+ } /* сбрасывает синюю подсветку при нажатии */ :root {
26
27
  /* closer-mobile */
27
28
  --navigation-bar-closer-mobile-color: var(--color-light-neutral-translucent-700);
28
29
 
@@ -47,5 +48,5 @@
47
48
  border-radius: var(--border-radius-circle);
48
49
  } .sticky {
49
50
  position: sticky;
50
- top: 0;
51
+ top: var(--gap-0);
51
52
  }
@@ -19,11 +19,12 @@
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
+ --gap-0: 0;
22
23
  --gap-4: var(--gap-2xs);
23
24
  --gap-12: var(--gap-s);
24
25
  } :root {
25
26
  } :root {
26
- } .header {
27
+ } /* сбрасывает синюю подсветку при нажатии */ .header {
27
28
  width: 100%;
28
29
  box-sizing: border-box;
29
30
  transition: box-shadow 0.2s ease, background 0.2s ease
@@ -39,7 +40,7 @@
39
40
  background-color: inherit;
40
41
  } .mainLineSticky {
41
42
  position: sticky;
42
- top: 0;
43
+ top: var(--gap-0);
43
44
  } .mainLineWithImageBg {
44
45
  background-color: transparent;
45
46
  background-color: initial;
package/cssm/vars.css CHANGED
@@ -17,7 +17,7 @@
17
17
  /* новые значения, используйте их */
18
18
  } :root {
19
19
  } :root {
20
- } :root {
20
+ } /* сбрасывает синюю подсветку при нажатии */ :root {
21
21
  /* closer-mobile */
22
22
 
23
23
  /* back-arrow */
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-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
+ var styles = {"header":"navigation-bar-private__header_17uoc","backgroundImage":"navigation-bar-private__backgroundImage_17uoc","mainLine":"navigation-bar-private__mainLine_17uoc","mainLineSticky":"navigation-bar-private__mainLineSticky_17uoc","mainLineWithImageBg":"navigation-bar-private__mainLineWithImageBg_17uoc","content":"navigation-bar-private__content_17uoc","withBothAddons":"navigation-bar-private__withBothAddons_17uoc","withCompactTitle":"navigation-bar-private__withCompactTitle_17uoc","children":"navigation-bar-private__children_17uoc","title":"navigation-bar-private__title_17uoc","contentOnBotDesktop":"navigation-bar-private__contentOnBotDesktop_17uoc","contentOnBotMobile":"navigation-bar-private__contentOnBotMobile_17uoc","subtitle":"navigation-bar-private__subtitle_17uoc","addonsWrapper":"navigation-bar-private__addonsWrapper_17uoc","rightAddons":"navigation-bar-private__rightAddons_17uoc","addon":"navigation-bar-private__addon_17uoc","bottomAddons":"navigation-bar-private__bottomAddons_17uoc","closer":"navigation-bar-private__closer_17uoc","left":"navigation-bar-private__left_17uoc","center":"navigation-bar-private__center_17uoc","trim":"navigation-bar-private__trim_17uoc"};
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-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
+ var styles = {"component":"navigation-bar-private__component_eoiyf","mobileComponent":"navigation-bar-private__mobileComponent_eoiyf","flex":"navigation-bar-private__flex_eoiyf","iconWrapper":"navigation-bar-private__iconWrapper_eoiyf","text":"navigation-bar-private__text_eoiyf","mobileWrapper":"navigation-bar-private__mobileWrapper_eoiyf"};
10
10
  require('./index.css')
11
11
 
12
12
  var BackArrowAddon = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1jkoy */
1
+ /* hash: 4tl7u */
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,57 +26,58 @@
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
+ --gap-0: 0;
29
30
  --gap-8: var(--gap-xs);
30
31
  --gap-12: var(--gap-s);
31
32
  } :root {
32
33
  } :root {
33
- } :root {
34
+ } /* сбрасывает синюю подсветку при нажатии */ :root {
34
35
  /* closer-mobile */
35
36
 
36
37
  /* back-arrow */
37
38
  --navigation-bar-back-arrow-mobile-fill: var(--color-light-neutral-translucent-700);
38
- } .navigation-bar-private__component_1sneo {
39
+ } .navigation-bar-private__component_eoiyf {
39
40
  height: 100%;
40
41
  background: var(--color-light-bg-primary-alpha-40);
41
42
  -webkit-backdrop-filter: blur(10px);
42
43
  backdrop-filter: blur(10px);
43
44
  border-radius: var(--border-radius-pill);
44
45
  min-width: 48px
45
- } .navigation-bar-private__component_1sneo svg > path {
46
+ } .navigation-bar-private__component_eoiyf svg > path {
46
47
  transition: fill 0.2s ease;
47
48
  fill: var(--color-light-neutral-translucent-1300);
48
- } .navigation-bar-private__component_1sneo:hover svg > path {
49
+ } .navigation-bar-private__component_eoiyf:hover svg > path {
49
50
  fill: var(--color-light-neutral-translucent-1300-hover);
50
- } .navigation-bar-private__component_1sneo:active svg > path {
51
+ } .navigation-bar-private__component_eoiyf:active svg > path {
51
52
  fill: var(--color-light-neutral-translucent-1300-press);
52
- } .navigation-bar-private__mobileComponent_1sneo {
53
+ } .navigation-bar-private__mobileComponent_eoiyf {
53
54
  height: 32px;
54
55
  min-width: 32px;
55
- margin: 0 var(--gap-8);
56
+ margin: var(--gap-0) var(--gap-8);
56
57
  -webkit-backdrop-filter: none;
57
58
  backdrop-filter: none;
58
59
  background: none;
59
- } .navigation-bar-private__flex_1sneo {
60
+ } .navigation-bar-private__flex_eoiyf {
60
61
  display: flex;
61
62
  align-items: center;
62
- } .navigation-bar-private__iconWrapper_1sneo {
63
+ } .navigation-bar-private__iconWrapper_eoiyf {
63
64
  display: inline-flex;
64
65
  align-items: center;
65
66
  justify-content: center;
66
67
  height: 48px;
67
- margin: 0 var(--gap-8) 0 var(--gap-12);
68
+ margin: var(--gap-0) var(--gap-8) var(--gap-0) var(--gap-12);
68
69
  border-radius: var(--border-radius-circle)
69
- } .navigation-bar-private__iconWrapper_1sneo + .navigation-bar-private__text_1sneo {
70
+ } .navigation-bar-private__iconWrapper_eoiyf + .navigation-bar-private__text_eoiyf {
70
71
  margin-right: var(--gap-12);
71
- } .navigation-bar-private__mobileWrapper_1sneo {
72
+ } .navigation-bar-private__mobileWrapper_eoiyf {
72
73
  width: 32px;
73
74
  height: 32px;
74
75
  background: var(--color-light-neutral-translucent-100);
75
76
  -webkit-backdrop-filter: blur(10px);
76
77
  backdrop-filter: blur(10px);
77
- margin: 0
78
- } .navigation-bar-private__mobileWrapper_1sneo + .navigation-bar-private__text_1sneo {
79
- margin: 0 var(--gap-12) 0 var(--gap-8);
80
- } .navigation-bar-private__mobileWrapper_1sneo svg > path {
78
+ margin: var(--gap-0)
79
+ } .navigation-bar-private__mobileWrapper_eoiyf + .navigation-bar-private__text_eoiyf {
80
+ margin: var(--gap-0) var(--gap-12) var(--gap-0) var(--gap-8);
81
+ } .navigation-bar-private__mobileWrapper_eoiyf svg > path {
81
82
  fill: var(--navigation-bar-back-arrow-mobile-fill);
82
83
  }
@@ -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-private__closer_216hm","button":"navigation-bar-private__button_216hm","mobile":"navigation-bar-private__mobile_216hm","sticky":"navigation-bar-private__sticky_216hm"};
8
+ var styles = {"closer":"navigation-bar-private__closer_yypki","button":"navigation-bar-private__button_yypki","mobile":"navigation-bar-private__mobile_yypki","sticky":"navigation-bar-private__sticky_yypki"};
9
9
  require('./index.css')
10
10
 
11
11
  var Closer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1gpbm */
1
+ /* hash: 1n9wd */
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,14 +21,15 @@
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
+ --gap-0: 0;
24
25
  } :root {
25
26
  } :root {
26
- } :root {
27
+ } /* сбрасывает синюю подсветку при нажатии */ :root {
27
28
  /* closer-mobile */
28
29
  --navigation-bar-closer-mobile-color: var(--color-light-neutral-translucent-700);
29
30
 
30
31
  /* back-arrow */
31
- } .navigation-bar-private__closer_216hm {
32
+ } .navigation-bar-private__closer_yypki {
32
33
  flex-shrink: 0;
33
34
  width: 48px;
34
35
  height: 48px;
@@ -36,17 +37,17 @@
36
37
  display: flex;
37
38
  align-items: center;
38
39
  justify-content: center;
39
- } .navigation-bar-private__button_216hm {
40
+ } .navigation-bar-private__button_yypki {
40
41
  background: var(--color-light-bg-primary-alpha-40);
41
42
  -webkit-backdrop-filter: blur(10px);
42
43
  backdrop-filter: blur(10px);
43
44
  color: var(--color-light-neutral-translucent-1300)
44
- } .navigation-bar-private__button_216hm.navigation-bar-private__mobile_216hm {
45
+ } .navigation-bar-private__button_yypki.navigation-bar-private__mobile_yypki {
45
46
  background: var(--color-light-neutral-translucent-100);
46
47
  color: var(--navigation-bar-closer-mobile-color);
47
- } .navigation-bar-private__button_216hm.navigation-bar-private__button_216hm {
48
+ } .navigation-bar-private__button_yypki.navigation-bar-private__button_yypki {
48
49
  border-radius: var(--border-radius-circle);
49
- } .navigation-bar-private__sticky_216hm {
50
+ } .navigation-bar-private__sticky_yypki {
50
51
  position: sticky;
51
- top: 0;
52
+ top: var(--gap-0);
52
53
  }
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1mj0b */
1
+ /* hash: 1egyg */
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,30 +20,31 @@
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
+ --gap-0: 0;
23
24
  --gap-4: var(--gap-2xs);
24
25
  --gap-12: var(--gap-s);
25
26
  } :root {
26
27
  } :root {
27
- } .navigation-bar-private__header_8xzyw {
28
+ } /* сбрасывает синюю подсветку при нажатии */ .navigation-bar-private__header_17uoc {
28
29
  width: 100%;
29
30
  box-sizing: border-box;
30
31
  transition: box-shadow 0.2s ease, background 0.2s ease
31
- } .navigation-bar-private__header_8xzyw.navigation-bar-private__header_8xzyw.navigation-bar-private__backgroundImage_8xzyw {
32
+ } .navigation-bar-private__header_17uoc.navigation-bar-private__header_17uoc.navigation-bar-private__backgroundImage_17uoc {
32
33
  background-repeat: no-repeat;
33
34
  background-position: center;
34
35
  background-size: cover;
35
- } .navigation-bar-private__mainLine_8xzyw {
36
+ } .navigation-bar-private__mainLine_17uoc {
36
37
  display: flex;
37
38
  align-items: stretch;
38
39
  justify-content: space-between;
39
40
  z-index: 1;
40
41
  background-color: inherit;
41
- } .navigation-bar-private__mainLineSticky_8xzyw {
42
+ } .navigation-bar-private__mainLineSticky_17uoc {
42
43
  position: sticky;
43
- top: 0;
44
- } .navigation-bar-private__mainLineWithImageBg_8xzyw {
44
+ top: var(--gap-0);
45
+ } .navigation-bar-private__mainLineWithImageBg_17uoc {
45
46
  background-color: initial;
46
- } .navigation-bar-private__content_8xzyw {
47
+ } .navigation-bar-private__content_17uoc {
47
48
  color: var(--color-light-text-primary);
48
49
  display: flex;
49
50
  flex-flow: column nowrap;
@@ -52,27 +53,27 @@
52
53
  align-self: baseline;
53
54
  box-sizing: border-box;
54
55
  min-height: 48px
55
- } .navigation-bar-private__content_8xzyw.navigation-bar-private__withBothAddons_8xzyw,
56
- .navigation-bar-private__content_8xzyw.navigation-bar-private__withCompactTitle_8xzyw {
56
+ } .navigation-bar-private__content_17uoc.navigation-bar-private__withBothAddons_17uoc,
57
+ .navigation-bar-private__content_17uoc.navigation-bar-private__withCompactTitle_17uoc {
57
58
  font-size: 16px;
58
59
  line-height: 20px;
59
60
  font-weight: 500;
60
61
  align-self: center;
61
62
  padding-top: var(--gap-4);
62
63
  padding-bottom: var(--gap-4)
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 {
64
+ } .navigation-bar-private__content_17uoc.navigation-bar-private__withBothAddons_17uoc > .navigation-bar-private__children_17uoc,
65
+ .navigation-bar-private__content_17uoc.navigation-bar-private__withBothAddons_17uoc > .navigation-bar-private__title_17uoc,
66
+ .navigation-bar-private__content_17uoc.navigation-bar-private__withCompactTitle_17uoc > .navigation-bar-private__children_17uoc,
67
+ .navigation-bar-private__content_17uoc.navigation-bar-private__withCompactTitle_17uoc > .navigation-bar-private__title_17uoc {
67
68
  -webkit-line-clamp: 1;
68
69
  word-break: break-all;
69
- } .navigation-bar-private__content_8xzyw.navigation-bar-private__contentOnBotDesktop_8xzyw.navigation-bar-private__contentOnBotDesktop_8xzyw {
70
+ } .navigation-bar-private__content_17uoc.navigation-bar-private__contentOnBotDesktop_17uoc.navigation-bar-private__contentOnBotDesktop_17uoc {
70
71
  padding-top: var(--gap-12);
71
- } .navigation-bar-private__content_8xzyw.navigation-bar-private__contentOnBotMobile_8xzyw.navigation-bar-private__contentOnBotMobile_8xzyw {
72
+ } .navigation-bar-private__content_17uoc.navigation-bar-private__contentOnBotMobile_17uoc.navigation-bar-private__contentOnBotMobile_17uoc {
72
73
  padding-top: var(--gap-12);
73
- } .navigation-bar-private__title_8xzyw {
74
+ } .navigation-bar-private__title_17uoc {
74
75
  word-break: break-word;
75
- } .navigation-bar-private__subtitle_8xzyw {
76
+ } .navigation-bar-private__subtitle_17uoc {
76
77
  font-size: 14px;
77
78
  line-height: 20px;
78
79
  font-weight: 400;
@@ -83,11 +84,11 @@
83
84
 
84
85
  color: var(--color-light-text-secondary);
85
86
  word-break: break-all;
86
- } .navigation-bar-private__addonsWrapper_8xzyw {
87
+ } .navigation-bar-private__addonsWrapper_17uoc {
87
88
  display: flex;
88
- } .navigation-bar-private__rightAddons_8xzyw {
89
+ } .navigation-bar-private__rightAddons_17uoc {
89
90
  margin-left: auto;
90
- } .navigation-bar-private__addon_8xzyw {
91
+ } .navigation-bar-private__addon_17uoc {
91
92
  min-width: 48px;
92
93
  height: 48px;
93
94
  display: flex;
@@ -95,18 +96,18 @@
95
96
  align-items: center;
96
97
  flex-shrink: 0;
97
98
  pointer-events: all;
98
- } .navigation-bar-private__bottomAddons_8xzyw {
99
+ } .navigation-bar-private__bottomAddons_17uoc {
99
100
  pointer-events: all;
100
- } .navigation-bar-private__closer_8xzyw {
101
+ } .navigation-bar-private__closer_17uoc {
101
102
  margin-left: auto;
102
- } .navigation-bar-private__left_8xzyw {
103
+ } .navigation-bar-private__left_17uoc {
103
104
  text-align: left;
104
- } .navigation-bar-private__center_8xzyw {
105
+ } .navigation-bar-private__center_17uoc {
105
106
  text-align: center;
106
- } .navigation-bar-private__trim_8xzyw {
107
+ } .navigation-bar-private__trim_17uoc {
107
108
  overflow: hidden
108
- } .navigation-bar-private__trim_8xzyw .navigation-bar-private__title_8xzyw,
109
- .navigation-bar-private__trim_8xzyw .navigation-bar-private__children_8xzyw {
109
+ } .navigation-bar-private__trim_17uoc .navigation-bar-private__title_17uoc,
110
+ .navigation-bar-private__trim_17uoc .navigation-bar-private__children_17uoc {
110
111
  -webkit-line-clamp: 2;
111
112
  display: -webkit-box;
112
113
  -webkit-box-orient: vertical;
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1mj0b */
1
+ /* hash: 1egyg */
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,30 +20,31 @@
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
+ --gap-0: 0;
23
24
  --gap-4: var(--gap-2xs);
24
25
  --gap-12: var(--gap-s);
25
26
  } :root {
26
27
  } :root {
27
- } .navigation-bar-private__header_8xzyw {
28
+ } /* сбрасывает синюю подсветку при нажатии */ .navigation-bar-private__header_17uoc {
28
29
  width: 100%;
29
30
  box-sizing: border-box;
30
31
  transition: box-shadow 0.2s ease, background 0.2s ease
31
- } .navigation-bar-private__header_8xzyw.navigation-bar-private__header_8xzyw.navigation-bar-private__backgroundImage_8xzyw {
32
+ } .navigation-bar-private__header_17uoc.navigation-bar-private__header_17uoc.navigation-bar-private__backgroundImage_17uoc {
32
33
  background-repeat: no-repeat;
33
34
  background-position: center;
34
35
  background-size: cover;
35
- } .navigation-bar-private__mainLine_8xzyw {
36
+ } .navigation-bar-private__mainLine_17uoc {
36
37
  display: flex;
37
38
  align-items: stretch;
38
39
  justify-content: space-between;
39
40
  z-index: 1;
40
41
  background-color: inherit;
41
- } .navigation-bar-private__mainLineSticky_8xzyw {
42
+ } .navigation-bar-private__mainLineSticky_17uoc {
42
43
  position: sticky;
43
- top: 0;
44
- } .navigation-bar-private__mainLineWithImageBg_8xzyw {
44
+ top: var(--gap-0);
45
+ } .navigation-bar-private__mainLineWithImageBg_17uoc {
45
46
  background-color: initial;
46
- } .navigation-bar-private__content_8xzyw {
47
+ } .navigation-bar-private__content_17uoc {
47
48
  color: var(--color-light-text-primary);
48
49
  display: flex;
49
50
  flex-flow: column nowrap;
@@ -52,27 +53,27 @@
52
53
  align-self: baseline;
53
54
  box-sizing: border-box;
54
55
  min-height: 48px
55
- } .navigation-bar-private__content_8xzyw.navigation-bar-private__withBothAddons_8xzyw,
56
- .navigation-bar-private__content_8xzyw.navigation-bar-private__withCompactTitle_8xzyw {
56
+ } .navigation-bar-private__content_17uoc.navigation-bar-private__withBothAddons_17uoc,
57
+ .navigation-bar-private__content_17uoc.navigation-bar-private__withCompactTitle_17uoc {
57
58
  font-size: 16px;
58
59
  line-height: 20px;
59
60
  font-weight: 500;
60
61
  align-self: center;
61
62
  padding-top: var(--gap-4);
62
63
  padding-bottom: var(--gap-4)
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 {
64
+ } .navigation-bar-private__content_17uoc.navigation-bar-private__withBothAddons_17uoc > .navigation-bar-private__children_17uoc,
65
+ .navigation-bar-private__content_17uoc.navigation-bar-private__withBothAddons_17uoc > .navigation-bar-private__title_17uoc,
66
+ .navigation-bar-private__content_17uoc.navigation-bar-private__withCompactTitle_17uoc > .navigation-bar-private__children_17uoc,
67
+ .navigation-bar-private__content_17uoc.navigation-bar-private__withCompactTitle_17uoc > .navigation-bar-private__title_17uoc {
67
68
  -webkit-line-clamp: 1;
68
69
  word-break: break-all;
69
- } .navigation-bar-private__content_8xzyw.navigation-bar-private__contentOnBotDesktop_8xzyw.navigation-bar-private__contentOnBotDesktop_8xzyw {
70
+ } .navigation-bar-private__content_17uoc.navigation-bar-private__contentOnBotDesktop_17uoc.navigation-bar-private__contentOnBotDesktop_17uoc {
70
71
  padding-top: var(--gap-12);
71
- } .navigation-bar-private__content_8xzyw.navigation-bar-private__contentOnBotMobile_8xzyw.navigation-bar-private__contentOnBotMobile_8xzyw {
72
+ } .navigation-bar-private__content_17uoc.navigation-bar-private__contentOnBotMobile_17uoc.navigation-bar-private__contentOnBotMobile_17uoc {
72
73
  padding-top: var(--gap-12);
73
- } .navigation-bar-private__title_8xzyw {
74
+ } .navigation-bar-private__title_17uoc {
74
75
  word-break: break-word;
75
- } .navigation-bar-private__subtitle_8xzyw {
76
+ } .navigation-bar-private__subtitle_17uoc {
76
77
  font-size: 14px;
77
78
  line-height: 20px;
78
79
  font-weight: 400;
@@ -83,11 +84,11 @@
83
84
 
84
85
  color: var(--color-light-text-secondary);
85
86
  word-break: break-all;
86
- } .navigation-bar-private__addonsWrapper_8xzyw {
87
+ } .navigation-bar-private__addonsWrapper_17uoc {
87
88
  display: flex;
88
- } .navigation-bar-private__rightAddons_8xzyw {
89
+ } .navigation-bar-private__rightAddons_17uoc {
89
90
  margin-left: auto;
90
- } .navigation-bar-private__addon_8xzyw {
91
+ } .navigation-bar-private__addon_17uoc {
91
92
  min-width: 48px;
92
93
  height: 48px;
93
94
  display: flex;
@@ -95,18 +96,18 @@
95
96
  align-items: center;
96
97
  flex-shrink: 0;
97
98
  pointer-events: all;
98
- } .navigation-bar-private__bottomAddons_8xzyw {
99
+ } .navigation-bar-private__bottomAddons_17uoc {
99
100
  pointer-events: all;
100
- } .navigation-bar-private__closer_8xzyw {
101
+ } .navigation-bar-private__closer_17uoc {
101
102
  margin-left: auto;
102
- } .navigation-bar-private__left_8xzyw {
103
+ } .navigation-bar-private__left_17uoc {
103
104
  text-align: left;
104
- } .navigation-bar-private__center_8xzyw {
105
+ } .navigation-bar-private__center_17uoc {
105
106
  text-align: center;
106
- } .navigation-bar-private__trim_8xzyw {
107
+ } .navigation-bar-private__trim_17uoc {
107
108
  overflow: hidden
108
- } .navigation-bar-private__trim_8xzyw .navigation-bar-private__title_8xzyw,
109
- .navigation-bar-private__trim_8xzyw .navigation-bar-private__children_8xzyw {
109
+ } .navigation-bar-private__trim_17uoc .navigation-bar-private__title_17uoc,
110
+ .navigation-bar-private__trim_17uoc .navigation-bar-private__children_17uoc {
110
111
  -webkit-line-clamp: 2;
111
112
  display: -webkit-box;
112
113
  -webkit-box-orient: vertical;
@@ -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-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"};
9
+ const styles = {"header":"navigation-bar-private__header_17uoc","backgroundImage":"navigation-bar-private__backgroundImage_17uoc","mainLine":"navigation-bar-private__mainLine_17uoc","mainLineSticky":"navigation-bar-private__mainLineSticky_17uoc","mainLineWithImageBg":"navigation-bar-private__mainLineWithImageBg_17uoc","content":"navigation-bar-private__content_17uoc","withBothAddons":"navigation-bar-private__withBothAddons_17uoc","withCompactTitle":"navigation-bar-private__withCompactTitle_17uoc","children":"navigation-bar-private__children_17uoc","title":"navigation-bar-private__title_17uoc","contentOnBotDesktop":"navigation-bar-private__contentOnBotDesktop_17uoc","contentOnBotMobile":"navigation-bar-private__contentOnBotMobile_17uoc","subtitle":"navigation-bar-private__subtitle_17uoc","addonsWrapper":"navigation-bar-private__addonsWrapper_17uoc","rightAddons":"navigation-bar-private__rightAddons_17uoc","addon":"navigation-bar-private__addon_17uoc","bottomAddons":"navigation-bar-private__bottomAddons_17uoc","closer":"navigation-bar-private__closer_17uoc","left":"navigation-bar-private__left_17uoc","center":"navigation-bar-private__center_17uoc","trim":"navigation-bar-private__trim_17uoc"};
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-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"};
8
+ const styles = {"component":"navigation-bar-private__component_eoiyf","mobileComponent":"navigation-bar-private__mobileComponent_eoiyf","flex":"navigation-bar-private__flex_eoiyf","iconWrapper":"navigation-bar-private__iconWrapper_eoiyf","text":"navigation-bar-private__text_eoiyf","mobileWrapper":"navigation-bar-private__mobileWrapper_eoiyf"};
9
9
  require('./index.css')
10
10
 
11
11
  const BackArrowAddon = ({ text = 'Назад', onClick, className, textOpacity = 1, view, ...htmlAttributes }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1jkoy */
1
+ /* hash: 4tl7u */
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,57 +26,58 @@
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
+ --gap-0: 0;
29
30
  --gap-8: var(--gap-xs);
30
31
  --gap-12: var(--gap-s);
31
32
  } :root {
32
33
  } :root {
33
- } :root {
34
+ } /* сбрасывает синюю подсветку при нажатии */ :root {
34
35
  /* closer-mobile */
35
36
 
36
37
  /* back-arrow */
37
38
  --navigation-bar-back-arrow-mobile-fill: var(--color-light-neutral-translucent-700);
38
- } .navigation-bar-private__component_1sneo {
39
+ } .navigation-bar-private__component_eoiyf {
39
40
  height: 100%;
40
41
  background: var(--color-light-bg-primary-alpha-40);
41
42
  -webkit-backdrop-filter: blur(10px);
42
43
  backdrop-filter: blur(10px);
43
44
  border-radius: var(--border-radius-pill);
44
45
  min-width: 48px
45
- } .navigation-bar-private__component_1sneo svg > path {
46
+ } .navigation-bar-private__component_eoiyf svg > path {
46
47
  transition: fill 0.2s ease;
47
48
  fill: var(--color-light-neutral-translucent-1300);
48
- } .navigation-bar-private__component_1sneo:hover svg > path {
49
+ } .navigation-bar-private__component_eoiyf:hover svg > path {
49
50
  fill: var(--color-light-neutral-translucent-1300-hover);
50
- } .navigation-bar-private__component_1sneo:active svg > path {
51
+ } .navigation-bar-private__component_eoiyf:active svg > path {
51
52
  fill: var(--color-light-neutral-translucent-1300-press);
52
- } .navigation-bar-private__mobileComponent_1sneo {
53
+ } .navigation-bar-private__mobileComponent_eoiyf {
53
54
  height: 32px;
54
55
  min-width: 32px;
55
- margin: 0 var(--gap-8);
56
+ margin: var(--gap-0) var(--gap-8);
56
57
  -webkit-backdrop-filter: none;
57
58
  backdrop-filter: none;
58
59
  background: none;
59
- } .navigation-bar-private__flex_1sneo {
60
+ } .navigation-bar-private__flex_eoiyf {
60
61
  display: flex;
61
62
  align-items: center;
62
- } .navigation-bar-private__iconWrapper_1sneo {
63
+ } .navigation-bar-private__iconWrapper_eoiyf {
63
64
  display: inline-flex;
64
65
  align-items: center;
65
66
  justify-content: center;
66
67
  height: 48px;
67
- margin: 0 var(--gap-8) 0 var(--gap-12);
68
+ margin: var(--gap-0) var(--gap-8) var(--gap-0) var(--gap-12);
68
69
  border-radius: var(--border-radius-circle)
69
- } .navigation-bar-private__iconWrapper_1sneo + .navigation-bar-private__text_1sneo {
70
+ } .navigation-bar-private__iconWrapper_eoiyf + .navigation-bar-private__text_eoiyf {
70
71
  margin-right: var(--gap-12);
71
- } .navigation-bar-private__mobileWrapper_1sneo {
72
+ } .navigation-bar-private__mobileWrapper_eoiyf {
72
73
  width: 32px;
73
74
  height: 32px;
74
75
  background: var(--color-light-neutral-translucent-100);
75
76
  -webkit-backdrop-filter: blur(10px);
76
77
  backdrop-filter: blur(10px);
77
- margin: 0
78
- } .navigation-bar-private__mobileWrapper_1sneo + .navigation-bar-private__text_1sneo {
79
- margin: 0 var(--gap-12) 0 var(--gap-8);
80
- } .navigation-bar-private__mobileWrapper_1sneo svg > path {
78
+ margin: var(--gap-0)
79
+ } .navigation-bar-private__mobileWrapper_eoiyf + .navigation-bar-private__text_eoiyf {
80
+ margin: var(--gap-0) var(--gap-12) var(--gap-0) var(--gap-8);
81
+ } .navigation-bar-private__mobileWrapper_eoiyf svg > path {
81
82
  fill: var(--navigation-bar-back-arrow-mobile-fill);
82
83
  }
@@ -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-private__closer_216hm","button":"navigation-bar-private__button_216hm","mobile":"navigation-bar-private__mobile_216hm","sticky":"navigation-bar-private__sticky_216hm"};
7
+ const styles = {"closer":"navigation-bar-private__closer_yypki","button":"navigation-bar-private__button_yypki","mobile":"navigation-bar-private__mobile_yypki","sticky":"navigation-bar-private__sticky_yypki"};
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: 1gpbm */
1
+ /* hash: 1n9wd */
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,14 +21,15 @@
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
+ --gap-0: 0;
24
25
  } :root {
25
26
  } :root {
26
- } :root {
27
+ } /* сбрасывает синюю подсветку при нажатии */ :root {
27
28
  /* closer-mobile */
28
29
  --navigation-bar-closer-mobile-color: var(--color-light-neutral-translucent-700);
29
30
 
30
31
  /* back-arrow */
31
- } .navigation-bar-private__closer_216hm {
32
+ } .navigation-bar-private__closer_yypki {
32
33
  flex-shrink: 0;
33
34
  width: 48px;
34
35
  height: 48px;
@@ -36,17 +37,17 @@
36
37
  display: flex;
37
38
  align-items: center;
38
39
  justify-content: center;
39
- } .navigation-bar-private__button_216hm {
40
+ } .navigation-bar-private__button_yypki {
40
41
  background: var(--color-light-bg-primary-alpha-40);
41
42
  -webkit-backdrop-filter: blur(10px);
42
43
  backdrop-filter: blur(10px);
43
44
  color: var(--color-light-neutral-translucent-1300)
44
- } .navigation-bar-private__button_216hm.navigation-bar-private__mobile_216hm {
45
+ } .navigation-bar-private__button_yypki.navigation-bar-private__mobile_yypki {
45
46
  background: var(--color-light-neutral-translucent-100);
46
47
  color: var(--navigation-bar-closer-mobile-color);
47
- } .navigation-bar-private__button_216hm.navigation-bar-private__button_216hm {
48
+ } .navigation-bar-private__button_yypki.navigation-bar-private__button_yypki {
48
49
  border-radius: var(--border-radius-circle);
49
- } .navigation-bar-private__sticky_216hm {
50
+ } .navigation-bar-private__sticky_yypki {
50
51
  position: sticky;
51
- top: 0;
52
+ top: var(--gap-0);
52
53
  }
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1mj0b */
1
+ /* hash: 1egyg */
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,30 +20,31 @@
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
+ --gap-0: 0;
23
24
  --gap-4: var(--gap-2xs);
24
25
  --gap-12: var(--gap-s);
25
26
  } :root {
26
27
  } :root {
27
- } .navigation-bar-private__header_8xzyw {
28
+ } /* сбрасывает синюю подсветку при нажатии */ .navigation-bar-private__header_17uoc {
28
29
  width: 100%;
29
30
  box-sizing: border-box;
30
31
  transition: box-shadow 0.2s ease, background 0.2s ease
31
- } .navigation-bar-private__header_8xzyw.navigation-bar-private__header_8xzyw.navigation-bar-private__backgroundImage_8xzyw {
32
+ } .navigation-bar-private__header_17uoc.navigation-bar-private__header_17uoc.navigation-bar-private__backgroundImage_17uoc {
32
33
  background-repeat: no-repeat;
33
34
  background-position: center;
34
35
  background-size: cover;
35
- } .navigation-bar-private__mainLine_8xzyw {
36
+ } .navigation-bar-private__mainLine_17uoc {
36
37
  display: flex;
37
38
  align-items: stretch;
38
39
  justify-content: space-between;
39
40
  z-index: 1;
40
41
  background-color: inherit;
41
- } .navigation-bar-private__mainLineSticky_8xzyw {
42
+ } .navigation-bar-private__mainLineSticky_17uoc {
42
43
  position: sticky;
43
- top: 0;
44
- } .navigation-bar-private__mainLineWithImageBg_8xzyw {
44
+ top: var(--gap-0);
45
+ } .navigation-bar-private__mainLineWithImageBg_17uoc {
45
46
  background-color: initial;
46
- } .navigation-bar-private__content_8xzyw {
47
+ } .navigation-bar-private__content_17uoc {
47
48
  color: var(--color-light-text-primary);
48
49
  display: flex;
49
50
  flex-flow: column nowrap;
@@ -52,27 +53,27 @@
52
53
  align-self: baseline;
53
54
  box-sizing: border-box;
54
55
  min-height: 48px
55
- } .navigation-bar-private__content_8xzyw.navigation-bar-private__withBothAddons_8xzyw,
56
- .navigation-bar-private__content_8xzyw.navigation-bar-private__withCompactTitle_8xzyw {
56
+ } .navigation-bar-private__content_17uoc.navigation-bar-private__withBothAddons_17uoc,
57
+ .navigation-bar-private__content_17uoc.navigation-bar-private__withCompactTitle_17uoc {
57
58
  font-size: 16px;
58
59
  line-height: 20px;
59
60
  font-weight: 500;
60
61
  align-self: center;
61
62
  padding-top: var(--gap-4);
62
63
  padding-bottom: var(--gap-4)
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 {
64
+ } .navigation-bar-private__content_17uoc.navigation-bar-private__withBothAddons_17uoc > .navigation-bar-private__children_17uoc,
65
+ .navigation-bar-private__content_17uoc.navigation-bar-private__withBothAddons_17uoc > .navigation-bar-private__title_17uoc,
66
+ .navigation-bar-private__content_17uoc.navigation-bar-private__withCompactTitle_17uoc > .navigation-bar-private__children_17uoc,
67
+ .navigation-bar-private__content_17uoc.navigation-bar-private__withCompactTitle_17uoc > .navigation-bar-private__title_17uoc {
67
68
  -webkit-line-clamp: 1;
68
69
  word-break: break-all;
69
- } .navigation-bar-private__content_8xzyw.navigation-bar-private__contentOnBotDesktop_8xzyw.navigation-bar-private__contentOnBotDesktop_8xzyw {
70
+ } .navigation-bar-private__content_17uoc.navigation-bar-private__contentOnBotDesktop_17uoc.navigation-bar-private__contentOnBotDesktop_17uoc {
70
71
  padding-top: var(--gap-12);
71
- } .navigation-bar-private__content_8xzyw.navigation-bar-private__contentOnBotMobile_8xzyw.navigation-bar-private__contentOnBotMobile_8xzyw {
72
+ } .navigation-bar-private__content_17uoc.navigation-bar-private__contentOnBotMobile_17uoc.navigation-bar-private__contentOnBotMobile_17uoc {
72
73
  padding-top: var(--gap-12);
73
- } .navigation-bar-private__title_8xzyw {
74
+ } .navigation-bar-private__title_17uoc {
74
75
  word-break: break-word;
75
- } .navigation-bar-private__subtitle_8xzyw {
76
+ } .navigation-bar-private__subtitle_17uoc {
76
77
  font-size: 14px;
77
78
  line-height: 20px;
78
79
  font-weight: 400;
@@ -83,11 +84,11 @@
83
84
 
84
85
  color: var(--color-light-text-secondary);
85
86
  word-break: break-all;
86
- } .navigation-bar-private__addonsWrapper_8xzyw {
87
+ } .navigation-bar-private__addonsWrapper_17uoc {
87
88
  display: flex;
88
- } .navigation-bar-private__rightAddons_8xzyw {
89
+ } .navigation-bar-private__rightAddons_17uoc {
89
90
  margin-left: auto;
90
- } .navigation-bar-private__addon_8xzyw {
91
+ } .navigation-bar-private__addon_17uoc {
91
92
  min-width: 48px;
92
93
  height: 48px;
93
94
  display: flex;
@@ -95,18 +96,18 @@
95
96
  align-items: center;
96
97
  flex-shrink: 0;
97
98
  pointer-events: all;
98
- } .navigation-bar-private__bottomAddons_8xzyw {
99
+ } .navigation-bar-private__bottomAddons_17uoc {
99
100
  pointer-events: all;
100
- } .navigation-bar-private__closer_8xzyw {
101
+ } .navigation-bar-private__closer_17uoc {
101
102
  margin-left: auto;
102
- } .navigation-bar-private__left_8xzyw {
103
+ } .navigation-bar-private__left_17uoc {
103
104
  text-align: left;
104
- } .navigation-bar-private__center_8xzyw {
105
+ } .navigation-bar-private__center_17uoc {
105
106
  text-align: center;
106
- } .navigation-bar-private__trim_8xzyw {
107
+ } .navigation-bar-private__trim_17uoc {
107
108
  overflow: hidden
108
- } .navigation-bar-private__trim_8xzyw .navigation-bar-private__title_8xzyw,
109
- .navigation-bar-private__trim_8xzyw .navigation-bar-private__children_8xzyw {
109
+ } .navigation-bar-private__trim_17uoc .navigation-bar-private__title_17uoc,
110
+ .navigation-bar-private__trim_17uoc .navigation-bar-private__children_17uoc {
110
111
  -webkit-line-clamp: 2;
111
112
  display: -webkit-box;
112
113
  -webkit-box-orient: vertical;
@@ -26,7 +26,7 @@
26
26
  .mobileComponent {
27
27
  height: 32px;
28
28
  min-width: 32px;
29
- margin: 0 var(--gap-8);
29
+ margin: var(--gap-0) var(--gap-8);
30
30
  -webkit-backdrop-filter: none;
31
31
  backdrop-filter: none;
32
32
  background: none;
@@ -40,7 +40,7 @@
40
40
  align-items: center;
41
41
  justify-content: center;
42
42
  height: 48px;
43
- margin: 0 var(--gap-8) 0 var(--gap-12);
43
+ margin: var(--gap-0) var(--gap-8) var(--gap-0) var(--gap-12);
44
44
  border-radius: var(--border-radius-circle)
45
45
  }
46
46
  .iconWrapper + .text {
@@ -52,10 +52,10 @@
52
52
  background: var(--color-light-neutral-translucent-100);
53
53
  -webkit-backdrop-filter: blur(10px);
54
54
  backdrop-filter: blur(10px);
55
- margin: 0
55
+ margin: var(--gap-0)
56
56
  }
57
57
  .mobileWrapper + .text {
58
- margin: 0 var(--gap-12) 0 var(--gap-8);
58
+ margin: var(--gap-0) var(--gap-12) var(--gap-0) var(--gap-8);
59
59
  }
60
60
  .mobileWrapper svg > path {
61
61
  fill: var(--navigation-bar-back-arrow-mobile-fill);
@@ -29,5 +29,5 @@
29
29
  }
30
30
  .sticky {
31
31
  position: sticky;
32
- top: 0;
32
+ top: var(--gap-0);
33
33
  }
@@ -22,7 +22,7 @@
22
22
 
23
23
  .mainLineSticky {
24
24
  position: sticky;
25
- top: 0;
25
+ top: var(--gap-0);
26
26
  }
27
27
 
28
28
  .mainLineWithImageBg {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-navigation-bar-private",
3
- "version": "0.2.0",
3
+ "version": "0.3.1",
4
4
  "description": "Navigation bar private component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -11,10 +11,10 @@
11
11
  "directory": "dist"
12
12
  },
13
13
  "dependencies": {
14
- "@alfalab/core-components-icon-button": "^6.8.0",
15
- "@alfalab/core-components-button": "^11.6.0",
16
- "@alfalab/core-components-typography": "^4.10.0",
17
- "@alfalab/core-components-shared": "^0.12.0",
14
+ "@alfalab/core-components-icon-button": "^6.9.1",
15
+ "@alfalab/core-components-button": "^11.7.1",
16
+ "@alfalab/core-components-typography": "^4.10.1",
17
+ "@alfalab/core-components-shared": "^0.12.1",
18
18
  "@alfalab/hooks": "^1.13.0",
19
19
  "@alfalab/icons-glyph": "^2.139.0",
20
20
  "classnames": "^2.3.1",
@@ -24,6 +24,6 @@
24
24
  "peerDependencies": {
25
25
  "react": "^16.9.0 || ^17.0.1 || ^18.0.0"
26
26
  },
27
- "themesVersion": "13.1.0",
28
- "varsVersion": "9.12.0"
27
+ "themesVersion": "13.2.0",
28
+ "varsVersion": "9.13.1"
29
29
  }
@@ -29,7 +29,7 @@
29
29
  .mobileComponent {
30
30
  height: 32px;
31
31
  min-width: 32px;
32
- margin: 0 var(--gap-8);
32
+ margin: var(--gap-0) var(--gap-8);
33
33
  backdrop-filter: none;
34
34
  background: none;
35
35
  }
@@ -44,7 +44,7 @@
44
44
  align-items: center;
45
45
  justify-content: center;
46
46
  height: 48px;
47
- margin: 0 var(--gap-8) 0 var(--gap-12);
47
+ margin: var(--gap-0) var(--gap-8) var(--gap-0) var(--gap-12);
48
48
  border-radius: var(--border-radius-circle);
49
49
 
50
50
  & + .text {
@@ -57,10 +57,10 @@
57
57
  height: 32px;
58
58
  background: var(--color-light-neutral-translucent-100);
59
59
  backdrop-filter: blur(10px);
60
- margin: 0;
60
+ margin: var(--gap-0);
61
61
 
62
62
  & + .text {
63
- margin: 0 var(--gap-12) 0 var(--gap-8);
63
+ margin: var(--gap-0) var(--gap-12) var(--gap-0) var(--gap-8);
64
64
  }
65
65
 
66
66
  & svg > path {
@@ -28,5 +28,5 @@
28
28
 
29
29
  .sticky {
30
30
  position: sticky;
31
- top: 0;
31
+ top: var(--gap-0);
32
32
  }
@@ -22,7 +22,7 @@
22
22
 
23
23
  .mainLineSticky {
24
24
  position: sticky;
25
- top: 0;
25
+ top: var(--gap-0);
26
26
  }
27
27
 
28
28
  .mainLineWithImageBg {