@bigbinary/neeto-editor 1.47.100 → 1.47.102

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.
@@ -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-CzWJfEz9.js';
11
+ import './chunk-D-4C066v.js';
12
12
  import './chunk-DmrvuTKK.js';
13
13
  import 'i18next';
14
14
  import '@bigbinary/neeto-icons/TextH1';
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-CzWJfEz9.js';
6
+ export { M as default } from './chunk-D-4C066v.js';
7
7
  import './chunk-DxGDZoUl.js';
8
8
  import 'react/jsx-runtime';
9
9
  import './chunk-DmrvuTKK.js';
@@ -17470,7 +17470,9 @@ var Fixed = function Fixed(_ref) {
17470
17470
  setIsEmojiPickerActive = _ref.setIsEmojiPickerActive,
17471
17471
  openLinkInNewTab = _ref.openLinkInNewTab,
17472
17472
  setIsNeetoKbArticleActive = _ref.setIsNeetoKbArticleActive,
17473
- neetoKbArticleState = _ref.neetoKbArticleState;
17473
+ neetoKbArticleState = _ref.neetoKbArticleState,
17474
+ _ref$showAssetLibrary = _ref.showAssetLibrary,
17475
+ showAssetLibrary = _ref$showAssetLibrary === void 0 ? true : _ref$showAssetLibrary;
17474
17476
  var _useState = useState(0),
17475
17477
  _useState2 = _slicedToArray(_useState, 2),
17476
17478
  focusedButtonIndex = _useState2[0],
@@ -17604,6 +17606,7 @@ var Fixed = function Fixed(_ref) {
17604
17606
  }), isMediaUploaderActive && /*#__PURE__*/jsx(MediaUploader, {
17605
17607
  editor: editor,
17606
17608
  mediaUploader: mediaUploader,
17609
+ showAssetLibrary: showAssetLibrary,
17607
17610
  onClose: function onClose() {
17608
17611
  return setMediaUploader({
17609
17612
  image: false,
@@ -18001,7 +18004,9 @@ var Headless = function Headless(_ref) {
18001
18004
  className = _ref.className,
18002
18005
  attachmentProps = _ref.attachmentProps,
18003
18006
  isEmojiPickerActive = _ref.isEmojiPickerActive,
18004
- setIsEmojiPickerActive = _ref.setIsEmojiPickerActive;
18007
+ setIsEmojiPickerActive = _ref.setIsEmojiPickerActive,
18008
+ _ref$showAssetLibrary = _ref.showAssetLibrary,
18009
+ showAssetLibrary = _ref$showAssetLibrary === void 0 ? true : _ref$showAssetLibrary;
18005
18010
  if (!editor) {
18006
18011
  return null;
18007
18012
  }
@@ -18030,6 +18035,7 @@ var Headless = function Headless(_ref) {
18030
18035
  }), isMediaUploaderActive && /*#__PURE__*/jsx(MediaUploader, {
18031
18036
  editor: editor,
18032
18037
  mediaUploader: mediaUploader,
18038
+ showAssetLibrary: showAssetLibrary,
18033
18039
  onClose: function onClose() {
18034
18040
  return setMediaUploader({
18035
18041
  image: false,
@@ -18900,4 +18906,4 @@ var Menu = function Menu(props) {
18900
18906
  };
18901
18907
 
18902
18908
  export { getChangedRanges as A, findChildrenInRange as B, CALLOUT_TYPES as C, DecorationSet as D, Extension as E, getMarksBetween as F, getAttributes as G, highlightFocussedNode as H, InputRule as I, resetFocussedNode as J, findParentNodeClosestToPos as K, validateUrl as L, Menu as M, Node as N, BubbleMenu as O, PasteRule as P, getLinkPopoverPosition as Q, ReactNodeViewRenderer as R, getMarkType as S, getMarkRange as T, useEditor as U, useEditorState$1 as V, MenuDynamicVariables as W, EditorContent as X, MediaUploader as Y, LinkAddPopOver as Z, EditorView as _, Mark as a, markInputRule as b, markPasteRule as c, Decoration as d, callOrReturn as e, getExtensionField as f, getMarkAttributes as g, getNodeType as h, isNodeSelection as i, getNodeAtPosition as j, keydownHandler as k, isNodeActive as l, mergeAttributes as m, nodeInputRule as n, isAtStartOfNode as o, isAtEndOfNode as p, NodeViewWrapper as q, NodeViewContent as r, findChildren as s, textblockTypeInputRule as t, escapeForRegEx as u, ReactRenderer as v, wrappingInputRule as w, EmojiPickerMenu as x, emojiPickerApi as y, combineTransactionSteps as z };
18903
- //# sourceMappingURL=chunk-CzWJfEz9.js.map
18909
+ //# sourceMappingURL=chunk-D-4C066v.js.map