qt-ui-kit 1.0.8 → 1.0.10

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
@@ -10,6 +10,32 @@ declare enum IntegrationService {
10
10
  MSCAL = "microsoft_calendar",
11
11
  AJIRA = "atlassian_jira"
12
12
  }
13
+ declare enum BaseIconName {
14
+ SEARCH = "search",
15
+ EXTERNAL_LINK = "external_link",
16
+ THUMBS_DOWN = "thumbs_down",
17
+ THUMBS_UP = "thumbs_up",
18
+ THUMBS_DOWN_SOLID = "thumbs_down_solid",
19
+ THUMBS_UP_SOLID = "thumbs_up_solid",
20
+ ADD = "add",
21
+ GEAR = "gear",
22
+ LOGOUT = "logout",
23
+ CHECKBOX = "checkbox",
24
+ QUEUE = "queue",
25
+ MAIL = "mail",
26
+ FIRE = "fire",
27
+ ALERT = "alert",
28
+ CHECK = "check",
29
+ LEFT_ARROW = "left_arrow",
30
+ RIGHT_ARROW = "right_arrow",
31
+ EXPAND = "expand"
32
+ }
33
+ declare enum ColorVariants {
34
+ RED = "#FF7E71",
35
+ YELLOW = "#FFD481",
36
+ GREEN = "#E8FE99",
37
+ OUTLINED = "none"
38
+ }
13
39
  declare enum EventType {
14
40
  EMAIL = "email",
15
41
  MESSAGE = "message",
@@ -20,32 +46,85 @@ declare enum UrgencyLevel {
20
46
  MEDIUM = "medium",
21
47
  LOW = "low"
22
48
  }
49
+ type EventData = {
50
+ urgency?: UrgencyLevel;
51
+ urgencyText?: string;
52
+ summary?: string;
53
+ eventBody?: ReactNode;
54
+ service?: IntegrationService;
55
+ };
23
56
 
24
- type Props$2 = {
57
+ type Props$5 = {
25
58
  onRead?: () => void;
26
59
  onSelected?: () => void;
27
60
  service?: IntegrationService;
28
61
  subjectLine?: string;
29
62
  };
30
- 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;
31
64
 
32
- type Props$1 = {};
33
- 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;
34
67
 
35
- type Props = {
68
+ type Props$3 = {
36
69
  eventType?: EventType;
37
70
  eventData?: EventData[];
38
71
  groupUrgency?: UrgencyLevel;
39
72
  groupUrgencyText?: string;
40
73
  groupSummary?: string;
41
74
  };
42
- type EventData = {
43
- urgency?: UrgencyLevel;
44
- 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;
45
98
  summary?: string;
46
- eventBody?: ReactNode;
47
- 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[];
48
125
  };
49
- 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;
127
+
128
+ type IconSize = 16 | 20 | 24 | 36;
50
129
 
51
- export { EventCard, NavBar, PreviewCard };
130
+ export { BaseIconName, ChatBody, ColorVariants, EmailBody, EventCard, type EventData, EventType, type IconSize, IntegrationService, NavBar, PreviewCard, TicketBody, UrgencyLevel };
package/dist/index.d.ts CHANGED
@@ -10,6 +10,32 @@ declare enum IntegrationService {
10
10
  MSCAL = "microsoft_calendar",
11
11
  AJIRA = "atlassian_jira"
12
12
  }
13
+ declare enum BaseIconName {
14
+ SEARCH = "search",
15
+ EXTERNAL_LINK = "external_link",
16
+ THUMBS_DOWN = "thumbs_down",
17
+ THUMBS_UP = "thumbs_up",
18
+ THUMBS_DOWN_SOLID = "thumbs_down_solid",
19
+ THUMBS_UP_SOLID = "thumbs_up_solid",
20
+ ADD = "add",
21
+ GEAR = "gear",
22
+ LOGOUT = "logout",
23
+ CHECKBOX = "checkbox",
24
+ QUEUE = "queue",
25
+ MAIL = "mail",
26
+ FIRE = "fire",
27
+ ALERT = "alert",
28
+ CHECK = "check",
29
+ LEFT_ARROW = "left_arrow",
30
+ RIGHT_ARROW = "right_arrow",
31
+ EXPAND = "expand"
32
+ }
33
+ declare enum ColorVariants {
34
+ RED = "#FF7E71",
35
+ YELLOW = "#FFD481",
36
+ GREEN = "#E8FE99",
37
+ OUTLINED = "none"
38
+ }
13
39
  declare enum EventType {
14
40
  EMAIL = "email",
15
41
  MESSAGE = "message",
@@ -20,32 +46,85 @@ declare enum UrgencyLevel {
20
46
  MEDIUM = "medium",
21
47
  LOW = "low"
22
48
  }
49
+ type EventData = {
50
+ urgency?: UrgencyLevel;
51
+ urgencyText?: string;
52
+ summary?: string;
53
+ eventBody?: ReactNode;
54
+ service?: IntegrationService;
55
+ };
23
56
 
24
- type Props$2 = {
57
+ type Props$5 = {
25
58
  onRead?: () => void;
26
59
  onSelected?: () => void;
27
60
  service?: IntegrationService;
28
61
  subjectLine?: string;
29
62
  };
30
- 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;
31
64
 
32
- type Props$1 = {};
33
- 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;
34
67
 
35
- type Props = {
68
+ type Props$3 = {
36
69
  eventType?: EventType;
37
70
  eventData?: EventData[];
38
71
  groupUrgency?: UrgencyLevel;
39
72
  groupUrgencyText?: string;
40
73
  groupSummary?: string;
41
74
  };
42
- type EventData = {
43
- urgency?: UrgencyLevel;
44
- 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;
45
98
  summary?: string;
46
- eventBody?: ReactNode;
47
- 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[];
48
125
  };
49
- 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;
127
+
128
+ type IconSize = 16 | 20 | 24 | 36;
50
129
 
51
- export { EventCard, NavBar, PreviewCard };
130
+ export { BaseIconName, ChatBody, ColorVariants, EmailBody, EventCard, type EventData, EventType, type IconSize, IntegrationService, NavBar, PreviewCard, TicketBody, UrgencyLevel };