@trii/components 2.0.18 → 2.0.20

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { IContact } from '@trii/types/dist/Contacts';
2
+ import { IContact, IBusiness } from '@trii/types/dist/Contacts';
3
3
  import { SxProps, Theme } from '@mui/material';
4
4
 
5
5
  interface TestBoxProps {
@@ -15,10 +15,11 @@ interface ContactInfoPopupProps {
15
15
  anchorEl: HTMLElement | null;
16
16
  onClose: () => void;
17
17
  t?: (key: string) => string;
18
- contactData?: IContact;
18
+ contactData?: IContact | IBusiness;
19
19
  avatarImgUrl?: string;
20
20
  sx?: SxProps<Theme>;
21
+ navigate: (path: string) => void;
21
22
  }
22
- declare const ContactInfoPopup: ({ open, anchorEl, onClose, contactData, avatarImgUrl, t, }: ContactInfoPopupProps) => react_jsx_runtime.JSX.Element;
23
+ declare const ContactInfoPopup: ({ open, anchorEl, onClose, contactData, avatarImgUrl, navigate, t, }: ContactInfoPopupProps) => react_jsx_runtime.JSX.Element;
23
24
 
24
25
  export { ContactInfoPopup, TestBox };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/components",
3
- "version": "2.0.18",
3
+ "version": "2.0.20",
4
4
  "description": "Trii components package",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",