blue-react 8.0.0-next.5 → 8.0.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/README.md CHANGED
@@ -11,19 +11,19 @@ use Blue React.
11
11
 
12
12
  ## Breaking changes between v7 and v8
13
13
 
14
- - Removed deprecated components:
15
- - Actions (Alternative: ActionMenu)
16
- - ActionMenuItem (Alternative: MenuItem)
17
- - FluentBtn (Alternative: button, bzw. a)
18
- - HeaderActions
19
- - DropdownMenuItem (Alternative: MenuItem)
20
- - Stylesheets
21
- - Renamed all `.blue-app-*` to `.blue-*`
22
- - Renamed `Grid` to `Layout`
23
- - `.blue-grid` `.blue-layout`
24
- - `Grid.tsx` ➡ `Layout.tsx`
25
- - Global `window.blueGridRef` ➡ `window.blueLayoutRef`
26
- - Renamed all `.blue-sidebar-*` to `.blue-menu-item-*`
14
+ - Removed deprecated components:
15
+ - Actions (Alternative: ActionMenu)
16
+ - ActionMenuItem (Alternative: MenuItem)
17
+ - FluentBtn (Alternative: button, bzw. a)
18
+ - HeaderActions
19
+ - DropdownMenuItem (Alternative: MenuItem)
20
+ - Stylesheets
21
+ - Renamed all `.blue-app-*` to `.blue-*`
22
+ - Renamed all `.blue-sidebar-*` to `.blue-menu-item-*`
23
+ - Renamed `Grid` to `Layout`
24
+ - `.blue-grid` ➡ `.blue-layout`
25
+ - `Grid.tsx` ➡ `Layout.tsx`
26
+ - Global `window.blueGridRef` `window.blueLayoutRef`
27
27
 
28
28
  ## Developing
29
29
 
@@ -1,44 +1,44 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = BodyRounded;
7
-
8
- var _react = _interopRequireDefault(require("react"));
9
-
10
- var _Body = _interopRequireDefault(require("./Body"));
11
-
12
- var _excluded = ["classNameTop", "classNameBottom", "children"];
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
-
16
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
17
-
18
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
19
-
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = BodyRounded;
7
+
8
+ var _react = _interopRequireDefault(require("react"));
9
+
10
+ var _Body = _interopRequireDefault(require("./Body"));
11
+
12
+ var _excluded = ["classNameTop", "classNameBottom", "children"];
13
+
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
+
16
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
17
+
18
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
19
+
20
20
  /**
21
21
  * Extended variation of `Body` with rounded elements on top and bottom of the page.
22
- */
23
- function BodyRounded(_ref) {
24
- var classNameTop = _ref.classNameTop,
25
- classNameBottom = _ref.classNameBottom,
26
- children = _ref.children,
27
- bodyProps = _objectWithoutProperties(_ref, _excluded);
28
-
29
- return /*#__PURE__*/_react.default.createElement(_Body.default, bodyProps, /*#__PURE__*/_react.default.createElement("div", {
30
- className: "blue-app-body-rounded-top bg-theme pt-1 d-none d-md-block " + classNameTop,
31
- style: {
32
- height: "1rem"
33
- }
34
- }, /*#__PURE__*/_react.default.createElement("div", {
35
- className: "rounded-top bg-body w-100 h-100"
36
- })), children, /*#__PURE__*/_react.default.createElement("div", {
37
- className: "blue-app-body-rounded-bottom bg-theme pb-1 d-none d-md-block " + classNameBottom,
38
- style: {
39
- height: "1rem"
40
- }
41
- }, /*#__PURE__*/_react.default.createElement("div", {
42
- className: "rounded-bottom bg-body w-100 h-100"
43
- })));
22
+ */
23
+ function BodyRounded(_ref) {
24
+ var classNameTop = _ref.classNameTop,
25
+ classNameBottom = _ref.classNameBottom,
26
+ children = _ref.children,
27
+ bodyProps = _objectWithoutProperties(_ref, _excluded);
28
+
29
+ return /*#__PURE__*/_react.default.createElement(_Body.default, bodyProps, /*#__PURE__*/_react.default.createElement("div", {
30
+ className: "blue-app-body-rounded-top bg-theme pt-1 d-none d-md-block " + classNameTop,
31
+ style: {
32
+ height: "1rem"
33
+ }
34
+ }, /*#__PURE__*/_react.default.createElement("div", {
35
+ className: "rounded-top bg-body w-100 h-100"
36
+ })), children, /*#__PURE__*/_react.default.createElement("div", {
37
+ className: "blue-app-body-rounded-bottom bg-theme pb-1 d-none d-md-block " + classNameBottom,
38
+ style: {
39
+ height: "1rem"
40
+ }
41
+ }, /*#__PURE__*/_react.default.createElement("div", {
42
+ className: "rounded-bottom bg-body w-100 h-100"
43
+ })));
44
44
  }