@atlaskit/editor-plugin-expand 3.2.7 → 3.2.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
|
@@ -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; }
|
|
@@ -169,9 +168,7 @@ var toggleExpandExpanded = exports.toggleExpandExpanded = function toggleExpandE
|
|
|
169
168
|
},
|
|
170
169
|
eventType: _analytics.EVENT_TYPE.TRACK
|
|
171
170
|
};
|
|
172
|
-
|
|
173
|
-
tr.setMeta('scrollIntoView', false);
|
|
174
|
-
}
|
|
171
|
+
tr.setMeta('scrollIntoView', false);
|
|
175
172
|
editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 || editorAnalyticsAPI.attachAnalyticsEvent(payload)(tr);
|
|
176
173
|
dispatch(tr);
|
|
177
174
|
}
|
|
@@ -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
|
|
@@ -150,9 +149,7 @@ export const toggleExpandExpanded = ({
|
|
|
150
149
|
},
|
|
151
150
|
eventType: EVENT_TYPE.TRACK
|
|
152
151
|
};
|
|
153
|
-
|
|
154
|
-
tr.setMeta('scrollIntoView', false);
|
|
155
|
-
}
|
|
152
|
+
tr.setMeta('scrollIntoView', false);
|
|
156
153
|
editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 ? void 0 : editorAnalyticsAPI.attachAnalyticsEvent(payload)(tr);
|
|
157
154
|
dispatch(tr);
|
|
158
155
|
}
|
|
@@ -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
|
|
@@ -163,9 +162,7 @@ export var toggleExpandExpanded = function toggleExpandExpanded(_ref) {
|
|
|
163
162
|
},
|
|
164
163
|
eventType: EVENT_TYPE.TRACK
|
|
165
164
|
};
|
|
166
|
-
|
|
167
|
-
tr.setMeta('scrollIntoView', false);
|
|
168
|
-
}
|
|
165
|
+
tr.setMeta('scrollIntoView', false);
|
|
169
166
|
editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 || editorAnalyticsAPI.attachAnalyticsEvent(payload)(tr);
|
|
170
167
|
dispatch(tr);
|
|
171
168
|
}
|
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.8",
|
|
4
4
|
"description": "Expand plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,19 +35,19 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/adf-schema": "^47.6.0",
|
|
37
37
|
"@atlaskit/button": "^23.0.0",
|
|
38
|
-
"@atlaskit/editor-common": "^
|
|
38
|
+
"@atlaskit/editor-common": "^104.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^2.2.0",
|
|
40
40
|
"@atlaskit/editor-plugin-decorations": "^2.0.0",
|
|
41
41
|
"@atlaskit/editor-plugin-editor-disabled": "^2.0.0",
|
|
42
42
|
"@atlaskit/editor-plugin-editor-viewmode": "^3.1.0",
|
|
43
|
-
"@atlaskit/editor-plugin-selection": "^2.
|
|
43
|
+
"@atlaskit/editor-plugin-selection": "^2.2.0",
|
|
44
44
|
"@atlaskit/editor-plugin-selection-marker": "^2.2.0",
|
|
45
45
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
46
46
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
47
47
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
48
48
|
"@atlaskit/icon": "^25.6.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
50
|
-
"@atlaskit/tmp-editor-statsig": "^4.
|
|
50
|
+
"@atlaskit/tmp-editor-statsig": "^4.16.0",
|
|
51
51
|
"@atlaskit/tokens": "^4.8.0",
|
|
52
52
|
"@atlaskit/tooltip": "^20.0.0",
|
|
53
53
|
"@babel/runtime": "^7.0.0",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"@atlaskit/editor-plugin-content-insertion": "^2.1.0",
|
|
66
66
|
"@atlaskit/editor-plugin-guideline": "^2.0.0",
|
|
67
67
|
"@atlaskit/editor-plugin-quick-insert": "^2.4.0",
|
|
68
|
-
"@atlaskit/editor-plugin-table": "^10.
|
|
69
|
-
"@atlaskit/editor-plugin-type-ahead": "^2.
|
|
68
|
+
"@atlaskit/editor-plugin-table": "^10.9.0",
|
|
69
|
+
"@atlaskit/editor-plugin-type-ahead": "^2.6.0",
|
|
70
70
|
"@atlaskit/editor-plugin-width": "^3.0.0",
|
|
71
71
|
"@testing-library/react": "^13.4.0",
|
|
72
72
|
"react-test-renderer": "^18.2.0",
|
|
@@ -114,10 +114,6 @@
|
|
|
114
114
|
},
|
|
115
115
|
"platform_editor_disable_unnecessary_expand_renders": {
|
|
116
116
|
"type": "boolean"
|
|
117
|
-
},
|
|
118
|
-
"platform_editor_long_node_expand": {
|
|
119
|
-
"type": "boolean",
|
|
120
|
-
"referenceOnly": true
|
|
121
117
|
}
|
|
122
118
|
}
|
|
123
119
|
}
|