blue-react 8.5.0 → 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/components/SlimContainer.js +24 -0
- package/dist/style.css +3 -20
- package/dist/style.min.css +3 -3
- package/dist/style.scss +2 -2
- package/dist/styles/_general.scss +22 -22
- package/dist/styles/{_grid.scss → _layout.scss} +0 -0
- package/dist/types/components/SlimContainer.d.ts +10 -0
- package/index.d.ts +3 -0
- package/index.js +3 -6
- package/package.json +1 -1
package/dist/style.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Blue React v8.5.
|
|
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/
|
|
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
|
-
|
|
79
|
-
}
|
|
76
|
+
// h1,
|
|
77
|
+
// h2 {
|
|
78
|
+
// font-weight: 300;
|
|
79
|
+
// }
|
|
80
80
|
|
|
81
|
-
label {
|
|
82
|
-
|
|
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:
|
|
114
|
+
border-bottom: 0.25rem solid var(--blue-page-header-border-color, $table-border-color);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
.dark-area {
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
// .dark-area {
|
|
118
|
+
// background-color: $gray-900;
|
|
119
|
+
// color: #fff;
|
|
120
120
|
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
// a:not(.btn) {
|
|
122
|
+
// color: lighten($link-color, 15%);
|
|
123
123
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}
|
|
124
|
+
// &:hover,
|
|
125
|
+
// &:focus {
|
|
126
|
+
// color: lighten($link-color, 30%);
|
|
127
|
+
// }
|
|
128
|
+
// }
|
|
129
|
+
// }
|
|
130
130
|
|
|
131
|
-
.alert-dismissible .close {
|
|
132
|
-
|
|
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
|
|
@@ -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"]
|