blue-react 8.5.0-beta.3 → 8.5.1

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.5.0-beta.3-beta1 (https://bruegmann.github.io/blue-react)
2
+ * Blue React v8.5.1-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
 
@@ -16,7 +16,7 @@
16
16
  @import "./styles/_general";
17
17
  @import "./styles/_router";
18
18
  @import "./styles/_status";
19
- @import "./styles/_grid";
19
+ @import "./styles/_layout";
20
20
  @import "./styles/_search";
21
21
  @import "./styles/action-menu";
22
22
  @import "./styles/_switch";
@@ -73,14 +73,14 @@ body {
73
73
  }
74
74
  }
75
75
 
76
- h1,
77
- h2 {
78
- font-weight: 300;
79
- }
76
+ // h1,
77
+ // h2 {
78
+ // font-weight: 300;
79
+ // }
80
80
 
81
- label {
82
- font-weight: 600;
83
- }
81
+ // label {
82
+ // font-weight: 600;
83
+ // }
84
84
 
85
85
  // Idee für Effekt von http://www.w3schools.com/howto/howto_css_animate_buttons.asp
86
86
  .btn,
@@ -111,26 +111,26 @@ label {
111
111
  .page-header {
112
112
  padding-bottom: 0.563rem;
113
113
  margin: 2.5rem 0 1.25rem;
114
- border-bottom: 1px solid $table-border-color;
114
+ border-bottom: 0.25rem solid var(--blue-page-header-border-color, $table-border-color);
115
115
  }
116
116
 
117
- .dark-area {
118
- background-color: $gray-900;
119
- color: #fff;
117
+ // .dark-area {
118
+ // background-color: $gray-900;
119
+ // color: #fff;
120
120
 
121
- a:not(.btn) {
122
- color: lighten($link-color, 15%);
121
+ // a:not(.btn) {
122
+ // color: lighten($link-color, 15%);
123
123
 
124
- &:hover,
125
- &:focus {
126
- color: lighten($link-color, 30%);
127
- }
128
- }
129
- }
124
+ // &:hover,
125
+ // &:focus {
126
+ // color: lighten($link-color, 30%);
127
+ // }
128
+ // }
129
+ // }
130
130
 
131
- .alert-dismissible .close {
132
- top: -0.375rem;
133
- }
131
+ // .alert-dismissible .close {
132
+ // top: -0.375rem;
133
+ // }
134
134
 
135
135
  .blue-wrapper {
136
136
  z-index: 3 !important;
File without changes
@@ -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,7 +20,9 @@ $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
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.
24
26
  // $theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value");
25
27
  // $utilities-colors: map-merge($utilities-colors, $theme-colors-rgb);
26
28
  // $utilities-text-colors: map-merge($utilities-text-colors, map-loop($utilities-colors, rgba-css-var, "$key", "text"));
@@ -0,0 +1,10 @@
1
+ import { ReactNode } from "react";
2
+ export interface SlimContainerProps {
3
+ children?: ReactNode;
4
+ className?: string;
5
+ innerClassName?: string;
6
+ }
7
+ /**
8
+ * Shortcut for a combination using Bootstrap's Grid System to create a slim responsive container.
9
+ */
10
+ export default function SlimContainer({ children, className, innerClassName }: SlimContainerProps): JSX.Element;
package/index.d.ts CHANGED
@@ -56,6 +56,9 @@ export { SearchProps } from "./dist/types/components/Search"
56
56
  export { default as SidebarMenu } from "./dist/types/components/SidebarMenu"
57
57
  export { SidebarMenuProps } from "./dist/types/components/SidebarMenu"
58
58
 
59
+ export { default as SlimContainer } from "./dist/types/components/SlimContainer"
60
+ export { SlimContainerProps } from "./dist/types/components/SlimContainer"
61
+
59
62
  export { default as Status } from "./dist/types/components/Status"
60
63
  export { StatusProps } from "./dist/types/components/Status"
61
64
 
package/index.js CHANGED
@@ -1,7 +1,5 @@
1
1
  exports.ActionMenu = require("./dist/components/ActionMenu.js")["default"]
2
- exports.ActionMenuSwitch = require("./dist/components/ActionMenuSwitch.js")[
3
- "default"
4
- ]
2
+ exports.ActionMenuSwitch = require("./dist/components/ActionMenuSwitch.js")["default"]
5
3
  exports.Body = require("./dist/components/Body.js")["default"]
6
4
  exports.BodyRounded = require("./dist/components/BodyRounded.js")["default"]
7
5
  exports.Caret = require("./dist/components/Caret.js")["default"]
@@ -12,14 +10,13 @@ exports.HeaderTitle = require("./dist/components/HeaderTitle.js")["default"]
12
10
  exports.Intro = require("./dist/components/Intro.js")["default"]
13
11
  exports.MenuItem = require("./dist/components/MenuItem.js")["default"]
14
12
  exports.Modal = require("./dist/components/Modal.js")["default"]
15
- exports.ModalProvider = require("./dist/components/ModalProvider.js")[
16
- "ModalProvider"
17
- ]
13
+ exports.ModalProvider = require("./dist/components/ModalProvider.js")["ModalProvider"]
18
14
  exports.useModal = require("./dist/components/ModalProvider.js")["useModal"]
19
15
  exports.Outside = require("./dist/components/Outside.js")["default"]
20
16
  exports.Page = require("./dist/components/Page.js")["default"]
21
17
  exports.Search = require("./dist/components/Search.js")["default"]
22
18
  exports.SidebarMenu = require("./dist/components/SidebarMenu.js")["default"]
19
+ exports.SlimContainer = require("./dist/components/SlimContainer.js")["default"]
23
20
  exports.Status = require("./dist/components/Status.js")["default"]
24
21
  exports.StatusProvider = require("./dist/components/StatusProvider.js")["StatusProvider"]
25
22
  exports.useStatus = require("./dist/components/StatusProvider.js")["useStatus"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blue-react",
3
- "version": "8.5.0-beta.3",
3
+ "version": "8.5.1",
4
4
  "description": "Blue React Components",
5
5
  "license": "LGPL-3.0-or-later",
6
6
  "main": "index.js",
@@ -26,7 +26,7 @@
26
26
  "predeploy": "npm run build-docs",
27
27
  "deploy": "gh-pages --dist build --dest v8",
28
28
  "prepublishOnly": "npm i && npm run build-release",
29
- "release": "npm publish --tag next && npm run deploy",
29
+ "release": "npm publish && npm run deploy",
30
30
  "prettier": "npx prettier --write ."
31
31
  },
32
32
  "dependencies": {