blue-react 8.6.0 → 8.6.2
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/style.css +138 -95
- package/dist/style.min.css +8 -6
- package/dist/style.scss +1 -1
- package/dist/styles/_action-menu.scss +10 -0
- package/dist/styles/_search.scss +1 -1
- package/dist/styles/_variables.scss +6 -7
- package/dist/styles/mixins/_sidebar.scss +13 -4
- package/dist/types/components/MenuItem.d.ts +1 -0
- package/package.json +3 -3
package/dist/style.scss
CHANGED
|
@@ -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,7 +38,6 @@
|
|
|
37
38
|
|
|
38
39
|
.blue-search-control {
|
|
39
40
|
border: none;
|
|
40
|
-
background-color: transparent !important;
|
|
41
41
|
|
|
42
42
|
&:focus {
|
|
43
43
|
box-shadow: none;
|
|
@@ -99,18 +99,17 @@ $actions-control-bg-hover: $bla-button-bg-hover !default;
|
|
|
99
99
|
$scrollbar-size: 10px;
|
|
100
100
|
|
|
101
101
|
:root {
|
|
102
|
-
--theme: #{$theme};
|
|
103
|
-
|
|
104
102
|
--blue-sidebar-width: #{$bla-sidebar-width};
|
|
105
103
|
--blue-sidebar-color-h: #{$blue-sidebar-color-h};
|
|
106
104
|
--blue-sidebar-color-s: #{$blue-sidebar-color-s};
|
|
107
105
|
--blue-sidebar-color-l: #{$blue-sidebar-color-l};
|
|
108
106
|
--blue-sidebar-color: #{$blue-sidebar-color};
|
|
109
|
-
--blue-theme: #{$theme};
|
|
107
|
+
--blue-theme: var(--theme, #{$theme});
|
|
110
108
|
--blue-shimmering: 0.8;
|
|
111
109
|
|
|
112
|
-
--blue-app-bg: #{$app-bg};
|
|
113
|
-
--blue-sidebar-bg: #{$sidebar-bg};
|
|
114
|
-
--blue-header-bg: #{$header-bg};
|
|
115
|
-
--action-link-bg-color: var(--theme);
|
|
110
|
+
--blue-app-bg: var(--blue-theme, #{$app-bg});
|
|
111
|
+
--blue-sidebar-bg: var(--blue-theme, #{$sidebar-bg});
|
|
112
|
+
--blue-header-bg: var(--blue-theme, #{$header-bg});
|
|
113
|
+
--action-link-bg-color: var(--blue-theme);
|
|
114
|
+
--blue-menu-item-indicator-bg: #{$sidebar-indicator-color};
|
|
116
115
|
}
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/* search */
|
|
48
|
-
.blue-search {
|
|
48
|
+
.blue-search:not(.blue-search-body) {
|
|
49
49
|
background-color: $sidebar-search-bg;
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -107,9 +107,9 @@
|
|
|
107
107
|
bottom: 0.625rem;
|
|
108
108
|
left: 0.125rem;
|
|
109
109
|
width: 0.25rem;
|
|
110
|
-
background-color:
|
|
110
|
+
background-color: var(--blue-menu-item-indicator-bg);
|
|
111
111
|
border-radius: 1rem;
|
|
112
|
-
animation: sidebar-menu-item-indicator-in 0.2s ease-in-out;
|
|
112
|
+
animation: sidebar-menu-item-indicator-in-from-side 0.2s ease-in-out;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
& > * + .blue-menu-item-label {
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
@keyframes sidebar-menu-item-indicator-in {
|
|
157
|
+
@keyframes sidebar-menu-item-indicator-in-from-side {
|
|
158
158
|
from {
|
|
159
159
|
transform: translateX(-100%);
|
|
160
160
|
}
|
|
@@ -162,3 +162,12 @@
|
|
|
162
162
|
transform: translateX(1);
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
+
|
|
166
|
+
@keyframes sidebar-menu-item-indicator-in-from-below {
|
|
167
|
+
from {
|
|
168
|
+
transform: translateY(100%);
|
|
169
|
+
}
|
|
170
|
+
to {
|
|
171
|
+
transform: translateY(1);
|
|
172
|
+
}
|
|
173
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "blue-react",
|
|
3
|
-
"version": "8.6.
|
|
3
|
+
"version": "8.6.2",
|
|
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",
|