@atlaskit/editor-plugin-layout 15.1.0 → 16.0.0
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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-layout
|
|
2
2
|
|
|
3
|
+
## 16.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`711b3354a8c2a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/711b3354a8c2a) -
|
|
8
|
+
Clean up feature gate platform_editor_layout_resize_analytics
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 15.1.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -94,21 +94,19 @@ var dispatchColumnWidths = function dispatchColumnWidths(view, sectionPos, leftC
|
|
|
94
94
|
tr.setSelection(restoredSelection);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
})(tr);
|
|
111
|
-
}
|
|
97
|
+
editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 || editorAnalyticsAPI.attachAnalyticsEvent({
|
|
98
|
+
action: _analytics.ACTION.DRAGGED,
|
|
99
|
+
actionSubject: _analytics.ACTION_SUBJECT.DOCUMENT,
|
|
100
|
+
actionSubjectId: _analytics.ACTION_SUBJECT_ID.LAYOUT_COLUMN,
|
|
101
|
+
attributes: {
|
|
102
|
+
columnCount: sectionNode.childCount,
|
|
103
|
+
leftColumnIndex: leftColIndex,
|
|
104
|
+
leftColumnWidth: Number(leftWidth.toFixed(2)),
|
|
105
|
+
rightColumnWidth: Number(rightWidth.toFixed(2)),
|
|
106
|
+
inputMethod: _analytics.INPUT_METHOD.DRAG
|
|
107
|
+
},
|
|
108
|
+
eventType: _analytics.EVENT_TYPE.TRACK
|
|
109
|
+
})(tr);
|
|
112
110
|
view.dispatch(tr);
|
|
113
111
|
};
|
|
114
112
|
|
|
@@ -88,21 +88,19 @@ const dispatchColumnWidths = (view, sectionPos, leftColIndex, leftWidth, rightWi
|
|
|
88
88
|
tr.setSelection(restoredSelection);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
})(tr);
|
|
105
|
-
}
|
|
91
|
+
editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 ? void 0 : editorAnalyticsAPI.attachAnalyticsEvent({
|
|
92
|
+
action: ACTION.DRAGGED,
|
|
93
|
+
actionSubject: ACTION_SUBJECT.DOCUMENT,
|
|
94
|
+
actionSubjectId: ACTION_SUBJECT_ID.LAYOUT_COLUMN,
|
|
95
|
+
attributes: {
|
|
96
|
+
columnCount: sectionNode.childCount,
|
|
97
|
+
leftColumnIndex: leftColIndex,
|
|
98
|
+
leftColumnWidth: Number(leftWidth.toFixed(2)),
|
|
99
|
+
rightColumnWidth: Number(rightWidth.toFixed(2)),
|
|
100
|
+
inputMethod: INPUT_METHOD.DRAG
|
|
101
|
+
},
|
|
102
|
+
eventType: EVENT_TYPE.TRACK
|
|
103
|
+
})(tr);
|
|
106
104
|
view.dispatch(tr);
|
|
107
105
|
};
|
|
108
106
|
|
|
@@ -88,21 +88,19 @@ var dispatchColumnWidths = function dispatchColumnWidths(view, sectionPos, leftC
|
|
|
88
88
|
tr.setSelection(restoredSelection);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
})(tr);
|
|
105
|
-
}
|
|
91
|
+
editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 || editorAnalyticsAPI.attachAnalyticsEvent({
|
|
92
|
+
action: ACTION.DRAGGED,
|
|
93
|
+
actionSubject: ACTION_SUBJECT.DOCUMENT,
|
|
94
|
+
actionSubjectId: ACTION_SUBJECT_ID.LAYOUT_COLUMN,
|
|
95
|
+
attributes: {
|
|
96
|
+
columnCount: sectionNode.childCount,
|
|
97
|
+
leftColumnIndex: leftColIndex,
|
|
98
|
+
leftColumnWidth: Number(leftWidth.toFixed(2)),
|
|
99
|
+
rightColumnWidth: Number(rightWidth.toFixed(2)),
|
|
100
|
+
inputMethod: INPUT_METHOD.DRAG
|
|
101
|
+
},
|
|
102
|
+
eventType: EVENT_TYPE.TRACK
|
|
103
|
+
})(tr);
|
|
106
104
|
view.dispatch(tr);
|
|
107
105
|
};
|
|
108
106
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-layout",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.0.0",
|
|
4
4
|
"description": "Layout plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -23,18 +23,18 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@atlaskit/adf-schema": "^56.7.0",
|
|
25
25
|
"@atlaskit/css": "^1.0.0",
|
|
26
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
27
|
-
"@atlaskit/editor-plugin-block-controls": "^
|
|
28
|
-
"@atlaskit/editor-plugin-block-menu": "^
|
|
29
|
-
"@atlaskit/editor-plugin-decorations": "^
|
|
30
|
-
"@atlaskit/editor-plugin-editor-disabled": "^
|
|
31
|
-
"@atlaskit/editor-plugin-guideline": "^
|
|
32
|
-
"@atlaskit/editor-plugin-interaction": "^
|
|
33
|
-
"@atlaskit/editor-plugin-selection": "^
|
|
34
|
-
"@atlaskit/editor-plugin-toolbar": "^
|
|
35
|
-
"@atlaskit/editor-plugin-ui-control-registry": "^
|
|
36
|
-
"@atlaskit/editor-plugin-user-intent": "^
|
|
37
|
-
"@atlaskit/editor-plugin-width": "^
|
|
26
|
+
"@atlaskit/editor-plugin-analytics": "^15.0.0",
|
|
27
|
+
"@atlaskit/editor-plugin-block-controls": "^16.0.0",
|
|
28
|
+
"@atlaskit/editor-plugin-block-menu": "^14.0.0",
|
|
29
|
+
"@atlaskit/editor-plugin-decorations": "^15.0.0",
|
|
30
|
+
"@atlaskit/editor-plugin-editor-disabled": "^15.0.0",
|
|
31
|
+
"@atlaskit/editor-plugin-guideline": "^15.0.0",
|
|
32
|
+
"@atlaskit/editor-plugin-interaction": "^26.0.0",
|
|
33
|
+
"@atlaskit/editor-plugin-selection": "^15.0.0",
|
|
34
|
+
"@atlaskit/editor-plugin-toolbar": "^12.0.0",
|
|
35
|
+
"@atlaskit/editor-plugin-ui-control-registry": "^9.0.0",
|
|
36
|
+
"@atlaskit/editor-plugin-user-intent": "^13.0.0",
|
|
37
|
+
"@atlaskit/editor-plugin-width": "^16.0.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
39
39
|
"@atlaskit/editor-shared-styles": "^4.0.0",
|
|
40
40
|
"@atlaskit/editor-toolbar": "^2.4.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"bind-event-listener": "^3.0.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@atlaskit/editor-common": "^
|
|
52
|
+
"@atlaskit/editor-common": "^119.0.0",
|
|
53
53
|
"react": "^18.2.0 || ^19.2.0",
|
|
54
54
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
55
55
|
},
|
|
@@ -99,9 +99,6 @@
|
|
|
99
99
|
"platform_editor_adf_with_localid": {
|
|
100
100
|
"type": "boolean"
|
|
101
101
|
},
|
|
102
|
-
"platform_editor_layout_resize_analytics": {
|
|
103
|
-
"type": "boolean"
|
|
104
|
-
},
|
|
105
102
|
"platform_editor_layout_column_menu_kill_switch_1": {
|
|
106
103
|
"type": "boolean"
|
|
107
104
|
}
|