@gravity-ui/markdown-editor 14.10.0 → 14.10.2
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/build/cjs/bundle/Editor.d.ts +1 -1
- package/build/cjs/bundle/Editor.js +1 -1
- package/build/cjs/bundle/config/wysiwyg.d.ts +1 -1
- package/build/cjs/extensions/additional/GPT/actions.d.ts +1 -1
- package/build/cjs/extensions/additional/GPT/gptExtension/view.d.ts +1 -1
- package/build/cjs/markup/codemirror/autocomplete/emptyRow.js +1 -1
- package/build/cjs/version.js +1 -1
- package/build/esm/bundle/Editor.d.ts +1 -1
- package/build/esm/bundle/Editor.js +1 -1
- package/build/esm/bundle/config/wysiwyg.d.ts +1 -1
- package/build/esm/extensions/additional/GPT/actions.d.ts +1 -1
- package/build/esm/extensions/additional/GPT/gptExtension/view.d.ts +1 -1
- package/build/esm/markup/codemirror/autocomplete/emptyRow.js +1 -1
- package/build/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TransformFn } from 'src/core/markdown/ProseMirrorTransformer';
|
|
2
1
|
import type { CommonEditor } from '../common';
|
|
2
|
+
import type { TransformFn } from '../core/markdown/ProseMirrorTransformer';
|
|
3
3
|
import { ReactRenderStorage } from '../extensions';
|
|
4
4
|
import { type Receiver } from '../utils';
|
|
5
5
|
import type { DirectiveSyntaxContext } from '../utils/directive';
|
|
@@ -5,11 +5,11 @@ exports.EditorImpl = void 0;
|
|
|
5
5
|
const tslib_1 = require("tslib");
|
|
6
6
|
const view_1 = require("@codemirror/view");
|
|
7
7
|
const prosemirror_state_1 = require("prosemirror-state");
|
|
8
|
-
const autocomplete_1 = require("../../src/markup/codemirror/autocomplete");
|
|
9
8
|
const core_1 = require("../core");
|
|
10
9
|
const bundle_1 = require("../i18n/bundle");
|
|
11
10
|
const logger_1 = require("../logger");
|
|
12
11
|
const markup_1 = require("../markup");
|
|
12
|
+
const autocomplete_1 = require("../markup/codemirror/autocomplete");
|
|
13
13
|
const editor_1 = require("../markup/editor");
|
|
14
14
|
const utils_1 = require("../utils");
|
|
15
15
|
/** @internal */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @deprecated This file is deprecated. Use ToolbarsPreset instead.
|
|
3
3
|
*/
|
|
4
|
-
import { ActionStorage } from '
|
|
4
|
+
import type { ActionStorage } from '../../core';
|
|
5
5
|
import type { SelectionContextConfig, SelectionContextItemData } from '../../extensions/behavior/SelectionContext';
|
|
6
6
|
import { ToolbarGroupItemData, ToolbarItemData, ToolbarListButtonItemData, ToolbarListItemData, ToolbarSingleItemData } from '../../toolbar';
|
|
7
7
|
import { ToolbarData } from '../../toolbar/Toolbar';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ActionSpec, ExtensionDeps } from '
|
|
1
|
+
import type { ActionSpec, ExtensionDeps } from '../../../core';
|
|
2
2
|
export declare const showGptWidget: (deps: ExtensionDeps) => ActionSpec;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PopupProps } from '@gravity-ui/uikit';
|
|
2
2
|
import type { EditorState, PluginView } from 'prosemirror-state';
|
|
3
3
|
import { EditorView } from 'prosemirror-view';
|
|
4
|
-
import { Parser, Serializer } from '
|
|
4
|
+
import type { Parser, Serializer } from '../../../../core';
|
|
5
5
|
import type { CommonAnswer } from '../ErrorScreen/types';
|
|
6
6
|
import type { GptDialogProps } from '../GptDialog/GptDialog';
|
|
7
7
|
export declare const cnGptPopup: import("@bem-react/classname").ClassNameFormatter;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.emptyRowAutocomplete = exports.emptyRowSnippet = exports.emptyRowSnippetTemplate = void 0;
|
|
4
4
|
const autocomplete_1 = require("@codemirror/autocomplete");
|
|
5
|
-
const empty_row_1 = require("
|
|
5
|
+
const empty_row_1 = require("../../../i18n/empty-row");
|
|
6
6
|
exports.emptyRowSnippetTemplate = ' \n\n';
|
|
7
7
|
exports.emptyRowSnippet = (0, autocomplete_1.snippet)(exports.emptyRowSnippetTemplate);
|
|
8
8
|
exports.emptyRowAutocomplete = {
|
package/build/cjs/version.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
4
|
/** During build process, the current version will be injected here */
|
|
5
|
-
exports.VERSION = typeof '14.10.
|
|
5
|
+
exports.VERSION = typeof '14.10.2' !== 'undefined' ? '14.10.2' : 'unknown';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TransformFn } from 'src/core/markdown/ProseMirrorTransformer';
|
|
2
1
|
import type { CommonEditor } from '../common';
|
|
2
|
+
import type { TransformFn } from '../core/markdown/ProseMirrorTransformer';
|
|
3
3
|
import { ReactRenderStorage } from '../extensions';
|
|
4
4
|
import { type Receiver } from '../utils';
|
|
5
5
|
import type { DirectiveSyntaxContext } from '../utils/directive';
|
|
@@ -2,11 +2,11 @@ var _EditorImpl_markup, _EditorImpl_editorMode, _EditorImpl_toolbarVisible, _Edi
|
|
|
2
2
|
import { __classPrivateFieldGet, __classPrivateFieldSet, __rest } from "tslib";
|
|
3
3
|
import { EditorView as CMEditorView } from '@codemirror/view';
|
|
4
4
|
import { TextSelection } from 'prosemirror-state';
|
|
5
|
-
import { getAutocompleteConfig } from '../../src/markup/codemirror/autocomplete';
|
|
6
5
|
import { WysiwygEditor, } from '../core';
|
|
7
6
|
import { i18n } from '../i18n/bundle';
|
|
8
7
|
import { logger } from '../logger';
|
|
9
8
|
import { createCodemirror } from '../markup';
|
|
9
|
+
import { getAutocompleteConfig } from '../markup/codemirror/autocomplete';
|
|
10
10
|
import { Editor as MarkupEditor } from '../markup/editor';
|
|
11
11
|
import { SafeEventEmitter } from '../utils';
|
|
12
12
|
/** @internal */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @deprecated This file is deprecated. Use ToolbarsPreset instead.
|
|
3
3
|
*/
|
|
4
|
-
import { ActionStorage } from '
|
|
4
|
+
import type { ActionStorage } from '../../core';
|
|
5
5
|
import type { SelectionContextConfig, SelectionContextItemData } from '../../extensions/behavior/SelectionContext';
|
|
6
6
|
import { ToolbarGroupItemData, ToolbarItemData, ToolbarListButtonItemData, ToolbarListItemData, ToolbarSingleItemData } from '../../toolbar';
|
|
7
7
|
import { ToolbarData } from '../../toolbar/Toolbar';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ActionSpec, ExtensionDeps } from '
|
|
1
|
+
import type { ActionSpec, ExtensionDeps } from '../../../core';
|
|
2
2
|
export declare const showGptWidget: (deps: ExtensionDeps) => ActionSpec;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PopupProps } from '@gravity-ui/uikit';
|
|
2
2
|
import type { EditorState, PluginView } from 'prosemirror-state';
|
|
3
3
|
import { EditorView } from 'prosemirror-view';
|
|
4
|
-
import { Parser, Serializer } from '
|
|
4
|
+
import type { Parser, Serializer } from '../../../../core';
|
|
5
5
|
import type { CommonAnswer } from '../ErrorScreen/types';
|
|
6
6
|
import type { GptDialogProps } from '../GptDialog/GptDialog';
|
|
7
7
|
import './view.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { snippet } from '@codemirror/autocomplete';
|
|
2
|
-
import { i18n } from '
|
|
2
|
+
import { i18n } from '../../../i18n/empty-row';
|
|
3
3
|
export const emptyRowSnippetTemplate = ' \n\n';
|
|
4
4
|
export const emptyRowSnippet = snippet(emptyRowSnippetTemplate);
|
|
5
5
|
export const emptyRowAutocomplete = {
|
package/build/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** During build process, the current version will be injected here */
|
|
2
|
-
export const VERSION = typeof '14.10.
|
|
2
|
+
export const VERSION = typeof '14.10.2' !== 'undefined' ? '14.10.2' : 'unknown';
|