@atlaskit/editor-plugin-expand 3.2.15 → 3.2.16
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 +9 -0
- package/dist/cjs/legacyExpand/commands.js +1 -2
- package/dist/cjs/singlePlayerExpand/commands.js +1 -2
- package/dist/es2019/legacyExpand/commands.js +1 -2
- package/dist/es2019/singlePlayerExpand/commands.js +1 -2
- package/dist/esm/legacyExpand/commands.js +1 -2
- package/dist/esm/singlePlayerExpand/commands.js +1 -2
- package/package.json +5 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-expand
|
|
2
2
|
|
|
3
|
+
## 3.2.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#165113](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/165113)
|
|
8
|
+
[`867bcb05452bf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/867bcb05452bf) -
|
|
9
|
+
Cleaned up platform_editor_controls_patch_analytics and platform_editor_controls_patch_analytics_2
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 3.2.15
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -15,7 +15,6 @@ var _utils = require("@atlaskit/editor-common/utils");
|
|
|
15
15
|
var _state2 = require("@atlaskit/editor-prosemirror/state");
|
|
16
16
|
var _utils2 = require("@atlaskit/editor-prosemirror/utils");
|
|
17
17
|
var _utils3 = require("@atlaskit/editor-tables/utils");
|
|
18
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
19
18
|
var _utils4 = require("../utils");
|
|
20
19
|
var _pluginFactory = require("./pm-plugins/plugin-factory");
|
|
21
20
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -40,7 +39,7 @@ var deleteExpandAtPos = exports.deleteExpandAtPos = function deleteExpandAtPos(e
|
|
|
40
39
|
action: _analytics.ACTION.DELETED,
|
|
41
40
|
actionSubject: expandNode.type === state.schema.nodes.expand ? _analytics.ACTION_SUBJECT.EXPAND : _analytics.ACTION_SUBJECT.NESTED_EXPAND,
|
|
42
41
|
attributes: {
|
|
43
|
-
inputMethod:
|
|
42
|
+
inputMethod: _analytics.INPUT_METHOD.FLOATING_TB
|
|
44
43
|
},
|
|
45
44
|
eventType: _analytics.EVENT_TYPE.TRACK
|
|
46
45
|
};
|
|
@@ -16,7 +16,6 @@ var _utils = require("@atlaskit/editor-common/utils");
|
|
|
16
16
|
var _state2 = require("@atlaskit/editor-prosemirror/state");
|
|
17
17
|
var _utils2 = require("@atlaskit/editor-prosemirror/utils");
|
|
18
18
|
var _utils3 = require("@atlaskit/editor-tables/utils");
|
|
19
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
20
19
|
var _utils4 = require("../utils");
|
|
21
20
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
22
21
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -101,7 +100,7 @@ var deleteExpandAtPos = exports.deleteExpandAtPos = function deleteExpandAtPos(e
|
|
|
101
100
|
action: _analytics.ACTION.DELETED,
|
|
102
101
|
actionSubject: expandNode.type === state.schema.nodes.expand ? _analytics.ACTION_SUBJECT.EXPAND : _analytics.ACTION_SUBJECT.NESTED_EXPAND,
|
|
103
102
|
attributes: {
|
|
104
|
-
inputMethod:
|
|
103
|
+
inputMethod: _analytics.INPUT_METHOD.FLOATING_TB
|
|
105
104
|
},
|
|
106
105
|
eventType: _analytics.EVENT_TYPE.TRACK
|
|
107
106
|
};
|
|
@@ -7,7 +7,6 @@ import { createWrapSelectionTransaction } from '@atlaskit/editor-common/utils';
|
|
|
7
7
|
import { Selection, TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
8
8
|
import { safeInsert } from '@atlaskit/editor-prosemirror/utils';
|
|
9
9
|
import { findTable } from '@atlaskit/editor-tables/utils';
|
|
10
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
10
|
import { isNestedInExpand } from '../utils';
|
|
12
11
|
import { createCommand } from './pm-plugins/plugin-factory';
|
|
13
12
|
export const setExpandRef = ref => createCommand({
|
|
@@ -24,7 +23,7 @@ export const deleteExpandAtPos = editorAnalyticsAPI => (expandNodePos, expandNod
|
|
|
24
23
|
action: ACTION.DELETED,
|
|
25
24
|
actionSubject: expandNode.type === state.schema.nodes.expand ? ACTION_SUBJECT.EXPAND : ACTION_SUBJECT.NESTED_EXPAND,
|
|
26
25
|
attributes: {
|
|
27
|
-
inputMethod:
|
|
26
|
+
inputMethod: INPUT_METHOD.FLOATING_TB
|
|
28
27
|
},
|
|
29
28
|
eventType: EVENT_TYPE.TRACK
|
|
30
29
|
};
|
|
@@ -8,7 +8,6 @@ import { createWrapSelectionTransaction } from '@atlaskit/editor-common/utils';
|
|
|
8
8
|
import { Selection, TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
9
9
|
import { findParentNodeOfType, safeInsert } from '@atlaskit/editor-prosemirror/utils';
|
|
10
10
|
import { findTable } from '@atlaskit/editor-tables/utils';
|
|
11
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
11
|
import { isNestedInExpand } from '../utils';
|
|
13
12
|
|
|
14
13
|
// Creates either an expand or a nestedExpand node based on the current selection
|
|
@@ -82,7 +81,7 @@ export const deleteExpandAtPos = editorAnalyticsAPI => (expandNodePos, expandNod
|
|
|
82
81
|
action: ACTION.DELETED,
|
|
83
82
|
actionSubject: expandNode.type === state.schema.nodes.expand ? ACTION_SUBJECT.EXPAND : ACTION_SUBJECT.NESTED_EXPAND,
|
|
84
83
|
attributes: {
|
|
85
|
-
inputMethod:
|
|
84
|
+
inputMethod: INPUT_METHOD.FLOATING_TB
|
|
86
85
|
},
|
|
87
86
|
eventType: EVENT_TYPE.TRACK
|
|
88
87
|
};
|
|
@@ -10,7 +10,6 @@ import { createWrapSelectionTransaction } from '@atlaskit/editor-common/utils';
|
|
|
10
10
|
import { Selection, TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
11
11
|
import { safeInsert } from '@atlaskit/editor-prosemirror/utils';
|
|
12
12
|
import { findTable } from '@atlaskit/editor-tables/utils';
|
|
13
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
13
|
import { isNestedInExpand } from '../utils';
|
|
15
14
|
import { createCommand } from './pm-plugins/plugin-factory';
|
|
16
15
|
export var setExpandRef = function setExpandRef(ref) {
|
|
@@ -33,7 +32,7 @@ export var deleteExpandAtPos = function deleteExpandAtPos(editorAnalyticsAPI) {
|
|
|
33
32
|
action: ACTION.DELETED,
|
|
34
33
|
actionSubject: expandNode.type === state.schema.nodes.expand ? ACTION_SUBJECT.EXPAND : ACTION_SUBJECT.NESTED_EXPAND,
|
|
35
34
|
attributes: {
|
|
36
|
-
inputMethod:
|
|
35
|
+
inputMethod: INPUT_METHOD.FLOATING_TB
|
|
37
36
|
},
|
|
38
37
|
eventType: EVENT_TYPE.TRACK
|
|
39
38
|
};
|
|
@@ -11,7 +11,6 @@ import { createWrapSelectionTransaction } from '@atlaskit/editor-common/utils';
|
|
|
11
11
|
import { Selection, TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
12
12
|
import { findParentNodeOfType, safeInsert } from '@atlaskit/editor-prosemirror/utils';
|
|
13
13
|
import { findTable } from '@atlaskit/editor-tables/utils';
|
|
14
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
14
|
import { isNestedInExpand } from '../utils';
|
|
16
15
|
|
|
17
16
|
// Creates either an expand or a nestedExpand node based on the current selection
|
|
@@ -95,7 +94,7 @@ export var deleteExpandAtPos = function deleteExpandAtPos(editorAnalyticsAPI) {
|
|
|
95
94
|
action: ACTION.DELETED,
|
|
96
95
|
actionSubject: expandNode.type === state.schema.nodes.expand ? ACTION_SUBJECT.EXPAND : ACTION_SUBJECT.NESTED_EXPAND,
|
|
97
96
|
attributes: {
|
|
98
|
-
inputMethod:
|
|
97
|
+
inputMethod: INPUT_METHOD.FLOATING_TB
|
|
99
98
|
},
|
|
100
99
|
eventType: EVENT_TYPE.TRACK
|
|
101
100
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-expand",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.16",
|
|
4
4
|
"description": "Expand plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/adf-schema": "^47.6.0",
|
|
37
37
|
"@atlaskit/button": "^23.2.0",
|
|
38
|
-
"@atlaskit/editor-common": "^106.
|
|
38
|
+
"@atlaskit/editor-common": "^106.3.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^2.3.0",
|
|
40
40
|
"@atlaskit/editor-plugin-decorations": "^2.0.0",
|
|
41
41
|
"@atlaskit/editor-plugin-editor-disabled": "^2.0.0",
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
48
48
|
"@atlaskit/icon": "^26.4.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
50
|
-
"@atlaskit/tmp-editor-statsig": "^5.
|
|
51
|
-
"@atlaskit/tokens": "^5.
|
|
52
|
-
"@atlaskit/tooltip": "^20.
|
|
50
|
+
"@atlaskit/tmp-editor-statsig": "^5.14.0",
|
|
51
|
+
"@atlaskit/tokens": "^5.1.0",
|
|
52
|
+
"@atlaskit/tooltip": "^20.3.0",
|
|
53
53
|
"@babel/runtime": "^7.0.0",
|
|
54
54
|
"@emotion/react": "^11.7.1",
|
|
55
55
|
"uuid": "^3.1.0",
|
|
@@ -111,9 +111,6 @@
|
|
|
111
111
|
},
|
|
112
112
|
"platform_editor_disable_unnecessary_expand_renders": {
|
|
113
113
|
"type": "boolean"
|
|
114
|
-
},
|
|
115
|
-
"platform_editor_controls_patch_analytics_2": {
|
|
116
|
-
"type": "boolean"
|
|
117
114
|
}
|
|
118
115
|
}
|
|
119
116
|
}
|