@trii/components 2.0.100 → 2.0.101

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 (30) hide show
  1. package/dist/cjs/index.js +7 -7
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/esm/index.js +7 -7
  4. package/dist/esm/index.js.map +1 -1
  5. package/dist/index.d.ts +1 -2
  6. package/dist/types/components/ContactInfoPopup/components/ContactMethod/ContactMethod.d.ts +1 -0
  7. package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/EditModal.d.ts +1 -0
  8. package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/AddressInput/AddressInput.d.ts +2 -1
  9. package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/PhoneInput/PhoneInput.d.ts +2 -1
  10. package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/WarningsDisplay.d.ts +2 -1
  11. package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/components/Warning/Warning.d.ts +3 -1
  12. package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/components/Warning/hooks/useContactInfoPopup.d.ts +11 -0
  13. package/dist/types/components/EditContactModal/context/EditContactApiContext.d.ts +41 -38
  14. package/dist/types/components/EditContactModal/context/EditContactViewContext.d.ts +1 -0
  15. package/dist/types/components/EditContactModal/context/LanguageContext.d.ts +9 -0
  16. package/dist/types/components/EditContactModal/services/api.d.ts +1 -0
  17. package/dist/types/components/EventsDialog/components/ConfirmDeleteDialog/ConfirmDeleteDialog.d.ts +1 -0
  18. package/dist/types/components/EventsDialog/components/DatePicker/styles.d.ts +3 -4
  19. package/dist/types/components/EventsDialog/components/DeleteRecurringEventDialog/DeleteRecurringEventDialog.d.ts +1 -0
  20. package/dist/types/components/EventsDialog/components/EditRecurringEventDialog/EditRecurringEventDialog.d.ts +1 -0
  21. package/dist/types/components/EventsDialog/components/LocationTextField/SendLocation/components/GoogleMap/components/LocationSearch/locationSearch.d.ts +1 -0
  22. package/dist/types/components/EventsDialog/components/ReminderNotifications/components/ReminderItem/style.d.ts +10 -7
  23. package/dist/types/components/EventsDialog/components/ReminderNotifications/styles.d.ts +2 -3
  24. package/dist/types/components/EventsDialog/context/CalendarContextProvider.d.ts +1 -0
  25. package/dist/types/components/EventsDialog/context/EventsDialogApiContext.d.ts +1 -0
  26. package/dist/types/components/EventsDialog/hooks/useCalendarEvents.d.ts +1 -0
  27. package/dist/types/components/EventsDialog/hooks/useCalendarTasks.d.ts +1 -0
  28. package/dist/types/components/EventsDialog/layout/BasicInputContainer/styles.d.ts +2 -3
  29. package/package.json +130 -130
  30. package/readme +71 -71
package/dist/index.d.ts CHANGED
@@ -369,5 +369,4 @@ declare const selectThemeToggleStatus: (state: ThemeRootState) => "idle" | "togg
369
369
  declare const selectedTheme: (state: ThemeRootState) => Theme;
370
370
  declare const selectedDarkTheme: (state: ThemeRootState) => boolean;
371
371
 
372
- export { ContactInfoPopup, EditContactModal, EventsDialog, MuiComponentsConfig, darkBlack, darkBlue, i18nInstance as i18n, isValidThemeName, lightAmber, lightBlue, lightBlueIndigo, lightBrown, lightGray, lightGreen, lightLime, lightOrange, lightPink, lightPurple, lightRed, lightTeal, lightYellow, selectThemeToggleStatus, selectedDarkTheme, selectedTheme, toggleModeTheme, toggleTheme, updateTheme };
373
- export type { Calendar, Contact, EditContactModalProps, EditContactMode, EventData, EventsDialogProps, ItemType, ModalMode, Notification, TaskData, ThemeName, ThemeRootState, ThemeState };
372
+ export { type Calendar, type Contact, ContactInfoPopup, EditContactModal, type EditContactModalProps, type EditContactMode, type EventData, EventsDialog, type EventsDialogProps, type ItemType, type ModalMode, MuiComponentsConfig, type Notification, type TaskData, type ThemeName, type ThemeRootState, type ThemeState, darkBlack, darkBlue, i18nInstance as i18n, isValidThemeName, lightAmber, lightBlue, lightBlueIndigo, lightBrown, lightGray, lightGreen, lightLime, lightOrange, lightPink, lightPurple, lightRed, lightTeal, lightYellow, selectThemeToggleStatus, selectedDarkTheme, selectedTheme, toggleModeTheme, toggleTheme, updateTheme };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IContactAddress } from '@trii/types/dist/Contacts';
2
3
  interface ContactProps {
3
4
  contactList: IContactAddress[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface EditModalProps {
2
3
  open: boolean;
3
4
  onClose: () => void;
@@ -8,6 +8,7 @@ interface AddressInputProps {
8
8
  data: NewAddress | IContactAddress;
9
9
  onChange: (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>, id: string, channelType: ChannelType) => void;
10
10
  setWarnings: Dispatch<SetStateAction<string[]>>;
11
+ setExistingContactId?: Dispatch<SetStateAction<string | null>>;
11
12
  }
12
- declare const AddressInput: ({ data, onChange, setWarnings }: AddressInputProps) => import("react/jsx-runtime").JSX.Element;
13
+ declare const AddressInput: ({ data, onChange, setWarnings, setExistingContactId }: AddressInputProps) => import("react/jsx-runtime").JSX.Element;
13
14
  export default AddressInput;
@@ -8,6 +8,7 @@ interface AddressInputProps {
8
8
  data: NewAddress | IContactAddress;
9
9
  onChange: (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>, id: string, channelType: ChannelType) => void;
10
10
  setWarnings: Dispatch<SetStateAction<string[]>>;
11
+ setExistingContactId?: Dispatch<SetStateAction<string | null>>;
11
12
  }
12
- declare const PhoneInput: ({ data, onChange, setWarnings }: AddressInputProps) => import("react/jsx-runtime").JSX.Element;
13
+ declare const PhoneInput: ({ data, onChange, setWarnings, setExistingContactId }: AddressInputProps) => import("react/jsx-runtime").JSX.Element;
13
14
  export default PhoneInput;
@@ -1,5 +1,6 @@
1
1
  type WarningsDisplayProps = {
2
2
  warnings: string[];
3
+ existingContactId?: string | null;
3
4
  };
4
- declare const WarningsDisplay: ({ warnings }: WarningsDisplayProps) => import("react/jsx-runtime").JSX.Element;
5
+ declare const WarningsDisplay: ({ warnings, existingContactId }: WarningsDisplayProps) => import("react/jsx-runtime").JSX.Element;
5
6
  export default WarningsDisplay;
@@ -1,5 +1,7 @@
1
1
  type WarningProps = {
2
2
  text: string;
3
+ code?: string;
4
+ existingContactId?: string | null;
3
5
  };
4
- declare const Warning: ({ text }: WarningProps) => import("react/jsx-runtime").JSX.Element;
6
+ declare const Warning: ({ text, code, existingContactId }: WarningProps) => import("react/jsx-runtime").JSX.Element;
5
7
  export default Warning;
@@ -0,0 +1,11 @@
1
+ import { MouseEvent } from 'react';
2
+ import type { IContact, IBusiness } from '@trii/types/dist/Contacts';
3
+ export declare const useContactInfoPopup: (contactId: string | null) => {
4
+ contactData: IContact | IBusiness | null;
5
+ anchorEl: HTMLElement | null;
6
+ isOpen: boolean;
7
+ isLoading: boolean;
8
+ openPopup: (event: MouseEvent<HTMLElement>) => Promise<void>;
9
+ closePopup: () => void;
10
+ navigate: import("../../../../../../../../../../context/NavigateContext").NavigateFn;
11
+ };
@@ -1,48 +1,49 @@
1
+ /// <reference types="react" />
1
2
  export declare const EditContactApiProvider: import("react").Provider<{
2
3
  fetchLabels: ({ signal }?: {
3
- signal?: AbortSignal;
4
+ signal?: AbortSignal | undefined;
4
5
  }) => Promise<import("@trii/types/dist/Contacts").ILabel[]>;
5
6
  createLabel: ({ name, signal }: {
6
- signal?: AbortSignal;
7
+ signal?: AbortSignal | undefined;
7
8
  } & {
8
9
  name: string;
9
10
  }) => Promise<import("@trii/types/dist/Contacts").ILabel>;
10
11
  fetchContact: ({ contactId, signal }: {
11
- signal?: AbortSignal;
12
+ signal?: AbortSignal | undefined;
12
13
  } & {
13
14
  contactId: string;
14
15
  }) => Promise<import("@trii/types/dist/Contacts").IContact | import("@trii/types/dist/Contacts").IBusiness>;
15
16
  fetchBusiness: ({ businessId, signal }: {
16
- signal?: AbortSignal;
17
+ signal?: AbortSignal | undefined;
17
18
  } & {
18
19
  businessId: string;
19
20
  }) => Promise<import("@trii/types/dist/Contacts").IContact | import("@trii/types/dist/Contacts").IBusiness>;
20
21
  fetchBusinessTableData: ({ pagination, signal }: {
21
- signal?: AbortSignal;
22
+ signal?: AbortSignal | undefined;
22
23
  } & {
23
24
  pagination: import("../services/api").Pagination;
24
25
  }) => Promise<import("../services/api").BusinessTableData>;
25
26
  createBusiness: ({ business, signal }: {
26
- signal?: AbortSignal;
27
+ signal?: AbortSignal | undefined;
27
28
  } & {
28
29
  business: Record<string, unknown>;
29
30
  }) => Promise<import("@trii/types/dist/Contacts").IBusiness>;
30
31
  fetchContactFields: ({ forType, signal }: {
31
- signal?: AbortSignal;
32
+ signal?: AbortSignal | undefined;
32
33
  } & {
33
- forType: "contact" | "business";
34
+ forType: "business" | "contact";
34
35
  }) => Promise<import("@trii/types/dist/Contacts").IContactField[]>;
35
36
  updateEntity: ({ entityType, entityId, body, signal }: {
36
- signal?: AbortSignal;
37
+ signal?: AbortSignal | undefined;
37
38
  } & {
38
- entityType: "contact" | "business";
39
+ entityType: "business" | "contact";
39
40
  entityId: string;
40
41
  body: Partial<import("@trii/types/dist/Contacts").IContact> | Partial<import("@trii/types/dist/Contacts").IBusiness> | {
41
42
  tags: import("@trii/types/dist/Contacts").IContactTag[];
42
43
  };
43
44
  }) => Promise<import("@trii/types/dist/Contacts").IContact | import("@trii/types/dist/Contacts").IBusiness>;
44
45
  deleteAddress: ({ data, signal }: {
45
- signal?: AbortSignal;
46
+ signal?: AbortSignal | undefined;
46
47
  } & {
47
48
  data: {
48
49
  contactId: string;
@@ -51,7 +52,7 @@ export declare const EditContactApiProvider: import("react").Provider<{
51
52
  };
52
53
  }) => Promise<unknown>;
53
54
  deleteAddres: ({ data, signal }: {
54
- signal?: AbortSignal;
55
+ signal?: AbortSignal | undefined;
55
56
  } & {
56
57
  data: {
57
58
  contactId: string;
@@ -60,7 +61,7 @@ export declare const EditContactApiProvider: import("react").Provider<{
60
61
  };
61
62
  }) => Promise<unknown>;
62
63
  checkContactAddress: ({ data, signal }: {
63
- signal?: AbortSignal;
64
+ signal?: AbortSignal | undefined;
64
65
  } & {
65
66
  data: {
66
67
  address: string;
@@ -69,30 +70,31 @@ export declare const EditContactApiProvider: import("react").Provider<{
69
70
  }) => Promise<{
70
71
  success: boolean;
71
72
  warnings: string[];
73
+ contactId?: string | null | undefined;
72
74
  }>;
73
75
  setContactAddress: ({ data, signal }: {
74
- signal?: AbortSignal;
76
+ signal?: AbortSignal | undefined;
75
77
  } & {
76
78
  data: import("../services/api").SetContactAddressRequestData;
77
79
  }) => Promise<import("@trii/types/dist/Contacts").IContactAddress>;
78
80
  updateContactAddress: ({ data, signal }: {
79
- signal?: AbortSignal;
81
+ signal?: AbortSignal | undefined;
80
82
  } & {
81
83
  data: import("../services/api").UpdateContactAddressData;
82
84
  }) => Promise<import("@trii/types/dist/Contacts").IContactAddress>;
83
85
  fetchUserTrii: ({ signal }?: {
84
- signal?: AbortSignal;
86
+ signal?: AbortSignal | undefined;
85
87
  }) => Promise<import("@trii/types/dist/Users").UserTrii>;
86
88
  fetchUsers: ({ signal }?: {
87
- signal?: AbortSignal;
89
+ signal?: AbortSignal | undefined;
88
90
  }) => Promise<import("@trii/types/dist/Users").UserInfo[]>;
89
91
  fetchUserTriiById: ({ userId, signal }: {
90
- signal?: AbortSignal;
92
+ signal?: AbortSignal | undefined;
91
93
  } & {
92
94
  userId: string;
93
95
  }) => Promise<import("@trii/types/dist/Users").UserTrii>;
94
96
  uploadAvatar: ({ contactId, file, signal }: {
95
- signal?: AbortSignal;
97
+ signal?: AbortSignal | undefined;
96
98
  } & {
97
99
  contactId: string;
98
100
  file: File;
@@ -100,49 +102,49 @@ export declare const EditContactApiProvider: import("react").Provider<{
100
102
  } | null>;
101
103
  export declare const useEditContactApi: () => {
102
104
  fetchLabels: ({ signal }?: {
103
- signal?: AbortSignal;
105
+ signal?: AbortSignal | undefined;
104
106
  }) => Promise<import("@trii/types/dist/Contacts").ILabel[]>;
105
107
  createLabel: ({ name, signal }: {
106
- signal?: AbortSignal;
108
+ signal?: AbortSignal | undefined;
107
109
  } & {
108
110
  name: string;
109
111
  }) => Promise<import("@trii/types/dist/Contacts").ILabel>;
110
112
  fetchContact: ({ contactId, signal }: {
111
- signal?: AbortSignal;
113
+ signal?: AbortSignal | undefined;
112
114
  } & {
113
115
  contactId: string;
114
116
  }) => Promise<import("@trii/types/dist/Contacts").IContact | import("@trii/types/dist/Contacts").IBusiness>;
115
117
  fetchBusiness: ({ businessId, signal }: {
116
- signal?: AbortSignal;
118
+ signal?: AbortSignal | undefined;
117
119
  } & {
118
120
  businessId: string;
119
121
  }) => Promise<import("@trii/types/dist/Contacts").IContact | import("@trii/types/dist/Contacts").IBusiness>;
120
122
  fetchBusinessTableData: ({ pagination, signal }: {
121
- signal?: AbortSignal;
123
+ signal?: AbortSignal | undefined;
122
124
  } & {
123
125
  pagination: import("../services/api").Pagination;
124
126
  }) => Promise<import("../services/api").BusinessTableData>;
125
127
  createBusiness: ({ business, signal }: {
126
- signal?: AbortSignal;
128
+ signal?: AbortSignal | undefined;
127
129
  } & {
128
130
  business: Record<string, unknown>;
129
131
  }) => Promise<import("@trii/types/dist/Contacts").IBusiness>;
130
132
  fetchContactFields: ({ forType, signal }: {
131
- signal?: AbortSignal;
133
+ signal?: AbortSignal | undefined;
132
134
  } & {
133
- forType: "contact" | "business";
135
+ forType: "business" | "contact";
134
136
  }) => Promise<import("@trii/types/dist/Contacts").IContactField[]>;
135
137
  updateEntity: ({ entityType, entityId, body, signal }: {
136
- signal?: AbortSignal;
138
+ signal?: AbortSignal | undefined;
137
139
  } & {
138
- entityType: "contact" | "business";
140
+ entityType: "business" | "contact";
139
141
  entityId: string;
140
142
  body: Partial<import("@trii/types/dist/Contacts").IContact> | Partial<import("@trii/types/dist/Contacts").IBusiness> | {
141
143
  tags: import("@trii/types/dist/Contacts").IContactTag[];
142
144
  };
143
145
  }) => Promise<import("@trii/types/dist/Contacts").IContact | import("@trii/types/dist/Contacts").IBusiness>;
144
146
  deleteAddress: ({ data, signal }: {
145
- signal?: AbortSignal;
147
+ signal?: AbortSignal | undefined;
146
148
  } & {
147
149
  data: {
148
150
  contactId: string;
@@ -151,7 +153,7 @@ export declare const useEditContactApi: () => {
151
153
  };
152
154
  }) => Promise<unknown>;
153
155
  deleteAddres: ({ data, signal }: {
154
- signal?: AbortSignal;
156
+ signal?: AbortSignal | undefined;
155
157
  } & {
156
158
  data: {
157
159
  contactId: string;
@@ -160,7 +162,7 @@ export declare const useEditContactApi: () => {
160
162
  };
161
163
  }) => Promise<unknown>;
162
164
  checkContactAddress: ({ data, signal }: {
163
- signal?: AbortSignal;
165
+ signal?: AbortSignal | undefined;
164
166
  } & {
165
167
  data: {
166
168
  address: string;
@@ -169,30 +171,31 @@ export declare const useEditContactApi: () => {
169
171
  }) => Promise<{
170
172
  success: boolean;
171
173
  warnings: string[];
174
+ contactId?: string | null | undefined;
172
175
  }>;
173
176
  setContactAddress: ({ data, signal }: {
174
- signal?: AbortSignal;
177
+ signal?: AbortSignal | undefined;
175
178
  } & {
176
179
  data: import("../services/api").SetContactAddressRequestData;
177
180
  }) => Promise<import("@trii/types/dist/Contacts").IContactAddress>;
178
181
  updateContactAddress: ({ data, signal }: {
179
- signal?: AbortSignal;
182
+ signal?: AbortSignal | undefined;
180
183
  } & {
181
184
  data: import("../services/api").UpdateContactAddressData;
182
185
  }) => Promise<import("@trii/types/dist/Contacts").IContactAddress>;
183
186
  fetchUserTrii: ({ signal }?: {
184
- signal?: AbortSignal;
187
+ signal?: AbortSignal | undefined;
185
188
  }) => Promise<import("@trii/types/dist/Users").UserTrii>;
186
189
  fetchUsers: ({ signal }?: {
187
- signal?: AbortSignal;
190
+ signal?: AbortSignal | undefined;
188
191
  }) => Promise<import("@trii/types/dist/Users").UserInfo[]>;
189
192
  fetchUserTriiById: ({ userId, signal }: {
190
- signal?: AbortSignal;
193
+ signal?: AbortSignal | undefined;
191
194
  } & {
192
195
  userId: string;
193
196
  }) => Promise<import("@trii/types/dist/Users").UserTrii>;
194
197
  uploadAvatar: ({ contactId, file, signal }: {
195
- signal?: AbortSignal;
198
+ signal?: AbortSignal | undefined;
196
199
  } & {
197
200
  contactId: string;
198
201
  file: File;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export type EditContactView = 'main' | 'tags' | 'searchLocation' | 'businessSelect' | 'businessMembers';
2
3
  export type EditContactViewContextValue = {
3
4
  view: EditContactView;
@@ -0,0 +1,9 @@
1
+ import { ReactNode } from 'react';
2
+ export type Language = 'en' | 'es';
3
+ interface LanguageProviderProps {
4
+ language: Language;
5
+ children: ReactNode;
6
+ }
7
+ export declare const LanguageProvider: ({ language, children }: LanguageProviderProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const useLanguageContext: () => Language;
9
+ export {};
@@ -88,6 +88,7 @@ type CheckContactAddressData = {
88
88
  type ResultContactAddressCheck = {
89
89
  success: boolean;
90
90
  warnings: string[];
91
+ contactId?: string | null;
91
92
  };
92
93
  type DeleteContactAddressArgs = ApiArgs & {
93
94
  data: DeleteContactAddressData;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface ConfirmDeleteDialogProps {
2
3
  open: boolean;
3
4
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- import { Box, Typography } from '@mui/material';
2
- export declare const StyledDatePickerContainer: typeof Box;
3
- export declare const StyledPickersContainer: typeof Box;
4
- export declare const StyledPickersDivider: typeof Typography;
1
+ export declare const StyledDatePickerContainer: import("@mui/types").OverridableComponent<import("@mui/system").BoxTypeMap<{}, "div", import("@mui/material").Theme>>;
2
+ export declare const StyledPickersContainer: import("@mui/types").OverridableComponent<import("@mui/system").BoxTypeMap<{}, "div", import("@mui/material").Theme>>;
3
+ export declare const StyledPickersDivider: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").TypographyTypeMap<{}, "span">>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface DeleteRecurringEventDialogProps {
2
3
  open: boolean;
3
4
  onClose: () => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface EditRecurringEventDialogProps {
2
3
  open: boolean;
3
4
  onClose: () => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="@types/google.maps" />
1
2
  interface Props {
2
3
  onPlaceSelected: (location: google.maps.LatLngLiteral, address?: string) => void;
3
4
  }
@@ -1,8 +1,11 @@
1
- import { Box, Select, TextField, IconButton } from '@mui/material';
2
- export declare const StyledReminderItemContainer: typeof Box;
3
- export declare const StyledReminderItemViewContainer: typeof Box;
4
- export declare const StyledReminderInputsContainer: typeof Box;
1
+ /// <reference types="react" />
2
+ import { TextField } from '@mui/material';
3
+ export declare const StyledReminderItemContainer: import("@mui/types").OverridableComponent<import("@mui/system").BoxTypeMap<{}, "div", import("@mui/material").Theme>>;
4
+ export declare const StyledReminderItemViewContainer: import("@mui/types").OverridableComponent<import("@mui/system").BoxTypeMap<{}, "div", import("@mui/material").Theme>>;
5
+ export declare const StyledReminderInputsContainer: import("@mui/types").OverridableComponent<import("@mui/system").BoxTypeMap<{}, "div", import("@mui/material").Theme>>;
5
6
  export declare const StyledReminderTextField: typeof TextField;
6
- export declare const StyledReminderSelect: typeof Select;
7
- export declare const StyledReminderActionsContainer: typeof Box;
8
- export declare const StyledReminderDeleteIconButton: typeof IconButton;
7
+ export declare const StyledReminderSelect: (<Value = unknown>(props: import("@mui/material").SelectProps<Value>) => import("react").JSX.Element) & {
8
+ muiName: string;
9
+ };
10
+ export declare const StyledReminderActionsContainer: import("@mui/types").OverridableComponent<import("@mui/system").BoxTypeMap<{}, "div", import("@mui/material").Theme>>;
11
+ export declare const StyledReminderDeleteIconButton: import("@mui/material").ExtendButtonBase<import("@mui/material").IconButtonTypeMap<{}, "button">>;
@@ -1,3 +1,2 @@
1
- import { Box } from '@mui/material';
2
- export declare const ReminderNotificationsContainer: typeof Box;
3
- export declare const HeaderContainer: typeof Box;
1
+ export declare const ReminderNotificationsContainer: import("@mui/types").OverridableComponent<import("@mui/system").BoxTypeMap<{}, "div", import("@mui/material").Theme>>;
2
+ export declare const HeaderContainer: import("@mui/types").OverridableComponent<import("@mui/system").BoxTypeMap<{}, "div", import("@mui/material").Theme>>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Mode } from './types/Mode';
2
3
  interface Props {
3
4
  children: React.ReactNode;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface EventsDialogApi {
2
3
  baseUrl: string;
3
4
  spaceId: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IEvent } from '@trii/types/dist/Calendar';
2
3
  export interface CalendarEvent {
3
4
  id: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface CalendarTask {
2
3
  id: string;
3
4
  title: string;
@@ -1,3 +1,2 @@
1
- import { Box } from '@mui/material';
2
- export declare const StyledBoxContainer: typeof Box;
3
- export declare const StyledDialogContextText: typeof Box;
1
+ export declare const StyledBoxContainer: import("@mui/types").OverridableComponent<import("@mui/system").BoxTypeMap<{}, "div", import("@mui/material").Theme>>;
2
+ export declare const StyledDialogContextText: import("@mui/types").OverridableComponent<import("@mui/system").BoxTypeMap<{}, "div", import("@mui/material").Theme>>;