@nivaro/react 0.1.25 → 0.1.26
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.ts +5 -2
- package/dist/index.js +4927 -4859
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -153,6 +153,9 @@ export declare interface ChatOnlineUser {
|
|
|
153
153
|
display_name: string | null;
|
|
154
154
|
role_name?: string | null;
|
|
155
155
|
current_path?: string | null;
|
|
156
|
+
/** Reported by the client: a tab left open is not the same as being here. */
|
|
157
|
+
is_idle?: boolean;
|
|
158
|
+
last_active?: string | null;
|
|
156
159
|
}
|
|
157
160
|
|
|
158
161
|
export declare function ChatPanel({ open, onClose, renderMessageBody, requestedDm }: {
|
|
@@ -1133,7 +1136,7 @@ export declare function PipelinePanel({ collection, item, defaultExpanded, title
|
|
|
1133
1136
|
defaultExpanded?: boolean;
|
|
1134
1137
|
title?: string;
|
|
1135
1138
|
showApprovalChain?: boolean;
|
|
1136
|
-
onBeforeTransition?: () => boolean
|
|
1139
|
+
onBeforeTransition?: () => boolean | Promise<boolean>;
|
|
1137
1140
|
addendumPending?: boolean;
|
|
1138
1141
|
addendumView?: boolean;
|
|
1139
1142
|
}): JSX.Element | null;
|
|
@@ -1141,7 +1144,7 @@ export declare function PipelinePanel({ collection, item, defaultExpanded, title
|
|
|
1141
1144
|
export declare function PipelineTransitionButtons({ collection, item, onBeforeTransition }: {
|
|
1142
1145
|
collection: string;
|
|
1143
1146
|
item: string;
|
|
1144
|
-
onBeforeTransition?: () => boolean
|
|
1147
|
+
onBeforeTransition?: () => boolean | Promise<boolean>;
|
|
1145
1148
|
}): JSX.Element | null;
|
|
1146
1149
|
|
|
1147
1150
|
export declare function ProfileView({ userId, className }: {
|