@qtalo/qt-ui-library 0.1.22 → 0.1.23
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +7 -10
- package/dist/index.js +353 -355
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -627,7 +627,7 @@ export declare type EventCardSkeletonProps = {
|
|
|
627
627
|
style?: CSSProperties;
|
|
628
628
|
};
|
|
629
629
|
|
|
630
|
-
export declare function EventDetail({ events, expandedEventIndex,
|
|
630
|
+
export declare function EventDetail({ events, expandedEventIndex, }: EventDetailProps): JSX.Element | null;
|
|
631
631
|
|
|
632
632
|
export declare function EventDetailContentCalendar({ detail: { summary, body, priorityText, from, to, link, location }, className, }: EventDetailContentCalendarProps): JSX.Element;
|
|
633
633
|
|
|
@@ -679,26 +679,24 @@ export declare type EventDetailHeaderProps = {
|
|
|
679
679
|
isFirstEvent: boolean;
|
|
680
680
|
isSingleEvent: boolean;
|
|
681
681
|
className?: string;
|
|
682
|
-
onFireClick
|
|
682
|
+
onFireClick?: () => void;
|
|
683
683
|
};
|
|
684
684
|
|
|
685
|
-
/**
|
|
686
|
-
* Event detail item type.
|
|
687
|
-
* Discriminated union representing the supported event detail variants.
|
|
688
|
-
* The `type` field determines the shape of `detail`.
|
|
689
|
-
*/
|
|
690
685
|
export declare type EventDetailItem = (BaseEventDetail & {
|
|
691
686
|
type: "email";
|
|
692
687
|
detail: EmailDetail;
|
|
688
|
+
onFireClick?: () => void;
|
|
693
689
|
}) | (BaseEventDetail & {
|
|
694
690
|
type: "message";
|
|
695
691
|
detail: MessageDetail;
|
|
696
692
|
}) | (BaseEventDetail & {
|
|
697
693
|
type: "ticket";
|
|
698
694
|
detail: TicketDetail;
|
|
695
|
+
onFireClick?: () => void;
|
|
699
696
|
}) | (BaseEventDetail & {
|
|
700
697
|
type: "calendar";
|
|
701
698
|
detail: CalendarDetail;
|
|
699
|
+
onFireClick?: () => void;
|
|
702
700
|
});
|
|
703
701
|
|
|
704
702
|
export declare function EventDetailPriority({ priorityText, }: EventDetailPriorityProps): JSX.Element;
|
|
@@ -710,7 +708,6 @@ export declare type EventDetailPriorityProps = {
|
|
|
710
708
|
export declare type EventDetailProps = {
|
|
711
709
|
events: EventDetailItem[];
|
|
712
710
|
expandedEventIndex?: number;
|
|
713
|
-
onFireClick: () => void;
|
|
714
711
|
};
|
|
715
712
|
|
|
716
713
|
export declare function EventDetailSkeleton({ className }: EventDetailSkeletonProps): JSX.Element;
|
|
@@ -1186,8 +1183,8 @@ export declare type Message = {
|
|
|
1186
1183
|
body: string;
|
|
1187
1184
|
link?: string;
|
|
1188
1185
|
replies?: MessageReply[];
|
|
1189
|
-
onExternalLinkClick
|
|
1190
|
-
onMarkAsFireClick
|
|
1186
|
+
onExternalLinkClick: () => void;
|
|
1187
|
+
onMarkAsFireClick: () => void;
|
|
1191
1188
|
};
|
|
1192
1189
|
|
|
1193
1190
|
/**
|