@bigbinary/neeto-editor 1.47.112 → 1.47.114
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 +1 -2
- package/dist/Attachments.js.map +1 -1
- package/dist/Editor.js +11 -6
- package/dist/Editor.js.map +1 -1
- package/dist/EditorContent.js +4 -2
- package/dist/EditorContent.js.map +1 -1
- package/dist/FormikEditor.js +5 -6
- package/dist/FormikEditor.js.map +1 -1
- package/dist/Menu.js +8 -8
- package/dist/{chunk-kSsvM8aH.js → chunk--BjpQHaY.js} +2 -3
- package/dist/chunk--BjpQHaY.js.map +1 -0
- package/dist/{chunk-C26VPEID.js → chunk-3JO2B_HR.js} +2 -3
- package/dist/{chunk-C26VPEID.js.map → chunk-3JO2B_HR.js.map} +1 -1
- package/dist/{chunk-BDcN2CWH.js → chunk-BKsyn0lE.js} +6 -2
- package/dist/chunk-BKsyn0lE.js.map +1 -0
- package/dist/{chunk-BOSqhXe9.js → chunk-BLXUWWgi.js} +1 -5
- package/dist/{chunk-BOSqhXe9.js.map → chunk-BLXUWWgi.js.map} +1 -1
- package/dist/{chunk-0yZ5QmzV.js → chunk-BO6bjSuY.js} +6 -3
- package/dist/chunk-BO6bjSuY.js.map +1 -0
- package/dist/{chunk-Zi-ccf09.js → chunk-C9Hjlrrk.js} +2 -2
- package/dist/chunk-C9Hjlrrk.js.map +1 -0
- package/dist/{chunk-DVrXh89W.js → chunk-CNWsmIz_.js} +1 -2
- package/dist/chunk-CNWsmIz_.js.map +1 -0
- package/dist/{chunk-DRyQ5gRT.js → chunk-Dj7lS7Cs.js} +2 -9
- package/dist/{chunk-DRyQ5gRT.js.map → chunk-Dj7lS7Cs.js.map} +1 -1
- package/dist/{chunk-B5ZO6MSb.js → chunk-DtQctlVh.js} +2 -4
- package/dist/{chunk-B5ZO6MSb.js.map → chunk-DtQctlVh.js.map} +1 -1
- package/dist/cjs/Attachments.cjs.js +1 -2
- package/dist/cjs/Attachments.cjs.js.map +1 -1
- package/dist/cjs/Editor.cjs.js +82 -77
- package/dist/cjs/Editor.cjs.js.map +1 -1
- package/dist/cjs/EditorContent.cjs.js +4 -2
- package/dist/cjs/EditorContent.cjs.js.map +1 -1
- package/dist/cjs/FormikEditor.cjs.js +5 -6
- package/dist/cjs/FormikEditor.cjs.js.map +1 -1
- package/dist/cjs/Menu.cjs.js +8 -8
- package/dist/cjs/{chunk-ByqRrEfj.cjs.js → chunk-BYyLrDTW.cjs.js} +2 -3
- package/dist/cjs/{chunk-ByqRrEfj.cjs.js.map → chunk-BYyLrDTW.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-BE_JvlHl.cjs.js → chunk-B_ZuTQG9.cjs.js} +11 -11
- package/dist/cjs/chunk-B_ZuTQG9.cjs.js.map +1 -0
- package/dist/cjs/{chunk-UnFuCCxl.cjs.js → chunk-BrQjqeiG.cjs.js} +15 -11
- package/dist/cjs/chunk-BrQjqeiG.cjs.js.map +1 -0
- package/dist/cjs/{chunk-BJo6VB1g.cjs.js → chunk-CIuJ_EMY.cjs.js} +1 -2
- package/dist/cjs/chunk-CIuJ_EMY.cjs.js.map +1 -0
- package/dist/cjs/{chunk-Cv7rmxCK.cjs.js → chunk-Cv0ocaVh.cjs.js} +1 -5
- package/dist/cjs/{chunk-Cv7rmxCK.cjs.js.map → chunk-Cv0ocaVh.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-LeproQrc.cjs.js → chunk-Cvxaj__T.cjs.js} +2 -3
- package/dist/cjs/chunk-Cvxaj__T.cjs.js.map +1 -0
- package/dist/cjs/{chunk-DQYVBQIk.cjs.js → chunk-DOxH3Agq.cjs.js} +159 -166
- package/dist/cjs/{chunk-DQYVBQIk.cjs.js.map → chunk-DOxH3Agq.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-Gl_OXcUl.cjs.js → chunk-DRB71ojr.cjs.js} +6 -3
- package/dist/cjs/chunk-DRB71ojr.cjs.js.map +1 -0
- package/dist/cjs/{chunk-ColwAO4n.cjs.js → chunk-n7U2G1az.cjs.js} +2 -4
- package/dist/cjs/{chunk-ColwAO4n.cjs.js.map → chunk-n7U2G1az.cjs.js.map} +1 -1
- package/dist/cjs/index.cjs.js +4 -6
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/v2/Attachments.cjs.js +1 -3
- package/dist/cjs/v2/Attachments.cjs.js.map +1 -1
- package/dist/cjs/v2/Editor.cjs.js +75 -77
- package/dist/cjs/v2/Editor.cjs.js.map +1 -1
- package/dist/cjs/v2/EditorContent.cjs.js +1 -3
- package/dist/cjs/v2/EditorContent.cjs.js.map +1 -1
- package/dist/cjs/v2/FormikEditor.cjs.js +4 -6
- package/dist/cjs/v2/FormikEditor.cjs.js.map +1 -1
- package/dist/cjs/v2/Menu.cjs.js +6 -7
- package/dist/cjs/v2/Menu.cjs.js.map +1 -1
- package/dist/cjs/v2/index.cjs.js +8 -11
- package/dist/cjs/v2/index.cjs.js.map +1 -1
- package/dist/editor-stats.html +1 -1
- package/dist/index.js +4 -6
- package/dist/index.js.map +1 -1
- package/dist/v2/Attachments.js +1 -3
- package/dist/v2/Attachments.js.map +1 -1
- package/dist/v2/Editor.js +4 -6
- package/dist/v2/Editor.js.map +1 -1
- package/dist/v2/EditorContent.js +1 -3
- package/dist/v2/EditorContent.js.map +1 -1
- package/dist/v2/FormikEditor.js +4 -6
- package/dist/v2/FormikEditor.js.map +1 -1
- package/dist/v2/Menu.js +6 -7
- package/dist/v2/Menu.js.map +1 -1
- package/dist/v2/index.js +8 -11
- package/dist/v2/index.js.map +1 -1
- package/dist/v2/styles.css +1 -1
- package/dist/v2/styles.js +4 -0
- package/dist/v2/styles.js.map +1 -0
- package/package.json +3 -1
- package/dist/chunk-0yZ5QmzV.js.map +0 -1
- package/dist/chunk-3C7ZroSh.js +0 -5
- package/dist/chunk-3C7ZroSh.js.map +0 -1
- package/dist/chunk-BDcN2CWH.js.map +0 -1
- package/dist/chunk-CVfGOKt4.js +0 -5
- package/dist/chunk-CVfGOKt4.js.map +0 -1
- package/dist/chunk-DVrXh89W.js.map +0 -1
- package/dist/chunk-Zi-ccf09.js.map +0 -1
- package/dist/chunk-kSsvM8aH.js.map +0 -1
- package/dist/cjs/chunk-BE_JvlHl.cjs.js.map +0 -1
- package/dist/cjs/chunk-BJo6VB1g.cjs.js.map +0 -1
- package/dist/cjs/chunk-BaJ2GldN.cjs.js +0 -7
- package/dist/cjs/chunk-BaJ2GldN.cjs.js.map +0 -1
- package/dist/cjs/chunk-DcAwRABD.cjs.js +0 -7
- package/dist/cjs/chunk-DcAwRABD.cjs.js.map +0 -1
- package/dist/cjs/chunk-Gl_OXcUl.cjs.js.map +0 -1
- package/dist/cjs/chunk-LeproQrc.cjs.js.map +0 -1
- package/dist/cjs/chunk-UnFuCCxl.cjs.js.map +0 -1
- package/dist/v2/_styles-bundle.js +0 -4
- package/dist/v2/_styles-bundle.js.map +0 -1
|
@@ -5,7 +5,7 @@ var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
|
|
|
5
5
|
var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var ramda = require('ramda');
|
|
8
|
-
var
|
|
8
|
+
var injectCss = require('./chunk-B6qYtOJe.cjs.js');
|
|
9
9
|
var i18n = require('i18next');
|
|
10
10
|
var TextH1 = require('@bigbinary/neeto-icons/TextH1');
|
|
11
11
|
var TextH2 = require('@bigbinary/neeto-icons/TextH2');
|
|
@@ -13,6 +13,7 @@ var TextH3 = require('@bigbinary/neeto-icons/TextH3');
|
|
|
13
13
|
var TextH4 = require('@bigbinary/neeto-icons/TextH4');
|
|
14
14
|
var TextH5 = require('@bigbinary/neeto-icons/TextH5');
|
|
15
15
|
var TextP = require('@bigbinary/neeto-icons/TextP');
|
|
16
|
+
var useEditorStore = require('./chunk-Cv0ocaVh.cjs.js');
|
|
16
17
|
var classnames = require('classnames');
|
|
17
18
|
var constants = require('./chunk-2HrSPdAV.cjs.js');
|
|
18
19
|
var neetoCist = require('@bigbinary/neeto-cist');
|
|
@@ -209,7 +210,7 @@ var EmojiPickerMenu = /*#__PURE__*/function (_React$Component) {
|
|
|
209
210
|
case 0:
|
|
210
211
|
_context.prev = 0;
|
|
211
212
|
_context.next = 3;
|
|
212
|
-
return
|
|
213
|
+
return useEditorStore.emojiPickerApi.fetch();
|
|
213
214
|
case 3:
|
|
214
215
|
_yield$emojiPickerApi = _context.sent;
|
|
215
216
|
data = _yield$emojiPickerApi.data;
|
|
@@ -294,7 +295,7 @@ var MenuButton$1 = function MenuButton(_ref) {
|
|
|
294
295
|
_ref$disabled = _ref.disabled,
|
|
295
296
|
isButtonDisabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
296
297
|
label = _ref.label;
|
|
297
|
-
var _useEditorStore =
|
|
298
|
+
var _useEditorStore = useEditorStore.useEditorStore(function (store) {
|
|
298
299
|
var _store$marksState, _store$marksState2;
|
|
299
300
|
return {
|
|
300
301
|
isActive: (_store$marksState = store["marksState"]) === null || _store$marksState === void 0 || (_store$marksState = _store$marksState[optionName]) === null || _store$marksState === void 0 ? void 0 : _store$marksState["isActive"],
|
|
@@ -316,7 +317,7 @@ var MenuButton$1 = function MenuButton(_ref) {
|
|
|
316
317
|
position: "bottom"
|
|
317
318
|
},
|
|
318
319
|
onClick: command
|
|
319
|
-
},
|
|
320
|
+
}, useEditorStore.generateFocusProps(highlight)));
|
|
320
321
|
};
|
|
321
322
|
var MenuButton = /*#__PURE__*/React.memo(MenuButton$1);
|
|
322
323
|
|
|
@@ -890,7 +891,7 @@ var renderOptionButton = function renderOptionButton(_ref4) {
|
|
|
890
891
|
theme: "dark"
|
|
891
892
|
},
|
|
892
893
|
onClick: command
|
|
893
|
-
},
|
|
894
|
+
}, useEditorStore.generateFocusProps(highlight)), optionName);
|
|
894
895
|
};
|
|
895
896
|
|
|
896
897
|
var Menu$4 = Dropdown__default.default.Menu,
|
|
@@ -1226,7 +1227,7 @@ var Bubble = function Bubble(_ref) {
|
|
|
1226
1227
|
return null;
|
|
1227
1228
|
}
|
|
1228
1229
|
return /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
1229
|
-
children: /*#__PURE__*/jsxRuntime.jsx(
|
|
1230
|
+
children: /*#__PURE__*/jsxRuntime.jsx(useEditorStore.BubbleMenu, {
|
|
1230
1231
|
editor: editor,
|
|
1231
1232
|
className: classnames__default.default("neeto-editor-bubble-menu", {
|
|
1232
1233
|
"neeto-editor-bubble-menu-animate-shake": isInvalidLink
|
|
@@ -1842,7 +1843,7 @@ var MoreMenu = function MoreMenu(_ref) {
|
|
|
1842
1843
|
isActive: editor.isActive(props.optionName),
|
|
1843
1844
|
tabIndex: "-1",
|
|
1844
1845
|
onClick: props.command
|
|
1845
|
-
}, _objectSpread$8(_objectSpread$8(_objectSpread$8({},
|
|
1846
|
+
}, _objectSpread$8(_objectSpread$8(_objectSpread$8({}, useEditorStore.generateFocusProps(props.highlight)), props), {}, {
|
|
1846
1847
|
editor: editor
|
|
1847
1848
|
})), {}, {
|
|
1848
1849
|
children: [/*#__PURE__*/jsxRuntime.jsx(Icon, {}), " ", props.label]
|
|
@@ -1850,7 +1851,7 @@ var MoreMenu = function MoreMenu(_ref) {
|
|
|
1850
1851
|
}
|
|
1851
1852
|
return /*#__PURE__*/jsxRuntime.jsx(Component, _objectSpread$8(_objectSpread$8({}, _objectSpread$8(_objectSpread$8({}, props), {}, {
|
|
1852
1853
|
editor: editor
|
|
1853
|
-
},
|
|
1854
|
+
}, useEditorStore.generateFocusProps(props.highlight))), {}, {
|
|
1854
1855
|
isSecondaryMenu: true
|
|
1855
1856
|
}), props.optionName);
|
|
1856
1857
|
});
|
|
@@ -1866,7 +1867,7 @@ function _objectSpread$7(e) { for (var r = 1; r < arguments.length; r++) { var t
|
|
|
1866
1867
|
var useEditorState = function useEditorState(_ref) {
|
|
1867
1868
|
var editor = _ref.editor,
|
|
1868
1869
|
neetoKbArticleState = _ref.neetoKbArticleState;
|
|
1869
|
-
var _useEditorStore =
|
|
1870
|
+
var _useEditorStore = useEditorStore.useEditorStore(function (store) {
|
|
1870
1871
|
return {
|
|
1871
1872
|
setMarksState: store["setMarksState"],
|
|
1872
1873
|
marksState: store["marksState"]
|
|
@@ -2621,7 +2622,7 @@ var FontSizeOption$1 = function FontSizeOption(_ref) {
|
|
|
2621
2622
|
options = _ref$options === void 0 ? [] : _ref$options;
|
|
2622
2623
|
var dropdownRef = React.useRef(null);
|
|
2623
2624
|
var lastOption = ramda.last(FONT_SIZE_OPTIONS);
|
|
2624
|
-
var _useEditorStore =
|
|
2625
|
+
var _useEditorStore = useEditorStore.useEditorStore(function (store) {
|
|
2625
2626
|
var _store$marksState;
|
|
2626
2627
|
return {
|
|
2627
2628
|
fontSizeOption: (_store$marksState = store["marksState"]) === null || _store$marksState === void 0 ? void 0 : _store$marksState["fontSizeOption"]
|
|
@@ -3364,6 +3365,9 @@ function renderTooltipContent(label, optionName) {
|
|
|
3364
3365
|
return "".concat(label, " (").concat(key, ")");
|
|
3365
3366
|
}
|
|
3366
3367
|
|
|
3368
|
+
var css = ".neeto-editor-fixed-menu{background-color:rgb(var(--neeto-ui-white));border:thin solid rgb(var(--neeto-ui-gray-400));border-bottom:none;border-radius:var(--neeto-ui-rounded) var(--neeto-ui-rounded) 0 0;display:flex;position:relative}.neeto-editor-fixed-menu--independant{border-bottom:thin solid rgb(var(--neeto-ui-gray-400));border-radius:0;border-radius:initial}.neeto-editor-fixed-menu--independant .neeto-editor-fixed-menu__wrapper{border-bottom:0!important}.neeto-editor-fixed-menu--independant .neeto-editor-fixed-menu__wrapper button.neeto-editor-fixed-menu__item .neeto-ui-btn__icon path{stroke-width:1.8px}.neeto-editor-fixed-menu__item{border-radius:0}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item{--neeto-ui-btn-border-radius:0;--neeto-ui-btn-icon-size:22px;--neeto-ui-btn-padding-x:0;--neeto-ui-btn-padding-y:0;--neeto-ui-btn-focus-box-shadow:none;align-items:center;height:36px;justify-content:center;min-width:-moz-fit-content;min-width:fit-content;padding:0;width:36px}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item .neeto-ui-btn__icon{color:rgb(var(--neeto-ui-black))}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item .neeto-ui-btn__icon path{stroke-width:1.5px}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item:hover{background-color:rgb(var(--neeto-ui-gray-100))}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item.neeto-ui-btn--style-secondary{background-color:rgb(var(--neeto-ui-accent-100))}.neeto-editor-fixed-menu button.neeto-editor-fixed-menu__item.neeto-ui-btn--style-secondary .neeto-ui-btn__icon{color:rgb(var(--neeto-ui-accent-800))}.neeto-editor-fixed-menu__wrapper{align-items:center;border-bottom:thin solid rgb(var(--neeto-ui-gray-400));display:flex;flex-grow:1;justify-content:flex-start;padding:0 2px;width:100%}.neeto-editor-fixed-menu__wrapper__button-group{display:flex}.neeto-editor-fixed-menu__variables{bottom:-42px;inset-inline-end:8px;position:absolute;z-index:10}.neeto-editor-fixed-menu__variables .neeto-editor-menu__item{background-color:rgb(var(--neeto-ui-gray-700));border-radius:var(--neeto-ui-rounded-sm);padding:4px}.neeto-editor-fixed-menu__variables .neeto-editor-menu__item.active,.neeto-editor-fixed-menu__variables .neeto-editor-menu__item:hover{background-color:rgb(var(--neeto-ui-gray-600))}.neeto-editor-fixed-menu__variables--standalone{bottom:auto;inset-inline-end:0;position:absolute;top:8px;z-index:10}.neeto-editor-fixed-menu__right-options{display:flex}.neeto-editor-fixed-menu__emoji-dropdown{max-height:none!important}.neeto-editor-fixed-menu__separator{display:flex;height:28px;width:32px}.neeto-editor-fixed-menu__separator span{width:100%}.neeto-editor-fixed-menu__separator span:first-child{border-inline-end:1px solid rgb(var(--neeto-ui-gray-200))}.neeto-editor-text-color-option__options-group{align-items:center;display:flex;gap:8px;margin-block:8px;margin-inline:4px}.neeto-editor-text-color-option__options-group__input{max-width:120px}.neeto-editor-text-color-option__options-group__reset-button{align-self:center}.react-colorful{width:100%!important}.neeto-editor-menu__item{align-items:center;border-radius:2px;cursor:pointer;display:flex;flex-direction:row;gap:4px;justify-content:center;padding:8px;transition:var(--neeto-ui-transition)}.neeto-editor-menu__item p{color:rgb(var(--neeto-ui-gray-600));font-size:var(--neeto-ui-text-xs);line-height:1;white-space:nowrap}.neeto-editor-menu__item.active,.neeto-editor-menu__item:hover{background-color:rgb(var(--neeto-ui-gray-200))}.neeto-editor-menu__item:focus,.neeto-editor-menu__item:focus-visible{outline:rgb(var(--neeto-ui-gray-300)) auto 1px}.neeto-editor-menu__item input[type=color]{height:0;visibility:hidden;width:0}.neeto-editor-menu__item:disabled{background-color:rgb(var(--neeto-ui-gray-100));opacity:.5}.neeto-editor-link__item{align-items:flex-start;justify-content:flex-start}.neeto-editor-link__item,.neeto-editor-table__item{display:flex!important;flex-direction:row;gap:8px;padding:8px!important}.neeto-editor-table__item{min-width:210px}.neeto-editor-table__item input{max-width:60px!important}.neeto-editor-table__options-menu{display:flex;flex-direction:column;gap:8px;max-height:150px!important;overflow:scroll;padding:8px!important}.neeto-editor-font-size__wrapper{font-size:16px;font-weight:var(--neeto-ui-font-normal)!important;padding-inline-end:4px!important;padding-inline-start:4px!important}.tippy-box[data-theme~=neeto-editor-bubble-menu-tippy-box]{box-shadow:none!important}.tippy-box[data-theme~=neeto-editor-bubble-menu-tippy-box] .tippy-content{padding:0!important}.tippy-box[data-theme~=neeto-editor-common-submenu-tippy-box]{box-shadow:none!important}.tippy-box[data-theme~=neeto-editor-common-submenu-tippy-box] .tippy-content{padding:0!important}.neeto-editor-bubble-menu{align-items:center;background:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-gray-400));border-radius:var(--neeto-ui-rounded);display:flex;flex-direction:row;gap:0;justify-content:flex-start;overflow-x:auto;padding:0;position:relative}.neeto-editor-bubble-menu>.neeto-editor-bubble-menu__item:first-child,.neeto-editor-bubble-menu>.neeto-editor-fixed-menu__item:first-child,.neeto-editor-bubble-menu>.neeto-editor-table-bubble-menu__item:first-child{border-bottom-left-radius:var(--neeto-ui-rounded);border-top-left-radius:var(--neeto-ui-rounded)}.neeto-editor-bubble-menu>.neeto-editor-bubble-menu__item:last-child,.neeto-editor-bubble-menu>.neeto-editor-fixed-menu__item:last-child,.neeto-editor-bubble-menu>.neeto-editor-table-bubble-menu__item:last-child{border-bottom-right-radius:var(--neeto-ui-rounded);border-top-right-radius:var(--neeto-ui-rounded)}.neeto-editor-bubble-menu button.neeto-editor-bubble-menu__item,.neeto-editor-bubble-menu button.neeto-editor-fixed-menu__item,.neeto-editor-bubble-menu button.neeto-editor-table-bubble-menu__item{--neeto-ui-btn-border-radius:0;--neeto-ui-btn-icon-size:22px;--neeto-ui-btn-padding-x:0;--neeto-ui-btn-padding-y:0;--neeto-ui-btn-focus-box-shadow:none;align-items:center;color:rgb(var(--neeto-ui-black))!important;flex-shrink:0;height:36px;justify-content:center;min-width:-moz-fit-content;min-width:fit-content;width:36px}.neeto-editor-bubble-menu button.neeto-editor-bubble-menu__item .neeto-ui-btn__icon,.neeto-editor-bubble-menu button.neeto-editor-fixed-menu__item .neeto-ui-btn__icon,.neeto-editor-bubble-menu button.neeto-editor-table-bubble-menu__item .neeto-ui-btn__icon{color:rgb(var(--neeto-ui-black))}.neeto-editor-bubble-menu button.neeto-editor-bubble-menu__item .neeto-ui-btn__icon path,.neeto-editor-bubble-menu button.neeto-editor-fixed-menu__item .neeto-ui-btn__icon path,.neeto-editor-bubble-menu button.neeto-editor-table-bubble-menu__item .neeto-ui-btn__icon path{stroke-width:1.5px}.neeto-editor-bubble-menu button.neeto-editor-bubble-menu__item.active,.neeto-editor-bubble-menu button.neeto-editor-bubble-menu__item:active,.neeto-editor-bubble-menu button.neeto-editor-bubble-menu__item:hover,.neeto-editor-bubble-menu button.neeto-editor-fixed-menu__item.active,.neeto-editor-bubble-menu button.neeto-editor-fixed-menu__item:active,.neeto-editor-bubble-menu button.neeto-editor-fixed-menu__item:hover,.neeto-editor-bubble-menu button.neeto-editor-table-bubble-menu__item.active,.neeto-editor-bubble-menu button.neeto-editor-table-bubble-menu__item:active,.neeto-editor-bubble-menu button.neeto-editor-table-bubble-menu__item:hover{background-color:rgb(var(--neeto-ui-gray-100))}.neeto-editor-bubble-menu button.neeto-editor-bubble-menu__item.neeto-ui-btn--style-secondary{background-color:rgb(var(--neeto-ui-accent-100))!important}.neeto-editor-bubble-menu button.neeto-editor-bubble-menu__item.neeto-ui-btn--style-secondary .neeto-ui-btn__icon{color:rgb(var(--neeto-ui-accent-800))!important}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link{align-items:center;display:flex;gap:6px;justify-content:space-between;padding:6px;width:256px}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .neeto-editor-bubble-menu-link__input{background-color:transparent;background-color:var(--neeto-ui-input-bg-color);border:var(--neeto-ui-input-border-width) solid var(--neeto-ui-input-border-color);border-radius:var(--neeto-ui-input-border-radius);color:var(--neeto-ui-input-color);font-size:var(--neeto-ui-input-font-size);height:28px;line-height:1.2;outline:none;transition:var(--neeto-ui-transition);width:100%}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .neeto-editor-bubble-menu-link__input::-moz-placeholder{color:rgba(.4);color:rgba(var(--neeto-ui-white,.4))}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .neeto-editor-bubble-menu-link__input::placeholder{color:rgba(.4);color:rgba(var(--neeto-ui-white,.4))}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .ne-btn--icon-only{min-height:0;opacity:.8;padding:0}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .ne-btn--icon-only:hover{opacity:1}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table{align-items:flex-start;display:flex;gap:6px;justify-content:space-between;max-width:256px;padding:4px}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table input{background-color:var(--neeto-ui-input-bg-color);border:var(--neeto-ui-input-border-width) solid var(--neeto-ui-input-border-color);border-radius:var(--neeto-ui-input-border-radius);color:var(--neeto-ui-input-color);font-size:var(--neeto-ui-input-font-size);height:28px;line-height:1.2;outline:none;padding-block:3px;padding-inline:5px;transition:var(--neeto-ui-transition);width:60px}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table input::-moz-placeholder{color:rgb(var(--neeto-ui-gray-500))}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table input::placeholder{color:rgb(var(--neeto-ui-gray-500))}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table__menu-item{display:flex;flex-direction:column;gap:6px}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table__input-label{color:rgb(var(--neeto-ui-gray-800))}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table__buttons{align-self:flex-end;display:flex;gap:4px;justify-content:space-between}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__table__options{display:flex;flex-direction:column;gap:2px;max-height:190px;overflow:scroll}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown-target{align-items:center;display:flex;font-size:var(--neeto-ui-text-xs);gap:4px;line-height:var(--neeto-ui-leading-normal);white-space:nowrap}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown{align-items:flex-start;display:flex;flex-direction:column}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown .neeto-editor-bubble-menu__dropdown-item{font-size:var(--neeto-ui-text-xs);padding-block:8px;padding-inline:12px;text-align:start;width:100%}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown .neeto-editor-bubble-menu__dropdown-item:first-child{border-top-left-radius:var(--neeto-ui-rounded);border-top-right-radius:var(--neeto-ui-rounded)}.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown .neeto-editor-bubble-menu__dropdown-item:last-child{border-bottom-left-radius:var(--neeto-ui-rounded);border-bottom-right-radius:var(--neeto-ui-rounded)}.neeto-editor-bubble-menu-animate-shake{animation:shake 1s linear infinite alternate both}.neeto-editor-table-menu__button{align-items:flex-end;display:flex}.neeto-editor__image-menu .neeto-ui-dropdown__popup{display:flex;min-width:0;min-width:auto}.neeto-editor__image-menu .neeto-ui-dropdown__popup .neeto-ui-btn .neeto-ui-btn__icon{height:18px!important;width:18px!important}.neeto-editor__image-menu-btn{border-radius:100%;inset-inline-end:6px;position:absolute!important;top:6px;z-index:1}.neeto-editor-menu-font-size-options{padding:8px!important}.neeto-editor-menu-font-size-options .neeto-ui-dropdown__popup-menu-item{background-color:transparent!important}.neeto-editor-menu-font-size-options .neeto-editor-menu-font-size-options__item-btn{border-radius:var(--neeto-ui-btn-border-radius)!important;justify-content:center;min-height:34px;min-width:34px;overflow:hidden;padding-inline-end:0!important;padding-inline-start:0!important;text-align:center}.neeto-editor-menu-font-size-options .neeto-editor-menu-font-size-options__item-btn--selected{background-color:rgb(var(--neeto-ui-accent-100))!important;color:rgb(var(--neeto-ui-accent-800))!important}.neeto-editor-table-bubble-menu__dropdown .neeto-ui-dropdown__popup{min-width:auto}.neeto-editor-table-bubble-menu__dropdown .neeto-ui-dropdown__popup .neeto-ui-dropdown__popup-menu{--neeto-ui-btn-border-radius:0;padding:0}.neeto-editor-fixed-menu-standalone-variables-wrapper{position:relative}";
|
|
3369
|
+
injectCss.n(css,{});
|
|
3370
|
+
|
|
3367
3371
|
function ownKeys(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; }
|
|
3368
3372
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty__default.default(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3369
3373
|
var Menu = function Menu(props) {
|
|
@@ -3436,4 +3440,4 @@ exports.Menu = Menu;
|
|
|
3436
3440
|
exports.MenuDynamicVariables = MenuDynamicVariables;
|
|
3437
3441
|
exports.getLinkPopoverPosition = getLinkPopoverPosition;
|
|
3438
3442
|
exports.validateUrl = validateUrl;
|
|
3439
|
-
//# sourceMappingURL=chunk-
|
|
3443
|
+
//# sourceMappingURL=chunk-BrQjqeiG.cjs.js.map
|