@bigbinary/neeto-editor 1.38.7 → 1.38.8
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/Editor.js +1 -1
- package/dist/FormikEditor.js +1 -1
- package/dist/Menu.js +1 -1
- package/dist/{chunk-407e85cc.js → chunk-158bb7aa.js} +7 -4
- package/dist/chunk-158bb7aa.js.map +1 -0
- package/dist/cjs/Editor.cjs.js +1 -1
- package/dist/cjs/FormikEditor.cjs.js +1 -1
- package/dist/cjs/Menu.cjs.js +1 -1
- package/dist/cjs/{chunk-080c2961.cjs.js → chunk-d2dffff4.cjs.js} +6 -3
- package/dist/cjs/chunk-d2dffff4.cjs.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/editor-stats.html +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-407e85cc.js.map +0 -1
- package/dist/cjs/chunk-080c2961.cjs.js.map +0 -1
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, { useEffect, useState, useRef, forwardRef, useCallback, useImperativeHandle } from 'react';
|
|
7
|
-
import { E as Extension, a as Mark, m as mergeAttributes, b as markInputRule, c as markPasteRule, g as getMarkAttributes, N as Node, D as DecorationSet, d as Decoration, w as wrappingInputRule, t as textblockTypeInputRule, k as keydownHandler, e as callOrReturn, f as getExtensionField, n as nodeInputRule, h as findChildren, i as NodeViewWrapper, j as NodeViewContent, R as ReactNodeViewRenderer, P as PasteRule, v as validateUrl, l as escapeForRegEx, o as ReactRenderer, p as EmojiPickerMenu, q as emojiPickerApi, r as combineTransactionSteps, s as getChangedRanges, u as findChildrenInRange, x as getMarksBetween, y as getAttributes, I as InputRule, z as highlightFocussedNode, A as resetFocussedNode, B as findParentNodeClosestToPos, C as BubbleMenu, F as getLinkPopoverPosition, G as getMarkType, H as getMarkRange, J as useEditor, M as Menu$4, K as EditorContent, L as MediaUploader, O as EmbedOption, Q as EditorView } from './chunk-
|
|
7
|
+
import { E as Extension, a as Mark, m as mergeAttributes, b as markInputRule, c as markPasteRule, g as getMarkAttributes, N as Node, D as DecorationSet, d as Decoration, w as wrappingInputRule, t as textblockTypeInputRule, k as keydownHandler, e as callOrReturn, f as getExtensionField, n as nodeInputRule, h as findChildren, i as NodeViewWrapper, j as NodeViewContent, R as ReactNodeViewRenderer, P as PasteRule, v as validateUrl, l as escapeForRegEx, o as ReactRenderer, p as EmojiPickerMenu, q as emojiPickerApi, r as combineTransactionSteps, s as getChangedRanges, u as findChildrenInRange, x as getMarksBetween, y as getAttributes, I as InputRule, z as highlightFocussedNode, A as resetFocussedNode, B as findParentNodeClosestToPos, C as BubbleMenu, F as getLinkPopoverPosition, G as getMarkType, H as getMarkRange, J as useEditor, M as Menu$4, K as EditorContent, L as MediaUploader, O as EmbedOption, Q as EditorView } from './chunk-158bb7aa.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-edd8b9fe.js';
|
|
10
10
|
import { isNotPresent, isNotEmpty, isPresent, noop as noop$1, slugify } from '@bigbinary/neeto-cist';
|
package/dist/FormikEditor.js
CHANGED
|
@@ -7,7 +7,7 @@ import Editor from './Editor.js';
|
|
|
7
7
|
import '@babel/runtime/helpers/defineProperty';
|
|
8
8
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
9
9
|
import '@babel/runtime/helpers/slicedToArray';
|
|
10
|
-
import './chunk-
|
|
10
|
+
import './chunk-158bb7aa.js';
|
|
11
11
|
import 'ramda';
|
|
12
12
|
import './chunk-15c449f1.js';
|
|
13
13
|
import './chunk-e876ad10.js';
|
package/dist/Menu.js
CHANGED
|
@@ -4,7 +4,7 @@ import '@babel/runtime/helpers/toConsumableArray';
|
|
|
4
4
|
import '@babel/runtime/helpers/slicedToArray';
|
|
5
5
|
import 'react';
|
|
6
6
|
import 'ramda';
|
|
7
|
-
export { M as default } from './chunk-
|
|
7
|
+
export { M as default } from './chunk-158bb7aa.js';
|
|
8
8
|
import './chunk-e876ad10.js';
|
|
9
9
|
import './chunk-15c449f1.js';
|
|
10
10
|
import 'tippy.js';
|
|
@@ -10,7 +10,7 @@ import tippy, { roundArrow } from 'tippy.js';
|
|
|
10
10
|
import ReactDOM, { flushSync, createPortal } from 'react-dom';
|
|
11
11
|
import classnames from 'classnames';
|
|
12
12
|
import { Y as YOUTUBE_URL_REGEXP, V as VIMEO_URL_REGEXP, L as LOOM_URL_REGEXP, N as NEETO_RECORD_URL_REGEXP, E as EDITOR_OPTIONS, a as UNSPLASH_BASE_URL, U as URL_REGEXP } from './chunk-edd8b9fe.js';
|
|
13
|
-
import { isNotEmpty, isNotPresent, noop,
|
|
13
|
+
import { hyphenate, isNotEmpty, isNotPresent, noop, findBy } from '@bigbinary/neeto-cist';
|
|
14
14
|
import 'tippy.js/dist/svg-arrow.css';
|
|
15
15
|
import { Smiley, Column, Customize, Check, Close, Refresh, Email, Undo, Redo, TextBold, TextItalic, Underline, Link, TextCross, Highlight, ListDot, ListNumber, Quote, Code, CodeBlock, Attachment, ImageUpload, Video, MediaVideo, MenuHorizontal, File } from '@bigbinary/neeto-icons';
|
|
16
16
|
import { Modal, Typography, Input, Button as Button$1, Dropdown as Dropdown$1, Avatar, Spinner, Tab, Checkbox, Tooltip } from '@bigbinary/neetoui';
|
|
@@ -12232,7 +12232,9 @@ var MenuItem$3 = Dropdown$1.MenuItem;
|
|
|
12232
12232
|
var SecondaryMenuTarget = function SecondaryMenuTarget(_ref) {
|
|
12233
12233
|
var Icon = _ref.icon,
|
|
12234
12234
|
label = _ref.label;
|
|
12235
|
-
return /*#__PURE__*/React__default.createElement(MenuItem$3.Button,
|
|
12235
|
+
return /*#__PURE__*/React__default.createElement(MenuItem$3.Button, {
|
|
12236
|
+
"data-cy": "neeto-editor-fixed-menu-".concat(hyphenate(label), "-option")
|
|
12237
|
+
}, /*#__PURE__*/React__default.createElement(Icon, null), " ", label);
|
|
12236
12238
|
};
|
|
12237
12239
|
|
|
12238
12240
|
var EmojiOption = function EmojiOption(_ref) {
|
|
@@ -12259,7 +12261,8 @@ var EmojiOption = function EmojiOption(_ref) {
|
|
|
12259
12261
|
content: tooltipContent !== null && tooltipContent !== void 0 ? tooltipContent : label,
|
|
12260
12262
|
position: "bottom"
|
|
12261
12263
|
},
|
|
12262
|
-
className: "neeto-editor-fixed-menu__item"
|
|
12264
|
+
className: "neeto-editor-fixed-menu__item",
|
|
12265
|
+
"data-cy": "neeto-editor-fixed-menu-emoji-option"
|
|
12263
12266
|
},
|
|
12264
12267
|
customTarget: isSecondaryMenu && /*#__PURE__*/React__default.createElement(SecondaryMenuTarget, {
|
|
12265
12268
|
label: label,
|
|
@@ -15633,4 +15636,4 @@ var Menu = function Menu(props) {
|
|
|
15633
15636
|
};
|
|
15634
15637
|
|
|
15635
15638
|
export { resetFocussedNode as A, findParentNodeClosestToPos as B, BubbleMenu as C, DecorationSet as D, Extension as E, getLinkPopoverPosition as F, getMarkType as G, getMarkRange as H, InputRule as I, useEditor as J, EditorContent as K, MediaUploader as L, Menu as M, Node as N, EmbedOption as O, PasteRule as P, EditorView as Q, ReactNodeViewRenderer as R, Mark as a, markInputRule as b, markPasteRule as c, Decoration as d, callOrReturn as e, getExtensionField as f, getMarkAttributes as g, findChildren as h, NodeViewWrapper as i, NodeViewContent as j, keydownHandler as k, escapeForRegEx as l, mergeAttributes as m, nodeInputRule as n, ReactRenderer as o, EmojiPickerMenu as p, emojiPickerApi as q, combineTransactionSteps as r, getChangedRanges as s, textblockTypeInputRule as t, findChildrenInRange as u, validateUrl as v, wrappingInputRule as w, getMarksBetween as x, getAttributes as y, highlightFocussedNode as z };
|
|
15636
|
-
//# sourceMappingURL=chunk-
|
|
15639
|
+
//# sourceMappingURL=chunk-158bb7aa.js.map
|