blue-react 8.4.6 → 8.5.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/dist/style.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Blue React v8.4.6 (https://bruegmann.github.io/blue-react)
2
+ * Blue React v8.5.0-beta1 (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
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap v5.0.1 (https://getbootstrap.com/)
2
+ * Bootstrap v5.2.0 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2021 The Bootstrap Authors
4
4
  * Copyright 2011-2021 Twitter, Inc.
5
5
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -9,9 +9,10 @@
9
9
  // Configuration
10
10
  @import "node_modules/bootstrap/scss/functions";
11
11
  @import "node_modules/bootstrap/scss/variables";
12
+ @import "node_modules/bootstrap/scss/maps";
12
13
  @import "node_modules/bootstrap/scss/mixins";
13
14
 
14
- @import "./_bootstrap-mixins_overwritten.scss";
15
+ // @import "./_bootstrap-mixins_overwritten.scss";
15
16
 
16
17
  @import "node_modules/bootstrap/scss/utilities";
17
18
 
@@ -5,7 +5,7 @@
5
5
  --action-link-bg-color: var(--theme);
6
6
  }
7
7
 
8
- @include custom-scrollbar($scrollbar-thumb-color, $theme, false);
8
+ @include custom-scrollbar($scrollbar-thumb-color, transparent, false);
9
9
 
10
10
  * {
11
11
  scrollbar-width: thin;
@@ -89,10 +89,8 @@ label {
89
89
  .pagination > li > a,
90
90
  .list-group a.list-group-item {
91
91
  &:not(.disabled):not(.readonly):not(.dropdown-toggle) {
92
- -webkit-transition: background-color 0.3s, color 0.15s, box-shadow 0.3s,
93
- opacity 0.3s;
94
- transition: background-color 0.3s, color 0.15s, box-shadow 0.3s,
95
- opacity 0.3s;
92
+ -webkit-transition: background-color 0.3s, color 0.15s, box-shadow 0.3s, opacity 0.3s;
93
+ transition: background-color 0.3s, color 0.15s, box-shadow 0.3s, opacity 0.3s;
96
94
  position: relative;
97
95
 
98
96
  &:hover,
@@ -218,7 +218,6 @@
218
218
  }
219
219
 
220
220
  .blue-page {
221
- background-color: $body-bg;
222
221
  min-height: calc(100vh - #{$normal-size});
223
222
  margin-top: $normal-size;
224
223
  }
@@ -1,10 +1,10 @@
1
- /* Bootstrap */
1
+ // Bootstrap
2
2
  $primary: #007bff !default;
3
3
  $success: #4bd763 !default;
4
4
  $info: rgb(62, 158, 187) !default;
5
5
  $warning: #f0ad4e !default;
6
6
  $danger: #d9534f !default;
7
- /* Bootstrap ENDE */
7
+ // Bootstrap ENDE
8
8
 
9
9
  // Main color theme. E.g. used for background for body and sidebar.
10
10
  $theme: $primary !default;
@@ -20,11 +20,13 @@ $theme-colors: map-merge(
20
20
  $theme-colors
21
21
  );
22
22
 
23
- // Since Bootstrap 5.1 this needs to be set. Otherwise we couldn't use .bg-* and .text-* utils with our custom $theme
24
- $theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value");
25
- $utilities-colors: map-merge($utilities-colors, $theme-colors-rgb);
26
- $utilities-text-colors: map-merge($utilities-text-colors, map-loop($utilities-colors, rgba-css-var, "$key", "text"));
27
- $utilities-bg-colors: map-merge($utilities-bg-colors, map-loop($utilities-colors, rgba-css-var, "$key", "bg"));
23
+ // For Bootstrap 5.1 this needs to be set. Otherwise we couldn't use .bg-* and .text-* utils with our custom $theme
24
+ // Since Bootstrap 5.2 it's no longer required, so it's commented out. If everything works fine, this can be removed for
25
+ // future releases.
26
+ // $theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value");
27
+ // $utilities-colors: map-merge($utilities-colors, $theme-colors-rgb);
28
+ // $utilities-text-colors: map-merge($utilities-text-colors, map-loop($utilities-colors, rgba-css-var, "$key", "text"));
29
+ // $utilities-bg-colors: map-merge($utilities-bg-colors, map-loop($utilities-colors, rgba-css-var, "$key", "bg"));
28
30
 
29
31
  // Alpha value (RGBA) e.g. for header background.
30
32
  $shimmering: 0.7 !default;
@@ -1,14 +1,13 @@
1
1
  @mixin custom-scrollbar($thumb-color, $bg-color, $track-border-radius: 0) {
2
2
  ::-webkit-scrollbar-thumb {
3
- background-color: rgba($thumb-color, 0.4);
4
- box-shadow: inset 1px 1px 0 rgba($thumb-color, 0.1),
5
- inset 0 -1px 0 rgba($thumb-color, 0.07);
3
+ background-color: rgba($thumb-color, 0.5);
4
+ box-shadow: inset 1px 1px 0 rgba($thumb-color, 0.2), inset 0 -1px 0 rgba($thumb-color, 0.17);
6
5
  }
7
6
  ::-webkit-scrollbar-thumb:hover {
8
- background-color: rgba($thumb-color, 0.5);
7
+ background-color: rgba($thumb-color, 0.6);
9
8
  }
10
9
  ::-webkit-scrollbar-thumb:active {
11
- background-color: rgba($thumb-color, 0.6);
10
+ background-color: rgba($thumb-color, 0.7);
12
11
  }
13
12
 
14
13
  ::-webkit-scrollbar-track {
@@ -24,10 +23,6 @@
24
23
 
25
24
  @mixin header-bg() {
26
25
  background-color: rgba($header-bg, $shimmering);
27
- background-image: linear-gradient(
28
- 0deg,
29
- rgba($header-bg, 0.8),
30
- rgba($header-bg, 0.7)
31
- );
26
+ background-image: linear-gradient(0deg, rgba($header-bg, 0.8), rgba($header-bg, 0.7));
32
27
  backdrop-filter: blur(3px) saturate(125%);
33
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blue-react",
3
- "version": "8.4.6",
3
+ "version": "8.5.0",
4
4
  "description": "Blue React Components",
5
5
  "license": "LGPL-3.0-or-later",
6
6
  "main": "index.js",
@@ -30,8 +30,8 @@
30
30
  "prettier": "npx prettier --write ."
31
31
  },
32
32
  "dependencies": {
33
- "@popperjs/core": "^2.10.2",
34
- "bootstrap": "5.1.2",
33
+ "@popperjs/core": "^2.11.5",
34
+ "bootstrap": "~5.2.0",
35
35
  "clsx": "^1.1.1"
36
36
  },
37
37
  "peerDependencies": {