@atlaskit/editor-plugin-code-block-advanced 19.0.1 → 19.0.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/editor-plugin-code-block-advanced
2
2
 
3
+ ## 19.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 19.0.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 19.0.1
4
16
 
5
17
  ### Patch Changes
@@ -10,8 +10,8 @@ var _commands = require("@codemirror/commands");
10
10
  var _view = require("@codemirror/view");
11
11
  var _browser = require("@atlaskit/editor-common/browser");
12
12
  var _commands2 = require("@atlaskit/editor-prosemirror/commands");
13
- var _undo = require("@atlaskit/prosemirror-history/undo");
14
13
  var _redo = require("@atlaskit/prosemirror-history/redo");
14
+ var _undo = require("@atlaskit/prosemirror-history/undo");
15
15
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
16
16
  var _backspace = require("./backspace");
17
17
  var _maybeEscape = require("./maybeEscape");
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export { codeBlockAdvancedPlugin } from '../codeBlockAdvancedPlugin';
@@ -2,8 +2,8 @@ import { defaultKeymap, indentWithTab } from '@codemirror/commands';
2
2
  import { keymap as cmKeymap } from '@codemirror/view';
3
3
  import { getBrowserInfo } from '@atlaskit/editor-common/browser';
4
4
  import { exitCode, selectAll } from '@atlaskit/editor-prosemirror/commands';
5
- import { undo } from '@atlaskit/prosemirror-history/undo';
6
5
  import { redo } from '@atlaskit/prosemirror-history/redo';
6
+ import { undo } from '@atlaskit/prosemirror-history/undo';
7
7
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
8
8
  import { backspaceKeymap } from './backspace';
9
9
  import { maybeEscapeKeymap } from './maybeEscape';
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export { codeBlockAdvancedPlugin } from '../codeBlockAdvancedPlugin';
@@ -3,8 +3,8 @@ import { defaultKeymap, indentWithTab } from '@codemirror/commands';
3
3
  import { keymap as cmKeymap } from '@codemirror/view';
4
4
  import { getBrowserInfo } from '@atlaskit/editor-common/browser';
5
5
  import { exitCode, selectAll } from '@atlaskit/editor-prosemirror/commands';
6
- import { undo } from '@atlaskit/prosemirror-history/undo';
7
6
  import { redo } from '@atlaskit/prosemirror-history/redo';
7
+ import { undo } from '@atlaskit/prosemirror-history/undo';
8
8
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
9
9
  import { backspaceKeymap } from './backspace';
10
10
  import { maybeEscapeKeymap } from './maybeEscape';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-code-block-advanced",
3
- "version": "19.0.1",
3
+ "version": "19.0.3",
4
4
  "description": "CodeBlockAdvanced plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -20,7 +20,7 @@
20
20
  "sideEffects": false,
21
21
  "atlaskit:src": "src/index.ts",
22
22
  "dependencies": {
23
- "@atlaskit/adf-schema": "^57.5.0",
23
+ "@atlaskit/adf-schema": "^57.6.0",
24
24
  "@atlaskit/code": "^19.2.0",
25
25
  "@atlaskit/editor-plugin-analytics": "^19.0.0",
26
26
  "@atlaskit/editor-plugin-code-block": "^21.0.0",
@@ -31,7 +31,7 @@
31
31
  "@atlaskit/editor-prosemirror": "^9.0.0",
32
32
  "@atlaskit/platform-feature-flags": "^2.2.0",
33
33
  "@atlaskit/prosemirror-history": "^1.2.0",
34
- "@atlaskit/tmp-editor-statsig": "^200.0.0",
34
+ "@atlaskit/tmp-editor-statsig": "^202.0.0",
35
35
  "@atlaskit/tokens": "^18.2.0",
36
36
  "@babel/runtime": "^7.0.0",
37
37
  "@codemirror/autocomplete": "6.18.4",
@@ -50,7 +50,7 @@
50
50
  "codemirror-lang-mermaid": "0.4.0"
51
51
  },
52
52
  "peerDependencies": {
53
- "@atlaskit/editor-common": "^123.0.0",
53
+ "@atlaskit/editor-common": "^123.5.0",
54
54
  "react": "^18.2.0 || ^19.2.0",
55
55
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
56
56
  },
@@ -1,2 +1,3 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export { codeBlockAdvancedPlugin } from '../codeBlockAdvancedPlugin';
@@ -1,4 +1,5 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
+
2
3
  export type {
3
4
  CodeBlockAdvancedPlugin,
4
5
  CodeBlockAdvancedPluginOptions,
@@ -37,7 +37,6 @@ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equ
37
37
  import type { CodeBlockAdvancedPlugin } from '../codeBlockAdvancedPluginType';
38
38
  import { highlightStyle } from '../ui/syntaxHighlightingTheme';
39
39
  import { cmTheme, codeFoldingTheme } from '../ui/theme';
40
-
41
40
  import { getCodeFoldingAnalyticsPayload, type CodeFoldingTrigger } from './analytics';
42
41
  import { syncCMWithPM } from './codemirrorSync/syncCMWithPM';
43
42
  import { getCMSelectionChanges } from './codemirrorSync/updateCMSelection';
@@ -9,8 +9,8 @@ import type { getPosHandlerNode } from '@atlaskit/editor-common/types';
9
9
  import { exitCode, selectAll } from '@atlaskit/editor-prosemirror/commands';
10
10
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
11
11
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
12
- import { undo } from '@atlaskit/prosemirror-history/undo';
13
12
  import { redo } from '@atlaskit/prosemirror-history/redo';
13
+ import { undo } from '@atlaskit/prosemirror-history/undo';
14
14
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
15
15
 
16
16
  import { backspaceKeymap } from './backspace';
@@ -3,7 +3,6 @@ import type { LanguageSupport } from '@codemirror/language';
3
3
  import type { Extension } from '@codemirror/state';
4
4
 
5
5
  import { languageStyling } from '../../ui/syntaxHighlightingTheme';
6
-
7
6
  import { mapLanguageToCodeMirror } from './languageMap';
8
7
 
9
8
  /**
@@ -7,7 +7,6 @@ import type { EditorView } from '@atlaskit/editor-prosemirror/view';
7
7
 
8
8
  import type { CodeBlockAdvancedPlugin } from '../codeBlockAdvancedPluginType';
9
9
  import { lazyCodeBlockView } from '../nodeviews/lazyCodeBlockAdvanced';
10
-
11
10
  import { shiftArrowDownWorkaround, shiftArrowUpWorkaround } from './shiftArrowKeyWorkaround';
12
11
 
13
12
  interface Props {