@box/threaded-annotations 4.11.3 → 4.11.5
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 +1 @@
|
|
|
1
|
-
import{CustomMention}from"./custom-mention/custom-mention.js";import{CustomParagraph}from"./custom-paragraph.js";import{CustomUnderline}from"./custom-underline.js";import{DismissBarOnEscape}from"./dismiss-bar-on-escape.js";import{NormalizeEmptyNodeSelection}from"./normalize-empty-node-selection.js";import{StripMentionMarks}from"./strip-mention-marks.js";import Document from"@tiptap/extension-document";import Text from"@tiptap/extension-text";import Bold from"@tiptap/extension-bold";import Italic from"@tiptap/extension-italic";import{BulletList,ListItem,OrderedList}from"@tiptap/extension-list";import{Placeholder,UndoRedo}from"@tiptap/extensions";var createMessageEditorExtensions=({isRichTextEnabled,mentionSuggestion,placeholder})=>{let baseExtensions=[Document,CustomParagraph,Placeholder.configure({placeholder,showOnlyWhenEditable:!1}),Text,CustomMention.configure({suggestion:mentionSuggestion})];return isRichTextEnabled?[...baseExtensions,UndoRedo,Bold,Italic,CustomUnderline,BulletList.configure({keepMarks:!0}),OrderedList.configure({keepMarks:!0}),ListItem,
|
|
1
|
+
import{CustomMention}from"./custom-mention/custom-mention.js";import{CustomParagraph}from"./custom-paragraph.js";import{CustomUnderline}from"./custom-underline.js";import{DismissBarOnEscape}from"./dismiss-bar-on-escape.js";import{NormalizeEmptyNodeSelection}from"./normalize-empty-node-selection.js";import{StripMentionMarks}from"./strip-mention-marks.js";import Document from"@tiptap/extension-document";import Text from"@tiptap/extension-text";import Bold from"@tiptap/extension-bold";import Italic from"@tiptap/extension-italic";import{BulletList,ListItem,OrderedList}from"@tiptap/extension-list";import{Placeholder,UndoRedo}from"@tiptap/extensions";var createMessageEditorExtensions=({isRichTextEnabled,mentionSuggestion,placeholder})=>{let baseExtensions=[Document,CustomParagraph,Placeholder.configure({placeholder,showOnlyWhenEditable:!1}),Text,CustomMention.configure({suggestion:mentionSuggestion}),NormalizeEmptyNodeSelection];return isRichTextEnabled?[...baseExtensions,UndoRedo,Bold,Italic,CustomUnderline,BulletList.configure({keepMarks:!0}),OrderedList.configure({keepMarks:!0}),ListItem,DismissBarOnEscape,StripMentionMarks]:baseExtensions};export{createMessageEditorExtensions};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/threaded-annotations",
|
|
3
|
-
"version": "4.11.
|
|
3
|
+
"version": "4.11.5",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@floating-ui/dom": "^1.6.0",
|
|
@@ -22,23 +22,23 @@
|
|
|
22
22
|
"uuid": "^9.0.1"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@box/blueprint-web": "^17.9.
|
|
26
|
-
"@box/blueprint-web-assets": "^5.10.
|
|
27
|
-
"@box/collaboration-popover": "^2.2.
|
|
28
|
-
"@box/readable-time": "^2.2.
|
|
29
|
-
"@box/user-selector": "^3.0.
|
|
25
|
+
"@box/blueprint-web": "^17.9.1",
|
|
26
|
+
"@box/blueprint-web-assets": "^5.10.5",
|
|
27
|
+
"@box/collaboration-popover": "^2.2.49",
|
|
28
|
+
"@box/readable-time": "^2.2.49",
|
|
29
|
+
"@box/user-selector": "^3.0.28",
|
|
30
30
|
"clsx": "^1.2.1",
|
|
31
31
|
"react": "^18.0.0",
|
|
32
32
|
"react-dom": "^18.0.0",
|
|
33
33
|
"react-intl": "^6.4.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@box/blueprint-web": "^17.9.
|
|
37
|
-
"@box/blueprint-web-assets": "^5.10.
|
|
36
|
+
"@box/blueprint-web": "^17.9.1",
|
|
37
|
+
"@box/blueprint-web-assets": "^5.10.5",
|
|
38
38
|
"@box/eslint-plugin-blueprint": "2.2.16",
|
|
39
|
-
"@box/readable-time": "^2.2.
|
|
40
|
-
"@box/storybook-utils": "^1.2.
|
|
41
|
-
"@box/user-selector": "^3.0.
|
|
39
|
+
"@box/readable-time": "^2.2.49",
|
|
40
|
+
"@box/storybook-utils": "^1.2.49",
|
|
41
|
+
"@box/user-selector": "^3.0.28",
|
|
42
42
|
"@types/markdown-it": "^14.1.2",
|
|
43
43
|
"react": "^18.0.0",
|
|
44
44
|
"react-dom": "^18.0.0"
|