qt-ui-kit 1.0.6 → 1.0.8

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
@@ -1,4 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ReactNode } from 'react';
2
3
 
3
4
  declare enum IntegrationService {
4
5
  SLACK = "slack",
@@ -9,13 +10,42 @@ declare enum IntegrationService {
9
10
  MSCAL = "microsoft_calendar",
10
11
  AJIRA = "atlassian_jira"
11
12
  }
13
+ declare enum EventType {
14
+ EMAIL = "email",
15
+ MESSAGE = "message",
16
+ TICKET = "ticket"
17
+ }
18
+ declare enum UrgencyLevel {
19
+ HIGH = "high",
20
+ MEDIUM = "medium",
21
+ LOW = "low"
22
+ }
12
23
 
13
- type Props = {
24
+ type Props$2 = {
14
25
  onRead?: () => void;
15
26
  onSelected?: () => void;
16
27
  service?: IntegrationService;
17
28
  subjectLine?: string;
18
29
  };
19
- declare function PreviewCard({ onRead, onSelected, service, subjectLine, }: Props): react_jsx_runtime.JSX.Element;
30
+ declare function PreviewCard({ onRead, onSelected, service, subjectLine, }: Props$2): react_jsx_runtime.JSX.Element;
31
+
32
+ type Props$1 = {};
33
+ declare function NavBar({}: Props$1): react_jsx_runtime.JSX.Element;
34
+
35
+ type Props = {
36
+ eventType?: EventType;
37
+ eventData?: EventData[];
38
+ groupUrgency?: UrgencyLevel;
39
+ groupUrgencyText?: string;
40
+ groupSummary?: string;
41
+ };
42
+ type EventData = {
43
+ urgency?: UrgencyLevel;
44
+ urgencyText?: string;
45
+ summary?: string;
46
+ eventBody?: ReactNode;
47
+ service?: IntegrationService;
48
+ };
49
+ declare function EventCard({ eventType, eventData, groupUrgency, groupUrgencyText, groupSummary, }: Props): react_jsx_runtime.JSX.Element;
20
50
 
21
- export { PreviewCard };
51
+ export { EventCard, NavBar, PreviewCard };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ReactNode } from 'react';
2
3
 
3
4
  declare enum IntegrationService {
4
5
  SLACK = "slack",
@@ -9,13 +10,42 @@ declare enum IntegrationService {
9
10
  MSCAL = "microsoft_calendar",
10
11
  AJIRA = "atlassian_jira"
11
12
  }
13
+ declare enum EventType {
14
+ EMAIL = "email",
15
+ MESSAGE = "message",
16
+ TICKET = "ticket"
17
+ }
18
+ declare enum UrgencyLevel {
19
+ HIGH = "high",
20
+ MEDIUM = "medium",
21
+ LOW = "low"
22
+ }
12
23
 
13
- type Props = {
24
+ type Props$2 = {
14
25
  onRead?: () => void;
15
26
  onSelected?: () => void;
16
27
  service?: IntegrationService;
17
28
  subjectLine?: string;
18
29
  };
19
- declare function PreviewCard({ onRead, onSelected, service, subjectLine, }: Props): react_jsx_runtime.JSX.Element;
30
+ declare function PreviewCard({ onRead, onSelected, service, subjectLine, }: Props$2): react_jsx_runtime.JSX.Element;
31
+
32
+ type Props$1 = {};
33
+ declare function NavBar({}: Props$1): react_jsx_runtime.JSX.Element;
34
+
35
+ type Props = {
36
+ eventType?: EventType;
37
+ eventData?: EventData[];
38
+ groupUrgency?: UrgencyLevel;
39
+ groupUrgencyText?: string;
40
+ groupSummary?: string;
41
+ };
42
+ type EventData = {
43
+ urgency?: UrgencyLevel;
44
+ urgencyText?: string;
45
+ summary?: string;
46
+ eventBody?: ReactNode;
47
+ service?: IntegrationService;
48
+ };
49
+ declare function EventCard({ eventType, eventData, groupUrgency, groupUrgencyText, groupSummary, }: Props): react_jsx_runtime.JSX.Element;
20
50
 
21
- export { PreviewCard };
51
+ export { EventCard, NavBar, PreviewCard };