blue-react 8.8.3 → 9.0.0-alpha1
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/ActionMenu.js +109 -98
- package/dist/components/ActionMenuSwitch.js +55 -44
- package/dist/components/Body.js +50 -38
- package/dist/components/Caret.js +32 -19
- package/dist/components/DocumentView.js +88 -76
- package/dist/components/Header.js +34 -22
- package/dist/components/HeaderTitle.js +66 -54
- package/dist/components/Intro.js +48 -35
- package/dist/components/Layout.js +295 -283
- package/dist/components/MenuItem.js +139 -130
- package/dist/components/Modal.js +173 -164
- package/dist/components/ModalProvider.js +195 -184
- package/dist/components/Outside.js +63 -50
- package/dist/components/Page.js +74 -62
- package/dist/components/Search.js +168 -157
- package/dist/components/SidebarMenu.js +69 -56
- package/dist/components/SlimContainer.js +34 -21
- package/dist/components/Status.js +76 -64
- package/dist/components/StatusProvider.js +79 -68
- package/dist/components/Switch.js +70 -57
- package/dist/components/Utilities.js +192 -178
- package/dist/components/shared.js +37 -23
- package/dist/style.css +15 -153
- package/dist/style.min.css +5 -5
- package/dist/style.scss +7 -8
- package/dist/styles/_action-menu.scss +1 -1
- package/dist/styles/_bootstrap-optimizations.scss +0 -8
- package/dist/styles/_caret.scss +3 -3
- package/dist/styles/_general.scss +0 -17
- package/dist/styles/_layout.scss +1 -1
- package/dist/styles/_variables.scss +3 -15
- package/dist/styles/mixins/_sidebar.scss +1 -1
- package/package.json +3 -3
- package/dist/styles/_switch.scss +0 -21
package/dist/style.scss
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Blue React
|
|
2
|
+
* Blue React v9.0.0-alpha1-alpha1-alpha1-alpha1-alpha1-alpha1-alpha1 (https://bruegmann.github.io/blue-react)
|
|
3
3
|
* Licensed under GNU General Public License v3.0 (https://github.com/bruegmann/blue-react/blob/master/LICENSE).
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
@import "./styles/bootstrap-variables
|
|
6
|
+
@import "./styles/bootstrap-variables";
|
|
7
7
|
@import "node_modules/bootstrap/scss/functions";
|
|
8
8
|
@import "node_modules/bootstrap/scss/variables";
|
|
9
|
-
@import "./styles/_variables
|
|
9
|
+
@import "./styles/_variables";
|
|
10
10
|
|
|
11
|
-
@import "./styles/_mixins
|
|
12
|
-
@import "./styles/_keyframes
|
|
11
|
+
@import "./styles/_mixins";
|
|
12
|
+
@import "./styles/_keyframes";
|
|
13
13
|
|
|
14
|
-
@import "./styles/_bootstrap
|
|
14
|
+
@import "./styles/_bootstrap";
|
|
15
15
|
|
|
16
16
|
@import "./styles/_general";
|
|
17
17
|
@import "./styles/_router";
|
|
@@ -19,9 +19,8 @@
|
|
|
19
19
|
@import "./styles/_layout";
|
|
20
20
|
@import "./styles/_search";
|
|
21
21
|
@import "./styles/action-menu";
|
|
22
|
-
@import "./styles/_switch";
|
|
23
22
|
@import "./styles/_caret";
|
|
24
23
|
@import "./styles/_tooltips";
|
|
25
24
|
@import "./styles/_hover";
|
|
26
25
|
|
|
27
|
-
@import "./styles/_bootstrap-optimizations
|
|
26
|
+
@import "./styles/_bootstrap-optimizations";
|
package/dist/styles/_caret.scss
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.caret {
|
|
1
|
+
.blue-caret {
|
|
2
2
|
/* treat like a font icon */
|
|
3
3
|
font-family: "blueicon" !important;
|
|
4
4
|
speak: none;
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
transition: all 0.2s;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
&.caret-mirrored {
|
|
39
|
+
&.blue-caret-mirrored {
|
|
40
40
|
&::before {
|
|
41
41
|
transform: rotate(135deg) translate(-50%, -50%);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
&.caret-open {
|
|
45
|
+
&.blue-caret-open {
|
|
46
46
|
&::before {
|
|
47
47
|
transform: rotate(45deg) translate(-50%, -50%);
|
|
48
48
|
}
|
|
@@ -4,14 +4,6 @@
|
|
|
4
4
|
scrollbar-width: thin;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
/* Versteckt Clear-Button für input[type="search"], da Blue bereits selbst Clear-Buttons liefert */
|
|
8
|
-
input[type="search"]::-webkit-search-decoration,
|
|
9
|
-
input[type="search"]::-webkit-search-cancel-button,
|
|
10
|
-
input[type="search"]::-webkit-search-results-button,
|
|
11
|
-
input[type="search"]::-webkit-search-results-decoration {
|
|
12
|
-
-webkit-appearance: none;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
7
|
@media screen and (min-width: 768px) {
|
|
16
8
|
::-webkit-scrollbar {
|
|
17
9
|
height: $scrollbar-size;
|
|
@@ -66,15 +58,6 @@ body {
|
|
|
66
58
|
}
|
|
67
59
|
}
|
|
68
60
|
|
|
69
|
-
// h1,
|
|
70
|
-
// h2 {
|
|
71
|
-
// font-weight: 300;
|
|
72
|
-
// }
|
|
73
|
-
|
|
74
|
-
// label {
|
|
75
|
-
// font-weight: 600;
|
|
76
|
-
// }
|
|
77
|
-
|
|
78
61
|
// Idee für Effekt von http://www.w3schools.com/howto/howto_css_animate_buttons.asp
|
|
79
62
|
.btn,
|
|
80
63
|
.nav-pills > li > a,
|
package/dist/styles/_layout.scss
CHANGED
|
@@ -98,30 +98,18 @@ $actions-control-bg-hover: $bla-button-bg-hover !default;
|
|
|
98
98
|
// Width and height of the scrollbar indicators
|
|
99
99
|
$scrollbar-size: 10px;
|
|
100
100
|
|
|
101
|
-
:root
|
|
102
|
-
.blue-theme-with-scss {
|
|
101
|
+
:root {
|
|
103
102
|
--blue-sidebar-width: #{$bla-sidebar-width};
|
|
104
103
|
--blue-sidebar-color-h: #{$blue-sidebar-color-h};
|
|
105
104
|
--blue-sidebar-color-s: #{$blue-sidebar-color-s};
|
|
106
105
|
--blue-sidebar-color-l: #{$blue-sidebar-color-l};
|
|
107
106
|
--blue-sidebar-color: #{$blue-sidebar-color};
|
|
108
|
-
--blue-theme: #{$theme};
|
|
109
|
-
|
|
110
|
-
--blue-app-bg: #{$app-bg};
|
|
111
|
-
--blue-sidebar-bg: #{$sidebar-bg};
|
|
112
|
-
--blue-header-bg: #{$header-bg};
|
|
113
|
-
--blue-menu-item-indicator-bg: #{$sidebar-indicator-color};
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.blue-theme-with-css {
|
|
117
107
|
--blue-theme: var(--theme, #{$theme});
|
|
108
|
+
--blue-shimmering: 0.8;
|
|
118
109
|
|
|
119
110
|
--blue-app-bg: var(--blue-theme, #{$app-bg});
|
|
120
111
|
--blue-sidebar-bg: var(--blue-theme, #{$sidebar-bg});
|
|
121
112
|
--blue-header-bg: var(--blue-theme, #{$header-bg});
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
:root {
|
|
125
|
-
--blue-shimmering: 0.8;
|
|
126
113
|
--blue-action-link-bg-color: var(--blue-theme);
|
|
114
|
+
--blue-menu-item-indicator-bg: #{$sidebar-indicator-color};
|
|
127
115
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "blue-react",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0-alpha1",
|
|
4
4
|
"description": "Blue React Components",
|
|
5
5
|
"license": "LGPL-3.0-or-later",
|
|
6
6
|
"main": "index.js",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"test": "react-scripts test",
|
|
25
25
|
"eject": "react-scripts eject",
|
|
26
26
|
"predeploy": "npm run build-docs",
|
|
27
|
-
"deploy": "gh-pages --dist build --dest
|
|
27
|
+
"deploy": "gh-pages --dist build --dest v9",
|
|
28
28
|
"prepublishOnly": "npm i && npm run build-release",
|
|
29
|
-
"release": "npm publish && npm run deploy",
|
|
29
|
+
"release": "npm publish --tag next && npm run deploy",
|
|
30
30
|
"prettier": "npx prettier --write .",
|
|
31
31
|
"license-report": "npx license-report --prod --output=json > ./src/docs/data/license-report.json"
|
|
32
32
|
},
|
package/dist/styles/_switch.scss
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
$width: 2.188rem;
|
|
2
|
-
$height: 1.25rem;
|
|
3
|
-
$padding: 0.188rem;
|
|
4
|
-
|
|
5
|
-
$switch-active-color: $success;
|
|
6
|
-
|
|
7
|
-
.switch {
|
|
8
|
-
@include switch();
|
|
9
|
-
|
|
10
|
-
&.lg {
|
|
11
|
-
@include switch(100px, 30px);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/* Rounded sliders */
|
|
16
|
-
.slider.round {
|
|
17
|
-
border-radius: $height;
|
|
18
|
-
}
|
|
19
|
-
.slider.round:before {
|
|
20
|
-
border-radius: 50%;
|
|
21
|
-
}
|