@trii/components 2.0.77 → 2.0.78
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 +10 -10
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +10 -10
- package/dist/esm/index.js.map +1 -1
- package/dist/types/components/EventsDialog/components/ReminderNotifications/components/ReminderItem/ReminderItem.d.ts +2 -1
- package/dist/types/components/EventsDialog/components/ReminderNotifications/components/ReminderItem/style.d.ts +3 -0
- package/dist/types/components/EventsDialog/components/TaskCalendarSelect/TaskCalendarSelect.d.ts +2 -1
- package/dist/types/components/EventsDialog/context/CalendarContext.d.ts +1 -0
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ type ReminderItemProps = {
|
|
|
7
7
|
timePeriodHandler: (event: SelectChangeEvent<unknown>, notificationId: string) => void;
|
|
8
8
|
sendToContactHandler: (event: ChangeEvent<HTMLInputElement>, notificationId: string) => void;
|
|
9
9
|
deleteHandler: (notificationId: string) => void;
|
|
10
|
+
disabled?: boolean;
|
|
10
11
|
};
|
|
11
|
-
declare const ReminderItem: ({ data, timeValueHandler, timePeriodHandler, sendToContactHandler, deleteHandler, }: ReminderItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare const ReminderItem: ({ data, timeValueHandler, timePeriodHandler, sendToContactHandler, deleteHandler, disabled, }: ReminderItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
13
|
export default ReminderItem;
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
export declare const StyledReminderItemContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
3
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
4
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
|
+
export declare const StyledReminderItemViewContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
7
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
8
|
export declare const StyledReminderInputsContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
9
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
7
10
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
package/dist/types/components/EventsDialog/components/TaskCalendarSelect/TaskCalendarSelect.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ type Props = {
|
|
|
5
5
|
userId?: string;
|
|
6
6
|
value: string;
|
|
7
7
|
onChange: (calendarId: string) => void;
|
|
8
|
+
loading?: boolean;
|
|
8
9
|
};
|
|
9
|
-
declare const TaskCalendarSelect: ({ disabled, calendars, userId, value, onChange }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare const TaskCalendarSelect: ({ disabled, calendars, userId, value, onChange, loading }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export default TaskCalendarSelect;
|
|
@@ -56,6 +56,7 @@ export type CalendarContextType = {
|
|
|
56
56
|
setUserManuallyChangedColor: ((value: boolean) => void) | Dispatch<SetStateAction<boolean>>;
|
|
57
57
|
myCalendars: ICalendar[];
|
|
58
58
|
otherCalendars: ICalendar[];
|
|
59
|
+
isLoadingCalendars: boolean;
|
|
59
60
|
handleSaveUpdatedTask: () => void;
|
|
60
61
|
handleDeleteTask: () => void;
|
|
61
62
|
handleToggleTaskCompleted: () => void;
|