@alfalab/core-components-navigation-bar 0.1.2 → 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.d.ts +3 -2
- package/Component.js +18 -9
- package/components/back-arrow-addon/Component.js +3 -1
- package/components/back-arrow-addon/index.css +18 -18
- package/components/back-arrow-addon/index.js +2 -0
- package/components/closer/Component.js +3 -1
- package/components/closer/index.css +9 -9
- package/components/closer/index.js +2 -0
- package/cssm/Component.d.ts +3 -2
- package/cssm/Component.js +17 -8
- package/cssm/components/back-arrow-addon/Component.js +2 -0
- package/cssm/components/back-arrow-addon/index.js +2 -0
- package/cssm/components/back-arrow-addon/index.module.css +6 -6
- package/cssm/components/closer/Component.js +2 -0
- package/cssm/components/closer/index.js +2 -0
- package/cssm/components/closer/index.module.css +4 -4
- package/cssm/index.js +3 -0
- package/cssm/index.module.css +3 -3
- package/cssm/types.d.ts +1 -1
- package/esm/Component.d.ts +3 -2
- package/esm/Component.js +16 -10
- package/esm/components/back-arrow-addon/Component.js +1 -1
- package/esm/components/back-arrow-addon/index.css +18 -18
- package/esm/components/closer/Component.js +1 -1
- package/esm/components/closer/index.css +9 -9
- package/esm/index.css +30 -30
- package/esm/index.js +1 -0
- package/esm/types.d.ts +1 -1
- package/index.css +30 -30
- package/index.js +3 -0
- package/modern/Component.d.ts +3 -2
- package/modern/Component.js +16 -10
- package/modern/components/back-arrow-addon/Component.js +1 -1
- package/modern/components/back-arrow-addon/index.css +18 -18
- package/modern/components/closer/Component.js +1 -1
- package/modern/components/closer/index.css +9 -9
- package/modern/index.css +30 -30
- package/modern/index.js +1 -0
- package/modern/types.d.ts +1 -1
- package/package.json +4 -4
- package/types.d.ts +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: fjemv */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
|
-
--color-light-graphic-primary: #
|
|
5
|
-
--color-light-graphic-secondary: #
|
|
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-
|
|
21
|
+
} .navigation-bar__closer_ylt19 {
|
|
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-
|
|
29
|
+
} .navigation-bar__button_ylt19 {
|
|
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-
|
|
35
|
+
} .navigation-bar__button_ylt19.navigation-bar__mobile_ylt19 {
|
|
36
36
|
background: var(--color-light-specialbg-secondary-transparent);
|
|
37
37
|
color: var(--color-light-graphic-secondary);
|
|
38
|
-
} .navigation-
|
|
38
|
+
} .navigation-bar__sticky_ylt19 {
|
|
39
39
|
position: sticky;
|
|
40
40
|
top: 0;
|
|
41
41
|
}
|
package/modern/index.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1s74g */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
|
-
--color-light-text-primary: #
|
|
5
|
-
--color-light-text-secondary: rgba(
|
|
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-
|
|
21
|
+
} .navigation-bar__header_1p62k {
|
|
22
22
|
width: 100%;
|
|
23
23
|
box-sizing: border-box;
|
|
24
24
|
transition: box-shadow 0.2s ease, background 0.2s ease
|
|
25
|
-
} .navigation-
|
|
25
|
+
} .navigation-bar__header_1p62k.navigation-bar__header_1p62k.navigation-bar__backgroundImage_1p62k {
|
|
26
26
|
background-repeat: no-repeat;
|
|
27
27
|
background-position: center;
|
|
28
28
|
background-size: cover;
|
|
29
|
-
} .navigation-
|
|
29
|
+
} .navigation-bar__mainLine_1p62k {
|
|
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-
|
|
35
|
+
} .navigation-bar__mainLineSticky_1p62k {
|
|
36
36
|
position: sticky;
|
|
37
37
|
top: 0;
|
|
38
|
-
} .navigation-
|
|
38
|
+
} .navigation-bar__mainLineWithImageBg_1p62k {
|
|
39
39
|
background-color: initial;
|
|
40
|
-
} .navigation-
|
|
40
|
+
} .navigation-bar__content_1p62k {
|
|
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-
|
|
50
|
-
.navigation-
|
|
49
|
+
} .navigation-bar__content_1p62k.navigation-bar__withBothAddons_1p62k,
|
|
50
|
+
.navigation-bar__content_1p62k.navigation-bar__withCompactTitle_1p62k {
|
|
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-
|
|
58
|
-
.navigation-
|
|
59
|
-
.navigation-
|
|
60
|
-
.navigation-
|
|
57
|
+
} .navigation-bar__content_1p62k.navigation-bar__withBothAddons_1p62k > .navigation-bar__children_1p62k,
|
|
58
|
+
.navigation-bar__content_1p62k.navigation-bar__withBothAddons_1p62k > .navigation-bar__title_1p62k,
|
|
59
|
+
.navigation-bar__content_1p62k.navigation-bar__withCompactTitle_1p62k > .navigation-bar__children_1p62k,
|
|
60
|
+
.navigation-bar__content_1p62k.navigation-bar__withCompactTitle_1p62k > .navigation-bar__title_1p62k {
|
|
61
61
|
-webkit-line-clamp: 1;
|
|
62
62
|
word-break: break-all;
|
|
63
|
-
} .navigation-
|
|
63
|
+
} .navigation-bar__content_1p62k.navigation-bar__contentOnBotDesktop_1p62k.navigation-bar__contentOnBotDesktop_1p62k {
|
|
64
64
|
padding-top: var(--gap-s);
|
|
65
|
-
} .navigation-
|
|
65
|
+
} .navigation-bar__content_1p62k.navigation-bar__contentOnBotMobile_1p62k.navigation-bar__contentOnBotMobile_1p62k {
|
|
66
66
|
padding-top: var(--gap-s);
|
|
67
|
-
} .navigation-
|
|
67
|
+
} .navigation-bar__title_1p62k {
|
|
68
68
|
word-break: break-word;
|
|
69
|
-
} .navigation-
|
|
69
|
+
} .navigation-bar__subtitle_1p62k {
|
|
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-
|
|
80
|
+
} .navigation-bar__addonsWrapper_1p62k {
|
|
81
81
|
display: flex;
|
|
82
|
-
} .navigation-
|
|
82
|
+
} .navigation-bar__rightAddons_1p62k {
|
|
83
83
|
margin-left: auto;
|
|
84
|
-
} .navigation-
|
|
84
|
+
} .navigation-bar__addon_1p62k {
|
|
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-
|
|
92
|
+
} .navigation-bar__bottomAddons_1p62k {
|
|
93
93
|
pointer-events: all;
|
|
94
|
-
} .navigation-
|
|
94
|
+
} .navigation-bar__closer_1p62k {
|
|
95
95
|
margin-left: auto;
|
|
96
|
-
} .navigation-
|
|
96
|
+
} .navigation-bar__left_1p62k {
|
|
97
97
|
text-align: left;
|
|
98
|
-
} .navigation-
|
|
98
|
+
} .navigation-bar__center_1p62k {
|
|
99
99
|
text-align: center;
|
|
100
|
-
} .navigation-
|
|
100
|
+
} .navigation-bar__trim_1p62k {
|
|
101
101
|
overflow: hidden
|
|
102
|
-
} .navigation-
|
|
103
|
-
.navigation-
|
|
102
|
+
} .navigation-bar__trim_1p62k .navigation-bar__title_1p62k,
|
|
103
|
+
.navigation-bar__trim_1p62k .navigation-bar__children_1p62k {
|
|
104
104
|
-webkit-line-clamp: 2;
|
|
105
105
|
display: -webkit-box;
|
|
106
106
|
-webkit-box-orient: vertical;
|
package/modern/index.js
CHANGED
package/modern/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-navigation-bar",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Navigation bar component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"directory": "dist"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@alfalab/core-components-icon-button": "^6.0.
|
|
15
|
-
"@alfalab/core-components-button": "^
|
|
16
|
-
"@alfalab/core-components-typography": "^3.2.
|
|
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
17
|
"@alfalab/hooks": "^1.13.0",
|
|
18
18
|
"@alfalab/icons-glyph": "^2.89.0",
|
|
19
19
|
"classnames": "^2.3.1",
|
package/types.d.ts
CHANGED