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/style.scss CHANGED
@@ -1,17 +1,17 @@
1
1
  /*!
2
- * Blue React v8.8.3 (https://bruegmann.github.io/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.scss";
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.scss";
9
+ @import "./styles/_variables";
10
10
 
11
- @import "./styles/_mixins.scss";
12
- @import "./styles/_keyframes.scss";
11
+ @import "./styles/_mixins";
12
+ @import "./styles/_keyframes";
13
13
 
14
- @import "./styles/_bootstrap.scss";
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.scss";
26
+ @import "./styles/_bootstrap-optimizations";
@@ -73,7 +73,7 @@
73
73
  }
74
74
 
75
75
  .blue-menu-item-label,
76
- .blue-menu-item-dropdown-caret.caret {
76
+ .blue-menu-item-dropdown-caret.blue-caret {
77
77
  display: initial;
78
78
  }
79
79
  }
@@ -1,11 +1,3 @@
1
- .container,
2
- .container-fluid {
3
- &:before {
4
- content: "";
5
- display: table;
6
- }
7
- }
8
-
9
1
  @include media-breakpoint-up(sm) {
10
2
  .form-horizontal .col-form-label {
11
3
  text-align: right;
@@ -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,
@@ -374,7 +374,7 @@
374
374
  }
375
375
  }
376
376
 
377
- .blue-menu-item-dropdown-caret.caret {
377
+ .blue-menu-item-dropdown-caret.blue-caret {
378
378
  display: none;
379
379
  position: absolute;
380
380
  right: 1.5rem;
@@ -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
  }
@@ -38,7 +38,7 @@
38
38
  left: $bla-sidebar-width;
39
39
  }
40
40
 
41
- .blue-menu-item-dropdown-caret.caret {
41
+ .blue-menu-item-dropdown-caret.blue-caret {
42
42
  display: flex;
43
43
  }
44
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blue-react",
3
- "version": "8.8.3",
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 v8",
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
  },
@@ -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
- }