@megafon/ui-shared 9.0.0-alpha.7 → 9.0.0-alpha.8
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/es/components/NotificationBox/NotificationBox.d.ts +1 -1
- package/dist/es/components/NotificationBox/NotificationBox.js +1 -4
- package/dist/lib/components/NotificationBox/NotificationBox.d.ts +1 -1
- package/dist/lib/components/NotificationBox/NotificationBox.js +1 -5
- package/package.json +3 -3
|
@@ -7,7 +7,7 @@ export declare const Align: {
|
|
|
7
7
|
};
|
|
8
8
|
type AlignType = (typeof Align)[keyof typeof Align];
|
|
9
9
|
type NotificationProps = React.ComponentProps<typeof Notification>;
|
|
10
|
-
type NotificationBoxProps =
|
|
10
|
+
type NotificationBoxProps = NotificationProps & {
|
|
11
11
|
/** Горизонтальное выравнивание */
|
|
12
12
|
align?: AlignType;
|
|
13
13
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
1
|
import "core-js/modules/es.symbol.js";
|
|
3
2
|
import "core-js/modules/es.array.index-of.js";
|
|
4
3
|
var __rest = this && this.__rest || function (s, e) {
|
|
@@ -28,8 +27,6 @@ var NotificationBox = function NotificationBox(_a) {
|
|
|
28
27
|
})
|
|
29
28
|
}, /*#__PURE__*/React.createElement("div", {
|
|
30
29
|
className: cn('notification')
|
|
31
|
-
}, /*#__PURE__*/React.createElement(Notification,
|
|
32
|
-
isColored: false
|
|
33
|
-
}))));
|
|
30
|
+
}, /*#__PURE__*/React.createElement(Notification, restProps)));
|
|
34
31
|
};
|
|
35
32
|
export default NotificationBox;
|
|
@@ -7,7 +7,7 @@ export declare const Align: {
|
|
|
7
7
|
};
|
|
8
8
|
type AlignType = (typeof Align)[keyof typeof Align];
|
|
9
9
|
type NotificationProps = React.ComponentProps<typeof Notification>;
|
|
10
|
-
type NotificationBoxProps =
|
|
10
|
+
type NotificationBoxProps = NotificationProps & {
|
|
11
11
|
/** Горизонтальное выравнивание */
|
|
12
12
|
align?: AlignType;
|
|
13
13
|
};
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports["default"] = exports.Align = void 0;
|
|
8
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
8
|
require("core-js/modules/es.symbol.js");
|
|
10
9
|
require("core-js/modules/es.array.index-of.js");
|
|
11
10
|
var React = _interopRequireWildcard(require("react"));
|
|
@@ -13,7 +12,6 @@ var _uiCore = require("@megafon/ui-core");
|
|
|
13
12
|
var _uiHelpers = require("@megafon/ui-helpers");
|
|
14
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
15
14
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
16
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
17
15
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
18
16
|
var t = {};
|
|
19
17
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
@@ -37,8 +35,6 @@ var NotificationBox = function NotificationBox(_a) {
|
|
|
37
35
|
})
|
|
38
36
|
}, /*#__PURE__*/React.createElement("div", {
|
|
39
37
|
className: cn('notification')
|
|
40
|
-
}, /*#__PURE__*/React.createElement(_uiCore.Notification,
|
|
41
|
-
isColored: false
|
|
42
|
-
}))));
|
|
38
|
+
}, /*#__PURE__*/React.createElement(_uiCore.Notification, restProps)));
|
|
43
39
|
};
|
|
44
40
|
var _default = exports["default"] = NotificationBox;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@megafon/ui-shared",
|
|
3
|
-
"version": "9.0.0-alpha.
|
|
3
|
+
"version": "9.0.0-alpha.8",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
79
|
"@babel/runtime": "^7.8.4",
|
|
80
|
-
"@megafon/ui-core": "^9.0.0-alpha.
|
|
80
|
+
"@megafon/ui-core": "^9.0.0-alpha.8",
|
|
81
81
|
"@megafon/ui-helpers": "^5.0.0-alpha.1",
|
|
82
82
|
"@megafon/ui-icons": "^4.0.0-alpha.3",
|
|
83
83
|
"core-js": "^3.6.4",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"lodash.throttle": "^4.1.1",
|
|
86
86
|
"swiper": "^11.1.1"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "5408ea18efefef2d21f6b358d14d1e1be78477e2"
|
|
89
89
|
}
|