qt-ui-kit 1.0.9 → 1.0.11

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.d.mts CHANGED
@@ -46,34 +46,85 @@ declare enum UrgencyLevel {
46
46
  MEDIUM = "medium",
47
47
  LOW = "low"
48
48
  }
49
+ type EventData = {
50
+ urgency?: UrgencyLevel;
51
+ urgencyText?: string;
52
+ summary?: string;
53
+ eventBody?: ReactNode;
54
+ service?: IntegrationService;
55
+ };
49
56
 
50
- type Props$2 = {
57
+ type Props$5 = {
51
58
  onRead?: () => void;
52
59
  onSelected?: () => void;
53
60
  service?: IntegrationService;
54
61
  subjectLine?: string;
55
62
  };
56
- declare function PreviewCard({ onRead, onSelected, service, subjectLine, }: Props$2): react_jsx_runtime.JSX.Element;
63
+ declare function PreviewCard({ onRead, onSelected, service, subjectLine, }: Props$5): react_jsx_runtime.JSX.Element;
57
64
 
58
- type Props$1 = {};
59
- declare function NavBar({}: Props$1): react_jsx_runtime.JSX.Element;
65
+ type Props$4 = {};
66
+ declare function NavBar({}: Props$4): react_jsx_runtime.JSX.Element;
60
67
 
61
- type Props = {
68
+ type Props$3 = {
62
69
  eventType?: EventType;
63
70
  eventData?: EventData[];
64
71
  groupUrgency?: UrgencyLevel;
65
72
  groupUrgencyText?: string;
66
73
  groupSummary?: string;
67
74
  };
68
- type EventData = {
69
- urgency?: UrgencyLevel;
70
- urgencyText?: string;
75
+ declare function EventCard({ eventType, eventData, groupUrgency, groupUrgencyText, groupSummary, }: Props$3): react_jsx_runtime.JSX.Element;
76
+
77
+ type Props$2 = {
78
+ subjectLine?: string;
79
+ to?: string;
80
+ date?: string;
81
+ from?: string;
82
+ CC?: string;
83
+ BCC?: string;
84
+ attachments?: string;
85
+ body?: string;
86
+ };
87
+ declare function EmailBody({ subjectLine, to, date, from, CC, BCC, attachments, body, }: Props$2): react_jsx_runtime.JSX.Element;
88
+
89
+ type Props$1 = {
90
+ messages?: MessageData[];
91
+ };
92
+ type MessageData = {
93
+ name?: string;
94
+ timeStamp?: string;
95
+ body?: string;
96
+ link?: string;
97
+ outbound?: boolean;
71
98
  summary?: string;
72
- eventBody?: ReactNode;
73
- service?: IntegrationService;
99
+ image?: string;
100
+ emojis?: string[];
101
+ };
102
+ declare function ChatBody({ messages }: Props$1): react_jsx_runtime.JSX.Element;
103
+
104
+ type Props = {
105
+ issueNumber?: string;
106
+ notification?: string;
107
+ project?: string;
108
+ task?: string;
109
+ dueDate?: string;
110
+ startDate?: string;
111
+ assignees?: string;
112
+ reporter?: string;
113
+ team?: string;
114
+ location?: string;
115
+ related?: string;
116
+ description?: string;
117
+ comments?: TicketComment[];
118
+ };
119
+ type TicketComment = {
120
+ name?: string;
121
+ timestamp?: string;
122
+ text?: string;
123
+ picture?: string;
124
+ emojis?: string[];
74
125
  };
75
- declare function EventCard({ eventType, eventData, groupUrgency, groupUrgencyText, groupSummary, }: Props): react_jsx_runtime.JSX.Element;
126
+ declare function TicketBody({ issueNumber, notification, project, task, dueDate, startDate, assignees, reporter, team, location, related, description, comments, }: Props): react_jsx_runtime.JSX.Element;
76
127
 
77
128
  type IconSize = 16 | 20 | 24 | 36;
78
129
 
79
- export { BaseIconName, ColorVariants, EventCard, EventType, type IconSize, IntegrationService, NavBar, PreviewCard, UrgencyLevel };
130
+ export { BaseIconName, ChatBody, ColorVariants, EmailBody, EventCard, type EventData, EventType, type IconSize, IntegrationService, NavBar, PreviewCard, TicketBody, UrgencyLevel };
package/dist/index.d.ts CHANGED
@@ -46,34 +46,85 @@ declare enum UrgencyLevel {
46
46
  MEDIUM = "medium",
47
47
  LOW = "low"
48
48
  }
49
+ type EventData = {
50
+ urgency?: UrgencyLevel;
51
+ urgencyText?: string;
52
+ summary?: string;
53
+ eventBody?: ReactNode;
54
+ service?: IntegrationService;
55
+ };
49
56
 
50
- type Props$2 = {
57
+ type Props$5 = {
51
58
  onRead?: () => void;
52
59
  onSelected?: () => void;
53
60
  service?: IntegrationService;
54
61
  subjectLine?: string;
55
62
  };
56
- declare function PreviewCard({ onRead, onSelected, service, subjectLine, }: Props$2): react_jsx_runtime.JSX.Element;
63
+ declare function PreviewCard({ onRead, onSelected, service, subjectLine, }: Props$5): react_jsx_runtime.JSX.Element;
57
64
 
58
- type Props$1 = {};
59
- declare function NavBar({}: Props$1): react_jsx_runtime.JSX.Element;
65
+ type Props$4 = {};
66
+ declare function NavBar({}: Props$4): react_jsx_runtime.JSX.Element;
60
67
 
61
- type Props = {
68
+ type Props$3 = {
62
69
  eventType?: EventType;
63
70
  eventData?: EventData[];
64
71
  groupUrgency?: UrgencyLevel;
65
72
  groupUrgencyText?: string;
66
73
  groupSummary?: string;
67
74
  };
68
- type EventData = {
69
- urgency?: UrgencyLevel;
70
- urgencyText?: string;
75
+ declare function EventCard({ eventType, eventData, groupUrgency, groupUrgencyText, groupSummary, }: Props$3): react_jsx_runtime.JSX.Element;
76
+
77
+ type Props$2 = {
78
+ subjectLine?: string;
79
+ to?: string;
80
+ date?: string;
81
+ from?: string;
82
+ CC?: string;
83
+ BCC?: string;
84
+ attachments?: string;
85
+ body?: string;
86
+ };
87
+ declare function EmailBody({ subjectLine, to, date, from, CC, BCC, attachments, body, }: Props$2): react_jsx_runtime.JSX.Element;
88
+
89
+ type Props$1 = {
90
+ messages?: MessageData[];
91
+ };
92
+ type MessageData = {
93
+ name?: string;
94
+ timeStamp?: string;
95
+ body?: string;
96
+ link?: string;
97
+ outbound?: boolean;
71
98
  summary?: string;
72
- eventBody?: ReactNode;
73
- service?: IntegrationService;
99
+ image?: string;
100
+ emojis?: string[];
101
+ };
102
+ declare function ChatBody({ messages }: Props$1): react_jsx_runtime.JSX.Element;
103
+
104
+ type Props = {
105
+ issueNumber?: string;
106
+ notification?: string;
107
+ project?: string;
108
+ task?: string;
109
+ dueDate?: string;
110
+ startDate?: string;
111
+ assignees?: string;
112
+ reporter?: string;
113
+ team?: string;
114
+ location?: string;
115
+ related?: string;
116
+ description?: string;
117
+ comments?: TicketComment[];
118
+ };
119
+ type TicketComment = {
120
+ name?: string;
121
+ timestamp?: string;
122
+ text?: string;
123
+ picture?: string;
124
+ emojis?: string[];
74
125
  };
75
- declare function EventCard({ eventType, eventData, groupUrgency, groupUrgencyText, groupSummary, }: Props): react_jsx_runtime.JSX.Element;
126
+ declare function TicketBody({ issueNumber, notification, project, task, dueDate, startDate, assignees, reporter, team, location, related, description, comments, }: Props): react_jsx_runtime.JSX.Element;
76
127
 
77
128
  type IconSize = 16 | 20 | 24 | 36;
78
129
 
79
- export { BaseIconName, ColorVariants, EventCard, EventType, type IconSize, IntegrationService, NavBar, PreviewCard, UrgencyLevel };
130
+ export { BaseIconName, ChatBody, ColorVariants, EmailBody, EventCard, type EventData, EventType, type IconSize, IntegrationService, NavBar, PreviewCard, TicketBody, UrgencyLevel };