@box/threaded-annotations 1.81.4 → 1.83.0
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.
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { CollaborationPopoverProps } from '@box/collaboration-popover';
|
|
2
|
+
import { MentionContextData } from '../../components/mention-component/mention-context';
|
|
1
3
|
import { ThreadedAnnotationsProps } from '../threaded-annotations';
|
|
2
4
|
import { AnnotationBadgeTargetType } from '../types/annotation-badge-types';
|
|
3
5
|
import { TextMessageType } from '../types';
|
|
@@ -15,4 +17,11 @@ type InteractiveModuleProps = (InteractiveModuleBaseProps & {
|
|
|
15
17
|
onAnnotationBadgeClick?: (id: string) => void;
|
|
16
18
|
});
|
|
17
19
|
export declare const InteractiveModule: (props: InteractiveModuleProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export interface StaticMentionModuleProps {
|
|
21
|
+
messages: TextMessageType[];
|
|
22
|
+
fetchEmail?: MentionContextData['fetchEmail'];
|
|
23
|
+
fetchCollaboratorState?: MentionContextData['fetchCollaboratorState'];
|
|
24
|
+
collaborationPopoverProps?: Partial<CollaborationPopoverProps>;
|
|
25
|
+
}
|
|
26
|
+
export declare const StaticMentionModule: ({ messages, fetchEmail, fetchCollaboratorState, collaborationPopoverProps: collaborationPopoverPropsOverride, }: StaticMentionModuleProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
27
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/threaded-annotations",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.83.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@tanstack/react-virtual": "^3.10.8",
|
|
@@ -16,22 +16,22 @@
|
|
|
16
16
|
"uuid": "^9.0.1"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@box/blueprint-web": "^14.
|
|
20
|
-
"@box/blueprint-web-assets": "^4.
|
|
21
|
-
"@box/collaboration-popover": "^1.
|
|
22
|
-
"@box/readable-time": "^1.
|
|
23
|
-
"@box/user-selector": "^1.
|
|
19
|
+
"@box/blueprint-web": "^14.16.0",
|
|
20
|
+
"@box/blueprint-web-assets": "^4.115.0",
|
|
21
|
+
"@box/collaboration-popover": "^1.61.0",
|
|
22
|
+
"@box/readable-time": "^1.40.0",
|
|
23
|
+
"@box/user-selector": "^1.75.0",
|
|
24
24
|
"react": "^18.0.0",
|
|
25
25
|
"react-dom": "^18.0.0",
|
|
26
26
|
"react-intl": "^6.4.2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@box/blueprint-web": "^14.
|
|
30
|
-
"@box/blueprint-web-assets": "^4.
|
|
29
|
+
"@box/blueprint-web": "^14.16.0",
|
|
30
|
+
"@box/blueprint-web-assets": "^4.115.0",
|
|
31
31
|
"@box/eslint-plugin-blueprint": "1.1.17",
|
|
32
|
-
"@box/readable-time": "^1.
|
|
33
|
-
"@box/storybook-utils": "^0.
|
|
34
|
-
"@box/user-selector": "^1.
|
|
32
|
+
"@box/readable-time": "^1.40.0",
|
|
33
|
+
"@box/storybook-utils": "^0.18.0",
|
|
34
|
+
"@box/user-selector": "^1.75.0",
|
|
35
35
|
"react": "^18.0.0",
|
|
36
36
|
"react-dom": "^18.0.0"
|
|
37
37
|
},
|