@box/activity-feed 3.0.26 → 3.0.28
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/chunks/editor.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useActivityFeedContext}from"../esm/lib/activity-feed-context.js";import{MessageEditorV2}from"@box/threaded-annotations";import{jsx}from"react/jsx-runtime";import '../styles/editor.css';var editor_module_default={editorWrapper:`_editorWrapper_1ye9q_1`},Editor=({disableComponent,maxCharacterCount,onPost,onPostError,onPostSuccess,userSelectorProps,videoTimestamp})=>{let{areCommentsDisabled}=useActivityFeedContext();return areCommentsDisabled?null:jsx(`div`,{className:editor_module_default.editorWrapper,children:jsx(MessageEditorV2,{disableComponent,isFirstAnnotation:!1,maxCharacterCount,onPost,onPostError,onPostSuccess,userSelectorProps,videoTimestamp})})};export{Editor as t};
|
|
1
|
+
import{useActivityFeedContext}from"../esm/lib/activity-feed-context.js";import{MessageEditorV2}from"@box/threaded-annotations";import{jsx}from"react/jsx-runtime";import '../styles/editor.css';var editor_module_default={editorWrapper:`_editorWrapper_1ye9q_1`},Editor=({disableComponent,isRichTextEnabled,maxCharacterCount,onPost,onPostError,onPostSuccess,userSelectorProps,videoTimestamp})=>{let{areCommentsDisabled}=useActivityFeedContext();return areCommentsDisabled?null:jsx(`div`,{className:editor_module_default.editorWrapper,children:jsx(MessageEditorV2,{disableComponent,isFirstAnnotation:!1,isRichTextEnabled,maxCharacterCount,onPost,onPostError,onPostSuccess,userSelectorProps,videoTimestamp})})};export{Editor as t};
|
|
@@ -48,7 +48,7 @@ type ActivityFeedListCompound = ((props: ActivityFeedListProps) => ReactElement)
|
|
|
48
48
|
* `Editor` is a no-op.
|
|
49
49
|
*/
|
|
50
50
|
export declare const ActivityFeed: {
|
|
51
|
-
Editor: ({ disableComponent, maxCharacterCount, onPost, onPostError, onPostSuccess, userSelectorProps, videoTimestamp, }: import('./components/editor').EditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
Editor: ({ disableComponent, isRichTextEnabled, maxCharacterCount, onPost, onPostError, onPostSuccess, userSelectorProps, videoTimestamp, }: import('./components/editor').EditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
52
52
|
Header: (({ children, title }: import('./components/header/header').HeaderProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
53
53
|
Actions: ({ children }: {
|
|
54
54
|
children: ReactNode;
|
|
@@ -3,4 +3,4 @@ export type EditorProps = Omit<CreateMessageEditorProps, 'variant' | 'isFirstAnn
|
|
|
3
3
|
/**
|
|
4
4
|
* Create-comment composer. Renders nothing when `Root` has `areCommentsDisabled`
|
|
5
5
|
*/
|
|
6
|
-
export declare const Editor: ({ disableComponent, maxCharacterCount, onPost, onPostError, onPostSuccess, userSelectorProps, videoTimestamp, }: EditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const Editor: ({ disableComponent, isRichTextEnabled, maxCharacterCount, onPost, onPostError, onPostSuccess, userSelectorProps, videoTimestamp, }: EditorProps) => import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/activity-feed",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.28",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@box/blueprint-web": "^17.8.
|
|
7
|
-
"@box/blueprint-web-assets": "^5.10.
|
|
8
|
-
"@box/collaboration-popover": "^2.2.
|
|
9
|
-
"@box/readable-time": "^2.2.
|
|
10
|
-
"@box/threaded-annotations": "^4.
|
|
11
|
-
"@box/user-selector": "^3.0.
|
|
6
|
+
"@box/blueprint-web": "^17.8.1",
|
|
7
|
+
"@box/blueprint-web-assets": "^5.10.2",
|
|
8
|
+
"@box/collaboration-popover": "^2.2.46",
|
|
9
|
+
"@box/readable-time": "^2.2.46",
|
|
10
|
+
"@box/threaded-annotations": "^4.11.0",
|
|
11
|
+
"@box/user-selector": "^3.0.25",
|
|
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": "^17.8.
|
|
22
|
-
"@box/blueprint-web-assets": "^5.10.
|
|
23
|
-
"@box/collaboration-popover": "^2.2.
|
|
24
|
-
"@box/eslint-plugin-blueprint": "2.2.
|
|
25
|
-
"@box/readable-time": "^2.2.
|
|
26
|
-
"@box/storybook-utils": "1.2.
|
|
27
|
-
"@box/threaded-annotations": "^4.
|
|
28
|
-
"@box/user-selector": "^3.0.
|
|
21
|
+
"@box/blueprint-web": "^17.8.1",
|
|
22
|
+
"@box/blueprint-web-assets": "^5.10.2",
|
|
23
|
+
"@box/collaboration-popover": "^2.2.46",
|
|
24
|
+
"@box/eslint-plugin-blueprint": "2.2.15",
|
|
25
|
+
"@box/readable-time": "^2.2.46",
|
|
26
|
+
"@box/storybook-utils": "1.2.46",
|
|
27
|
+
"@box/threaded-annotations": "^4.11.0",
|
|
28
|
+
"@box/user-selector": "^3.0.25",
|
|
29
29
|
"react-intl": "^6.4.2"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|