@steroidsjs/bootstrap 3.0.0-beta.111 → 3.0.0-beta.112
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.
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
exports.__esModule = true;
|
|
6
|
+
var react_1 = __importDefault(require("react"));
|
|
7
|
+
var hooks_1 = require("@steroidsjs/core/hooks");
|
|
8
|
+
var typography_1 = require("@steroidsjs/core/ui/typography");
|
|
9
|
+
function DashboardItemView(props) {
|
|
10
|
+
var bem = (0, hooks_1.useBem)('DashboardItemView');
|
|
11
|
+
return (react_1["default"].createElement("div", { className: bem.block() },
|
|
12
|
+
react_1["default"].createElement(typography_1.Title, { content: props.title, type: 'h3' }),
|
|
13
|
+
props.children));
|
|
14
|
+
}
|
|
15
|
+
exports["default"] = DashboardItemView;
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -26,6 +26,9 @@ exports["default"] = {
|
|
|
26
26
|
'content.CalendarView': {
|
|
27
27
|
lazy: function () { return require('./content/Calendar/CalendarView')["default"]; }
|
|
28
28
|
},
|
|
29
|
+
'content.DashboardItemView': {
|
|
30
|
+
lazy: function () { return require('./content/Dashboard/DashboardItemView')["default"]; }
|
|
31
|
+
},
|
|
29
32
|
'content.DetailView': {
|
|
30
33
|
lazy: function () { return require('./content/Detail/DetailView')["default"]; }
|
|
31
34
|
},
|
package/index.scss
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
@include meta.load-css('content/CalendarSystem/CalendarSystemView');
|
|
18
18
|
@include meta.load-css('content/CalendarSystem/CalendarSystemModal/CalendarSystemModalView');
|
|
19
19
|
@include meta.load-css('content/Card/CardView');
|
|
20
|
+
@include meta.load-css('content/Dashboard/DashboardItemView');
|
|
20
21
|
@include meta.load-css('content/Detail/DetailView');
|
|
21
22
|
@include meta.load-css('content/DropDown/DropDownView');
|
|
22
23
|
@include meta.load-css('content/Menu/MenuItemView');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steroidsjs/bootstrap",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.112",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "Vladimir Kozhin <hello@kozhindev.com>",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"react-use": "^17.4.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@steroidsjs/core": "^3.0 || >=3.0.0-beta.
|
|
40
|
+
"@steroidsjs/core": "^3.0 || >=3.0.0-beta.97",
|
|
41
41
|
"@steroidsjs/eslint-config": "^2.1.4",
|
|
42
42
|
"@types/enzyme": "^3.10.8",
|
|
43
43
|
"@types/googlemaps": "^3.43.3",
|