@bigbinary/neeto-editor 1.47.26 → 1.47.28
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/Attachments.js +3 -3
- package/dist/Editor.js +3 -3
- package/dist/FormikEditor.js +3 -3
- package/dist/Menu.js +2 -2
- package/dist/{chunk-D9dR29gG.js → chunk--mv_teiM.js} +3 -3
- package/dist/{chunk-D9dR29gG.js.map → chunk--mv_teiM.js.map} +1 -1
- package/dist/{chunk-BtI0VHdj.js → chunk-DahwBJq7.js} +3 -3
- package/dist/{chunk-BtI0VHdj.js.map → chunk-DahwBJq7.js.map} +1 -1
- package/dist/{chunk-DDNaaarN.js → chunk-DxBq2TC7.js} +15 -9
- package/dist/chunk-DxBq2TC7.js.map +1 -0
- package/dist/{chunk-BHPJPlJe.js → chunk-zoKBhh5D.js} +7 -3
- package/dist/{chunk-BHPJPlJe.js.map → chunk-zoKBhh5D.js.map} +1 -1
- package/dist/cjs/Attachments.cjs.js +3 -3
- package/dist/cjs/Editor.cjs.js +3 -3
- package/dist/cjs/FormikEditor.cjs.js +3 -3
- package/dist/cjs/Menu.cjs.js +2 -2
- package/dist/cjs/{chunk-37Za28Yj.cjs.js → chunk-BG9Uh_HP.cjs.js} +3 -3
- package/dist/cjs/{chunk-37Za28Yj.cjs.js.map → chunk-BG9Uh_HP.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-Cql1S6zk.cjs.js → chunk-D44ZMvgb.cjs.js} +6 -2
- package/dist/cjs/{chunk-Cql1S6zk.cjs.js.map → chunk-D44ZMvgb.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-DyGNjGYy.cjs.js → chunk-fuZaKMZ_.cjs.js} +3 -3
- package/dist/cjs/{chunk-DyGNjGYy.cjs.js.map → chunk-fuZaKMZ_.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-CKK9apm6.cjs.js → chunk-vh6bKJf9.cjs.js} +15 -9
- package/dist/cjs/chunk-vh6bKJf9.cjs.js.map +1 -0
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/editor-stats.html +1 -19
- package/dist/index.js +3 -3
- package/package.json +1 -1
- package/src/translations/de.json +2 -1
- package/src/translations/en.json +2 -1
- package/src/translations/es.json +2 -1
- package/src/translations/fr.json +2 -1
- package/dist/chunk-DDNaaarN.js.map +0 -1
- package/dist/cjs/chunk-CKK9apm6.cjs.js.map +0 -1
|
@@ -26,7 +26,7 @@ import { useTranslation } from 'react-i18next';
|
|
|
26
26
|
import Close from '@bigbinary/neeto-icons/Close';
|
|
27
27
|
import Button$1 from '@bigbinary/neetoui/Button';
|
|
28
28
|
import { jsx, jsxs, Fragment as Fragment$1 } from 'react/jsx-runtime';
|
|
29
|
-
import { withEventTargetValue } from '@bigbinary/neeto-commons-frontend/utils';
|
|
29
|
+
import { withEventTargetValue, hyphenize } from '@bigbinary/neeto-commons-frontend/utils';
|
|
30
30
|
import Check from '@bigbinary/neeto-icons/Check';
|
|
31
31
|
import Label from '@bigbinary/neetoui/Label';
|
|
32
32
|
import Quote from '@bigbinary/neeto-icons/Quote';
|
|
@@ -66,7 +66,7 @@ import _objectWithoutProperties$1 from '@babel/runtime/helpers/objectWithoutProp
|
|
|
66
66
|
import DynamicVariables from '@bigbinary/neeto-molecules/DynamicVariables';
|
|
67
67
|
import Modal from '@bigbinary/neetoui/Modal';
|
|
68
68
|
import Tab from '@bigbinary/neetoui/Tab';
|
|
69
|
-
import { F as File, u as useFileUploader, b as useDropFiles, A as ALLOWED_IMAGE_TYPES, c as ALLOWED_VIDEO_TYPES, e as convertToFileSize, D as DEFAULT_IMAGE_UPLOAD_CONFIG, f as DEFAULT_VIDEO_UPLOAD_CONFIG, p as propTypesExports, V as VIDEO_EMBED_FORM_VALIDATION_SCHEMA, g as getTabs, v as validateUrl } from './chunk-
|
|
69
|
+
import { F as File, u as useFileUploader, b as useDropFiles, A as ALLOWED_IMAGE_TYPES, c as ALLOWED_VIDEO_TYPES, e as convertToFileSize, D as DEFAULT_IMAGE_UPLOAD_CONFIG, f as DEFAULT_VIDEO_UPLOAD_CONFIG, p as propTypesExports, V as VIDEO_EMBED_FORM_VALIDATION_SCHEMA, g as getTabs, v as validateUrl } from './chunk-DxBq2TC7.js';
|
|
70
70
|
import Tooltip from '@bigbinary/neetoui/Tooltip';
|
|
71
71
|
import Spinner from '@bigbinary/neetoui/Spinner';
|
|
72
72
|
import { a as getAugmentedNamespace } from './chunk-E-ZsRS8r.js';
|
|
@@ -19092,6 +19092,7 @@ var FontSizeOption$1 = /*#__PURE__*/memo(FontSizeOption);
|
|
|
19092
19092
|
function ownKeys$2(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
19093
19093
|
function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19094
19094
|
var ColorDot = function ColorDot(_ref) {
|
|
19095
|
+
var _colorVar$match;
|
|
19095
19096
|
var colorVar = _ref.colorVar,
|
|
19096
19097
|
isSelected = _ref.isSelected,
|
|
19097
19098
|
onClick = _ref.onClick,
|
|
@@ -19105,10 +19106,12 @@ var ColorDot = function ColorDot(_ref) {
|
|
|
19105
19106
|
} : {
|
|
19106
19107
|
backgroundColor: "var(".concat(colorVar, ")")
|
|
19107
19108
|
});
|
|
19109
|
+
var colorNumber = ((_colorVar$match = colorVar.match(/\d+$/)) === null || _colorVar$match === void 0 ? void 0 : _colorVar$match[0]) || colorVar;
|
|
19108
19110
|
return /*#__PURE__*/jsx("div", {
|
|
19109
19111
|
onClick: onClick,
|
|
19110
19112
|
className: dotClass,
|
|
19111
19113
|
style: dotStyle,
|
|
19114
|
+
"data-cy": "neeto-editor-highlight-".concat(hyphenize(isTextColor ? "text" : "background"), "-color-dot-").concat(colorNumber),
|
|
19112
19115
|
children: isTextColor && /*#__PURE__*/jsx(Typography, {
|
|
19113
19116
|
className: "neeto-editor-highlight-dropdown__color-dot-text",
|
|
19114
19117
|
style: "body2",
|
|
@@ -19243,6 +19246,7 @@ var HighlightDropdown = function HighlightDropdown(_ref) {
|
|
|
19243
19246
|
children: title
|
|
19244
19247
|
}), /*#__PURE__*/jsx("div", {
|
|
19245
19248
|
className: "neeto-editor-highlight-dropdown__color-grid",
|
|
19249
|
+
"data-cy": "neeto-editor-highlight-".concat(hyphenize(title), "-grid"),
|
|
19246
19250
|
children: renderColorDots(colors, isTextColor)
|
|
19247
19251
|
})]
|
|
19248
19252
|
}, title);
|
|
@@ -19830,4 +19834,4 @@ var Menu = function Menu(props) {
|
|
|
19830
19834
|
};
|
|
19831
19835
|
|
|
19832
19836
|
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, EditorContent as V, MediaUploader as W, LinkAddPopOver as X, EditorView as Y, Mark as a, markInputRule as b, markPasteRule as c, Decoration as d, isAtStartOfNode as e, isAtEndOfNode as f, getMarkAttributes as g, getNodeType as h, isNodeActive as i, getNodeAtPosition as j, keydownHandler as k, callOrReturn as l, mergeAttributes as m, getExtensionField as n, isNodeSelection as o, nodeInputRule 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 };
|
|
19833
|
-
//# sourceMappingURL=chunk-
|
|
19837
|
+
//# sourceMappingURL=chunk-zoKBhh5D.js.map
|