@qtalo/qt-ui-library 0.1.21 → 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 +16 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +13 -10
- package/dist/index.js +412 -363
- 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;
|
|
@@ -788,6 +785,8 @@ export declare type EventType = "email" | "message" | "ticket" | "calendar";
|
|
|
788
785
|
|
|
789
786
|
export declare function ExternalLinkIcon({ pathProps, ...props }: IconProps): JSX.Element;
|
|
790
787
|
|
|
788
|
+
export declare function EyeIcon({ pathProps, ...props }: IconProps): JSX.Element;
|
|
789
|
+
|
|
791
790
|
declare const FILTER_BUTTON_META: {
|
|
792
791
|
readonly fire: {
|
|
793
792
|
readonly icon: typeof FireIcon;
|
|
@@ -1184,8 +1183,8 @@ export declare type Message = {
|
|
|
1184
1183
|
body: string;
|
|
1185
1184
|
link?: string;
|
|
1186
1185
|
replies?: MessageReply[];
|
|
1187
|
-
onExternalLinkClick
|
|
1188
|
-
onMarkAsFireClick
|
|
1186
|
+
onExternalLinkClick: () => void;
|
|
1187
|
+
onMarkAsFireClick: () => void;
|
|
1189
1188
|
};
|
|
1190
1189
|
|
|
1191
1190
|
/**
|
|
@@ -1224,6 +1223,8 @@ export declare function MinusIcon({ pathProps, ...props }: IconProps): JSX.Eleme
|
|
|
1224
1223
|
|
|
1225
1224
|
export declare function MoreIcon({ pathProps, ...props }: IconProps): JSX.Element;
|
|
1226
1225
|
|
|
1226
|
+
export declare function NoEyeIcon({ pathProps, ...props }: IconProps): JSX.Element;
|
|
1227
|
+
|
|
1227
1228
|
export declare function NormalDensityIcon({ pathProps, ...props }: IconProps): JSX.Element;
|
|
1228
1229
|
|
|
1229
1230
|
export declare function normalizeContent(content: string): string;
|
|
@@ -1385,6 +1386,8 @@ declare type QtaloImageProps_2 = SVGProps<SVGSVGElement> & {
|
|
|
1385
1386
|
|
|
1386
1387
|
export declare function ReadIcon({ pathProps, ...props }: IconProps): JSX.Element;
|
|
1387
1388
|
|
|
1389
|
+
export declare function ReplyIoIcon(props: IconProps): JSX.Element;
|
|
1390
|
+
|
|
1388
1391
|
export declare function RichContent({ content, className }: RichContentProps): JSX.Element;
|
|
1389
1392
|
|
|
1390
1393
|
export declare type RichContentProps = {
|