@commercetools-frontend/react-notifications 21.23.9 → 21.24.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 +142 -170
- package/dist/commercetools-frontend-react-notifications.cjs.prod.js +131 -159
- package/dist/commercetools-frontend-react-notifications.esm.js +142 -170
- 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/generic/generic.d.ts +1 -1
- package/dist/declarations/src/components/notification-kinds/unexpected-error/unexpected-error.d.ts +1 -1
- package/package.json +14 -14
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { TAppNotificationGlobal, TAppNotificationPage, TAppNotificationSide } from '@commercetools-frontend/constants';
|
|
2
1
|
import { ElementType, ReactNode } from 'react';
|
|
2
|
+
import type { TAppNotificationGlobal, TAppNotificationPage, TAppNotificationSide } from '@commercetools-frontend/constants';
|
|
3
3
|
export type Props = {
|
|
4
4
|
mapNotificationToComponent: (notification: TAppNotificationGlobal | TAppNotificationPage | TAppNotificationSide) => ElementType | null;
|
|
5
5
|
children: ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { TAppNotificationKind, TAppNotificationDomain } from '@commercetools-frontend/constants';
|
|
2
1
|
import { ReactNode, SyntheticEvent } from 'react';
|
|
2
|
+
import type { TAppNotificationKind, TAppNotificationDomain } from '@commercetools-frontend/constants';
|
|
3
3
|
export type Props = {
|
|
4
4
|
domain: TAppNotificationDomain;
|
|
5
5
|
type: TAppNotificationKind;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { TAppNotification, TAppNotificationValuesApiError } from '@commercetools-frontend/constants';
|
|
2
1
|
import { SyntheticEvent } from 'react';
|
|
2
|
+
import type { TAppNotification, TAppNotificationValuesApiError } from '@commercetools-frontend/constants';
|
|
3
3
|
import { NOTIFICATION_DOMAINS, NOTIFICATION_KINDS_PAGE } from '@commercetools-frontend/constants';
|
|
4
4
|
type Props = {
|
|
5
5
|
notification: TAppNotification<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { TAppNotification, TAppNotificationDomain, TAppNotificationKindSide } from '@commercetools-frontend/constants';
|
|
2
1
|
import { SyntheticEvent } from 'react';
|
|
2
|
+
import type { TAppNotification, TAppNotificationDomain, TAppNotificationKindSide } from '@commercetools-frontend/constants';
|
|
3
3
|
type Props = {
|
|
4
4
|
notification: TAppNotification<{
|
|
5
5
|
domain: TAppNotificationDomain;
|
package/dist/declarations/src/components/notification-kinds/unexpected-error/unexpected-error.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { TAppNotification, TAppNotificationValuesUnexpectedError } from '@commercetools-frontend/constants';
|
|
2
1
|
import { SyntheticEvent } from 'react';
|
|
2
|
+
import type { TAppNotification, TAppNotificationValuesUnexpectedError } from '@commercetools-frontend/constants';
|
|
3
3
|
import { NOTIFICATION_DOMAINS, NOTIFICATION_KINDS_PAGE } from '@commercetools-frontend/constants';
|
|
4
4
|
type Props = {
|
|
5
5
|
notification: TAppNotification<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/react-notifications",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.24.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": {
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@babel/runtime": "^7.20.13",
|
|
22
22
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
23
|
-
"@commercetools-frontend/actions-global": "21.
|
|
24
|
-
"@commercetools-frontend/constants": "21.
|
|
25
|
-
"@commercetools-frontend/notifications": "21.
|
|
26
|
-
"@commercetools-frontend/sentry": "21.
|
|
27
|
-
"@commercetools-uikit/design-system": "^15.
|
|
28
|
-
"@commercetools-uikit/hooks": "^15.
|
|
29
|
-
"@commercetools-uikit/icon-button": "^15.
|
|
30
|
-
"@commercetools-uikit/icons": "^15.
|
|
31
|
-
"@commercetools-uikit/secondary-icon-button": "^15.
|
|
32
|
-
"@commercetools-uikit/spacings": "^15.
|
|
33
|
-
"@commercetools-uikit/utils": "^15.
|
|
34
|
-
"@emotion/react": "11.10.
|
|
35
|
-
"@emotion/styled": "11.10.
|
|
23
|
+
"@commercetools-frontend/actions-global": "21.24.0",
|
|
24
|
+
"@commercetools-frontend/constants": "21.24.0",
|
|
25
|
+
"@commercetools-frontend/notifications": "21.24.0",
|
|
26
|
+
"@commercetools-frontend/sentry": "21.24.0",
|
|
27
|
+
"@commercetools-uikit/design-system": "^15.13.2",
|
|
28
|
+
"@commercetools-uikit/hooks": "^15.13.2",
|
|
29
|
+
"@commercetools-uikit/icon-button": "^15.13.2",
|
|
30
|
+
"@commercetools-uikit/icons": "^15.13.2",
|
|
31
|
+
"@commercetools-uikit/secondary-icon-button": "^15.13.2",
|
|
32
|
+
"@commercetools-uikit/spacings": "^15.13.2",
|
|
33
|
+
"@commercetools-uikit/utils": "^15.13.2",
|
|
34
|
+
"@emotion/react": "11.10.6",
|
|
35
|
+
"@emotion/styled": "11.10.6",
|
|
36
36
|
"@types/history": "^4.7.11",
|
|
37
37
|
"@types/lodash": "^4.14.191",
|
|
38
38
|
"@types/prop-types": "^15.7.5",
|