qt-ui-kit 1.0.90 → 1.0.92
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 +26 -18
- package/dist/index.d.ts +26 -18
- package/dist/index.js +271 -239
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +331 -300
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -9,7 +9,8 @@ declare enum IntegrationService {
|
|
|
9
9
|
MSMAIL = "microsoft_mail",
|
|
10
10
|
MSCAL = "microsoft_calendar",
|
|
11
11
|
AJIRA = "atlassian_jira",
|
|
12
|
-
CLKUP = "clickup"
|
|
12
|
+
CLKUP = "clickup",
|
|
13
|
+
ASANA = "asana"
|
|
13
14
|
}
|
|
14
15
|
declare enum BaseIconName {
|
|
15
16
|
SEARCH = "search",
|
|
@@ -68,7 +69,7 @@ type TicketComment = {
|
|
|
68
69
|
emojis?: string[];
|
|
69
70
|
};
|
|
70
71
|
|
|
71
|
-
type Props$
|
|
72
|
+
type Props$8 = {
|
|
72
73
|
eventID: string;
|
|
73
74
|
onSelected?: (eventID: string) => void;
|
|
74
75
|
selected?: boolean;
|
|
@@ -86,28 +87,28 @@ type Props$7 = {
|
|
|
86
87
|
overrideItems?: string[];
|
|
87
88
|
onOverride?: (eventID: string, selectedItem: string) => void;
|
|
88
89
|
};
|
|
89
|
-
declare function PreviewCard({ eventID, onSelected, selected, onChecked, checked, service, subjectLine, body, sender, source, date, onClickGoToSource, eventCategory, read, overrideItems, onOverride, }: Props$
|
|
90
|
+
declare function PreviewCard({ eventID, onSelected, selected, onChecked, checked, service, subjectLine, body, sender, source, date, onClickGoToSource, eventCategory, read, overrideItems, onOverride, }: Props$8): react_jsx_runtime.JSX.Element;
|
|
90
91
|
|
|
91
92
|
type NavButtonKey = "queue" | "account" | "logout";
|
|
92
93
|
type NavButtonConfig$1 = {
|
|
93
94
|
active?: boolean;
|
|
94
95
|
onClick?: () => void;
|
|
95
96
|
};
|
|
96
|
-
type Props$
|
|
97
|
+
type Props$7 = {
|
|
97
98
|
buttons?: Partial<Record<NavButtonKey, NavButtonConfig$1>>;
|
|
98
99
|
};
|
|
99
|
-
declare function NavBar({ buttons }: Props$
|
|
100
|
+
declare function NavBar({ buttons }: Props$7): react_jsx_runtime.JSX.Element;
|
|
100
101
|
|
|
101
|
-
type Props$
|
|
102
|
+
type Props$6 = {
|
|
102
103
|
eventType?: EventType;
|
|
103
104
|
eventData?: EventGroup[];
|
|
104
105
|
groupUrgency?: UrgencyLevel;
|
|
105
106
|
groupUrgencyText?: string;
|
|
106
107
|
groupSummary?: string;
|
|
107
108
|
};
|
|
108
|
-
declare function EventCard({ eventType, eventData, groupUrgency, groupUrgencyText, groupSummary, }: Props$
|
|
109
|
+
declare function EventCard({ eventType, eventData, groupUrgency, groupUrgencyText, groupSummary, }: Props$6): react_jsx_runtime.JSX.Element;
|
|
109
110
|
|
|
110
|
-
type Props$
|
|
111
|
+
type Props$5 = {
|
|
111
112
|
subjectLine?: string;
|
|
112
113
|
to?: string;
|
|
113
114
|
date?: string;
|
|
@@ -117,9 +118,9 @@ type Props$4 = {
|
|
|
117
118
|
attachments?: string;
|
|
118
119
|
body?: string;
|
|
119
120
|
};
|
|
120
|
-
declare function EmailBody({ subjectLine, to, date, from, CC, BCC, attachments, body, }: Props$
|
|
121
|
+
declare function EmailBody({ subjectLine, to, date, from, CC, BCC, attachments, body, }: Props$5): react_jsx_runtime.JSX.Element;
|
|
121
122
|
|
|
122
|
-
type Props$
|
|
123
|
+
type Props$4 = {
|
|
123
124
|
messages?: ChatData[];
|
|
124
125
|
};
|
|
125
126
|
type ChatData = {
|
|
@@ -133,9 +134,9 @@ type ChatData = {
|
|
|
133
134
|
image?: string;
|
|
134
135
|
emojis?: string[];
|
|
135
136
|
};
|
|
136
|
-
declare function ChatBody({ messages }: Props$
|
|
137
|
+
declare function ChatBody({ messages }: Props$4): react_jsx_runtime.JSX.Element;
|
|
137
138
|
|
|
138
|
-
type Props$
|
|
139
|
+
type Props$3 = {
|
|
139
140
|
issueNumber?: string;
|
|
140
141
|
notification?: string;
|
|
141
142
|
project?: string;
|
|
@@ -150,31 +151,38 @@ type Props$2 = {
|
|
|
150
151
|
description?: string;
|
|
151
152
|
comments?: TicketComment[];
|
|
152
153
|
};
|
|
153
|
-
declare function TicketBody({ issueNumber, notification, project, task, dueDate, startDate, assignees, reporter, team, location, related, description, comments, }: Props$
|
|
154
|
+
declare function TicketBody({ issueNumber, notification, project, task, dueDate, startDate, assignees, reporter, team, location, related, description, comments, }: Props$3): react_jsx_runtime.JSX.Element;
|
|
154
155
|
|
|
155
156
|
type SearchResult = {
|
|
156
157
|
label: string;
|
|
157
158
|
count: number;
|
|
158
159
|
};
|
|
159
|
-
type Props$
|
|
160
|
+
type Props$2 = {
|
|
160
161
|
loading?: boolean;
|
|
161
162
|
results?: SearchResult[];
|
|
162
163
|
onUpdate?: (query: string) => void;
|
|
163
164
|
};
|
|
164
|
-
declare function SearchBar({ loading, results, onUpdate }: Props$
|
|
165
|
+
declare function SearchBar({ loading, results, onUpdate }: Props$2): react_jsx_runtime.JSX.Element;
|
|
165
166
|
|
|
166
167
|
type FilterButtonKey = "fires" | "unread" | "incomplete" | "more" | IntegrationService;
|
|
167
168
|
type NavButtonConfig = {
|
|
168
169
|
active?: boolean;
|
|
169
170
|
onClick?: () => void;
|
|
170
171
|
};
|
|
171
|
-
type Props = {
|
|
172
|
+
type Props$1 = {
|
|
172
173
|
buttons?: Partial<Record<FilterButtonKey, NavButtonConfig>>;
|
|
173
174
|
};
|
|
174
|
-
declare function FilterBar({ buttons }: Props): react_jsx_runtime.JSX.Element;
|
|
175
|
+
declare function FilterBar({ buttons }: Props$1): react_jsx_runtime.JSX.Element;
|
|
175
176
|
|
|
176
177
|
type IconSize = 16 | 20 | 24 | 36;
|
|
177
178
|
|
|
179
|
+
type Props = {
|
|
180
|
+
size?: IconSize;
|
|
181
|
+
className?: string;
|
|
182
|
+
service?: IntegrationService;
|
|
183
|
+
};
|
|
184
|
+
declare function BrandIcon({ size, className, service }: Props): react_jsx_runtime.JSX.Element;
|
|
185
|
+
|
|
178
186
|
declare enum EventState {
|
|
179
187
|
NEW = "new",
|
|
180
188
|
READ = "read"
|
|
@@ -265,4 +273,4 @@ type Event = {
|
|
|
265
273
|
|
|
266
274
|
declare const fakeMessages: ChatData[];
|
|
267
275
|
|
|
268
|
-
export { type Attachment, BaseIconName, type CalendarData, ChatBody, type ChatData, ColorVariants, EmailBody, type EmailData, type Event, EventCard, type EventData, type EventGroup, EventState, type EventSummaryParts, EventType, type ExternalPerson, FilterBar, type FilterButtonKey, type IconSize, IntegrationService, type MessageData, NavBar, PreviewCard, SearchBar, type SearchResult, TicketBody, type TicketComment, type TicketData, UrgencyLevel, fakeMessages };
|
|
276
|
+
export { type Attachment, BaseIconName, BrandIcon, type CalendarData, ChatBody, type ChatData, ColorVariants, EmailBody, type EmailData, type Event, EventCard, type EventData, type EventGroup, EventState, type EventSummaryParts, EventType, type ExternalPerson, FilterBar, type FilterButtonKey, type IconSize, IntegrationService, type MessageData, NavBar, PreviewCard, SearchBar, type SearchResult, TicketBody, type TicketComment, type TicketData, UrgencyLevel, fakeMessages };
|
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,8 @@ declare enum IntegrationService {
|
|
|
9
9
|
MSMAIL = "microsoft_mail",
|
|
10
10
|
MSCAL = "microsoft_calendar",
|
|
11
11
|
AJIRA = "atlassian_jira",
|
|
12
|
-
CLKUP = "clickup"
|
|
12
|
+
CLKUP = "clickup",
|
|
13
|
+
ASANA = "asana"
|
|
13
14
|
}
|
|
14
15
|
declare enum BaseIconName {
|
|
15
16
|
SEARCH = "search",
|
|
@@ -68,7 +69,7 @@ type TicketComment = {
|
|
|
68
69
|
emojis?: string[];
|
|
69
70
|
};
|
|
70
71
|
|
|
71
|
-
type Props$
|
|
72
|
+
type Props$8 = {
|
|
72
73
|
eventID: string;
|
|
73
74
|
onSelected?: (eventID: string) => void;
|
|
74
75
|
selected?: boolean;
|
|
@@ -86,28 +87,28 @@ type Props$7 = {
|
|
|
86
87
|
overrideItems?: string[];
|
|
87
88
|
onOverride?: (eventID: string, selectedItem: string) => void;
|
|
88
89
|
};
|
|
89
|
-
declare function PreviewCard({ eventID, onSelected, selected, onChecked, checked, service, subjectLine, body, sender, source, date, onClickGoToSource, eventCategory, read, overrideItems, onOverride, }: Props$
|
|
90
|
+
declare function PreviewCard({ eventID, onSelected, selected, onChecked, checked, service, subjectLine, body, sender, source, date, onClickGoToSource, eventCategory, read, overrideItems, onOverride, }: Props$8): react_jsx_runtime.JSX.Element;
|
|
90
91
|
|
|
91
92
|
type NavButtonKey = "queue" | "account" | "logout";
|
|
92
93
|
type NavButtonConfig$1 = {
|
|
93
94
|
active?: boolean;
|
|
94
95
|
onClick?: () => void;
|
|
95
96
|
};
|
|
96
|
-
type Props$
|
|
97
|
+
type Props$7 = {
|
|
97
98
|
buttons?: Partial<Record<NavButtonKey, NavButtonConfig$1>>;
|
|
98
99
|
};
|
|
99
|
-
declare function NavBar({ buttons }: Props$
|
|
100
|
+
declare function NavBar({ buttons }: Props$7): react_jsx_runtime.JSX.Element;
|
|
100
101
|
|
|
101
|
-
type Props$
|
|
102
|
+
type Props$6 = {
|
|
102
103
|
eventType?: EventType;
|
|
103
104
|
eventData?: EventGroup[];
|
|
104
105
|
groupUrgency?: UrgencyLevel;
|
|
105
106
|
groupUrgencyText?: string;
|
|
106
107
|
groupSummary?: string;
|
|
107
108
|
};
|
|
108
|
-
declare function EventCard({ eventType, eventData, groupUrgency, groupUrgencyText, groupSummary, }: Props$
|
|
109
|
+
declare function EventCard({ eventType, eventData, groupUrgency, groupUrgencyText, groupSummary, }: Props$6): react_jsx_runtime.JSX.Element;
|
|
109
110
|
|
|
110
|
-
type Props$
|
|
111
|
+
type Props$5 = {
|
|
111
112
|
subjectLine?: string;
|
|
112
113
|
to?: string;
|
|
113
114
|
date?: string;
|
|
@@ -117,9 +118,9 @@ type Props$4 = {
|
|
|
117
118
|
attachments?: string;
|
|
118
119
|
body?: string;
|
|
119
120
|
};
|
|
120
|
-
declare function EmailBody({ subjectLine, to, date, from, CC, BCC, attachments, body, }: Props$
|
|
121
|
+
declare function EmailBody({ subjectLine, to, date, from, CC, BCC, attachments, body, }: Props$5): react_jsx_runtime.JSX.Element;
|
|
121
122
|
|
|
122
|
-
type Props$
|
|
123
|
+
type Props$4 = {
|
|
123
124
|
messages?: ChatData[];
|
|
124
125
|
};
|
|
125
126
|
type ChatData = {
|
|
@@ -133,9 +134,9 @@ type ChatData = {
|
|
|
133
134
|
image?: string;
|
|
134
135
|
emojis?: string[];
|
|
135
136
|
};
|
|
136
|
-
declare function ChatBody({ messages }: Props$
|
|
137
|
+
declare function ChatBody({ messages }: Props$4): react_jsx_runtime.JSX.Element;
|
|
137
138
|
|
|
138
|
-
type Props$
|
|
139
|
+
type Props$3 = {
|
|
139
140
|
issueNumber?: string;
|
|
140
141
|
notification?: string;
|
|
141
142
|
project?: string;
|
|
@@ -150,31 +151,38 @@ type Props$2 = {
|
|
|
150
151
|
description?: string;
|
|
151
152
|
comments?: TicketComment[];
|
|
152
153
|
};
|
|
153
|
-
declare function TicketBody({ issueNumber, notification, project, task, dueDate, startDate, assignees, reporter, team, location, related, description, comments, }: Props$
|
|
154
|
+
declare function TicketBody({ issueNumber, notification, project, task, dueDate, startDate, assignees, reporter, team, location, related, description, comments, }: Props$3): react_jsx_runtime.JSX.Element;
|
|
154
155
|
|
|
155
156
|
type SearchResult = {
|
|
156
157
|
label: string;
|
|
157
158
|
count: number;
|
|
158
159
|
};
|
|
159
|
-
type Props$
|
|
160
|
+
type Props$2 = {
|
|
160
161
|
loading?: boolean;
|
|
161
162
|
results?: SearchResult[];
|
|
162
163
|
onUpdate?: (query: string) => void;
|
|
163
164
|
};
|
|
164
|
-
declare function SearchBar({ loading, results, onUpdate }: Props$
|
|
165
|
+
declare function SearchBar({ loading, results, onUpdate }: Props$2): react_jsx_runtime.JSX.Element;
|
|
165
166
|
|
|
166
167
|
type FilterButtonKey = "fires" | "unread" | "incomplete" | "more" | IntegrationService;
|
|
167
168
|
type NavButtonConfig = {
|
|
168
169
|
active?: boolean;
|
|
169
170
|
onClick?: () => void;
|
|
170
171
|
};
|
|
171
|
-
type Props = {
|
|
172
|
+
type Props$1 = {
|
|
172
173
|
buttons?: Partial<Record<FilterButtonKey, NavButtonConfig>>;
|
|
173
174
|
};
|
|
174
|
-
declare function FilterBar({ buttons }: Props): react_jsx_runtime.JSX.Element;
|
|
175
|
+
declare function FilterBar({ buttons }: Props$1): react_jsx_runtime.JSX.Element;
|
|
175
176
|
|
|
176
177
|
type IconSize = 16 | 20 | 24 | 36;
|
|
177
178
|
|
|
179
|
+
type Props = {
|
|
180
|
+
size?: IconSize;
|
|
181
|
+
className?: string;
|
|
182
|
+
service?: IntegrationService;
|
|
183
|
+
};
|
|
184
|
+
declare function BrandIcon({ size, className, service }: Props): react_jsx_runtime.JSX.Element;
|
|
185
|
+
|
|
178
186
|
declare enum EventState {
|
|
179
187
|
NEW = "new",
|
|
180
188
|
READ = "read"
|
|
@@ -265,4 +273,4 @@ type Event = {
|
|
|
265
273
|
|
|
266
274
|
declare const fakeMessages: ChatData[];
|
|
267
275
|
|
|
268
|
-
export { type Attachment, BaseIconName, type CalendarData, ChatBody, type ChatData, ColorVariants, EmailBody, type EmailData, type Event, EventCard, type EventData, type EventGroup, EventState, type EventSummaryParts, EventType, type ExternalPerson, FilterBar, type FilterButtonKey, type IconSize, IntegrationService, type MessageData, NavBar, PreviewCard, SearchBar, type SearchResult, TicketBody, type TicketComment, type TicketData, UrgencyLevel, fakeMessages };
|
|
276
|
+
export { type Attachment, BaseIconName, BrandIcon, type CalendarData, ChatBody, type ChatData, ColorVariants, EmailBody, type EmailData, type Event, EventCard, type EventData, type EventGroup, EventState, type EventSummaryParts, EventType, type ExternalPerson, FilterBar, type FilterButtonKey, type IconSize, IntegrationService, type MessageData, NavBar, PreviewCard, SearchBar, type SearchResult, TicketBody, type TicketComment, type TicketData, UrgencyLevel, fakeMessages };
|