blue-react 8.6.1 → 8.6.4
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/dist/components/Layout.js +10 -3
- package/dist/components/MenuItem.js +2 -1
- package/dist/components/Search.js +18 -7
- package/dist/style.css +154 -100
- package/dist/style.min.css +8 -6
- package/dist/style.scss +1 -1
- package/dist/styles/_action-menu.scss +11 -1
- package/dist/styles/_search.scss +2 -0
- package/dist/styles/_variables.scss +2 -1
- package/dist/styles/mixins/_action-menu.scss +2 -2
- package/dist/styles/mixins/_sidebar.scss +18 -5
- package/dist/types/components/MenuItem.d.ts +1 -0
- package/package.json +3 -3
package/dist/style.scss
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
position: relative;
|
|
4
4
|
margin-left: 2px;
|
|
5
5
|
|
|
6
|
-
background-color: var(--action-link-bg-color);
|
|
6
|
+
background-color: var(--blue-action-link-bg-color);
|
|
7
7
|
|
|
8
8
|
&:hover {
|
|
9
9
|
background-color: $bla-button-bg-hover;
|
|
@@ -56,6 +56,16 @@
|
|
|
56
56
|
width: auto;
|
|
57
57
|
margin-top: 0;
|
|
58
58
|
margin-bottom: 0;
|
|
59
|
+
|
|
60
|
+
&.active::after {
|
|
61
|
+
top: initial;
|
|
62
|
+
bottom: 0.125rem;
|
|
63
|
+
left: 0.625rem;
|
|
64
|
+
right: 0.625rem;
|
|
65
|
+
width: auto;
|
|
66
|
+
height: 0.25rem;
|
|
67
|
+
animation: sidebar-menu-item-indicator-in-from-below 0.2s ease-in-out;
|
|
68
|
+
}
|
|
59
69
|
}
|
|
60
70
|
|
|
61
71
|
.blue-menu-item-dropdown-toggle .blue-menu-item-label {
|
package/dist/styles/_search.scss
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
align-items: center;
|
|
4
4
|
border: $input-border-width solid $input-border-color;
|
|
5
5
|
border-radius: $input-border-radius;
|
|
6
|
+
background-color: $input-bg;
|
|
6
7
|
|
|
7
8
|
&.blue-search-body {
|
|
8
9
|
border: 1px solid $input-border-color;
|
|
@@ -37,6 +38,7 @@
|
|
|
37
38
|
|
|
38
39
|
.blue-search-control {
|
|
39
40
|
border: none;
|
|
41
|
+
background-color: transparent !important;
|
|
40
42
|
|
|
41
43
|
&:focus {
|
|
42
44
|
box-shadow: none;
|
|
@@ -110,5 +110,6 @@ $scrollbar-size: 10px;
|
|
|
110
110
|
--blue-app-bg: var(--blue-theme, #{$app-bg});
|
|
111
111
|
--blue-sidebar-bg: var(--blue-theme, #{$sidebar-bg});
|
|
112
112
|
--blue-header-bg: var(--blue-theme, #{$header-bg});
|
|
113
|
-
--action-link-bg-color: var(--blue-theme);
|
|
113
|
+
--blue-action-link-bg-color: var(--blue-theme);
|
|
114
|
+
--blue-menu-item-indicator-bg: #{$sidebar-indicator-color};
|
|
114
115
|
}
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
@mixin actions($breakpoint) {
|
|
11
11
|
@media screen and (max-width: $breakpoint + 1px) {
|
|
12
12
|
&.open {
|
|
13
|
-
--action-link-bg-color: #{darken($theme, 30%)};
|
|
13
|
+
--blue-action-link-bg-color: #{darken($theme, 30%)};
|
|
14
14
|
|
|
15
15
|
display: block;
|
|
16
|
-
background-color: var(--action-link-bg-color);
|
|
16
|
+
background-color: var(--blue-action-link-bg-color);
|
|
17
17
|
width: 100%;
|
|
18
18
|
position: absolute;
|
|
19
19
|
z-index: 1;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
@mixin openSidebarMenu() {
|
|
2
|
-
.blue-sidebar-hidden-on-open
|
|
2
|
+
.blue-sidebar-hidden-on-open,
|
|
3
|
+
.blue-sidebar-before-hidden-on-open::before,
|
|
4
|
+
.blue-sidebar-after-hidden-on-open::after,
|
|
5
|
+
.blue-sidebar-pseudo-hidden-on-open::before,
|
|
6
|
+
.blue-sidebar-pseudo-hidden-on-open::after {
|
|
3
7
|
display: none;
|
|
4
8
|
}
|
|
5
9
|
|
|
@@ -45,7 +49,7 @@
|
|
|
45
49
|
}
|
|
46
50
|
|
|
47
51
|
/* search */
|
|
48
|
-
.blue-search {
|
|
52
|
+
.blue-search:not(.blue-search-body) {
|
|
49
53
|
background-color: $sidebar-search-bg;
|
|
50
54
|
}
|
|
51
55
|
|
|
@@ -107,9 +111,9 @@
|
|
|
107
111
|
bottom: 0.625rem;
|
|
108
112
|
left: 0.125rem;
|
|
109
113
|
width: 0.25rem;
|
|
110
|
-
background-color:
|
|
114
|
+
background-color: var(--blue-menu-item-indicator-bg);
|
|
111
115
|
border-radius: 1rem;
|
|
112
|
-
animation: sidebar-menu-item-indicator-in 0.2s ease-in-out;
|
|
116
|
+
animation: sidebar-menu-item-indicator-in-from-side 0.2s ease-in-out;
|
|
113
117
|
}
|
|
114
118
|
|
|
115
119
|
& > * + .blue-menu-item-label {
|
|
@@ -154,7 +158,7 @@
|
|
|
154
158
|
}
|
|
155
159
|
}
|
|
156
160
|
|
|
157
|
-
@keyframes sidebar-menu-item-indicator-in {
|
|
161
|
+
@keyframes sidebar-menu-item-indicator-in-from-side {
|
|
158
162
|
from {
|
|
159
163
|
transform: translateX(-100%);
|
|
160
164
|
}
|
|
@@ -162,3 +166,12 @@
|
|
|
162
166
|
transform: translateX(1);
|
|
163
167
|
}
|
|
164
168
|
}
|
|
169
|
+
|
|
170
|
+
@keyframes sidebar-menu-item-indicator-in-from-below {
|
|
171
|
+
from {
|
|
172
|
+
transform: translateY(100%);
|
|
173
|
+
}
|
|
174
|
+
to {
|
|
175
|
+
transform: translateY(1);
|
|
176
|
+
}
|
|
177
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "blue-react",
|
|
3
|
-
"version": "8.6.
|
|
3
|
+
"version": "8.6.4",
|
|
4
4
|
"description": "Blue React Components",
|
|
5
5
|
"license": "LGPL-3.0-or-later",
|
|
6
6
|
"main": "index.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@popperjs/core": "^2.11.5",
|
|
35
|
-
"bootstrap": "~5.2.
|
|
35
|
+
"bootstrap": "~5.2.2",
|
|
36
36
|
"clsx": "^1.1.1"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"postcss-minify": "^1.1.0",
|
|
64
64
|
"prettier": "2.4.1",
|
|
65
65
|
"react": "^18.1.0",
|
|
66
|
-
"react-bootstrap-icons": "^1.
|
|
66
|
+
"react-bootstrap-icons": "^1.9.1",
|
|
67
67
|
"react-docgen": "^5.4.0",
|
|
68
68
|
"react-dom": "^18.1.0",
|
|
69
69
|
"react-markdown": "^8.0.3",
|