@atlaskit/editor-plugin-expand 1.6.6 → 1.6.8

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,24 @@
1
1
  # @atlaskit/editor-plugin-expand
2
2
 
3
+ ## 1.6.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [#97116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97116)
8
+ [`7f699439f92f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7f699439f92f) -
9
+ [ED-22282] Clean up `allow-extended-nested-expand` feature flag.
10
+ - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
11
+ [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
12
+ [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
13
+ language triggering composition on an empty line.This was fixed in a patch bump of
14
+ prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
15
+
16
+ ## 1.6.7
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies
21
+
3
22
  ## 1.6.6
4
23
 
5
24
  ### Patch Changes
@@ -17,7 +17,6 @@ var _analytics = require("@atlaskit/editor-common/analytics");
17
17
  var _messages = require("@atlaskit/editor-common/messages");
18
18
  var _quickInsert = require("@atlaskit/editor-common/quick-insert");
19
19
  var _utils = require("@atlaskit/editor-common/utils");
20
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
21
20
  var _commands = require("./commands");
22
21
  var _keymap = require("./pm-plugins/keymap");
23
22
  var _main = require("./pm-plugins/main");
@@ -31,13 +30,12 @@ var expandPlugin = exports.expandPlugin = function expandPlugin(_ref) {
31
30
  return {
32
31
  name: 'expand',
33
32
  nodes: function nodes() {
34
- var nestedExpandNode = (0, _platformFeatureFlags.getBooleanFF)('platform.editor.allow-extended-nested-expand') ? _adfSchema.extendedNestedExpand : _adfSchema.nestedExpand;
35
33
  return [{
36
34
  name: 'expand',
37
35
  node: _adfSchema.expand
38
36
  }, {
39
37
  name: 'nestedExpand',
40
- node: nestedExpandNode
38
+ node: _adfSchema.extendedNestedExpand
41
39
  }];
42
40
  },
43
41
  actions: {
@@ -11,7 +11,6 @@ var _analytics = require("@atlaskit/editor-common/analytics");
11
11
  var _messages = require("@atlaskit/editor-common/messages");
12
12
  var _quickInsert = require("@atlaskit/editor-common/quick-insert");
13
13
  var _utils = require("@atlaskit/editor-common/utils");
14
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
15
14
  var _commands = require("./commands");
16
15
  var _keymap = require("./pm-plugins/keymap");
17
16
  var _main = require("./pm-plugins/main");
@@ -24,13 +23,12 @@ var expandPlugin = exports.expandPlugin = function expandPlugin(_ref) {
24
23
  return {
25
24
  name: 'expand',
26
25
  nodes: function nodes() {
27
- var nestedExpandNode = (0, _platformFeatureFlags.getBooleanFF)('platform.editor.allow-extended-nested-expand') ? _adfSchema.extendedNestedExpand : _adfSchema.nestedExpand;
28
26
  return [{
29
27
  name: 'expand',
30
28
  node: _adfSchema.expand
31
29
  }, {
32
30
  name: 'nestedExpand',
33
- node: nestedExpandNode
31
+ node: _adfSchema.extendedNestedExpand
34
32
  }];
35
33
  },
36
34
  actions: {
@@ -1,10 +1,9 @@
1
1
  import React from 'react';
2
- import { expand, extendedNestedExpand, nestedExpand } from '@atlaskit/adf-schema';
2
+ import { expand, extendedNestedExpand } from '@atlaskit/adf-schema';
3
3
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
5
5
  import { IconExpand } from '@atlaskit/editor-common/quick-insert';
6
6
  import { createWrapSelectionTransaction } from '@atlaskit/editor-common/utils';
7
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
8
7
  import { createExpandNode, insertExpand } from './commands';
9
8
  import { expandKeymap } from './pm-plugins/keymap';
10
9
  import { createPlugin } from './pm-plugins/main';
@@ -18,13 +17,12 @@ export const expandPlugin = ({
18
17
  return {
19
18
  name: 'expand',
20
19
  nodes() {
21
- const nestedExpandNode = getBooleanFF('platform.editor.allow-extended-nested-expand') ? extendedNestedExpand : nestedExpand;
22
20
  return [{
23
21
  name: 'expand',
24
22
  node: expand
25
23
  }, {
26
24
  name: 'nestedExpand',
27
- node: nestedExpandNode
25
+ node: extendedNestedExpand
28
26
  }];
29
27
  },
30
28
  actions: {
@@ -1,10 +1,9 @@
1
1
  import React from 'react';
2
- import { expand, extendedNestedExpand, nestedExpand } from '@atlaskit/adf-schema';
2
+ import { expand, extendedNestedExpand } from '@atlaskit/adf-schema';
3
3
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
5
5
  import { IconExpand } from '@atlaskit/editor-common/quick-insert';
6
6
  import { createWrapSelectionTransaction } from '@atlaskit/editor-common/utils';
7
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
8
7
  import { createExpandNode, insertExpand } from './commands';
9
8
  import { expandKeymap } from './pm-plugins/keymap';
10
9
  import { createPlugin } from './pm-plugins/main';
@@ -17,13 +16,12 @@ export const expandPlugin = ({
17
16
  return {
18
17
  name: 'expand',
19
18
  nodes() {
20
- const nestedExpandNode = getBooleanFF('platform.editor.allow-extended-nested-expand') ? extendedNestedExpand : nestedExpand;
21
19
  return [{
22
20
  name: 'expand',
23
21
  node: expand
24
22
  }, {
25
23
  name: 'nestedExpand',
26
- node: nestedExpandNode
24
+ node: extendedNestedExpand
27
25
  }];
28
26
  },
29
27
  actions: {
@@ -1,10 +1,9 @@
1
1
  import React from 'react';
2
- import { expand, extendedNestedExpand, nestedExpand } from '@atlaskit/adf-schema';
2
+ import { expand, extendedNestedExpand } from '@atlaskit/adf-schema';
3
3
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
5
5
  import { IconExpand } from '@atlaskit/editor-common/quick-insert';
6
6
  import { createWrapSelectionTransaction } from '@atlaskit/editor-common/utils';
7
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
8
7
  import { createExpandNode, insertExpand } from './commands';
9
8
  import { expandKeymap } from './pm-plugins/keymap';
10
9
  import { createPlugin } from './pm-plugins/main';
@@ -18,13 +17,12 @@ export var expandPlugin = function expandPlugin(_ref) {
18
17
  return {
19
18
  name: 'expand',
20
19
  nodes: function nodes() {
21
- var nestedExpandNode = getBooleanFF('platform.editor.allow-extended-nested-expand') ? extendedNestedExpand : nestedExpand;
22
20
  return [{
23
21
  name: 'expand',
24
22
  node: expand
25
23
  }, {
26
24
  name: 'nestedExpand',
27
- node: nestedExpandNode
25
+ node: extendedNestedExpand
28
26
  }];
29
27
  },
30
28
  actions: {
@@ -1,10 +1,9 @@
1
1
  import React from 'react';
2
- import { expand, extendedNestedExpand, nestedExpand } from '@atlaskit/adf-schema';
2
+ import { expand, extendedNestedExpand } from '@atlaskit/adf-schema';
3
3
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
5
5
  import { IconExpand } from '@atlaskit/editor-common/quick-insert';
6
6
  import { createWrapSelectionTransaction } from '@atlaskit/editor-common/utils';
7
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
8
7
  import { createExpandNode, insertExpand } from './commands';
9
8
  import { expandKeymap } from './pm-plugins/keymap';
10
9
  import { createPlugin } from './pm-plugins/main';
@@ -17,13 +16,12 @@ export var expandPlugin = function expandPlugin(_ref) {
17
16
  return {
18
17
  name: 'expand',
19
18
  nodes: function nodes() {
20
- var nestedExpandNode = getBooleanFF('platform.editor.allow-extended-nested-expand') ? extendedNestedExpand : nestedExpand;
21
19
  return [{
22
20
  name: 'expand',
23
21
  node: expand
24
22
  }, {
25
23
  name: 'nestedExpand',
26
- node: nestedExpandNode
24
+ node: extendedNestedExpand
27
25
  }];
28
26
  },
29
27
  actions: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-expand",
3
- "version": "1.6.6",
3
+ "version": "1.6.8",
4
4
  "description": "Expand plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -35,13 +35,13 @@
35
35
  "dependencies": {
36
36
  "@atlaskit/adf-schema": "^35.12.2",
37
37
  "@atlaskit/button": "^17.14.0",
38
- "@atlaskit/editor-common": "^78.37.0",
38
+ "@atlaskit/editor-common": "^79.1.0",
39
39
  "@atlaskit/editor-plugin-analytics": "^1.1.0",
40
40
  "@atlaskit/editor-plugin-decorations": "^1.1.0",
41
41
  "@atlaskit/editor-plugin-editor-disabled": "^1.1.0",
42
42
  "@atlaskit/editor-plugin-selection": "^1.2.0",
43
43
  "@atlaskit/editor-plugin-selection-marker": "^1.3.0",
44
- "@atlaskit/editor-prosemirror": "4.0.0",
44
+ "@atlaskit/editor-prosemirror": "4.0.1",
45
45
  "@atlaskit/editor-shared-styles": "^2.10.0",
46
46
  "@atlaskit/editor-tables": "^2.7.0",
47
47
  "@atlaskit/icon": "^22.1.0",
@@ -61,7 +61,7 @@
61
61
  "@atlaskit/editor-plugin-content-insertion": "^1.1.0",
62
62
  "@atlaskit/editor-plugin-guideline": "^1.1.0",
63
63
  "@atlaskit/editor-plugin-quick-insert": "^1.1.0",
64
- "@atlaskit/editor-plugin-table": "^7.11.0",
64
+ "@atlaskit/editor-plugin-table": "^7.12.0",
65
65
  "@atlaskit/editor-plugin-type-ahead": "^1.1.0",
66
66
  "@atlaskit/editor-plugin-width": "^1.1.0",
67
67
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
@@ -104,9 +104,6 @@
104
104
  },
105
105
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0",
106
106
  "platform-feature-flags": {
107
- "platform.editor.allow-extended-nested-expand": {
108
- "type": "boolean"
109
- },
110
107
  "platform.editor.live-pages-expand-divergence": {
111
108
  "type": "boolean"
112
109
  },