@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,2 @@
1
+ import { IDashboardItemViewProps } from '@steroidsjs/core/ui/content/Dashboard/Dashboard';
2
+ export default function DashboardItemView(props: IDashboardItemViewProps): JSX.Element;
@@ -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;
@@ -0,0 +1,8 @@
1
+ @use "sass:map";
2
+ @use "../../scss/variables";
3
+
4
+ .DashboardItemView {
5
+ padding: 15px;
6
+ border-radius: 12px;
7
+ background-color: variables.$white;
8
+ }
package/index.d.ts CHANGED
@@ -23,6 +23,9 @@ declare const _default: {
23
23
  'content.CalendarView': {
24
24
  lazy: () => any;
25
25
  };
26
+ 'content.DashboardItemView': {
27
+ lazy: () => any;
28
+ };
26
29
  'content.DetailView': {
27
30
  lazy: () => any;
28
31
  };
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.111",
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.96",
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",