@box/activity-feed 2.3.18 → 2.3.20

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,4 +1,4 @@
1
- import { DocumentNode } from '@box/threaded-annotations';
1
+ import { DocumentNodeV2 } from '@box/threaded-annotations';
2
2
  import { ActivityAuthor, ActivityItemError, ActivityPermissions, ActivityStatus, AnnotationTarget } from './common';
3
3
  /**
4
4
  * Annotation or comment thread, rendered by `@box/threaded-annotations`.
@@ -18,7 +18,7 @@ export type ThreadedActivityItem = {
18
18
  /** Author of the root message in the thread. */
19
19
  author: ActivityAuthor;
20
20
  /** TipTap document node for the message body. */
21
- body: DocumentNode;
21
+ body: DocumentNodeV2;
22
22
  /** Unix timestamp (ms) when the root message was posted. */
23
23
  createdAt: number;
24
24
  /** Error attached to this item (e.g. failed post). */
@@ -1,3 +1,3 @@
1
- export type { DocumentNode } from '@box/threaded-annotations';
1
+ export type { DocumentNodeV2 as DocumentNode } from '@box/threaded-annotations';
2
2
  export type { ActivityFeedItem, AppActivityFeedItem, TaskActivityItem, TaskAssignee, ThreadedActivityItem, VersionActivityItem, } from './ActivityItem';
3
3
  export type { ActivityAuthor, ActivityItemError, ActivityItemType, ActivityPermissions, ActivityStatus, AnnotationTarget, } from './common';
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@box/activity-feed",
3
- "version": "2.3.18",
3
+ "version": "2.3.20",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "peerDependencies": {
6
- "@box/blueprint-web": "^16.19.0",
7
- "@box/blueprint-web-assets": "^5.7.4",
8
- "@box/collaboration-popover": "^2.2.13",
9
- "@box/readable-time": "^2.2.13",
10
- "@box/threaded-annotations": "^4.6.5",
11
- "@box/user-selector": "^2.2.13",
6
+ "@box/blueprint-web": "^16.19.1",
7
+ "@box/blueprint-web-assets": "^5.7.5",
8
+ "@box/collaboration-popover": "^2.2.14",
9
+ "@box/readable-time": "^2.2.14",
10
+ "@box/threaded-annotations": "^4.7.0",
11
+ "@box/user-selector": "^2.2.14",
12
12
  "clsx": "^1.2.1",
13
13
  "react": "^18.0.0",
14
14
  "react-dom": "^18.0.0",
@@ -18,14 +18,14 @@
18
18
  "access": "public"
19
19
  },
20
20
  "devDependencies": {
21
- "@box/blueprint-web": "^16.19.0",
22
- "@box/blueprint-web-assets": "^5.7.4",
23
- "@box/collaboration-popover": "^2.2.13",
21
+ "@box/blueprint-web": "^16.19.1",
22
+ "@box/blueprint-web-assets": "^5.7.5",
23
+ "@box/collaboration-popover": "^2.2.14",
24
24
  "@box/eslint-plugin-blueprint": "2.2.3",
25
- "@box/readable-time": "^2.2.13",
26
- "@box/storybook-utils": "1.2.13",
27
- "@box/threaded-annotations": "^4.6.5",
28
- "@box/user-selector": "^2.2.13",
25
+ "@box/readable-time": "^2.2.14",
26
+ "@box/storybook-utils": "1.2.14",
27
+ "@box/threaded-annotations": "^4.7.0",
28
+ "@box/user-selector": "^2.2.14",
29
29
  "react-intl": "^6.4.2"
30
30
  },
31
31
  "files": [