@alfalab/core-components-navigation-bar 0.1.1 → 0.1.3

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.
@@ -1,11 +1,11 @@
1
- /* hash: ol373 */
1
+ /* hash: 1hg1i */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-graphic-primary: #0b1f35;
5
- --color-light-graphic-secondary: #6d7986;
6
- --color-light-specialbg-secondary-transparent: rgba(11, 31, 53, 0.05);
4
+ --color-light-graphic-primary: #0e0e0e;
5
+ --color-light-graphic-secondary: #86868a;
6
+ --color-light-specialbg-secondary-transparent: rgba(11, 31, 53, 0.05); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
7
7
  --color-light-bg-primary-alpha-40: rgba(255, 255, 255, 0.4);
8
- } :root {
8
+ } :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 */
9
9
  } :root {
10
10
  } :root {
11
11
 
@@ -18,7 +18,7 @@
18
18
  } :root {
19
19
  } :root {
20
20
  } :root {
21
- } .navigation-bar__closer_asogp {
21
+ } .navigation-bar__closer_1wm0n {
22
22
  flex-shrink: 0;
23
23
  width: 48px;
24
24
  height: 48px;
@@ -26,16 +26,16 @@
26
26
  display: flex;
27
27
  align-items: center;
28
28
  justify-content: center;
29
- } .navigation-bar__button_asogp {
29
+ } .navigation-bar__button_1wm0n {
30
30
  background: var(--color-light-bg-primary-alpha-40);
31
31
  -webkit-backdrop-filter: blur(10px);
32
32
  backdrop-filter: blur(10px);
33
33
  border-radius: 50px;
34
34
  color: var(--color-light-graphic-primary)
35
- } .navigation-bar__button_asogp.navigation-bar__mobile_asogp {
35
+ } .navigation-bar__button_1wm0n.navigation-bar__mobile_1wm0n {
36
36
  background: var(--color-light-specialbg-secondary-transparent);
37
37
  color: var(--color-light-graphic-secondary);
38
- } .navigation-bar__sticky_asogp {
38
+ } .navigation-bar__sticky_1wm0n {
39
39
  position: sticky;
40
40
  top: 0;
41
41
  }
package/modern/index.css CHANGED
@@ -1,9 +1,9 @@
1
- /* hash: 27oys */
1
+ /* hash: v2nac */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-text-primary: #0b1f35;
5
- --color-light-text-secondary: rgba(11, 31, 53, 0.7);
6
- } :root {
4
+ --color-light-text-primary: #0e0e0e;
5
+ --color-light-text-secondary: rgba(60, 60, 67, 0.66); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
+ } :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 */
7
7
  } :root {
8
8
  } :root {
9
9
 
@@ -18,26 +18,26 @@
18
18
  --gap-s: 12px;
19
19
  } :root {
20
20
  } :root {
21
- } .navigation-bar__header_1uwdc {
21
+ } .navigation-bar__header_1holh {
22
22
  width: 100%;
23
23
  box-sizing: border-box;
24
24
  transition: box-shadow 0.2s ease, background 0.2s ease
25
- } .navigation-bar__header_1uwdc.navigation-bar__header_1uwdc.navigation-bar__backgroundImage_1uwdc {
25
+ } .navigation-bar__header_1holh.navigation-bar__header_1holh.navigation-bar__backgroundImage_1holh {
26
26
  background-repeat: no-repeat;
27
27
  background-position: center;
28
28
  background-size: cover;
29
- } .navigation-bar__mainLine_1uwdc {
29
+ } .navigation-bar__mainLine_1holh {
30
30
  display: flex;
31
31
  align-items: stretch;
32
32
  justify-content: space-between;
33
33
  z-index: 1;
34
34
  background-color: inherit;
35
- } .navigation-bar__mainLineSticky_1uwdc {
35
+ } .navigation-bar__mainLineSticky_1holh {
36
36
  position: sticky;
37
37
  top: 0;
38
- } .navigation-bar__mainLineWithImageBg_1uwdc {
38
+ } .navigation-bar__mainLineWithImageBg_1holh {
39
39
  background-color: initial;
40
- } .navigation-bar__content_1uwdc {
40
+ } .navigation-bar__content_1holh {
41
41
  color: var(--color-light-text-primary);
42
42
  display: flex;
43
43
  flex-flow: column nowrap;
@@ -46,27 +46,27 @@
46
46
  align-self: baseline;
47
47
  box-sizing: border-box;
48
48
  min-height: 48px
49
- } .navigation-bar__content_1uwdc.navigation-bar__withBothAddons_1uwdc,
50
- .navigation-bar__content_1uwdc.navigation-bar__withCompactTitle_1uwdc {
49
+ } .navigation-bar__content_1holh.navigation-bar__withBothAddons_1holh,
50
+ .navigation-bar__content_1holh.navigation-bar__withCompactTitle_1holh {
51
51
  font-size: 16px;
52
52
  line-height: 20px;
53
53
  font-weight: 500;
54
54
  align-self: center;
55
55
  padding-top: var(--gap-2xs);
56
56
  padding-bottom: var(--gap-2xs)
57
- } .navigation-bar__content_1uwdc.navigation-bar__withBothAddons_1uwdc > .navigation-bar__children_1uwdc,
58
- .navigation-bar__content_1uwdc.navigation-bar__withBothAddons_1uwdc > .navigation-bar__title_1uwdc,
59
- .navigation-bar__content_1uwdc.navigation-bar__withCompactTitle_1uwdc > .navigation-bar__children_1uwdc,
60
- .navigation-bar__content_1uwdc.navigation-bar__withCompactTitle_1uwdc > .navigation-bar__title_1uwdc {
57
+ } .navigation-bar__content_1holh.navigation-bar__withBothAddons_1holh > .navigation-bar__children_1holh,
58
+ .navigation-bar__content_1holh.navigation-bar__withBothAddons_1holh > .navigation-bar__title_1holh,
59
+ .navigation-bar__content_1holh.navigation-bar__withCompactTitle_1holh > .navigation-bar__children_1holh,
60
+ .navigation-bar__content_1holh.navigation-bar__withCompactTitle_1holh > .navigation-bar__title_1holh {
61
61
  -webkit-line-clamp: 1;
62
62
  word-break: break-all;
63
- } .navigation-bar__content_1uwdc.navigation-bar__contentOnBotDesktop_1uwdc.navigation-bar__contentOnBotDesktop_1uwdc {
63
+ } .navigation-bar__content_1holh.navigation-bar__contentOnBotDesktop_1holh.navigation-bar__contentOnBotDesktop_1holh {
64
64
  padding-top: var(--gap-s);
65
- } .navigation-bar__content_1uwdc.navigation-bar__contentOnBotMobile_1uwdc.navigation-bar__contentOnBotMobile_1uwdc {
65
+ } .navigation-bar__content_1holh.navigation-bar__contentOnBotMobile_1holh.navigation-bar__contentOnBotMobile_1holh {
66
66
  padding-top: var(--gap-s);
67
- } .navigation-bar__title_1uwdc {
67
+ } .navigation-bar__title_1holh {
68
68
  word-break: break-word;
69
- } .navigation-bar__subtitle_1uwdc {
69
+ } .navigation-bar__subtitle_1holh {
70
70
  font-size: 14px;
71
71
  line-height: 20px;
72
72
  font-weight: 400;
@@ -77,11 +77,11 @@
77
77
 
78
78
  color: var(--color-light-text-secondary);
79
79
  word-break: break-all;
80
- } .navigation-bar__addonsWrapper_1uwdc {
80
+ } .navigation-bar__addonsWrapper_1holh {
81
81
  display: flex;
82
- } .navigation-bar__rightAddons_1uwdc {
82
+ } .navigation-bar__rightAddons_1holh {
83
83
  margin-left: auto;
84
- } .navigation-bar__addon_1uwdc {
84
+ } .navigation-bar__addon_1holh {
85
85
  min-width: 48px;
86
86
  height: 48px;
87
87
  display: flex;
@@ -89,18 +89,18 @@
89
89
  align-items: center;
90
90
  flex-shrink: 0;
91
91
  pointer-events: all;
92
- } .navigation-bar__bottomAddons_1uwdc {
92
+ } .navigation-bar__bottomAddons_1holh {
93
93
  pointer-events: all;
94
- } .navigation-bar__closer_1uwdc {
94
+ } .navigation-bar__closer_1holh {
95
95
  margin-left: auto;
96
- } .navigation-bar__left_1uwdc {
96
+ } .navigation-bar__left_1holh {
97
97
  text-align: left;
98
- } .navigation-bar__center_1uwdc {
98
+ } .navigation-bar__center_1holh {
99
99
  text-align: center;
100
- } .navigation-bar__trim_1uwdc {
100
+ } .navigation-bar__trim_1holh {
101
101
  overflow: hidden
102
- } .navigation-bar__trim_1uwdc .navigation-bar__title_1uwdc,
103
- .navigation-bar__trim_1uwdc .navigation-bar__children_1uwdc {
102
+ } .navigation-bar__trim_1holh .navigation-bar__title_1holh,
103
+ .navigation-bar__trim_1holh .navigation-bar__children_1holh {
104
104
  -webkit-line-clamp: 2;
105
105
  display: -webkit-box;
106
106
  -webkit-box-orient: vertical;
package/modern/index.js CHANGED
@@ -2,6 +2,7 @@ export { NavigationBar } from './Component.js';
2
2
  export { Closer } from './components/closer/Component.js';
3
3
  import 'react';
4
4
  import 'classnames';
5
+ import '@alfalab/hooks';
5
6
  import './components/back-arrow-addon/Component.js';
6
7
  import '@alfalab/core-components-button/modern';
7
8
  import '@alfalab/core-components-typography/modern';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-navigation-bar",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Navigation bar component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -11,9 +11,10 @@
11
11
  "directory": "dist"
12
12
  },
13
13
  "dependencies": {
14
- "@alfalab/core-components-icon-button": "^6.0.8",
15
- "@alfalab/core-components-button": "^7.1.1",
16
- "@alfalab/core-components-typography": "^3.2.0",
14
+ "@alfalab/core-components-icon-button": "^6.0.9",
15
+ "@alfalab/core-components-button": "^8.0.0",
16
+ "@alfalab/core-components-typography": "^3.2.1",
17
+ "@alfalab/hooks": "^1.13.0",
17
18
  "@alfalab/icons-glyph": "^2.89.0",
18
19
  "classnames": "^2.3.1",
19
20
  "tslib": "^2.4.0"