@commercetools-frontend/react-notifications 21.0.0 → 21.2.1
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.
|
@@ -60,7 +60,7 @@ var _sliceInstanceProperty__default = /*#__PURE__*/_interopDefault(_sliceInstanc
|
|
|
60
60
|
var isNumber__default = /*#__PURE__*/_interopDefault(isNumber);
|
|
61
61
|
|
|
62
62
|
// NOTE: This string will be replaced on build time with the package version.
|
|
63
|
-
var version = "21.
|
|
63
|
+
var version = "21.2.1";
|
|
64
64
|
|
|
65
65
|
var Context = /*#__PURE__*/react.createContext(function () {
|
|
66
66
|
return null;
|
|
@@ -838,7 +838,6 @@ var Notifier = function Notifier(props) {
|
|
|
838
838
|
var showNotification = actionsGlobal.useShowNotification();
|
|
839
839
|
react.useEffect(function () {
|
|
840
840
|
var notification = showNotification({
|
|
841
|
-
id: 0,
|
|
842
841
|
domain: props.domain,
|
|
843
842
|
kind: props.kind,
|
|
844
843
|
text: props.text
|
|
@@ -60,7 +60,7 @@ var _sliceInstanceProperty__default = /*#__PURE__*/_interopDefault(_sliceInstanc
|
|
|
60
60
|
var isNumber__default = /*#__PURE__*/_interopDefault(isNumber);
|
|
61
61
|
|
|
62
62
|
// NOTE: This string will be replaced on build time with the package version.
|
|
63
|
-
var version = "21.
|
|
63
|
+
var version = "21.2.1";
|
|
64
64
|
|
|
65
65
|
var Context = /*#__PURE__*/react.createContext(function () {
|
|
66
66
|
return null;
|
|
@@ -809,7 +809,6 @@ var Notifier = function Notifier(props) {
|
|
|
809
809
|
var showNotification = actionsGlobal.useShowNotification();
|
|
810
810
|
react.useEffect(function () {
|
|
811
811
|
var notification = showNotification({
|
|
812
|
-
id: 0,
|
|
813
812
|
domain: props.domain,
|
|
814
813
|
kind: props.kind,
|
|
815
814
|
text: props.text
|
|
@@ -34,7 +34,7 @@ import isNumber from 'lodash/isNumber';
|
|
|
34
34
|
import { useShowNotification } from '@commercetools-frontend/actions-global';
|
|
35
35
|
|
|
36
36
|
// NOTE: This string will be replaced on build time with the package version.
|
|
37
|
-
var version = "21.
|
|
37
|
+
var version = "21.2.1";
|
|
38
38
|
|
|
39
39
|
var Context = /*#__PURE__*/createContext(function () {
|
|
40
40
|
return null;
|
|
@@ -812,7 +812,6 @@ var Notifier = function Notifier(props) {
|
|
|
812
812
|
var showNotification = useShowNotification();
|
|
813
813
|
useEffect(function () {
|
|
814
814
|
var notification = showNotification({
|
|
815
|
-
id: 0,
|
|
816
815
|
domain: props.domain,
|
|
817
816
|
kind: props.kind,
|
|
818
817
|
text: props.text
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/react-notifications",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.2.1",
|
|
4
4
|
"description": "React bindings for @commercetools-frontend/notifications",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@babel/runtime": "^7.16.7",
|
|
22
22
|
"@babel/runtime-corejs3": "^7.16.8",
|
|
23
|
-
"@commercetools-frontend/actions-global": "21.
|
|
23
|
+
"@commercetools-frontend/actions-global": "21.2.1",
|
|
24
24
|
"@commercetools-frontend/constants": "21.0.0",
|
|
25
|
-
"@commercetools-frontend/notifications": "21.
|
|
26
|
-
"@commercetools-frontend/sentry": "21.
|
|
27
|
-
"@commercetools-uikit/design-system": "^
|
|
28
|
-
"@commercetools-uikit/icon-button": "^
|
|
29
|
-
"@commercetools-uikit/icons": "^
|
|
30
|
-
"@commercetools-uikit/spacings": "^
|
|
31
|
-
"@emotion/react": "11.
|
|
32
|
-
"@emotion/styled": "11.
|
|
25
|
+
"@commercetools-frontend/notifications": "21.2.1",
|
|
26
|
+
"@commercetools-frontend/sentry": "21.2.1",
|
|
27
|
+
"@commercetools-uikit/design-system": "^14.0.0",
|
|
28
|
+
"@commercetools-uikit/icon-button": "^14.0.1",
|
|
29
|
+
"@commercetools-uikit/icons": "^14.0.1",
|
|
30
|
+
"@commercetools-uikit/spacings": "^14.0.1",
|
|
31
|
+
"@emotion/react": "11.8.2",
|
|
32
|
+
"@emotion/styled": "11.8.1",
|
|
33
33
|
"@types/history": "4.7.11",
|
|
34
34
|
"@types/lodash": "^4.14.178",
|
|
35
35
|
"@types/prop-types": "^15.7.4",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"reselect": "4.1.5"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@testing-library/react": "12.1.
|
|
48
|
+
"@testing-library/react": "12.1.4",
|
|
49
49
|
"react": "17.0.2",
|
|
50
50
|
"react-dom": "17.0.2",
|
|
51
|
-
"react-intl": "5.24.
|
|
51
|
+
"react-intl": "5.24.7",
|
|
52
52
|
"react-redux": "7.2.6",
|
|
53
53
|
"react-router-dom": "5.3.0"
|
|
54
54
|
},
|