@bigbinary/neeto-editor 1.43.9 → 1.43.11

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 (30) hide show
  1. package/dist/Attachments.js +2 -2
  2. package/dist/Editor.js +3 -3
  3. package/dist/FormikEditor.js +3 -3
  4. package/dist/Menu.js +2 -2
  5. package/dist/{chunk-BZm7mqDQ.js → chunk-B8P6dqJ1.js} +12 -6
  6. package/dist/{chunk-BZm7mqDQ.js.map → chunk-B8P6dqJ1.js.map} +1 -1
  7. package/dist/{chunk-y6yj9P9A.js → chunk-CDRrXQvW.js} +4 -4
  8. package/dist/{chunk-y6yj9P9A.js.map → chunk-CDRrXQvW.js.map} +1 -1
  9. package/dist/{chunk-BvXQZTLR.js → chunk-DfQGfgvj.js} +2 -2
  10. package/dist/{chunk-BvXQZTLR.js.map → chunk-DfQGfgvj.js.map} +1 -1
  11. package/dist/{chunk-_Z694ouv.js → chunk-DkkKVDm4.js} +67 -50
  12. package/dist/chunk-DkkKVDm4.js.map +1 -0
  13. package/dist/cjs/Attachments.cjs.js +2 -2
  14. package/dist/cjs/Editor.cjs.js +3 -3
  15. package/dist/cjs/FormikEditor.cjs.js +3 -3
  16. package/dist/cjs/Menu.cjs.js +2 -2
  17. package/dist/cjs/{chunk-ZOMU_YZG.cjs.js → chunk-BKXRiCh0.cjs.js} +66 -49
  18. package/dist/cjs/chunk-BKXRiCh0.cjs.js.map +1 -0
  19. package/dist/cjs/{chunk-C9HIO-Cg.cjs.js → chunk-BOq8EKne.cjs.js} +12 -6
  20. package/dist/cjs/{chunk-C9HIO-Cg.cjs.js.map → chunk-BOq8EKne.cjs.js.map} +1 -1
  21. package/dist/cjs/{chunk-BvCaILtB.cjs.js → chunk-BvZ-xgkj.cjs.js} +2 -2
  22. package/dist/cjs/{chunk-BvCaILtB.cjs.js.map → chunk-BvZ-xgkj.cjs.js.map} +1 -1
  23. package/dist/cjs/{chunk-BWX7biFj.cjs.js → chunk-C6guuEBs.cjs.js} +4 -4
  24. package/dist/cjs/{chunk-BWX7biFj.cjs.js.map → chunk-C6guuEBs.cjs.js.map} +1 -1
  25. package/dist/cjs/index.cjs.js +4 -4
  26. package/dist/editor-stats.html +19 -1
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
  29. package/dist/chunk-_Z694ouv.js.map +0 -1
  30. package/dist/cjs/chunk-ZOMU_YZG.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-_Z694ouv.js';
14
- export { A as default } from './chunk-y6yj9P9A.js';
13
+ import './chunk-DkkKVDm4.js';
14
+ export { A as default } from './chunk-CDRrXQvW.js';
15
15
  import 'react/jsx-runtime';
16
16
  import '@babel/runtime/helpers/objectWithoutProperties';
17
17
  import 'zustand/shallow';
package/dist/Editor.js CHANGED
@@ -4,7 +4,7 @@ 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, w as wrappingInputRule, t as textblockTypeInputRule, k as keydownHandler, e as callOrReturn, f as getExtensionField, i as isNodeSelection, n as nodeInputRule, h as findChildren, j as NodeViewWrapper, l as NodeViewContent, R as ReactNodeViewRenderer, P as PasteRule, v as validateUrl, o as escapeForRegEx, p as ReactRenderer, q as EmojiPickerMenu, r as emojiPickerApi, s as liftTarget, u as combineTransactionSteps, x as getChangedRanges, y as findChildrenInRange, z as getMarksBetween, A as getAttributes, I as InputRule, B as highlightFocussedNode, C as resetFocussedNode, F as findParentNodeClosestToPos, G as BubbleMenu, H as getLinkPopoverPosition, J as getMarkType, K as getMarkRange, L as useEditor, O as useEditorState, M as Menu$3, Q as EditorContent, S as MediaUploader, T as EmbedOption, U as EditorView } from './chunk-BvXQZTLR.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, w as wrappingInputRule, t as textblockTypeInputRule, k as keydownHandler, e as callOrReturn, f as getExtensionField, i as isNodeSelection, n as nodeInputRule, h as findChildren, j as NodeViewWrapper, l as NodeViewContent, R as ReactNodeViewRenderer, P as PasteRule, v as validateUrl, o as escapeForRegEx, p as ReactRenderer, q as EmojiPickerMenu, r as emojiPickerApi, s as liftTarget, u as combineTransactionSteps, x as getChangedRanges, y as findChildrenInRange, z as getMarksBetween, A as getAttributes, I as InputRule, B as highlightFocussedNode, C as resetFocussedNode, F as findParentNodeClosestToPos, G as BubbleMenu, H as getLinkPopoverPosition, J as getMarkType, K as getMarkRange, L as useEditor, O as useEditorState, M as Menu$3, Q as EditorContent, S as MediaUploader, T as EmbedOption, U as EditorView } from './chunk-DfQGfgvj.js';
8
8
  import classnames from 'classnames';
9
9
  import { C as COMBINED_REGEX, D as DIRECT_UPLOAD_ENDPOINT, E as EDITOR_OPTIONS } from './chunk-B4AM9m64.js';
10
10
  import { isNotPresent, isNotEmpty, isPresent, noop as noop$1, slugify } from '@bigbinary/neeto-cist';
@@ -28,7 +28,7 @@ import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
28
28
  import _regeneratorRuntime from '@babel/runtime/regenerator';
29
29
  import { flushSync, createPortal } from 'react-dom';
30
30
  import MenuHorizontal from '@bigbinary/neeto-icons/MenuHorizontal';
31
- import { h as buildImageOptions, i as DirectUpload } from './chunk-_Z694ouv.js';
31
+ import { h as buildImageOptions, i as DirectUpload } from './chunk-DkkKVDm4.js';
32
32
  import tippy, { sticky } from 'tippy.js';
33
33
  import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
34
34
  import _createClass from '@babel/runtime/helpers/createClass';
@@ -71,7 +71,7 @@ import ToggleHeaderRow from '@bigbinary/neeto-icons/ToggleHeaderRow';
71
71
  import Checkbox from '@bigbinary/neetoui/Checkbox';
72
72
  import Form from '@bigbinary/neetoui/formik/Form';
73
73
  import Input$1 from '@bigbinary/neetoui/formik/Input';
74
- import { A as Attachments } from './chunk-y6yj9P9A.js';
74
+ import { A as Attachments } from './chunk-CDRrXQvW.js';
75
75
  import 'tippy.js/dist/svg-arrow.css';
76
76
  import '@bigbinary/neeto-icons/Link';
77
77
  import '@bigbinary/neeto-commons-frontend/utils';
@@ -7,7 +7,7 @@ import Editor from './Editor.js';
7
7
  import { jsx } from 'react/jsx-runtime';
8
8
  import '@babel/runtime/helpers/toConsumableArray';
9
9
  import '@babel/runtime/helpers/slicedToArray';
10
- import './chunk-BvXQZTLR.js';
10
+ import './chunk-DfQGfgvj.js';
11
11
  import 'ramda';
12
12
  import './chunk-DmrvuTKK.js';
13
13
  import 'i18next';
@@ -64,7 +64,7 @@ import 'react-colorful';
64
64
  import '@bigbinary/neeto-molecules/DynamicVariables';
65
65
  import '@bigbinary/neetoui/Modal';
66
66
  import '@bigbinary/neetoui/Tab';
67
- import './chunk-_Z694ouv.js';
67
+ import './chunk-DkkKVDm4.js';
68
68
  import 'zustand/shallow';
69
69
  import '@bigbinary/neetoui/Toastr';
70
70
  import 'zustand';
@@ -101,7 +101,7 @@ import '@bigbinary/neeto-icons/MergeSplit';
101
101
  import '@bigbinary/neeto-icons/ToggleHeaderRow';
102
102
  import '@bigbinary/neetoui/formik/Form';
103
103
  import '@bigbinary/neetoui/formik/Input';
104
- import './chunk-y6yj9P9A.js';
104
+ import './chunk-CDRrXQvW.js';
105
105
  import '@bigbinary/neeto-icons/MenuVertical';
106
106
  import '@bigbinary/neetoui/Alert';
107
107
 
package/dist/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-BvXQZTLR.js';
6
+ export { M as default } from './chunk-DfQGfgvj.js';
7
7
  import './chunk-1zt1pz4C.js';
8
8
  import 'react/jsx-runtime';
9
9
  import './chunk-DmrvuTKK.js';
@@ -61,7 +61,7 @@ import '@babel/runtime/helpers/objectWithoutProperties';
61
61
  import '@bigbinary/neeto-molecules/DynamicVariables';
62
62
  import '@bigbinary/neetoui/Modal';
63
63
  import '@bigbinary/neetoui/Tab';
64
- import './chunk-_Z694ouv.js';
64
+ import './chunk-DkkKVDm4.js';
65
65
  import 'zustand/shallow';
66
66
  import '@bigbinary/neetoui/Toastr';
67
67
  import 'zustand';
@@ -7,7 +7,7 @@ import Typography from '@bigbinary/neetoui/Typography';
7
7
  import Button$1 from '@bigbinary/neetoui/Button';
8
8
  import { isEmpty } from 'ramda';
9
9
  import { g as getDefaultExportFromCjs, a as getAugmentedNamespace, c as commonjsGlobal } from './chunk-E-ZsRS8r.js';
10
- import { j as commonjsRequire, P as PropTypes, e as convertToFileSize } from './chunk-_Z694ouv.js';
10
+ import { j as commonjsRequire, P as PropTypes, e as convertToFileSize } from './chunk-DkkKVDm4.js';
11
11
  import require$$1$1 from 'fs';
12
12
  import require$$2$1 from 'http';
13
13
  import require$$3 from 'https';
@@ -27,7 +27,7 @@ import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
27
27
  import _toConsumableArray from '@babel/runtime/helpers/esm/toConsumableArray';
28
28
  import _slicedToArray from '@babel/runtime/helpers/esm/slicedToArray';
29
29
  import { useTranslation, Trans } from 'react-i18next';
30
- import { d as downloadFile, c as checkPreviewAvailability, a as ATTACHMENTS_PREVIEW_DATA_CY } from './chunk-y6yj9P9A.js';
30
+ import { d as downloadFile, c as checkPreviewAvailability, a as ATTACHMENTS_PREVIEW_DATA_CY } from './chunk-CDRrXQvW.js';
31
31
  import { jsxs, jsx } from 'react/jsx-runtime';
32
32
  import '@babel/runtime/helpers/toConsumableArray';
33
33
  import '@babel/runtime/helpers/slicedToArray';
@@ -68981,7 +68981,7 @@ var Preview = function Preview(_ref) {
68981
68981
  children: [/*#__PURE__*/jsxs("div", {
68982
68982
  className: "ne-attachments-preview__header__fileinfo",
68983
68983
  children: [/*#__PURE__*/jsx(Typography, {
68984
- style: "h3",
68984
+ style: "h4",
68985
68985
  children: truncate(filename, 25)
68986
68986
  }), /*#__PURE__*/jsx(Typography, {
68987
68987
  style: "body2",
@@ -68995,11 +68995,17 @@ var Preview = function Preview(_ref) {
68995
68995
  })]
68996
68996
  }), /*#__PURE__*/jsxs(Modal.Body, {
68997
68997
  className: "ne-attachments-preview__body",
68998
- children: [/*#__PURE__*/jsx(Left, {
68998
+ children: [/*#__PURE__*/jsx(Button$1, {
68999
68999
  className: "ne-attachments-preview__body-left",
69000
+ icon: Left,
69001
+ size: "large",
69002
+ style: "tertiary",
69000
69003
  onClick: handleLeftArrowClick
69001
- }), /*#__PURE__*/jsx(Right, {
69004
+ }), /*#__PURE__*/jsx(Button$1, {
69002
69005
  className: "ne-attachments-preview__body-right",
69006
+ icon: Right,
69007
+ size: "large",
69008
+ style: "tertiary",
69003
69009
  onClick: handleRightArrowClick
69004
69010
  }), setPreview()]
69005
69011
  })]
@@ -69007,4 +69013,4 @@ var Preview = function Preview(_ref) {
69007
69013
  };
69008
69014
 
69009
69015
  export { Preview as default };
69010
- //# sourceMappingURL=chunk-BZm7mqDQ.js.map
69016
+ //# sourceMappingURL=chunk-B8P6dqJ1.js.map