@trii/components 2.0.51 → 2.0.52
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/cjs/index.js +11 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/ContactInfoPopup/ContactInfoPopup.d.ts +1 -2
- package/dist/cjs/types/components/EditContactModal/EditContactModal.d.ts +1 -2
- package/dist/cjs/types/i18n/config.d.ts +2 -2
- package/dist/esm/index.js +12 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/ContactInfoPopup/ContactInfoPopup.d.ts +1 -2
- package/dist/esm/types/components/EditContactModal/EditContactModal.d.ts +1 -2
- package/dist/esm/types/i18n/config.d.ts +2 -2
- package/dist/index.d.ts +6 -4
- package/package.json +1 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { IBusiness, IContact } from '@trii/types/dist/Contacts';
|
|
2
2
|
import { SxProps, Theme } from '@mui/material';
|
|
3
|
-
import '../../i18n/config';
|
|
4
3
|
export interface ContactInfoPopupProps {
|
|
5
4
|
open: boolean;
|
|
6
5
|
anchorEl: HTMLElement | null;
|
|
@@ -11,5 +10,5 @@ export interface ContactInfoPopupProps {
|
|
|
11
10
|
sx?: SxProps<Theme>;
|
|
12
11
|
navigate: (path: string) => void;
|
|
13
12
|
}
|
|
14
|
-
declare const ContactInfoPopup: (
|
|
13
|
+
declare const ContactInfoPopup: (props: ContactInfoPopupProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
14
|
export default ContactInfoPopup;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { SxProps, Theme } from '@mui/material';
|
|
2
|
-
import '../../i18n/config';
|
|
3
2
|
export interface Props {
|
|
4
3
|
open: boolean;
|
|
5
4
|
onClose: () => void;
|
|
@@ -10,5 +9,5 @@ export interface Props {
|
|
|
10
9
|
sx?: SxProps<Theme>;
|
|
11
10
|
navigate: (path: string) => void;
|
|
12
11
|
}
|
|
13
|
-
declare const EditContactModal: (
|
|
12
|
+
declare const EditContactModal: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
14
13
|
export default EditContactModal;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default
|
|
1
|
+
declare const i18nInstance: import("i18next").i18n;
|
|
2
|
+
export default i18nInstance;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +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
|
-
|
|
4
|
+
import * as i18next from 'i18next';
|
|
5
5
|
|
|
6
6
|
interface ContactInfoPopupProps {
|
|
7
7
|
open: boolean;
|
|
@@ -13,7 +13,7 @@ interface ContactInfoPopupProps {
|
|
|
13
13
|
sx?: SxProps<Theme>;
|
|
14
14
|
navigate: (path: string) => void;
|
|
15
15
|
}
|
|
16
|
-
declare const ContactInfoPopup: (
|
|
16
|
+
declare const ContactInfoPopup: (props: ContactInfoPopupProps) => react_jsx_runtime.JSX.Element;
|
|
17
17
|
|
|
18
18
|
interface Props {
|
|
19
19
|
open: boolean;
|
|
@@ -25,6 +25,8 @@ interface Props {
|
|
|
25
25
|
sx?: SxProps<Theme>;
|
|
26
26
|
navigate: (path: string) => void;
|
|
27
27
|
}
|
|
28
|
-
declare const EditContactModal: (
|
|
28
|
+
declare const EditContactModal: (props: Props) => react_jsx_runtime.JSX.Element;
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
declare const i18nInstance: i18next.i18n;
|
|
31
|
+
|
|
32
|
+
export { ContactInfoPopup, EditContactModal, i18nInstance as i18n };
|