blue-react 8.0.0-next.2 → 8.0.0-next.3

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.0.0-next.2 (https://bruegmann.github.io/blue-react)
2
+ * Blue React v8.0.0-next.3 (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
 
@@ -22,6 +22,12 @@ $theme-colors: map-merge(
22
22
  $theme-colors
23
23
  );
24
24
 
25
+ // Since Bootstrap 5.1 this needs to be set. Otherwise we couldn't use .bg-* and .text-* utils with our custom $theme
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"));
30
+
25
31
  // Alpha value (RGBA) e.g. for header background.
26
32
  $shimmering: 0.7 !default;
27
33
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blue-react",
3
- "version": "8.0.0-next.2",
3
+ "version": "8.0.0-next.3",
4
4
  "description": "Blue React Components",
5
5
  "license": "LGPL-3.0-or-later",
6
6
  "main": "index.js",
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@popperjs/core": "^2.10.2",
34
- "bootstrap": "5.0",
34
+ "bootstrap": "^5.1.3",
35
35
  "clsx": "^1.1.1"
36
36
  },
37
37
  "peerDependencies": {