@bigbinary/neeto-editor-frontend 2.2.3 → 2.2.5-beta1
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/.ready +1 -1
- package/dist/Attachments.js +3 -3
- package/dist/Editor.js +4 -4
- package/dist/FormikEditor.js +4 -4
- package/dist/Menu.js +3 -3
- package/dist/{chunk-BfQ_Kj4i.js → chunk-AexVHCkr.js} +4 -4
- package/dist/{chunk-BfQ_Kj4i.js.map → chunk-AexVHCkr.js.map} +1 -1
- package/dist/chunk-BHi0J28T.js +1970 -0
- package/dist/chunk-BHi0J28T.js.map +1 -0
- package/dist/{chunk-CxFTIgDS.js → chunk-BIgc5m-h.js} +2 -2
- package/dist/{chunk-CxFTIgDS.js.map → chunk-BIgc5m-h.js.map} +1 -1
- package/dist/{chunk-DGsiNcMa.js → chunk-Bktpw5vs.js} +3 -3
- package/dist/{chunk-DGsiNcMa.js.map → chunk-Bktpw5vs.js.map} +1 -1
- package/dist/{chunk-DhFieQe2.js → chunk-CLjWv4gG.js} +4 -4
- package/dist/{chunk-DhFieQe2.js.map → chunk-CLjWv4gG.js.map} +1 -1
- package/dist/{chunk-D_Lgx0N7.js → chunk-C_4zmIBQ.js} +2 -2
- package/dist/{chunk-D_Lgx0N7.js.map → chunk-C_4zmIBQ.js.map} +1 -1
- package/dist/{chunk-CcLntzzh.js → chunk-CivYrffM.js} +3 -3
- package/dist/{chunk-CcLntzzh.js.map → chunk-CivYrffM.js.map} +1 -1
- package/dist/{chunk-BV_wep_Y.js → chunk-D37Dlp9s.js} +4 -4
- package/dist/{chunk-BV_wep_Y.js.map → chunk-D37Dlp9s.js.map} +1 -1
- package/dist/{chunk-BGx6BSFw.js → chunk-DwQ7NJtm.js} +4 -4
- package/dist/{chunk-BGx6BSFw.js.map → chunk-DwQ7NJtm.js.map} +1 -1
- package/dist/cjs/Attachments.cjs.js +3 -3
- package/dist/cjs/Editor.cjs.js +4 -4
- package/dist/cjs/FormikEditor.cjs.js +4 -4
- package/dist/cjs/Menu.cjs.js +3 -3
- package/dist/cjs/{chunk-BAse0j9m.cjs.js → chunk-BfHU_Ynq.cjs.js} +4 -4
- package/dist/cjs/{chunk-BAse0j9m.cjs.js.map → chunk-BfHU_Ynq.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-hjJXR4bM.cjs.js → chunk-CAaxrndK.cjs.js} +3 -3
- package/dist/cjs/{chunk-hjJXR4bM.cjs.js.map → chunk-CAaxrndK.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-C-I6s_l9.cjs.js → chunk-CKbuSSOi.cjs.js} +3 -3
- package/dist/cjs/{chunk-C-I6s_l9.cjs.js.map → chunk-CKbuSSOi.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-BPLEmkMA.cjs.js → chunk-CfiRFXt2.cjs.js} +2 -2
- package/dist/cjs/{chunk-BPLEmkMA.cjs.js.map → chunk-CfiRFXt2.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-CHk_Gq2n.cjs.js → chunk-CpQ8t9br.cjs.js} +2 -2
- package/dist/cjs/{chunk-CHk_Gq2n.cjs.js.map → chunk-CpQ8t9br.cjs.js.map} +1 -1
- package/dist/cjs/chunk-Cr0FBhRs.cjs.js +1990 -0
- package/dist/cjs/chunk-Cr0FBhRs.cjs.js.map +1 -0
- package/dist/cjs/{chunk-DGPpvE8O.cjs.js → chunk-Ct6vCCZ0.cjs.js} +4 -4
- package/dist/cjs/{chunk-DGPpvE8O.cjs.js.map → chunk-Ct6vCCZ0.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-D86ONI5s.cjs.js → chunk-Df43FB6u.cjs.js} +4 -4
- package/dist/cjs/{chunk-D86ONI5s.cjs.js.map → chunk-Df43FB6u.cjs.js.map} +1 -1
- package/dist/cjs/{chunk--47DtZYn.cjs.js → chunk-DuwgLqpD.cjs.js} +4 -4
- package/dist/cjs/{chunk--47DtZYn.cjs.js.map → chunk-DuwgLqpD.cjs.js.map} +1 -1
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/v2/Attachments.cjs.js +3 -3
- package/dist/cjs/v2/Editor.cjs.js +4 -4
- package/dist/cjs/v2/FormikEditor.cjs.js +4 -4
- package/dist/cjs/v2/Menu.cjs.js +3 -3
- package/dist/cjs/v2/index.cjs.js +4 -4
- package/dist/editor-stats.html +1 -19
- package/dist/index.js +4 -4
- package/dist/v2/Attachments.js +3 -3
- package/dist/v2/Editor.js +4 -4
- package/dist/v2/FormikEditor.js +4 -4
- package/dist/v2/Menu.js +3 -3
- package/dist/v2/index.js +4 -4
- package/package.json +7 -6
- package/dist/chunk-OP-lX765.js +0 -8654
- package/dist/chunk-OP-lX765.js.map +0 -1
- package/dist/cjs/chunk-Bde8Sbb1.cjs.js +0 -8674
- package/dist/cjs/chunk-Bde8Sbb1.cjs.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -3,10 +3,10 @@ export { D as DEFAULT_EDITOR_OPTIONS } from './chunk-CNIDH-FD.js';
|
|
|
3
3
|
export { i as isEditorOverlaysActive, a as isEmojiSuggestionsMenuActive, t as transformEditorContent } from './chunk-GA-wADEN.js';
|
|
4
4
|
export { s as substituteVariables } from './chunk-DPx9v04U.js';
|
|
5
5
|
export { i as isEditorContentWithinLimit, a as isEditorEmpty, r as removeEmptyTags } from './chunk-LtUevT4I.js';
|
|
6
|
-
export { A as Attachments } from './chunk-
|
|
6
|
+
export { A as Attachments } from './chunk-CLjWv4gG.js';
|
|
7
7
|
export { default as Editor } from './Editor.js';
|
|
8
8
|
export { default as FormikEditor } from './FormikEditor.js';
|
|
9
|
-
export { M as Menu } from './chunk-
|
|
9
|
+
export { M as Menu } from './chunk-Bktpw5vs.js';
|
|
10
10
|
export { default as EditorContent } from './EditorContent.js';
|
|
11
11
|
import { n } from './chunk-C2dztUxs.js';
|
|
12
12
|
import 'ramda';
|
|
@@ -27,13 +27,13 @@ import 'classnames';
|
|
|
27
27
|
import '@bigbinary/neetoui/Button';
|
|
28
28
|
import '@bigbinary/neetoui/Toastr';
|
|
29
29
|
import 'react-i18next';
|
|
30
|
-
import './chunk-
|
|
30
|
+
import './chunk-BHi0J28T.js';
|
|
31
31
|
import '@bigbinary/neeto-commons-frontend/react-utils';
|
|
32
32
|
import 'zustand';
|
|
33
33
|
import '@babel/runtime/helpers/createClass';
|
|
34
34
|
import '@babel/runtime/helpers/classCallCheck';
|
|
35
35
|
import 'axios';
|
|
36
|
-
import './chunk-
|
|
36
|
+
import './chunk-C_4zmIBQ.js';
|
|
37
37
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
38
38
|
import 'zustand/shallow';
|
|
39
39
|
import '@bigbinary/neeto-icons/LeftAlign';
|
package/dist/v2/Attachments.js
CHANGED
|
@@ -8,9 +8,9 @@ import 'classnames';
|
|
|
8
8
|
import '@bigbinary/neeto-cist';
|
|
9
9
|
import 'ramda';
|
|
10
10
|
import 'react-i18next';
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
13
|
-
export { A as default } from '../chunk-
|
|
11
|
+
import '../chunk-BHi0J28T.js';
|
|
12
|
+
import '../chunk-BIgc5m-h.js';
|
|
13
|
+
export { A as default } from '../chunk-DwQ7NJtm.js';
|
|
14
14
|
import 'react/jsx-runtime';
|
|
15
15
|
import '@bigbinary/neeto-commons-frontend/react-utils';
|
|
16
16
|
import 'zustand';
|
package/dist/v2/Editor.js
CHANGED
|
@@ -17,7 +17,7 @@ import { is, intersection, difference, union, isEmpty, isNil, mergeRight, assoc,
|
|
|
17
17
|
import ReactDOM from 'react-dom/server';
|
|
18
18
|
import { l as lowlight, d as decodeHtmlEntities, r as removeEmptyTags } from '../chunk-LtUevT4I.js';
|
|
19
19
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
20
|
-
import { C as CALLOUT_TYPES, E as EmojiPickerMenu, g as getSuggestionAppendTo, v as validateUrl, b as buildLevelsFromOptions, c as getLinkPopoverPosition, L as LINK_VALIDATION_SCHEMA, d as validateAndFormatUrl, D as DEFAULT_EDITOR_OPTIONS, e as getEditorStyles, M as Menu$3, f as MenuDynamicVariables, h as MediaUploader, j as LinkAddPopOver, k as transformPastedHTML, l as handlePaste, m as clipboardTextParser, s as setInitialPosition } from '../chunk-
|
|
20
|
+
import { C as CALLOUT_TYPES, E as EmojiPickerMenu, g as getSuggestionAppendTo, v as validateUrl, b as buildLevelsFromOptions, c as getLinkPopoverPosition, L as LINK_VALIDATION_SCHEMA, d as validateAndFormatUrl, D as DEFAULT_EDITOR_OPTIONS, e as getEditorStyles, M as Menu$3, f as MenuDynamicVariables, h as MediaUploader, j as LinkAddPopOver, k as transformPastedHTML, l as handlePaste, m as clipboardTextParser, s as setInitialPosition } from '../chunk-CivYrffM.js';
|
|
21
21
|
import Megaphone from '@bigbinary/neeto-icons/misc/Megaphone';
|
|
22
22
|
import { g as PluginKey, P as Plugin, S as Selection, T as TextSelection } from '../chunk-DqSrbxqC.js';
|
|
23
23
|
import { ChevronDown, Highlighter, X, Ratio, Ellipsis, AlignLeft, AlignCenter, AlignRight, RectangleHorizontal, RectangleVertical, Square, SquareDashed, Trash2, Minus as Minus$1, Plus, BookOpen, Pencil } from 'lucide-react';
|
|
@@ -34,7 +34,7 @@ import _getPrototypeOf from '@babel/runtime/helpers/getPrototypeOf';
|
|
|
34
34
|
import _inherits from '@babel/runtime/helpers/inherits';
|
|
35
35
|
import { init, SearchIndex } from 'emoji-mart';
|
|
36
36
|
import { globalProps } from '@bigbinary/neeto-commons-frontend/v2/initializers';
|
|
37
|
-
import { D as DirectUpload } from '../chunk-
|
|
37
|
+
import { D as DirectUpload } from '../chunk-BHi0J28T.js';
|
|
38
38
|
import Tippy from '@tippyjs/react';
|
|
39
39
|
import TextP from '@bigbinary/neeto-icons/TextP';
|
|
40
40
|
import TextH1 from '@bigbinary/neeto-icons/TextH1';
|
|
@@ -60,11 +60,11 @@ import Link$2 from '@bigbinary/neeto-icons/Link';
|
|
|
60
60
|
import Attachment from '@bigbinary/neeto-icons/Attachment';
|
|
61
61
|
import MessageSquare from '@bigbinary/neeto-icons/MessageSquare';
|
|
62
62
|
import File from '@bigbinary/neeto-icons/File';
|
|
63
|
-
import { h as DEFAULT_ASPECT_RATIO } from '../chunk-
|
|
63
|
+
import { h as DEFAULT_ASPECT_RATIO } from '../chunk-BIgc5m-h.js';
|
|
64
64
|
import _typeof from '@babel/runtime/helpers/typeof';
|
|
65
65
|
import Search from '@bigbinary/neeto-molecules/v2/Search';
|
|
66
66
|
import { Form, Input as Input$1 } from '@bigbinary/neeto-atoms/formik';
|
|
67
|
-
import { A as Attachments } from '../chunk-
|
|
67
|
+
import { A as Attachments } from '../chunk-DwQ7NJtm.js';
|
|
68
68
|
import 'axios';
|
|
69
69
|
import '@bigbinary/neeto-commons-frontend/react-utils';
|
|
70
70
|
import 'zustand';
|
package/dist/v2/FormikEditor.js
CHANGED
|
@@ -30,7 +30,7 @@ import '../chunk-CNIDH-FD.js';
|
|
|
30
30
|
import 'i18next';
|
|
31
31
|
import 'yup';
|
|
32
32
|
import 'react-dom/server';
|
|
33
|
-
import '../chunk-
|
|
33
|
+
import '../chunk-CivYrffM.js';
|
|
34
34
|
import 'lucide-react';
|
|
35
35
|
import '@bigbinary/neeto-atoms/primitives/Popover';
|
|
36
36
|
import 'react-i18next';
|
|
@@ -43,8 +43,8 @@ import 'emoji-mart';
|
|
|
43
43
|
import '@bigbinary/neeto-commons-frontend/v2/utils';
|
|
44
44
|
import 'react-colorful';
|
|
45
45
|
import '@bigbinary/neeto-image-uploader-frontend/v2/ImageUploader';
|
|
46
|
-
import '../chunk-
|
|
47
|
-
import '../chunk-
|
|
46
|
+
import '../chunk-BHi0J28T.js';
|
|
47
|
+
import '../chunk-BIgc5m-h.js';
|
|
48
48
|
import 'zustand/shallow';
|
|
49
49
|
import '@bigbinary/neeto-commons-frontend/v2/initializers';
|
|
50
50
|
import '@bigbinary/neeto-icons/LeftAlign';
|
|
@@ -92,7 +92,7 @@ import '@bigbinary/neeto-icons/MessageSquare';
|
|
|
92
92
|
import '@bigbinary/neeto-icons/File';
|
|
93
93
|
import '@babel/runtime/helpers/typeof';
|
|
94
94
|
import '@bigbinary/neeto-molecules/v2/Search';
|
|
95
|
-
import '../chunk-
|
|
95
|
+
import '../chunk-DwQ7NJtm.js';
|
|
96
96
|
import '@bigbinary/neeto-commons-frontend/v2/react-utils/useOnClickOutside';
|
|
97
97
|
|
|
98
98
|
var _excluded = ["name", "onChange", "shouldUpdate", "attachments", "mentions", "variables"];
|
package/dist/v2/Menu.js
CHANGED
|
@@ -3,7 +3,7 @@ import '@babel/runtime/helpers/toConsumableArray';
|
|
|
3
3
|
import '@babel/runtime/helpers/slicedToArray';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'ramda';
|
|
6
|
-
export { M as default } from '../chunk-
|
|
6
|
+
export { M as default } from '../chunk-CivYrffM.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'i18next';
|
|
9
9
|
import 'yup';
|
|
@@ -32,9 +32,9 @@ import '@bigbinary/neeto-commons-frontend/v2/utils';
|
|
|
32
32
|
import 'react-colorful';
|
|
33
33
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
34
34
|
import '@bigbinary/neeto-image-uploader-frontend/v2/ImageUploader';
|
|
35
|
-
import '../chunk-
|
|
35
|
+
import '../chunk-BHi0J28T.js';
|
|
36
36
|
import '../chunk-BFTU3MAI.js';
|
|
37
|
-
import '../chunk-
|
|
37
|
+
import '../chunk-BIgc5m-h.js';
|
|
38
38
|
import 'zustand/shallow';
|
|
39
39
|
import '@bigbinary/neeto-commons-frontend/v2/initializers';
|
|
40
40
|
import '@bigbinary/neeto-icons/LeftAlign';
|
package/dist/v2/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { E as EDITOR_OPTIONS } from '../chunk-UwzgbfZD.js';
|
|
2
|
-
export { D as DEFAULT_EDITOR_OPTIONS, M as Menu, i as isEditorOverlaysActive, a as isEmojiSuggestionsMenuActive, t as transformEditorContent } from '../chunk-
|
|
2
|
+
export { D as DEFAULT_EDITOR_OPTIONS, M as Menu, i as isEditorOverlaysActive, a as isEmojiSuggestionsMenuActive, t as transformEditorContent } from '../chunk-CivYrffM.js';
|
|
3
3
|
export { i as EditorContent, s as substituteVariables } from '../chunk-yBvbLjSM.js';
|
|
4
4
|
export { i as isEditorContentWithinLimit, a as isEditorEmpty, r as removeEmptyTags } from '../chunk-LtUevT4I.js';
|
|
5
|
-
export { A as Attachments } from '../chunk-
|
|
5
|
+
export { A as Attachments } from '../chunk-DwQ7NJtm.js';
|
|
6
6
|
export { default as Editor } from './Editor.js';
|
|
7
7
|
export { default as FormikEditor } from './FormikEditor.js';
|
|
8
8
|
import 'ramda';
|
|
@@ -37,9 +37,9 @@ import '@bigbinary/neeto-commons-frontend/v2/utils';
|
|
|
37
37
|
import 'react-colorful';
|
|
38
38
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
39
39
|
import '@bigbinary/neeto-image-uploader-frontend/v2/ImageUploader';
|
|
40
|
-
import '../chunk-
|
|
40
|
+
import '../chunk-BHi0J28T.js';
|
|
41
41
|
import '../chunk-BFTU3MAI.js';
|
|
42
|
-
import '../chunk-
|
|
42
|
+
import '../chunk-BIgc5m-h.js';
|
|
43
43
|
import 'zustand/shallow';
|
|
44
44
|
import '@bigbinary/neeto-commons-frontend/v2/initializers';
|
|
45
45
|
import '@bigbinary/neeto-icons/LeftAlign';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-editor-frontend",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.5-beta1",
|
|
4
4
|
"description": "neetoEditor is the library that drives the rich text experience in all neeto products built at BigBinary",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui",
|
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
"test:safe-list-keymap": "node --test test/javascript/safeListKeymap.test.mjs",
|
|
65
65
|
"test:markdown": "node --test test/javascript/markdown.test.mjs",
|
|
66
66
|
"test:safe-split-block": "node --test test/javascript/safeSplitBlock.test.mjs",
|
|
67
|
+
"test:generate-checksum": "node --test test/javascript/generateChecksum.test.mjs",
|
|
67
68
|
"test:variable-display": "node --test test/javascript/variableDisplay.test.mjs",
|
|
68
69
|
"upload": "node .scripts/publish --env production"
|
|
69
70
|
},
|
|
@@ -102,12 +103,12 @@
|
|
|
102
103
|
"@bigbinary/neeto-atoms": "1.1.0",
|
|
103
104
|
"@bigbinary/neeto-audit-frontend": "2.6.0",
|
|
104
105
|
"@bigbinary/neeto-cist": "1.0.17",
|
|
105
|
-
"@bigbinary/neeto-commons-frontend": "4.14.
|
|
106
|
+
"@bigbinary/neeto-commons-frontend": "4.14.4",
|
|
106
107
|
"@bigbinary/neeto-filters-frontend": "4.5.1",
|
|
107
108
|
"@bigbinary/neeto-hotkeys": "1.0.9",
|
|
108
109
|
"@bigbinary/neeto-icons": "1.20.89",
|
|
109
110
|
"@bigbinary/neeto-image-uploader-frontend": "4.1.6",
|
|
110
|
-
"@bigbinary/neeto-molecules": "5.9.
|
|
111
|
+
"@bigbinary/neeto-molecules": "5.9.7",
|
|
111
112
|
"@bigbinary/neeto-team-members-frontend": "5.2.10",
|
|
112
113
|
"@bigbinary/neeto-time-zones": "0.8.26",
|
|
113
114
|
"@bigbinary/neetoui": "8.8.3",
|
|
@@ -178,7 +179,6 @@
|
|
|
178
179
|
"babel-preset-react": "6.24.1",
|
|
179
180
|
"babel-preset-typescript": "^7.0.0-alpha.19",
|
|
180
181
|
"classnames": "2.5.1",
|
|
181
|
-
"crypto-js": "4.2.0",
|
|
182
182
|
"css-loader": "6.7.1",
|
|
183
183
|
"dompurify": "3.4.17",
|
|
184
184
|
"emoji-mart": "5.6.0",
|
|
@@ -247,6 +247,7 @@
|
|
|
247
247
|
"sass": "1.98.0",
|
|
248
248
|
"sass-loader": "^13.0.2",
|
|
249
249
|
"shadcn": "^4.1.0",
|
|
250
|
+
"spark-md5": "3.0.2",
|
|
250
251
|
"storybook": "^7.5.3",
|
|
251
252
|
"storybook-addon-live-examples": "2.0.3",
|
|
252
253
|
"storybook-dark-mode": "^3.0.1",
|
|
@@ -272,12 +273,12 @@
|
|
|
272
273
|
"@bigbinary/babel-preset-neeto": "*",
|
|
273
274
|
"@bigbinary/neeto-atoms": "1.1.0",
|
|
274
275
|
"@bigbinary/neeto-cist": "1.0.17",
|
|
275
|
-
"@bigbinary/neeto-commons-frontend": "4.14.
|
|
276
|
+
"@bigbinary/neeto-commons-frontend": "4.14.4",
|
|
276
277
|
"@bigbinary/neeto-filters-frontend": "4.5.1",
|
|
277
278
|
"@bigbinary/neeto-hotkeys": "1.0.9",
|
|
278
279
|
"@bigbinary/neeto-icons": "1.20.89",
|
|
279
280
|
"@bigbinary/neeto-image-uploader-frontend": "4.1.6",
|
|
280
|
-
"@bigbinary/neeto-molecules": "5.9.
|
|
281
|
+
"@bigbinary/neeto-molecules": "5.9.7",
|
|
281
282
|
"@bigbinary/neeto-team-members-frontend": "5.2.10",
|
|
282
283
|
"@bigbinary/neeto-time-zones": "0.8.26",
|
|
283
284
|
"@bigbinary/neetoui": "8.8.3",
|