@trii/components 2.0.54 → 2.0.56

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/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { IContact, IBusiness } from '@trii/types/dist/Contacts';
3
3
  import { SxProps, Theme } from '@mui/material';
4
+ import { IContact as IContact$1, IBusiness as IBusiness$1 } from '@trii/types/dist/Contacts/contacts';
4
5
  import * as i18next from 'i18next';
5
6
 
6
7
  interface ContactInfoPopupProps {
@@ -25,6 +26,7 @@ interface Props {
25
26
  sx?: SxProps<Theme>;
26
27
  navigate: (path: string) => void;
27
28
  googleMapsApiKey?: string;
29
+ onEntityUpdated?: (entity: IContact$1 | IBusiness$1) => void;
28
30
  }
29
31
  declare const EditContactModal: (props: Props) => react_jsx_runtime.JSX.Element;
30
32
 
@@ -1,4 +1,5 @@
1
1
  import { SxProps, Theme } from '@mui/material';
2
+ import { IBusiness, IContact } from '@trii/types/dist/Contacts/contacts';
2
3
  export interface Props {
3
4
  open: boolean;
4
5
  onClose: () => void;
@@ -9,6 +10,7 @@ export interface Props {
9
10
  sx?: SxProps<Theme>;
10
11
  navigate: (path: string) => void;
11
12
  googleMapsApiKey?: string;
13
+ onEntityUpdated?: (entity: IContact | IBusiness) => void;
12
14
  }
13
15
  declare const EditContactModal: (props: Props) => import("react/jsx-runtime").JSX.Element;
14
16
  export default EditContactModal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/components",
3
- "version": "2.0.54",
3
+ "version": "2.0.56",
4
4
  "description": "Trii components package",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",