@commercetools-uikit/notifications 12.2.5 → 13.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.
|
@@ -32,9 +32,9 @@ var _Object$defineProperties__default = /*#__PURE__*/_interopDefault(_Object$def
|
|
|
32
32
|
var _Object$defineProperty__default = /*#__PURE__*/_interopDefault(_Object$defineProperty);
|
|
33
33
|
var _pt__default = /*#__PURE__*/_interopDefault(_pt);
|
|
34
34
|
|
|
35
|
-
function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object);
|
|
35
|
+
function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object); enumerableOnly && (symbols = _filterInstanceProperty__default["default"](symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor__default["default"](object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
36
36
|
|
|
37
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
37
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys(Object(source), !0)).call(_context, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](target, _Object$getOwnPropertyDescriptors__default["default"](source)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } return target; }
|
|
38
38
|
|
|
39
39
|
var warnIfMissingContent = function warnIfMissingContent(props) {
|
|
40
40
|
var hasContent = Boolean(props.intlMessage) || Boolean(react$1.Children.count(props.children));
|
|
@@ -137,7 +137,7 @@ ContentNotification.displayName = 'ContentNotification';
|
|
|
137
137
|
var ContentNotification$1 = ContentNotification;
|
|
138
138
|
|
|
139
139
|
// NOTE: This string will be replaced on build time with the package version.
|
|
140
|
-
var version = "
|
|
140
|
+
var version = "13.0.0";
|
|
141
141
|
|
|
142
142
|
exports.ContentNotification = ContentNotification$1;
|
|
143
143
|
exports.version = version;
|
|
@@ -31,9 +31,9 @@ var _Object$getOwnPropertyDescriptors__default = /*#__PURE__*/_interopDefault(_O
|
|
|
31
31
|
var _Object$defineProperties__default = /*#__PURE__*/_interopDefault(_Object$defineProperties);
|
|
32
32
|
var _Object$defineProperty__default = /*#__PURE__*/_interopDefault(_Object$defineProperty);
|
|
33
33
|
|
|
34
|
-
function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object);
|
|
34
|
+
function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object); enumerableOnly && (symbols = _filterInstanceProperty__default["default"](symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor__default["default"](object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
35
35
|
|
|
36
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
36
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys(Object(source), !0)).call(_context, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](target, _Object$getOwnPropertyDescriptors__default["default"](source)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } return target; }
|
|
37
37
|
|
|
38
38
|
var warnIfMissingContent = function warnIfMissingContent(props) {
|
|
39
39
|
Boolean(props.intlMessage) || Boolean(react$1.Children.count(props.children));
|
|
@@ -126,7 +126,7 @@ ContentNotification.displayName = 'ContentNotification';
|
|
|
126
126
|
var ContentNotification$1 = ContentNotification;
|
|
127
127
|
|
|
128
128
|
// NOTE: This string will be replaced on build time with the package version.
|
|
129
|
-
var version = "
|
|
129
|
+
var version = "13.0.0";
|
|
130
130
|
|
|
131
131
|
exports.ContentNotification = ContentNotification$1;
|
|
132
132
|
exports.version = version;
|
|
@@ -16,9 +16,9 @@ import { CheckBoldIcon, WarningIcon, InfoIcon, ErrorIcon } from '@commercetools-
|
|
|
16
16
|
import { filterDataAttributes, warning } from '@commercetools-uikit/utils';
|
|
17
17
|
import { jsxs, jsx } from '@emotion/react/jsx-runtime';
|
|
18
18
|
|
|
19
|
-
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object);
|
|
19
|
+
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
20
20
|
|
|
21
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
21
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(source), !0)).call(_context, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
22
22
|
|
|
23
23
|
var warnIfMissingContent = function warnIfMissingContent(props) {
|
|
24
24
|
var hasContent = Boolean(props.intlMessage) || Boolean(Children.count(props.children));
|
|
@@ -121,6 +121,6 @@ ContentNotification.displayName = 'ContentNotification';
|
|
|
121
121
|
var ContentNotification$1 = ContentNotification;
|
|
122
122
|
|
|
123
123
|
// NOTE: This string will be replaced on build time with the package version.
|
|
124
|
-
var version = "
|
|
124
|
+
var version = "13.0.0";
|
|
125
125
|
|
|
126
126
|
export { ContentNotification$1 as ContentNotification, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/notifications",
|
|
3
3
|
"description": "Notification components.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "13.0.0",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -9,12 +9,7 @@
|
|
|
9
9
|
"directory": "packages/components/notifications"
|
|
10
10
|
},
|
|
11
11
|
"homepage": "https://uikit.commercetools.com",
|
|
12
|
-
"keywords": [
|
|
13
|
-
"javascript",
|
|
14
|
-
"design system",
|
|
15
|
-
"react",
|
|
16
|
-
"uikit"
|
|
17
|
-
],
|
|
12
|
+
"keywords": ["javascript", "design system", "react", "uikit"],
|
|
18
13
|
"license": "MIT",
|
|
19
14
|
"publishConfig": {
|
|
20
15
|
"access": "public"
|
|
@@ -22,30 +17,26 @@
|
|
|
22
17
|
"sideEffects": false,
|
|
23
18
|
"main": "dist/commercetools-uikit-notifications.cjs.js",
|
|
24
19
|
"module": "dist/commercetools-uikit-notifications.esm.js",
|
|
25
|
-
"files": [
|
|
26
|
-
"dist"
|
|
27
|
-
],
|
|
20
|
+
"files": ["dist"],
|
|
28
21
|
"dependencies": {
|
|
29
|
-
"@babel/runtime": "7.
|
|
30
|
-
"@babel/runtime-corejs3": "7.
|
|
31
|
-
"@commercetools-uikit/design-system": "
|
|
32
|
-
"@commercetools-uikit/icons": "
|
|
33
|
-
"@commercetools-uikit/utils": "12.2.
|
|
22
|
+
"@babel/runtime": "7.17.2",
|
|
23
|
+
"@babel/runtime-corejs3": "7.17.2",
|
|
24
|
+
"@commercetools-uikit/design-system": "13.0.0",
|
|
25
|
+
"@commercetools-uikit/icons": "13.0.0",
|
|
26
|
+
"@commercetools-uikit/utils": "12.2.9",
|
|
34
27
|
"@emotion/react": "^11.4.0",
|
|
35
28
|
"common-tags": "1.8.2",
|
|
36
|
-
"prop-types": "15.
|
|
29
|
+
"prop-types": "15.8.1"
|
|
37
30
|
},
|
|
38
31
|
"devDependencies": {
|
|
39
32
|
"react": "17.0.2",
|
|
40
|
-
"react-intl": "5.
|
|
33
|
+
"react-intl": "5.24.6"
|
|
41
34
|
},
|
|
42
35
|
"peerDependencies": {
|
|
43
36
|
"react": "17.x",
|
|
44
37
|
"react-intl": "5.x"
|
|
45
38
|
},
|
|
46
39
|
"readme": {
|
|
47
|
-
"componentPaths": [
|
|
48
|
-
"./src/content-notification/content-notification.tsx"
|
|
49
|
-
]
|
|
40
|
+
"componentPaths": ["./src/content-notification/content-notification.tsx"]
|
|
50
41
|
}
|
|
51
42
|
}
|