@progress/kendo-editor-common 1.12.2-develop.3 → 1.12.2-develop.5

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,7 +1,7 @@
1
1
  import { Plugin } from 'prosemirror-state';
2
2
  import { tableNodeTypes, TableMap } from 'prosemirror-tables';
3
3
  import { DecorationSet, Decoration } from 'prosemirror-view';
4
- import { tableRowResizeKey, otherResizeHandle, otherResizing, domCellAround, cellIndexes, edgeCell } from './utils.js';
4
+ import { tableRowResizeKey, otherResizing, otherResizeHandle, domCellAround, cellIndexes, edgeCell } from './utils.js';
5
5
  import { parseStyle, setNodeStyle } from '../../utils.js';
6
6
 
7
7
  class TableRowView {
@@ -1,6 +1,6 @@
1
1
  import { DOMParser, Fragment } from 'prosemirror-model';
2
2
  import { AllSelection } from 'prosemirror-state';
3
- import { colgroupAttr, rowTypeAttr } from './config/constants.js';
3
+ import { rowTypeAttr, colgroupAttr } from './config/constants.js';
4
4
  import { DOMSerializer } from './DOMSerializer.js';
5
5
  import { setStyleAttr } from './utils.js';
6
6
 
@@ -1,4 +1,4 @@
1
- import { addRowBefore as addRowBefore$1, addRowAfter as addRowAfter$1, addColumnBefore as addColumnBefore$1, addColumnAfter as addColumnAfter$1, deleteColumn as deleteColumn$1, TableMap } from 'prosemirror-tables';
1
+ import { addRowAfter as addRowAfter$1, addRowBefore as addRowBefore$1, addColumnBefore as addColumnBefore$1, addColumnAfter as addColumnAfter$1, deleteColumn as deleteColumn$1, TableMap } from 'prosemirror-tables';
2
2
  export { addColumnAfter as pmAddColumnAfter, addColumnBefore as pmAddColumnBefore, addRowAfter as pmAddRowAfter, addRowBefore as pmAddRowBefore, deleteColumn as pmDeleteColumn } from 'prosemirror-tables';
3
3
  import { colgroupAttr, rowTypeAttr } from './config/constants.js';
4
4
  import { parseStrColgroup } from './config/schema.js';
@@ -1,5 +1,5 @@
1
1
  import { Node } from 'prosemirror-model';
2
- import { NodeSelection, TextSelection, AllSelection } from 'prosemirror-state';
2
+ import { TextSelection, AllSelection, NodeSelection } from 'prosemirror-state';
3
3
  import { parseInlineStyles } from '@progress/kendo-common';
4
4
 
5
5
  const changeStylesString = (styleText, newStyle) => {
@@ -1,5 +1,5 @@
1
- import { Node, NodeType } from 'prosemirror-model';
2
- import { Transaction, EditorState, Selection } from 'prosemirror-state';
1
+ import { NodeType, Node } from 'prosemirror-model';
2
+ import { EditorState, Transaction, Selection } from 'prosemirror-state';
3
3
  import { CleanFormattingOptions } from './cleanFormatting.js';
4
4
 
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { MarkSpec, NodeSpec } from 'prosemirror-model';
1
+ import { NodeSpec, MarkSpec } from 'prosemirror-model';
2
2
 
3
3
  declare const marks: {
4
4
  [mark: string]: MarkSpec;
@@ -1,4 +1,4 @@
1
- import { TextSelection, EditorState, Selection, Transaction } from 'prosemirror-state';
1
+ import { EditorState, Selection, TextSelection, Transaction } from 'prosemirror-state';
2
2
  import { Node } from 'prosemirror-model';
3
3
 
4
4
  interface SearchOptions {
@@ -1,6 +1,6 @@
1
1
  import { EditorState } from 'prosemirror-state';
2
2
  import { NodeType } from 'prosemirror-model';
3
- import { IndentRule, IndentationRules } from './config/indent-rules.js';
3
+ import { IndentationRules, IndentRule } from './config/indent-rules.js';
4
4
  import { Command } from './types/command.js';
5
5
 
6
6
  /**
package/dist/npm/link.js CHANGED
@@ -88,7 +88,7 @@ const applyLink = ({ mark: mark$1, attrs }, commandName = 'link') => (state, dis
88
88
  else {
89
89
  let nextState = state;
90
90
  if (mark.hasMark(state, { mark: mark$1 })) {
91
- removeLink({ mark: mark$1, attrs }, tr)(state, markDispatched);
91
+ removeLink({ mark: mark$1}, tr)(state, markDispatched);
92
92
  nextState = prosemirrorState.EditorState.create({ doc: tr.doc, selection: tr.selection });
93
93
  }
94
94
  if (dispatched) {
@@ -1,5 +1,5 @@
1
1
  import { MarkType, Mark } from 'prosemirror-model';
2
- import { Transaction, EditorState } from 'prosemirror-state';
2
+ import { EditorState, Transaction } from 'prosemirror-state';
3
3
  import { InlineFormatOptions } from './config/commands.js';
4
4
  import { Command } from './types/command.js';
5
5
  import { ActiveMarks } from './types/active-marks.js';
@@ -1,4 +1,4 @@
1
- import { PluginKey, Plugin } from 'prosemirror-state';
1
+ import { Plugin, PluginKey } from 'prosemirror-state';
2
2
 
3
3
  declare const caretColorKey: PluginKey<any>;
4
4
  declare function caretColor(): Plugin;
@@ -1,4 +1,4 @@
1
- import { PluginKey, Plugin, Transaction } from 'prosemirror-state';
1
+ import { Plugin, Transaction, PluginKey } from 'prosemirror-state';
2
2
 
3
3
  declare const imageResizeKey: PluginKey<any>;
4
4
  interface Rect {
@@ -1,4 +1,4 @@
1
- import { Node as Node$1, Schema, ParseOptions } from 'prosemirror-model';
1
+ import { Node as Node$1, ParseOptions, Schema } from 'prosemirror-model';
2
2
  import { EditorState } from 'prosemirror-state';
3
3
  import { Command } from './types/command.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { NodeType, ResolvedPos, Node } from 'prosemirror-model';
1
+ import { Node, NodeType, ResolvedPos } from 'prosemirror-model';
2
2
  import { EditorState } from 'prosemirror-state';
3
3
  import { Command } from './types/command.js';
4
4
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-editor-common",
3
3
  "description": "Kendo UI TypeScript package exporting functions for Editor component",
4
- "version": "1.12.2-develop.3",
4
+ "version": "1.12.2-develop.5",
5
5
  "keywords": [
6
6
  "Kendo UI"
7
7
  ],
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@progress/kendo-common": "^1.0.2",
28
- "prosemirror-commands": "1.6.2",
28
+ "prosemirror-commands": "1.7.0",
29
29
  "prosemirror-dropcursor": "1.8.1",
30
30
  "prosemirror-gapcursor": "1.3.2",
31
31
  "prosemirror-history": "1.4.1",
@@ -36,7 +36,7 @@
36
36
  "prosemirror-state": "1.4.3",
37
37
  "prosemirror-tables": "1.6.4",
38
38
  "prosemirror-transform": "1.10.2",
39
- "prosemirror-view": "1.37.2",
39
+ "prosemirror-view": "1.38.0",
40
40
  "tslib": "^2.8.1"
41
41
  },
42
42
  "devDependencies": {