@bigbinary/neeto-editor 1.47.16 → 1.47.17

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.
Files changed (50) hide show
  1. package/dist/Attachments.js +3 -3
  2. package/dist/Editor.js +6 -6
  3. package/dist/EditorContent.js +2 -2
  4. package/dist/FormikEditor.js +6 -6
  5. package/dist/Menu.js +5 -5
  6. package/dist/{chunk-d_e-nCfW.js → chunk-CdgC8hfY.js} +2 -2
  7. package/dist/{chunk-d_e-nCfW.js.map → chunk-CdgC8hfY.js.map} +1 -1
  8. package/dist/{chunk-CS15pHk7.js → chunk-Ct2wC6BU.js} +4 -4
  9. package/dist/{chunk-CS15pHk7.js.map → chunk-Ct2wC6BU.js.map} +1 -1
  10. package/dist/{chunk-xg8XBg3A.js → chunk-D3vCHEXP.js} +8 -8
  11. package/dist/{chunk-xg8XBg3A.js.map → chunk-D3vCHEXP.js.map} +1 -1
  12. package/dist/{chunk-BegQDClu.js → chunk-D8Bf8wHT.js} +3 -3
  13. package/dist/chunk-D8Bf8wHT.js.map +1 -0
  14. package/dist/{chunk-DyotPgEu.js → chunk-DfgS5Vcu.js} +5 -5
  15. package/dist/{chunk-DyotPgEu.js.map → chunk-DfgS5Vcu.js.map} +1 -1
  16. package/dist/{chunk-CNKMT47g.js → chunk-l2RmPo8i.js} +4 -4
  17. package/dist/{chunk-CNKMT47g.js.map → chunk-l2RmPo8i.js.map} +1 -1
  18. package/dist/{chunk-CJu3yusL.js → chunk-s3WgIRIz.js} +5 -2
  19. package/dist/chunk-s3WgIRIz.js.map +1 -0
  20. package/dist/cjs/Attachments.cjs.js +3 -3
  21. package/dist/cjs/Editor.cjs.js +6 -6
  22. package/dist/cjs/EditorContent.cjs.js +2 -2
  23. package/dist/cjs/FormikEditor.cjs.js +6 -6
  24. package/dist/cjs/Menu.cjs.js +5 -5
  25. package/dist/cjs/{chunk-CYJMaJZR.cjs.js → chunk-BhtGyqIq.cjs.js} +2 -2
  26. package/dist/cjs/{chunk-CYJMaJZR.cjs.js.map → chunk-BhtGyqIq.cjs.js.map} +1 -1
  27. package/dist/cjs/{chunk-C2JDXWdK.cjs.js → chunk-CKsB-ac9.cjs.js} +5 -1
  28. package/dist/cjs/chunk-CKsB-ac9.cjs.js.map +1 -0
  29. package/dist/cjs/{chunk-BOkbieMH.cjs.js → chunk-CRaj6gwd.cjs.js} +5 -5
  30. package/dist/cjs/{chunk-BOkbieMH.cjs.js.map → chunk-CRaj6gwd.cjs.js.map} +1 -1
  31. package/dist/cjs/{chunk-D27RxiMX.cjs.js → chunk-Cm4yK9ca.cjs.js} +3 -3
  32. package/dist/cjs/chunk-Cm4yK9ca.cjs.js.map +1 -0
  33. package/dist/cjs/{chunk-DrD8BaMo.cjs.js → chunk-D3mian4q.cjs.js} +4 -4
  34. package/dist/cjs/{chunk-DrD8BaMo.cjs.js.map → chunk-D3mian4q.cjs.js.map} +1 -1
  35. package/dist/cjs/{chunk-oFWIYGBM.cjs.js → chunk-DZgD1adL.cjs.js} +4 -4
  36. package/dist/cjs/{chunk-oFWIYGBM.cjs.js.map → chunk-DZgD1adL.cjs.js.map} +1 -1
  37. package/dist/cjs/{chunk-DPEzpgdq.cjs.js → chunk-eVqAxU5i.cjs.js} +8 -8
  38. package/dist/cjs/{chunk-DPEzpgdq.cjs.js.map → chunk-eVqAxU5i.cjs.js.map} +1 -1
  39. package/dist/cjs/constants.cjs.js +2 -2
  40. package/dist/cjs/index.cjs.js +6 -6
  41. package/dist/cjs/utils.cjs.js +3 -3
  42. package/dist/constants.js +2 -2
  43. package/dist/editor-stats.html +1 -1
  44. package/dist/index.js +6 -6
  45. package/dist/utils.js +3 -3
  46. package/package.json +1 -1
  47. package/dist/chunk-BegQDClu.js.map +0 -1
  48. package/dist/chunk-CJu3yusL.js.map +0 -1
  49. package/dist/cjs/chunk-C2JDXWdK.cjs.js.map +0 -1
  50. package/dist/cjs/chunk-D27RxiMX.cjs.js.map +0 -1
@@ -10,8 +10,8 @@ import '@bigbinary/neetoui/Button';
10
10
  import '@bigbinary/neetoui/Toastr';
11
11
  import 'ramda';
12
12
  import 'react-i18next';
13
- import './chunk-d_e-nCfW.js';
14
- export { A as default } from './chunk-CS15pHk7.js';
13
+ import './chunk-CdgC8hfY.js';
14
+ export { A as default } from './chunk-Ct2wC6BU.js';
15
15
  import 'react/jsx-runtime';
16
16
  import '@babel/runtime/helpers/objectWithoutProperties';
17
17
  import 'zustand/shallow';
@@ -27,7 +27,7 @@ import '@bigbinary/neeto-icons/CenterAlign';
27
27
  import '@bigbinary/neeto-icons/RightAlign';
28
28
  import '@bigbinary/neeto-icons/Delete';
29
29
  import '@bigbinary/neeto-commons-frontend/initializers';
30
- import './chunk-CJu3yusL.js';
30
+ import './chunk-s3WgIRIz.js';
31
31
  import './chunk-DmrvuTKK.js';
32
32
  import '@bigbinary/neeto-commons-frontend/utils';
33
33
  import '@bigbinary/neeto-icons/MenuVertical';
package/dist/Editor.js CHANGED
@@ -4,19 +4,19 @@ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
4
4
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
5
5
  import * as React from 'react';
6
6
  import React__default, { memo, useEffect, useState, useRef, useCallback, createElement, forwardRef, useImperativeHandle } from 'react';
7
- import { E as Extension, a as Mark, m as mergeAttributes, b as markInputRule, c as markPasteRule, D as DecorationSet, d as Decoration, g as getMarkAttributes, N as Node, i as isNodeActive, e as isAtStartOfNode, f as isAtEndOfNode, h as getNodeType, j as getNodeAtPosition, w as wrappingInputRule, t as textblockTypeInputRule, k as keydownHandler, l as callOrReturn, n as getExtensionField, o as isNodeSelection, p as nodeInputRule, C as CALLOUT_TYPES, q as NodeViewWrapper, r as NodeViewContent, R as ReactNodeViewRenderer, s as findChildren, P as PasteRule, v as validateUrl, u as escapeForRegEx, x as ReactRenderer, y as EmojiPickerMenu, z as emojiPickerApi, A as combineTransactionSteps, B as getChangedRanges, F as findChildrenInRange, G as getMarksBetween, H as getAttributes, I as InputRule, J as highlightFocussedNode, K as resetFocussedNode, L as findParentNodeClosestToPos, O as BubbleMenu, Q as getLinkPopoverPosition, S as getMarkType, T as getMarkRange, U as useEditor, V as useEditorState, M as Menu$3, W as EditorContent, X as MediaUploader, Y as EmbedOption, Z as LinkAddPopOver, _ as EditorView } from './chunk-xg8XBg3A.js';
7
+ import { E as Extension, a as Mark, m as mergeAttributes, b as markInputRule, c as markPasteRule, D as DecorationSet, d as Decoration, g as getMarkAttributes, N as Node, i as isNodeActive, e as isAtStartOfNode, f as isAtEndOfNode, h as getNodeType, j as getNodeAtPosition, w as wrappingInputRule, t as textblockTypeInputRule, k as keydownHandler, l as callOrReturn, n as getExtensionField, o as isNodeSelection, p as nodeInputRule, C as CALLOUT_TYPES, q as NodeViewWrapper, r as NodeViewContent, R as ReactNodeViewRenderer, s as findChildren, P as PasteRule, v as validateUrl, u as escapeForRegEx, x as ReactRenderer, y as EmojiPickerMenu, z as emojiPickerApi, A as combineTransactionSteps, B as getChangedRanges, F as findChildrenInRange, G as getMarksBetween, H as getAttributes, I as InputRule, J as highlightFocussedNode, K as resetFocussedNode, L as findParentNodeClosestToPos, O as BubbleMenu, Q as getLinkPopoverPosition, S as getMarkType, T as getMarkRange, U as useEditor, V as useEditorState, M as Menu$3, W as EditorContent, X as MediaUploader, Y as EmbedOption, Z as LinkAddPopOver, _ as EditorView } from './chunk-D3vCHEXP.js';
8
8
  import classnames from 'classnames';
9
- import { C as COMBINED_REGEX, D as DIRECT_UPLOAD_ENDPOINT, E as EDITOR_OPTIONS, a as EDITOR_SIZES } from './chunk-CJu3yusL.js';
9
+ import { C as COMBINED_REGEX, D as DIRECT_UPLOAD_ENDPOINT, E as EDITOR_OPTIONS, a as EDITOR_SIZES } from './chunk-s3WgIRIz.js';
10
10
  import { isNotPresent, findBy, isNotEmpty, isPresent, noop as noop$1, slugify } from '@bigbinary/neeto-cist';
11
11
  import { useOnClickOutside, useFuncDebounce } from '@bigbinary/neeto-commons-frontend/react-utils';
12
12
  import Label from '@bigbinary/neetoui/Label';
13
13
  import { is, intersection, difference, union, mergeRight, isEmpty as isEmpty$1, isNil, assoc, equals } from 'ramda';
14
14
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
15
15
  import { n } from './chunk-DmrvuTKK.js';
16
- import { P as Plugin, o as PluginKey, b as Slice, F as Fragment$1, T as TextSelection, S as Selection, d as dropPoint, N as NodeSelection, q as Mapping$1, M as Mark$1, e as MarkType, R as ReplaceError, s as SelectionRange, u as buildLevelsFromOptions, v as validateAndFormatUrl, w as getEditorStyles, x as clipboardTextParser, y as transformPastedHTML, z as setInitialPosition } from './chunk-DyotPgEu.js';
16
+ import { P as Plugin, o as PluginKey, b as Slice, F as Fragment$1, T as TextSelection, S as Selection, d as dropPoint, N as NodeSelection, q as Mapping$1, M as Mark$1, e as MarkType, R as ReplaceError, s as SelectionRange, u as buildLevelsFromOptions, v as validateAndFormatUrl, w as getEditorStyles, x as clipboardTextParser, y as transformPastedHTML, z as setInitialPosition } from './chunk-DfgS5Vcu.js';
17
17
  import ReactDOM from 'react-dom/server';
18
18
  import { l as lowlight, M as MARGIN_HEIGHT, r as removeEmptyTags } from './chunk-BCoBS5ED.js';
19
- import { L as LINK_VALIDATION_SCHEMA, D as DEFAULT_EDITOR_OPTIONS } from './chunk-BegQDClu.js';
19
+ import { L as LINK_VALIDATION_SCHEMA, D as DEFAULT_EDITOR_OPTIONS } from './chunk-D8Bf8wHT.js';
20
20
  import * as Y from 'yjs';
21
21
  import { UndoManager, Item as Item$1, ContentType, Text as Text$2, XmlElement } from 'yjs';
22
22
  import Megaphone from '@bigbinary/neeto-icons/misc/Megaphone';
@@ -32,7 +32,7 @@ import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
32
32
  import _regeneratorRuntime from '@babel/runtime/regenerator';
33
33
  import { flushSync, createPortal } from 'react-dom';
34
34
  import MenuHorizontal from '@bigbinary/neeto-icons/MenuHorizontal';
35
- import { h as buildImageOptions, i as DirectUpload } from './chunk-d_e-nCfW.js';
35
+ import { h as buildImageOptions, i as DirectUpload } from './chunk-CdgC8hfY.js';
36
36
  import tippy, { sticky } from 'tippy.js';
37
37
  import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
38
38
  import _createClass from '@babel/runtime/helpers/createClass';
@@ -83,7 +83,7 @@ import ToggleHeaderRow from '@bigbinary/neeto-icons/ToggleHeaderRow';
83
83
  import Checkbox$1 from '@bigbinary/neetoui/Checkbox';
84
84
  import Form from '@bigbinary/neetoui/formik/Form';
85
85
  import Input$1 from '@bigbinary/neetoui/formik/Input';
86
- import { A as Attachments } from './chunk-CS15pHk7.js';
86
+ import { A as Attachments } from './chunk-Ct2wC6BU.js';
87
87
  import 'tippy.js/dist/svg-arrow.css';
88
88
  import '@bigbinary/neeto-commons-frontend/utils';
89
89
  import '@bigbinary/neeto-icons/Check';
@@ -7,10 +7,10 @@ import DOMPurify from 'dompurify';
7
7
  import CopyToClipboardButton from '@bigbinary/neeto-molecules/CopyToClipboardButton';
8
8
  import { isNil } from 'ramda';
9
9
  import { createRoot } from 'react-dom/client';
10
- import { a as EDITOR_SIZES } from './chunk-CJu3yusL.js';
10
+ import { a as EDITOR_SIZES } from './chunk-s3WgIRIz.js';
11
11
  import { n } from './chunk-DmrvuTKK.js';
12
12
  import '@bigbinary/neeto-cist';
13
- import './chunk-BegQDClu.js';
13
+ import './chunk-D8Bf8wHT.js';
14
14
  import { c as convertPlainTextToHtml, s as substituteVariables, a as applySyntaxHighlightingAndLineNumbers, b as applyLineHighlighting } from './chunk-CBY2h1zh.js';
15
15
  import { r as removeEmptyTags, E as EDITOR_CONTENT_CLASS_NAME, S as SANITIZE_OPTIONS, b as EDITOR_CONTENT_DEFAULT_CONFIGURATION } from './chunk-BCoBS5ED.js';
16
16
  import { useOnClickOutside } from '@bigbinary/neeto-commons-frontend/react-utils';
@@ -8,7 +8,7 @@ import Editor from './Editor.js';
8
8
  import { jsx } from 'react/jsx-runtime';
9
9
  import '@babel/runtime/helpers/toConsumableArray';
10
10
  import '@babel/runtime/helpers/slicedToArray';
11
- import './chunk-xg8XBg3A.js';
11
+ import './chunk-D3vCHEXP.js';
12
12
  import './chunk-DmrvuTKK.js';
13
13
  import 'i18next';
14
14
  import '@bigbinary/neeto-icons/TextH1';
@@ -17,9 +17,9 @@ import '@bigbinary/neeto-icons/TextH3';
17
17
  import '@bigbinary/neeto-icons/TextH4';
18
18
  import '@bigbinary/neeto-icons/TextH5';
19
19
  import '@bigbinary/neeto-icons/TextP';
20
- import './chunk-DyotPgEu.js';
21
- import './chunk-CJu3yusL.js';
22
- import './chunk-BegQDClu.js';
20
+ import './chunk-DfgS5Vcu.js';
21
+ import './chunk-s3WgIRIz.js';
22
+ import './chunk-D8Bf8wHT.js';
23
23
  import 'yup';
24
24
  import 'tippy.js';
25
25
  import 'react-dom';
@@ -72,7 +72,7 @@ import 'react-colorful';
72
72
  import '@bigbinary/neeto-molecules/DynamicVariables';
73
73
  import '@bigbinary/neetoui/Modal';
74
74
  import '@bigbinary/neetoui/Tab';
75
- import './chunk-d_e-nCfW.js';
75
+ import './chunk-CdgC8hfY.js';
76
76
  import 'zustand/shallow';
77
77
  import '@bigbinary/neetoui/Toastr';
78
78
  import 'zustand';
@@ -112,7 +112,7 @@ import '@bigbinary/neeto-icons/MergeSplit';
112
112
  import '@bigbinary/neeto-icons/ToggleHeaderRow';
113
113
  import '@bigbinary/neetoui/formik/Form';
114
114
  import '@bigbinary/neetoui/formik/Input';
115
- import './chunk-CS15pHk7.js';
115
+ import './chunk-Ct2wC6BU.js';
116
116
  import '@bigbinary/neeto-icons/MenuVertical';
117
117
  import '@bigbinary/neetoui/Alert';
118
118
 
package/dist/Menu.js CHANGED
@@ -3,8 +3,8 @@ 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-xg8XBg3A.js';
7
- import './chunk-BegQDClu.js';
6
+ export { M as default } from './chunk-D3vCHEXP.js';
7
+ import './chunk-D8Bf8wHT.js';
8
8
  import 'react/jsx-runtime';
9
9
  import './chunk-DmrvuTKK.js';
10
10
  import 'i18next';
@@ -14,9 +14,9 @@ import '@bigbinary/neeto-icons/TextH3';
14
14
  import '@bigbinary/neeto-icons/TextH4';
15
15
  import '@bigbinary/neeto-icons/TextH5';
16
16
  import '@bigbinary/neeto-icons/TextP';
17
- import './chunk-DyotPgEu.js';
17
+ import './chunk-DfgS5Vcu.js';
18
18
  import '@bigbinary/neeto-cist';
19
- import './chunk-CJu3yusL.js';
19
+ import './chunk-s3WgIRIz.js';
20
20
  import 'tippy.js';
21
21
  import 'react-dom';
22
22
  import 'classnames';
@@ -69,7 +69,7 @@ import '@babel/runtime/helpers/objectWithoutProperties';
69
69
  import '@bigbinary/neeto-molecules/DynamicVariables';
70
70
  import '@bigbinary/neetoui/Modal';
71
71
  import '@bigbinary/neetoui/Tab';
72
- import './chunk-d_e-nCfW.js';
72
+ import './chunk-CdgC8hfY.js';
73
73
  import 'zustand/shallow';
74
74
  import '@bigbinary/neetoui/Toastr';
75
75
  import 'zustand';
@@ -22,7 +22,7 @@ import CenterAlign from '@bigbinary/neeto-icons/CenterAlign';
22
22
  import RightAlign from '@bigbinary/neeto-icons/RightAlign';
23
23
  import Delete from '@bigbinary/neeto-icons/Delete';
24
24
  import { globalProps } from '@bigbinary/neeto-commons-frontend/initializers';
25
- import { D as DIRECT_UPLOAD_ENDPOINT } from './chunk-CJu3yusL.js';
25
+ import { D as DIRECT_UPLOAD_ENDPOINT } from './chunk-s3WgIRIz.js';
26
26
  import { jsx } from 'react/jsx-runtime';
27
27
 
28
28
  var useDropFiles = function useDropFiles(_ref) {
@@ -8525,4 +8525,4 @@ var File = function File(_ref) {
8525
8525
  };
8526
8526
 
8527
8527
  export { ALLOWED_IMAGE_TYPES as A, DEFAULT_IMAGE_UPLOAD_CONFIG as D, File as F, PropTypes as P, FileIcon as a, useDropFiles as b, ALLOWED_VIDEO_TYPES as c, directUploadsApi as d, convertToFileSize as e, DEFAULT_VIDEO_UPLOAD_CONFIG as f, getTabs as g, buildImageOptions as h, DirectUpload as i, commonjsRequire as j, propTypesExports as p, useFileUploader as u };
8528
- //# sourceMappingURL=chunk-d_e-nCfW.js.map
8528
+ //# sourceMappingURL=chunk-CdgC8hfY.js.map