@commercetools-frontend/react-notifications 22.41.0 → 22.42.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.
- package/dist/commercetools-frontend-react-notifications.cjs.dev.js +1 -1
- package/dist/commercetools-frontend-react-notifications.cjs.prod.js +1 -1
- package/dist/commercetools-frontend-react-notifications.esm.js +1 -1
- package/dist/declarations/src/components/map-notification-to-component/map-notification-to-component.d.ts +1 -1
- package/dist/declarations/src/components/notification/notification.d.ts +1 -1
- package/dist/declarations/src/components/notification-kinds/api-error/api-error.d.ts +1 -1
- package/dist/declarations/src/components/notification-kinds/api-error-message/api-error-message.d.ts +1 -1
- package/dist/declarations/src/components/notification-kinds/generic/generic.d.ts +1 -1
- package/dist/declarations/src/components/notification-kinds/unexpected-error/unexpected-error.d.ts +1 -1
- package/dist/declarations/src/components/notifications-list/notifications-list.d.ts +1 -1
- package/package.json +15 -15
|
@@ -61,7 +61,7 @@ var _sliceInstanceProperty__default = /*#__PURE__*/_interopDefault(_sliceInstanc
|
|
|
61
61
|
var isNumber__default = /*#__PURE__*/_interopDefault(isNumber);
|
|
62
62
|
|
|
63
63
|
// NOTE: This string will be replaced on build time with the package version.
|
|
64
|
-
var version = "22.
|
|
64
|
+
var version = "22.42.0";
|
|
65
65
|
|
|
66
66
|
const Context = /*#__PURE__*/react.createContext(() => null);
|
|
67
67
|
function NotificationProviderForCustomComponent(props) {
|
|
@@ -61,7 +61,7 @@ var _sliceInstanceProperty__default = /*#__PURE__*/_interopDefault(_sliceInstanc
|
|
|
61
61
|
var isNumber__default = /*#__PURE__*/_interopDefault(isNumber);
|
|
62
62
|
|
|
63
63
|
// NOTE: This string will be replaced on build time with the package version.
|
|
64
|
-
var version = "22.
|
|
64
|
+
var version = "22.42.0";
|
|
65
65
|
|
|
66
66
|
const Context = /*#__PURE__*/react.createContext(() => null);
|
|
67
67
|
function NotificationProviderForCustomComponent(props) {
|
|
@@ -35,7 +35,7 @@ import isNumber from 'lodash/isNumber';
|
|
|
35
35
|
import { useShowNotification } from '@commercetools-frontend/actions-global';
|
|
36
36
|
|
|
37
37
|
// NOTE: This string will be replaced on build time with the package version.
|
|
38
|
-
var version = "22.
|
|
38
|
+
var version = "22.42.0";
|
|
39
39
|
|
|
40
40
|
const Context = /*#__PURE__*/createContext(() => null);
|
|
41
41
|
function NotificationProviderForCustomComponent(props) {
|
|
@@ -4,7 +4,7 @@ export type Props = {
|
|
|
4
4
|
mapNotificationToComponent: (notification: TAppNotificationGlobal | TAppNotificationPage | TAppNotificationSide) => ElementType | null;
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
};
|
|
7
|
-
declare function NotificationProviderForCustomComponent(props: Props): import("@emotion/react/
|
|
7
|
+
declare function NotificationProviderForCustomComponent(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
8
|
declare namespace NotificationProviderForCustomComponent {
|
|
9
9
|
var displayName: string;
|
|
10
10
|
}
|
|
@@ -8,7 +8,7 @@ export type Props = {
|
|
|
8
8
|
children: ReactNode;
|
|
9
9
|
};
|
|
10
10
|
declare const Notification: {
|
|
11
|
-
({ fixed, ...props }: Props): import("@emotion/react/
|
|
11
|
+
({ fixed, ...props }: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
14
14
|
export default Notification;
|
|
@@ -10,7 +10,7 @@ type Props = {
|
|
|
10
10
|
dismiss: (event: SyntheticEvent) => void;
|
|
11
11
|
};
|
|
12
12
|
declare const ApiErrorNotification: {
|
|
13
|
-
(props: Props): import("@emotion/react/
|
|
13
|
+
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
14
14
|
displayName: string;
|
|
15
15
|
};
|
|
16
16
|
export default ApiErrorNotification;
|
package/dist/declarations/src/components/notification-kinds/api-error-message/api-error-message.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ type Props = {
|
|
|
28
28
|
error: TAppNotificationApiError<ExtraErrorFields>;
|
|
29
29
|
};
|
|
30
30
|
declare const ApiErrorMessage: {
|
|
31
|
-
(props: Props): import("@emotion/react/
|
|
31
|
+
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
32
32
|
displayName: string;
|
|
33
33
|
};
|
|
34
34
|
export default ApiErrorMessage;
|
|
@@ -9,7 +9,7 @@ type Props = {
|
|
|
9
9
|
dismiss: (event: SyntheticEvent) => void;
|
|
10
10
|
};
|
|
11
11
|
declare const GenericNotification: {
|
|
12
|
-
(props: Props): import("@emotion/react/
|
|
12
|
+
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
13
13
|
displayName: string;
|
|
14
14
|
};
|
|
15
15
|
export default GenericNotification;
|
package/dist/declarations/src/components/notification-kinds/unexpected-error/unexpected-error.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ type Props = {
|
|
|
10
10
|
dismiss: (event: SyntheticEvent) => void;
|
|
11
11
|
};
|
|
12
12
|
declare const UnexpectedErrorNotification: {
|
|
13
|
-
(props: Props): import("@emotion/react/
|
|
13
|
+
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
14
14
|
displayName: string;
|
|
15
15
|
};
|
|
16
16
|
export default UnexpectedErrorNotification;
|
|
@@ -3,7 +3,7 @@ type Props = {
|
|
|
3
3
|
domain: TAppNotificationDomain;
|
|
4
4
|
};
|
|
5
5
|
declare const NotificationsList: {
|
|
6
|
-
(props: Props): import("@emotion/react/
|
|
6
|
+
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
7
7
|
displayName: string;
|
|
8
8
|
};
|
|
9
9
|
export default NotificationsList;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/react-notifications",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.42.0",
|
|
4
4
|
"description": "React bindings for @commercetools-frontend/notifications",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -30,20 +30,20 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@babel/runtime": "^7.22.15",
|
|
32
32
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
33
|
-
"@commercetools-frontend/actions-global": "22.
|
|
34
|
-
"@commercetools-frontend/application-components": "22.
|
|
35
|
-
"@commercetools-frontend/constants": "22.
|
|
36
|
-
"@commercetools-frontend/notifications": "22.
|
|
37
|
-
"@commercetools-frontend/sentry": "22.
|
|
38
|
-
"@commercetools-uikit/design-system": "^19.
|
|
39
|
-
"@commercetools-uikit/hooks": "^19.
|
|
40
|
-
"@commercetools-uikit/icon-button": "^19.
|
|
41
|
-
"@commercetools-uikit/icons": "^19.
|
|
42
|
-
"@commercetools-uikit/secondary-icon-button": "^19.
|
|
43
|
-
"@commercetools-uikit/spacings": "^19.
|
|
44
|
-
"@commercetools-uikit/utils": "^19.
|
|
45
|
-
"@emotion/react": "^11.
|
|
46
|
-
"@emotion/styled": "^11.
|
|
33
|
+
"@commercetools-frontend/actions-global": "22.42.0",
|
|
34
|
+
"@commercetools-frontend/application-components": "22.42.0",
|
|
35
|
+
"@commercetools-frontend/constants": "22.42.0",
|
|
36
|
+
"@commercetools-frontend/notifications": "22.42.0",
|
|
37
|
+
"@commercetools-frontend/sentry": "22.42.0",
|
|
38
|
+
"@commercetools-uikit/design-system": "^19.22.3",
|
|
39
|
+
"@commercetools-uikit/hooks": "^19.22.3",
|
|
40
|
+
"@commercetools-uikit/icon-button": "^19.22.3",
|
|
41
|
+
"@commercetools-uikit/icons": "^19.22.3",
|
|
42
|
+
"@commercetools-uikit/secondary-icon-button": "^19.22.3",
|
|
43
|
+
"@commercetools-uikit/spacings": "^19.22.3",
|
|
44
|
+
"@commercetools-uikit/utils": "^19.22.3",
|
|
45
|
+
"@emotion/react": "^11.14.0",
|
|
46
|
+
"@emotion/styled": "^11.14.0",
|
|
47
47
|
"@types/history": "^4.7.11",
|
|
48
48
|
"@types/lodash": "^4.14.198",
|
|
49
49
|
"@types/prop-types": "^15.7.5",
|