@bigbinary/neeto-editor 1.47.72 → 1.47.75

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-BNBYmEN2.js';
11
+ import './chunk-FDPx0wrE.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-BNBYmEN2.js';
6
+ export { M as default } from './chunk-FDPx0wrE.js';
7
7
  import './chunk-CF5f8-fy.js';
8
8
  import 'react/jsx-runtime';
9
9
  import './chunk-DmrvuTKK.js';
@@ -17095,17 +17095,11 @@ var MediaUploader = function MediaUploader(_ref) {
17095
17095
  onClose: handleClose,
17096
17096
  children: /*#__PURE__*/jsxs("div", {
17097
17097
  className: "ne-media-uploader",
17098
- children: [mediaUploader.video && /*#__PURE__*/jsx("div", {
17098
+ children: [(mediaUploader.video || mediaUploader.image) && /*#__PURE__*/jsx("div", {
17099
17099
  className: "ne-media-uploader__header",
17100
- children: /*#__PURE__*/jsx("h2", {
17100
+ children: /*#__PURE__*/jsxs("h2", {
17101
17101
  className: "ne-media-uploader__header-title",
17102
- children: t("neetoEditor.menu.addVideo")
17103
- })
17104
- }), mediaUploader.image && /*#__PURE__*/jsx("div", {
17105
- className: "ne-media-uploader__header",
17106
- children: /*#__PURE__*/jsx("h2", {
17107
- className: "ne-media-uploader__header-title",
17108
- children: t("neetoEditor.menu.addImage")
17102
+ children: [mediaUploader.video && t("neetoEditor.menu.addVideo"), mediaUploader.image && t("neetoEditor.menu.addImage")]
17109
17103
  })
17110
17104
  }), !isNotPresent(tabs) && /*#__PURE__*/jsx(Tab, {
17111
17105
  children: tabs.map(function (_ref4) {
@@ -18970,4 +18964,4 @@ var Menu = function Menu(props) {
18970
18964
  };
18971
18965
 
18972
18966
  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, BubbleMenu as L, Menu as M, Node as N, getLinkPopoverPosition as O, PasteRule as P, getMarkType as Q, ReactNodeViewRenderer as R, getMarkRange as S, useEditor as T, useEditorState$1 as U, MenuDynamicVariables as V, EditorContent as W, MediaUploader as X, LinkAddPopOver as Y, EditorView as Z, 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 };
18973
- //# sourceMappingURL=chunk-BNBYmEN2.js.map
18967
+ //# sourceMappingURL=chunk-FDPx0wrE.js.map