@atlaskit/editor-plugin-table 15.4.4 → 15.4.6

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,18 @@
1
1
  # @atlaskit/editor-plugin-table
2
2
 
3
+ ## 15.4.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 15.4.5
10
+
11
+ ### Patch Changes
12
+
13
+ - [`d4b8a7cf9ea37`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d4b8a7cf9ea37) -
14
+ fix unsafe experiment usage for platform_editor_lovability_user_intent
15
+
3
16
  ## 15.4.4
4
17
 
5
18
  ### Patch Changes
@@ -147,7 +147,7 @@ var ContentComponentInternal = function ContentComponentInternal(_ref) {
147
147
  isCellMenuOpenByKeyboard: isCellMenuOpenByKeyboard,
148
148
  isCommentEditor: options === null || options === void 0 ? void 0 : options.isCommentEditor,
149
149
  api: api,
150
- isDragMenuOpen: isDragAndDropEnabled && (0, _expVal.expValNoExposure)('platform_editor_lovability_user_intent', 'isEnabled', true) ? isDragMenuOpen : undefined
150
+ isDragMenuOpen: isDragAndDropEnabled && (0, _expVal.expValNoExposure)('platform_editor_lovability_user_intent', 'isEnabled', false) ? isDragMenuOpen : undefined
151
151
  }), isDragAndDropEnabled && /*#__PURE__*/_react.default.createElement(_FloatingDragMenu.default, {
152
152
  editorView: editorView,
153
153
  mountPoint: popupsMountPoint,
@@ -755,7 +755,7 @@ var ContextualMenu = exports.ContextualMenu = /*#__PURE__*/function (_Component)
755
755
  var _getPluginState11 = (0, _pluginFactory.getPluginState)(this.props.editorView.state),
756
756
  isDragAndDropEnabled = _getPluginState11.isDragAndDropEnabled,
757
757
  isContextualMenuOpen = _getPluginState11.isContextualMenuOpen;
758
- if (isDragAndDropEnabled && this.props.isDragMenuOpen && isContextualMenuOpen && (0, _expVal.expValNoExposure)('platform_editor_lovability_user_intent', 'isEnabled', true)) {
758
+ if (isDragAndDropEnabled && this.props.isDragMenuOpen && isContextualMenuOpen && (0, _expVal.expValNoExposure)('platform_editor_lovability_user_intent', 'isEnabled', false)) {
759
759
  (0, _commands.toggleContextualMenu)()(this.props.editorView.state, this.props.editorView.dispatch);
760
760
  }
761
761
  }
@@ -121,7 +121,7 @@ var FloatingContextualMenu = function FloatingContextualMenu(_ref) {
121
121
  isCellMenuOpenByKeyboard: isCellMenuOpenByKeyboard,
122
122
  isCommentEditor: isCommentEditor,
123
123
  api: api,
124
- isDragMenuOpen: (0, _expVal.expValNoExposure)('platform_editor_lovability_user_intent', 'isEnabled', true) ? isDragMenuOpen : undefined
124
+ isDragMenuOpen: (0, _expVal.expValNoExposure)('platform_editor_lovability_user_intent', 'isEnabled', false) ? isDragMenuOpen : undefined
125
125
  })));
126
126
  };
127
127
  FloatingContextualMenu.displayName = 'FloatingContextualMenu';
@@ -142,7 +142,7 @@ const ContentComponentInternal = ({
142
142
  isCellMenuOpenByKeyboard: isCellMenuOpenByKeyboard,
143
143
  isCommentEditor: options === null || options === void 0 ? void 0 : options.isCommentEditor,
144
144
  api: api,
145
- isDragMenuOpen: isDragAndDropEnabled && expValNoExposure('platform_editor_lovability_user_intent', 'isEnabled', true) ? isDragMenuOpen : undefined
145
+ isDragMenuOpen: isDragAndDropEnabled && expValNoExposure('platform_editor_lovability_user_intent', 'isEnabled', false) ? isDragMenuOpen : undefined
146
146
  }), isDragAndDropEnabled && /*#__PURE__*/React.createElement(FloatingDragMenu, {
147
147
  editorView: editorView,
148
148
  mountPoint: popupsMountPoint,
@@ -813,7 +813,7 @@ export class ContextualMenu extends Component {
813
813
  isDragAndDropEnabled,
814
814
  isContextualMenuOpen
815
815
  } = getPluginState(this.props.editorView.state);
816
- if (isDragAndDropEnabled && this.props.isDragMenuOpen && isContextualMenuOpen && expValNoExposure('platform_editor_lovability_user_intent', 'isEnabled', true)) {
816
+ if (isDragAndDropEnabled && this.props.isDragMenuOpen && isContextualMenuOpen && expValNoExposure('platform_editor_lovability_user_intent', 'isEnabled', false)) {
817
817
  toggleContextualMenu()(this.props.editorView.state, this.props.editorView.dispatch);
818
818
  }
819
819
  }
@@ -117,7 +117,7 @@ const FloatingContextualMenu = ({
117
117
  isCellMenuOpenByKeyboard: isCellMenuOpenByKeyboard,
118
118
  isCommentEditor: isCommentEditor,
119
119
  api: api,
120
- isDragMenuOpen: expValNoExposure('platform_editor_lovability_user_intent', 'isEnabled', true) ? isDragMenuOpen : undefined
120
+ isDragMenuOpen: expValNoExposure('platform_editor_lovability_user_intent', 'isEnabled', false) ? isDragMenuOpen : undefined
121
121
  })));
122
122
  };
123
123
  FloatingContextualMenu.displayName = 'FloatingContextualMenu';
@@ -139,7 +139,7 @@ var ContentComponentInternal = function ContentComponentInternal(_ref) {
139
139
  isCellMenuOpenByKeyboard: isCellMenuOpenByKeyboard,
140
140
  isCommentEditor: options === null || options === void 0 ? void 0 : options.isCommentEditor,
141
141
  api: api,
142
- isDragMenuOpen: isDragAndDropEnabled && expValNoExposure('platform_editor_lovability_user_intent', 'isEnabled', true) ? isDragMenuOpen : undefined
142
+ isDragMenuOpen: isDragAndDropEnabled && expValNoExposure('platform_editor_lovability_user_intent', 'isEnabled', false) ? isDragMenuOpen : undefined
143
143
  }), isDragAndDropEnabled && /*#__PURE__*/React.createElement(FloatingDragMenu, {
144
144
  editorView: editorView,
145
145
  mountPoint: popupsMountPoint,
@@ -749,7 +749,7 @@ export var ContextualMenu = /*#__PURE__*/function (_Component) {
749
749
  var _getPluginState11 = getPluginState(this.props.editorView.state),
750
750
  isDragAndDropEnabled = _getPluginState11.isDragAndDropEnabled,
751
751
  isContextualMenuOpen = _getPluginState11.isContextualMenuOpen;
752
- if (isDragAndDropEnabled && this.props.isDragMenuOpen && isContextualMenuOpen && expValNoExposure('platform_editor_lovability_user_intent', 'isEnabled', true)) {
752
+ if (isDragAndDropEnabled && this.props.isDragMenuOpen && isContextualMenuOpen && expValNoExposure('platform_editor_lovability_user_intent', 'isEnabled', false)) {
753
753
  toggleContextualMenu()(this.props.editorView.state, this.props.editorView.dispatch);
754
754
  }
755
755
  }
@@ -113,7 +113,7 @@ var FloatingContextualMenu = function FloatingContextualMenu(_ref) {
113
113
  isCellMenuOpenByKeyboard: isCellMenuOpenByKeyboard,
114
114
  isCommentEditor: isCommentEditor,
115
115
  api: api,
116
- isDragMenuOpen: expValNoExposure('platform_editor_lovability_user_intent', 'isEnabled', true) ? isDragMenuOpen : undefined
116
+ isDragMenuOpen: expValNoExposure('platform_editor_lovability_user_intent', 'isEnabled', false) ? isDragMenuOpen : undefined
117
117
  })));
118
118
  };
119
119
  FloatingContextualMenu.displayName = 'FloatingContextualMenu';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table",
3
- "version": "15.4.4",
3
+ "version": "15.4.6",
4
4
  "description": "Table plugin for the @atlaskit/editor",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -37,7 +37,7 @@
37
37
  "@atlaskit/editor-plugin-batch-attribute-updates": "^6.1.0",
38
38
  "@atlaskit/editor-plugin-content-insertion": "^6.0.0",
39
39
  "@atlaskit/editor-plugin-editor-viewmode": "^8.0.0",
40
- "@atlaskit/editor-plugin-extension": "9.2.6",
40
+ "@atlaskit/editor-plugin-extension": "9.2.7",
41
41
  "@atlaskit/editor-plugin-guideline": "^6.0.0",
42
42
  "@atlaskit/editor-plugin-interaction": "^10.0.0",
43
43
  "@atlaskit/editor-plugin-limited-mode": "^3.1.0",
@@ -56,12 +56,11 @@
56
56
  "@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
57
57
  "@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^2.1.0",
58
58
  "@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",
59
- "@atlaskit/primitives": "^16.3.0",
60
- "@atlaskit/react-ufo": "^4.15.0",
59
+ "@atlaskit/primitives": "^16.4.0",
61
60
  "@atlaskit/theme": "^21.0.0",
62
- "@atlaskit/tmp-editor-statsig": "^13.42.0",
61
+ "@atlaskit/tmp-editor-statsig": "^14.0.0",
63
62
  "@atlaskit/toggle": "^15.1.0",
64
- "@atlaskit/tokens": "^8.3.0",
63
+ "@atlaskit/tokens": "^8.4.0",
65
64
  "@atlaskit/tooltip": "^20.10.0",
66
65
  "@babel/runtime": "^7.0.0",
67
66
  "@emotion/react": "^11.7.1",
@@ -72,7 +71,7 @@
72
71
  "uuid": "^3.1.0"
73
72
  },
74
73
  "peerDependencies": {
75
- "@atlaskit/editor-common": "^110.34.0",
74
+ "@atlaskit/editor-common": "^110.36.0",
76
75
  "react": "^18.2.0",
77
76
  "react-dom": "^18.2.0",
78
77
  "react-intl-next": "npm:react-intl@^5.18.1"