@atlaskit/editor-plugin-block-controls 8.4.1 → 8.4.3

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,19 @@
1
1
  # @atlaskit/editor-plugin-block-controls
2
2
 
3
+ ## 8.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`a040c03082274`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a040c03082274) -
8
+ [ux] EDITOR-507 Clean up main nested tables experiment `platform_editor_nested_tables`
9
+ - Updated dependencies
10
+
11
+ ## 8.4.2
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 8.4.1
4
18
 
5
19
  ### Patch Changes
@@ -112,9 +112,7 @@ function canMoveNodeToIndex(destParent, indexIntoParent, srcNode, $destNodePos,
112
112
  var destParentNodeType = destParent === null || destParent === void 0 ? void 0 : destParent.type;
113
113
  var activeNodeType = srcNode === null || srcNode === void 0 ? void 0 : srcNode.type;
114
114
  var layoutColumnContent = srcNode.content;
115
- var isNestingTablesSupported = (0, _nesting.isNestedTablesSupported)(schema) && (0, _experiments.editorExperiment)('nested-tables-in-tables', true, {
116
- exposure: true
117
- });
115
+ var isNestingTablesSupported = (0, _nesting.isNestedTablesSupported)(schema);
118
116
  if (activeNodeType === layoutColumn && (0, _experiments.editorExperiment)('advanced_layouts', true)) {
119
117
  // Allow drag layout column and drop into layout section
120
118
  if ((destNode === null || destNode === void 0 ? void 0 : destNode.type) === layoutSection || destParentNodeType === doc) {
@@ -103,9 +103,7 @@ export function canMoveNodeToIndex(destParent, indexIntoParent, srcNode, $destNo
103
103
  const destParentNodeType = destParent === null || destParent === void 0 ? void 0 : destParent.type;
104
104
  const activeNodeType = srcNode === null || srcNode === void 0 ? void 0 : srcNode.type;
105
105
  const layoutColumnContent = srcNode.content;
106
- const isNestingTablesSupported = isNestedTablesSupported(schema) && editorExperiment('nested-tables-in-tables', true, {
107
- exposure: true
108
- });
106
+ const isNestingTablesSupported = isNestedTablesSupported(schema);
109
107
  if (activeNodeType === layoutColumn && editorExperiment('advanced_layouts', true)) {
110
108
  // Allow drag layout column and drop into layout section
111
109
  if ((destNode === null || destNode === void 0 ? void 0 : destNode.type) === layoutSection || destParentNodeType === doc) {
@@ -102,9 +102,7 @@ export function canMoveNodeToIndex(destParent, indexIntoParent, srcNode, $destNo
102
102
  var destParentNodeType = destParent === null || destParent === void 0 ? void 0 : destParent.type;
103
103
  var activeNodeType = srcNode === null || srcNode === void 0 ? void 0 : srcNode.type;
104
104
  var layoutColumnContent = srcNode.content;
105
- var isNestingTablesSupported = isNestedTablesSupported(schema) && editorExperiment('nested-tables-in-tables', true, {
106
- exposure: true
107
- });
105
+ var isNestingTablesSupported = isNestedTablesSupported(schema);
108
106
  if (activeNodeType === layoutColumn && editorExperiment('advanced_layouts', true)) {
109
107
  // Allow drag layout column and drop into layout section
110
108
  if ((destNode === null || destNode === void 0 ? void 0 : destNode.type) === layoutSection || destParentNodeType === doc) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-controls",
3
- "version": "8.4.1",
3
+ "version": "8.4.3",
4
4
  "description": "Block controls plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -54,7 +54,7 @@
54
54
  "@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^3.2.0",
55
55
  "@atlaskit/primitives": "^18.0.0",
56
56
  "@atlaskit/theme": "^21.0.0",
57
- "@atlaskit/tmp-editor-statsig": "^26.0.0",
57
+ "@atlaskit/tmp-editor-statsig": "^28.0.0",
58
58
  "@atlaskit/tokens": "^11.0.0",
59
59
  "@atlaskit/tooltip": "^20.14.0",
60
60
  "@babel/runtime": "^7.0.0",