@gravity-ui/markdown-editor 14.10.1 → 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.
@@ -1,5 +1,5 @@
1
1
  import type { CommonEditor } from '../common';
2
- import { TransformFn } from '../core/markdown/ProseMirrorTransformer';
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';
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @deprecated This file is deprecated. Use ToolbarsPreset instead.
3
3
  */
4
- import { ActionStorage } from 'src/core';
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 'src/core';
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 'src/core';
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("../../../../src/i18n/empty-row");
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 = {
@@ -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.1' !== 'undefined' ? '14.10.1' : 'unknown';
5
+ exports.VERSION = typeof '14.10.2' !== 'undefined' ? '14.10.2' : 'unknown';
@@ -1,5 +1,5 @@
1
1
  import type { CommonEditor } from '../common';
2
- import { TransformFn } from '../core/markdown/ProseMirrorTransformer';
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';
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @deprecated This file is deprecated. Use ToolbarsPreset instead.
3
3
  */
4
- import { ActionStorage } from 'src/core';
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 'src/core';
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 'src/core';
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 '../../../../src/i18n/empty-row';
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 = {
@@ -1,2 +1,2 @@
1
1
  /** During build process, the current version will be injected here */
2
- export const VERSION = typeof '14.10.1' !== 'undefined' ? '14.10.1' : 'unknown';
2
+ export const VERSION = typeof '14.10.2' !== 'undefined' ? '14.10.2' : 'unknown';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/markdown-editor",
3
- "version": "14.10.1",
3
+ "version": "14.10.2",
4
4
  "description": "Markdown wysiwyg and markup editor",
5
5
  "license": "MIT",
6
6
  "repository": {