@atlaskit/editor-plugin-code-block-advanced 2.3.0 → 2.3.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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/editor-plugin-code-block-advanced
2
2
 
3
+ ## 2.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 2.3.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 2.3.0
4
16
 
5
17
  ### Minor Changes
@@ -35,6 +35,12 @@
35
35
  {
36
36
  "path": "../../editor-plugin-selection-marker/afm-jira/tsconfig.json"
37
37
  },
38
+ {
39
+ "path": "../../../platform/feature-flags/afm-jira/tsconfig.json"
40
+ },
41
+ {
42
+ "path": "../../tmp-editor-statsig/afm-jira/tsconfig.json"
43
+ },
38
44
  {
39
45
  "path": "../../../design-system/tokens/afm-jira/tsconfig.json"
40
46
  }
@@ -35,6 +35,12 @@
35
35
  {
36
36
  "path": "../../editor-plugin-selection-marker/afm-post-office/tsconfig.json"
37
37
  },
38
+ {
39
+ "path": "../../../platform/feature-flags/afm-post-office/tsconfig.json"
40
+ },
41
+ {
42
+ "path": "../../tmp-editor-statsig/afm-post-office/tsconfig.json"
43
+ },
38
44
  {
39
45
  "path": "../../../design-system/tokens/afm-post-office/tsconfig.json"
40
46
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-code-block-advanced",
3
- "version": "2.3.0",
3
+ "version": "2.3.2",
4
4
  "description": "CodeBlockAdvanced plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,15 +33,15 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@atlaskit/adf-schema": "^47.6.0",
36
- "@atlaskit/editor-common": "^106.3.0",
36
+ "@atlaskit/editor-common": "^106.6.0",
37
37
  "@atlaskit/editor-plugin-code-block": "^4.4.0",
38
38
  "@atlaskit/editor-plugin-editor-disabled": "^2.0.0",
39
- "@atlaskit/editor-plugin-find-replace": "^2.3.0",
39
+ "@atlaskit/editor-plugin-find-replace": "^2.4.0",
40
40
  "@atlaskit/editor-plugin-selection": "^2.2.0",
41
41
  "@atlaskit/editor-plugin-selection-marker": "^2.4.0",
42
42
  "@atlaskit/editor-prosemirror": "7.0.0",
43
43
  "@atlaskit/platform-feature-flags": "^1.1.0",
44
- "@atlaskit/tmp-editor-statsig": "^5.14.0",
44
+ "@atlaskit/tmp-editor-statsig": "^7.0.0",
45
45
  "@atlaskit/tokens": "^5.1.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "@codemirror/autocomplete": "6.18.4",
@@ -165,9 +165,15 @@ const codeBlockKeymap = ({
165
165
  key: 'Backspace',
166
166
  run: (cm) => backspaceKeymap({ cm, view, getNode, getPos }),
167
167
  },
168
- { key: 'Ctrl-Alt-]', mac: 'Cmd-Alt-]', run: () => {
168
+ {
169
+ key: 'Ctrl-Alt-]',
170
+ mac: 'Cmd-Alt-]',
171
+ run: () => {
169
172
  // Pass synthetic event to prosemirror
170
- if (expValEquals('platform_editor_breakout_resizing', 'isEnabled', true) && fg('platform_editor_breakout_resizing_hello_release')) {
173
+ if (
174
+ expValEquals('platform_editor_breakout_resizing', 'isEnabled', true) &&
175
+ fg('platform_editor_breakout_resizing_hello_release')
176
+ ) {
171
177
  view.dispatchEvent(
172
178
  new KeyboardEvent('keydown', {
173
179
  key: ']',
@@ -180,11 +186,17 @@ const codeBlockKeymap = ({
180
186
  return true;
181
187
  }
182
188
  return false;
183
- }
189
+ },
184
190
  },
185
- { key: 'Ctrl-Alt-[', mac: 'Cmd-Alt-[', run: () => {
191
+ {
192
+ key: 'Ctrl-Alt-[',
193
+ mac: 'Cmd-Alt-[',
194
+ run: () => {
186
195
  // Pass synthetic event to prosemirror
187
- if (expValEquals('platform_editor_breakout_resizing', 'isEnabled', true) && fg('platform_editor_breakout_resizing_hello_release')) {
196
+ if (
197
+ expValEquals('platform_editor_breakout_resizing', 'isEnabled', true) &&
198
+ fg('platform_editor_breakout_resizing_hello_release')
199
+ ) {
188
200
  view.dispatchEvent(
189
201
  new KeyboardEvent('keydown', {
190
202
  key: ']',
@@ -197,7 +209,7 @@ const codeBlockKeymap = ({
197
209
  return true;
198
210
  }
199
211
  return false;
200
- }
212
+ },
201
213
  },
202
214
  ...defaultKeymap.concat(indentWithTab),
203
215
  ];
package/tsconfig.app.json CHANGED
@@ -52,6 +52,12 @@
52
52
  {
53
53
  "path": "../editor-plugin-selection-marker/tsconfig.app.json"
54
54
  },
55
+ {
56
+ "path": "../../platform/feature-flags/tsconfig.app.json"
57
+ },
58
+ {
59
+ "path": "../tmp-editor-statsig/tsconfig.app.json"
60
+ },
55
61
  {
56
62
  "path": "../../design-system/tokens/tsconfig.app.json"
57
63
  }