@mparticle/aquarium 1.53.0 → 1.54.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.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type IModalProps } from '../../../../../../../../../src/components';
2
+ import { type IModalProps } from '../../../../../../../../../../src/components';
3
3
  export interface IDeleteConfirmModalProps extends IModalProps {
4
4
  open: boolean;
5
5
  title: string;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { type IModalProps } from '../../../../../../../../../../src/components';
3
+ export interface IErrorModalProps extends Omit<IModalProps, 'footer' | 'okText' | 'okButtonProps' | 'cancelText' | 'cancelButtonProps'> {
4
+ open: boolean;
5
+ title?: string;
6
+ children: React.ReactNode;
7
+ onOk: () => void;
8
+ }
9
+ export declare function ErrorModal(props: IErrorModalProps): React.JSX.Element;
@@ -7,7 +7,6 @@ export declare const Modal: {
7
7
  success: import("antd/es/modal/confirm").ModalFunc;
8
8
  confirm: import("antd/es/modal/confirm").ModalFunc;
9
9
  warning: import("antd/es/modal/confirm").ModalFunc;
10
- error: import("antd/es/modal/confirm").ModalFunc;
11
10
  config: typeof import("antd/es/modal/confirm").modalGlobalConfig;
12
11
  destroyAll: () => void;
13
12
  useModal: typeof import("antd/es/modal/useModal").default;
@@ -58,7 +58,8 @@ export { Notification, type INotificationProps, notification } from './feedback/
58
58
  export { Alert, type IAlertProps } from './feedback/Alert/Alert';
59
59
  export { Message, type IMessageProps, message } from './feedback/Message/Message';
60
60
  export { LoadingModal, type ILoadingModalProps } from './feedback/LoadingModal/LoadingModal';
61
- export { DeleteConfirmModal, type IDeleteConfirmModalProps } from './feedback/DeleteConfirmModal/DeleteConfirmModal';
61
+ export { DeleteConfirmModal, type IDeleteConfirmModalProps, } from '../../../../../../../src/components/feedback/Modal/DeleteConfirmModal/DeleteConfirmModal';
62
+ export { ErrorModal, type IErrorModalProps } from '../../../../../../../src/components/feedback/Modal/ErrorModal/ErrorModal';
62
63
  export { Flex, type IFlexProps } from './layout/Flex/Flex';
63
64
  export { Center } from './layout/Center/Center';
64
65
  export { Divider, type IDividerProps } from './layout/Divider/Divider';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mparticle/aquarium",
3
- "version": "1.53.0",
3
+ "version": "1.54.0",
4
4
  "description": "mParticle Component Library",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [