@atlaskit/editor-plugin-table 18.1.6 → 18.1.7

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.
Files changed (44) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/nodeviews/TableComponent.js +3 -3
  3. package/dist/cjs/nodeviews/TableComponentWithSharedState.js +1 -1
  4. package/dist/cjs/nodeviews/TableResizer.js +1 -1
  5. package/dist/cjs/ui/ContentComponent.js +1 -1
  6. package/dist/cjs/ui/DragPreview/index.js +2 -2
  7. package/dist/cjs/ui/FloatingAlignmentButtons/FloatingAlignmentButtons.js +1 -1
  8. package/dist/cjs/ui/FloatingContextualButton/index.js +1 -1
  9. package/dist/cjs/ui/FloatingContextualMenu/ContextualMenu.js +4 -4
  10. package/dist/cjs/ui/FloatingContextualMenu/index.js +2 -2
  11. package/dist/cjs/ui/FloatingDragMenu/DragMenu.js +4 -4
  12. package/dist/cjs/ui/FloatingDragMenu/DropdownMenu.js +5 -5
  13. package/dist/cjs/ui/SizeSelector/index.js +1 -1
  14. package/dist/cjs/ui/TableFloatingControls/RowControls/DragControls.js +1 -1
  15. package/dist/cjs/ui/toolbar.js +2 -2
  16. package/dist/es2019/nodeviews/TableComponent.js +3 -3
  17. package/dist/es2019/nodeviews/TableComponentWithSharedState.js +1 -1
  18. package/dist/es2019/nodeviews/TableResizer.js +1 -1
  19. package/dist/es2019/ui/ContentComponent.js +1 -1
  20. package/dist/es2019/ui/DragPreview/index.js +2 -2
  21. package/dist/es2019/ui/FloatingAlignmentButtons/FloatingAlignmentButtons.js +1 -1
  22. package/dist/es2019/ui/FloatingContextualButton/index.js +1 -1
  23. package/dist/es2019/ui/FloatingContextualMenu/ContextualMenu.js +4 -4
  24. package/dist/es2019/ui/FloatingContextualMenu/index.js +2 -2
  25. package/dist/es2019/ui/FloatingDragMenu/DragMenu.js +4 -4
  26. package/dist/es2019/ui/FloatingDragMenu/DropdownMenu.js +5 -5
  27. package/dist/es2019/ui/SizeSelector/index.js +1 -1
  28. package/dist/es2019/ui/TableFloatingControls/RowControls/DragControls.js +1 -1
  29. package/dist/es2019/ui/toolbar.js +2 -2
  30. package/dist/esm/nodeviews/TableComponent.js +3 -3
  31. package/dist/esm/nodeviews/TableComponentWithSharedState.js +1 -1
  32. package/dist/esm/nodeviews/TableResizer.js +1 -1
  33. package/dist/esm/ui/ContentComponent.js +1 -1
  34. package/dist/esm/ui/DragPreview/index.js +2 -2
  35. package/dist/esm/ui/FloatingAlignmentButtons/FloatingAlignmentButtons.js +1 -1
  36. package/dist/esm/ui/FloatingContextualButton/index.js +1 -1
  37. package/dist/esm/ui/FloatingContextualMenu/ContextualMenu.js +4 -4
  38. package/dist/esm/ui/FloatingContextualMenu/index.js +2 -2
  39. package/dist/esm/ui/FloatingDragMenu/DragMenu.js +4 -4
  40. package/dist/esm/ui/FloatingDragMenu/DropdownMenu.js +5 -5
  41. package/dist/esm/ui/SizeSelector/index.js +1 -1
  42. package/dist/esm/ui/TableFloatingControls/RowControls/DragControls.js +1 -1
  43. package/dist/esm/ui/toolbar.js +2 -2
  44. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/editor-plugin-table
2
2
 
3
+ ## 18.1.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 18.1.6
4
10
 
5
11
  ### Patch Changes
@@ -844,7 +844,7 @@ var TableComponent = /*#__PURE__*/function (_React$Component) {
844
844
  getEditorFeatureFlags: getEditorFeatureFlags,
845
845
  tableContainerWidth: tableContainerWidth,
846
846
  isNumberColumnEnabled: node.attrs.isNumberColumnEnabled
847
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
847
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
848
848
  ,
849
849
  getScrollOffset: function getScrollOffset() {
850
850
  var _this5$wrapper;
@@ -908,13 +908,13 @@ var TableComponent = /*#__PURE__*/function (_React$Component) {
908
908
  }), allowControls && rowControls, isDragAndDropEnabled && /*#__PURE__*/_react.default.createElement(_ExternalDropTargets.ExternalDropTargets, {
909
909
  editorView: view,
910
910
  node: node
911
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
911
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
912
912
  ,
913
913
  getScrollOffset: function getScrollOffset() {
914
914
  var _this5$wrapper2;
915
915
  return ((_this5$wrapper2 = _this5.wrapper) === null || _this5$wrapper2 === void 0 ? void 0 : _this5$wrapper2.scrollLeft) || 0;
916
916
  }
917
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
917
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
918
918
  ,
919
919
  getTableWrapperWidth: function getTableWrapperWidth() {
920
920
  var _this5$wrapper3;
@@ -111,7 +111,7 @@ var TableComponentWithSharedState = exports.TableComponentWithSharedState = func
111
111
  ordering: ordering,
112
112
  isResizing: isResizing,
113
113
  getNode: getNode
114
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
114
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
115
115
  ,
116
116
  containerWidth: {
117
117
  width: width !== null && width !== void 0 ? width : 0,
@@ -520,7 +520,7 @@ var TableResizer = exports.TableResizer = function TableResizer(_ref) {
520
520
  needExtendedResizeZone: (0, _expValEquals.expValEquals)('platform_editor_table_resizer_extended_zone', 'isEnabled', true) ? true : !isTableSelected,
521
521
  appearance: isTableSelected && isWholeTableInDanger ? 'danger' : undefined,
522
522
  handleHighlight: "shadow"
523
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
523
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
524
524
  ,
525
525
  handleTooltipContent: function handleTooltipContent(_ref3) {
526
526
  var update = _ref3.update;
@@ -189,7 +189,7 @@ var ContentComponentInternal = function ContentComponentInternal(_ref) {
189
189
  stick: true,
190
190
  forcePlacement: true,
191
191
  zIndex: _editorSharedStyles.akEditorFloatingPanelZIndex
192
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
192
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
193
193
  ,
194
194
  offset: [0, 10]
195
195
  }), isTableSelectorEnabled && isSizeSelectorOpen && /*#__PURE__*/_react.default.createElement(_SizeSelector.SizeSelector, {
@@ -26,14 +26,14 @@ var DragPreview = exports.DragPreview = function DragPreview(_ref) {
26
26
  var transform = direction === 'row' ? 'rotate(90deg)' : 'none';
27
27
  return /*#__PURE__*/_react.default.createElement(_primitives.Box, {
28
28
  xcss: boxStyles
29
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
29
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
30
30
  ,
31
31
  style: {
32
32
  width: "".concat(width, "px"),
33
33
  height: "".concat(height, "px")
34
34
  }
35
35
  }, /*#__PURE__*/_react.default.createElement(_DragInMotionIcon.DragInMotionIcon
36
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
36
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
37
37
  , {
38
38
  style: {
39
39
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
@@ -50,7 +50,7 @@ var FloatingAlignmentButtons = exports.FloatingAlignmentButtons = function Float
50
50
  title: item.title,
51
51
  selected: item.selected,
52
52
  disabled: item.disabled
53
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
53
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
54
54
  ,
55
55
  onClick: function onClick() {
56
56
  dispatchCommand(item.onClick);
@@ -166,7 +166,7 @@ var FloatingContextualButtonInner = /*#__PURE__*/_react.default.memo(function (p
166
166
  mountTo: tableWrapper || mountPoint,
167
167
  boundariesElement: targetCellRef,
168
168
  scrollableElement: scrollableElement
169
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
169
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
170
170
  ,
171
171
  offset: [BUTTON_OFFSET, -BUTTON_OFFSET],
172
172
  forcePlacement: true,
@@ -164,7 +164,7 @@ var ContextualMenu = exports.ContextualMenu = /*#__PURE__*/function (_Component)
164
164
  type: _uiMenu.ArrowKeyNavigationType.COLOR,
165
165
  selectedRowIndex: selectedRowIndex || 0,
166
166
  selectedColumnIndex: selectedColumnIndex || 0
167
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
167
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
168
168
  ,
169
169
  handleClose: function handleClose() {
170
170
  _this.setState({
@@ -186,7 +186,7 @@ var ContextualMenu = exports.ContextualMenu = /*#__PURE__*/function (_Component)
186
186
  cols: 7,
187
187
  onClick: _this.setColor,
188
188
  selectedColor: (node === null || node === void 0 || (_node$attrs2 = node.attrs) === null || _node$attrs2 === void 0 ? void 0 : _node$attrs2.background) || '#ffffff'
189
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
189
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
190
190
  ,
191
191
  paletteOptions: {
192
192
  palette: _uiColor.cellBackgroundColorPalette,
@@ -792,7 +792,7 @@ var ContextualMenu = exports.ContextualMenu = /*#__PURE__*/function (_Component)
792
792
  }, (0, _react2.jsx)(_uiMenu.DropdownMenu
793
793
  //This needs be removed when the a11y is completely handled
794
794
  //Disabling key navigation now as it works only partially
795
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
795
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
796
796
  , {
797
797
  arrowKeyNavigationProviderOptions: {
798
798
  type: _uiMenu.ArrowKeyNavigationType.MENU,
@@ -806,7 +806,7 @@ var ContextualMenu = exports.ContextualMenu = /*#__PURE__*/function (_Component)
806
806
  onMouseLeave: this.handleItemMouseLeave,
807
807
  fitHeight: 188,
808
808
  fitWidth: isDragAndDropEnabled ? _consts.contextualMenuDropdownWidthDnD : _consts.contextualMenuDropdownWidth
809
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
809
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
810
810
  ,
811
811
  shouldFocusFirstItem: function shouldFocusFirstItem() {
812
812
  return Boolean(isCellMenuOpenByKeyboard);
@@ -89,7 +89,7 @@ var FloatingContextualMenu = function FloatingContextualMenu(_ref) {
89
89
  ,
90
90
  zIndex: parentSticky ? _editorSharedStyles.akEditorFloatingDialogZIndex : _editorSharedStyles.akEditorFloatingOverlapPanelZIndex,
91
91
  forcePlacement: true
92
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
92
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
93
93
  ,
94
94
  offset: [-7, 0],
95
95
  stick: true
@@ -100,7 +100,7 @@ var FloatingContextualMenu = function FloatingContextualMenu(_ref) {
100
100
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
101
101
  , {
102
102
  editorView: editorView
103
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
103
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
104
104
  ,
105
105
  offset: [_consts.contextualMenuTriggerSize / 2, -_consts.contextualMenuTriggerSize],
106
106
  isOpen: isOpen,
@@ -320,7 +320,7 @@ var DragMenu = /*#__PURE__*/_react.default.memo(function (_ref) {
320
320
  type: _uiMenu.ArrowKeyNavigationType.COLOR,
321
321
  selectedRowIndex: selectedRowIndex,
322
322
  selectedColumnIndex: selectedColumnIndex
323
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
323
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
324
324
  ,
325
325
  handleClose: function handleClose() {
326
326
  var keyboardEvent = new KeyboardEvent('keydown', {
@@ -337,13 +337,13 @@ var DragMenu = /*#__PURE__*/_react.default.memo(function (_ref) {
337
337
  isOpenedByKeyboard: isKeyboardModeActive
338
338
  }, (0, _react2.jsx)(_uiColor.ColorPalette, {
339
339
  cols: _consts.colorPalletteColumns
340
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
340
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
341
341
  ,
342
342
  onClick: function onClick(color) {
343
343
  setColor(color);
344
344
  },
345
345
  selectedColor: background
346
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
346
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
347
347
  ,
348
348
  paletteOptions: {
349
349
  palette: _uiColor.cellBackgroundColorPalette,
@@ -575,7 +575,7 @@ var DragMenu = /*#__PURE__*/_react.default.memo(function (_ref) {
575
575
  userIntent: "tableDragMenuPopupOpen"
576
576
  }, (0, _react2.jsx)(_DropdownMenu.DropdownMenu, {
577
577
  disableKeyboardHandling: isSubmenuOpen
578
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
578
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
579
579
  ,
580
580
  section: {
581
581
  hasSeparator: true
@@ -61,19 +61,19 @@ var DropdownMenu = exports.DropdownMenu = function DropdownMenu(_ref) {
61
61
  isOpen: true,
62
62
  shouldFitContainer: true,
63
63
  position: popupPlacement.join(' ')
64
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
64
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
65
65
  ,
66
66
  handleClickOutside: function handleClickOutside() {
67
67
  return handleClose('editor');
68
68
  }
69
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
69
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
70
70
  ,
71
71
  handleEscapeKeydown: function handleEscapeKeydown() {
72
72
  if (!disableKeyboardHandling) {
73
73
  handleClose('handle');
74
74
  }
75
75
  }
76
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
76
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
77
77
  ,
78
78
  handleEnterKeydown: function handleEnterKeydown(e) {
79
79
  if (!disableKeyboardHandling) {
@@ -171,7 +171,7 @@ var DropdownMenu = exports.DropdownMenu = function DropdownMenu(_ref) {
171
171
  mountTo: mountPoint,
172
172
  boundariesElement: boundariesElement,
173
173
  scrollableElement: scrollableElement
174
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
174
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
175
175
  ,
176
176
  onPlacementChanged: function onPlacementChanged(placement) {
177
177
  setPopupPlacement(placement);
@@ -179,7 +179,7 @@ var DropdownMenu = exports.DropdownMenu = function DropdownMenu(_ref) {
179
179
  fitHeight: fitHeight,
180
180
  fitWidth: fitWidth,
181
181
  zIndex: _editorSharedStyles.akEditorFloatingPanelZIndex
182
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
182
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
183
183
  ,
184
184
  offset: [offsetX, offsetY],
185
185
  allowOutOfBounds: true // required as this popup is child of a parent popup, should be allowed to be out of bound of the parent popup, otherwise horizontal offset is not right
@@ -48,7 +48,7 @@ var SizeSelector = exports.SizeSelector = function SizeSelector(_ref) {
48
48
  api === null || api === void 0 || api.core.actions.focus();
49
49
  };
50
50
  return (0, _react2.jsx)(_ui.TableSelectorPopup
51
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
51
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
52
52
  , {
53
53
  defaultSize: {
54
54
  row: DEFAULT_TABLE_SELECTOR_ROWS,
@@ -259,7 +259,7 @@ var DragControls = exports.DragControls = function DragControls(_ref) {
259
259
  key: "drop-target-".concat(index),
260
260
  index: index,
261
261
  localId: currentNodeLocalId
262
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
262
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
263
263
  ,
264
264
  style: {
265
265
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
@@ -581,14 +581,14 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(getE
581
581
  return (0, _react.jsx)(_floatingToolbar.DropdownMenuExtensionItems, {
582
582
  node: tableObject.node,
583
583
  editorView: editorView
584
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
584
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
585
585
  ,
586
586
  extension: {
587
587
  extensionProvider: extensionState !== null && extensionState !== void 0 && extensionState.extensionProvider ? Promise.resolve(extensionState.extensionProvider) : undefined,
588
588
  extensionApi: extensionApi
589
589
  },
590
590
  dropdownOptions: dropdownOptions
591
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
591
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
592
592
  ,
593
593
  disabled: function disabled(key) {
594
594
  return isNestedTable && ['referentiality:connections', 'chart:insert-chart'].includes(key);
@@ -801,7 +801,7 @@ class TableComponent extends React.Component {
801
801
  getEditorFeatureFlags: getEditorFeatureFlags,
802
802
  tableContainerWidth: tableContainerWidth,
803
803
  isNumberColumnEnabled: node.attrs.isNumberColumnEnabled
804
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
804
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
805
805
  ,
806
806
  getScrollOffset: () => {
807
807
  var _this$wrapper2;
@@ -871,13 +871,13 @@ class TableComponent extends React.Component {
871
871
  }), allowControls && rowControls, isDragAndDropEnabled && /*#__PURE__*/React.createElement(ExternalDropTargets, {
872
872
  editorView: view,
873
873
  node: node
874
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
874
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
875
875
  ,
876
876
  getScrollOffset: () => {
877
877
  var _this$wrapper3;
878
878
  return ((_this$wrapper3 = this.wrapper) === null || _this$wrapper3 === void 0 ? void 0 : _this$wrapper3.scrollLeft) || 0;
879
879
  }
880
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
880
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
881
881
  ,
882
882
  getTableWrapperWidth: () => {
883
883
  var _this$wrapper4;
@@ -107,7 +107,7 @@ export const TableComponentWithSharedState = ({
107
107
  ordering: ordering,
108
108
  isResizing: isResizing,
109
109
  getNode: getNode
110
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
110
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
111
111
  ,
112
112
  containerWidth: {
113
113
  width: width !== null && width !== void 0 ? width : 0,
@@ -516,7 +516,7 @@ export const TableResizer = ({
516
516
  needExtendedResizeZone: expValEquals('platform_editor_table_resizer_extended_zone', 'isEnabled', true) ? true : !isTableSelected,
517
517
  appearance: isTableSelected && isWholeTableInDanger ? 'danger' : undefined,
518
518
  handleHighlight: "shadow"
519
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
519
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
520
520
  ,
521
521
  handleTooltipContent: ({
522
522
  update
@@ -184,7 +184,7 @@ const ContentComponentInternal = ({
184
184
  stick: true,
185
185
  forcePlacement: true,
186
186
  zIndex: akEditorFloatingPanelZIndex
187
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
187
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
188
188
  ,
189
189
  offset: [0, 10]
190
190
  }), isTableSelectorEnabled && isSizeSelectorOpen && /*#__PURE__*/React.createElement(SizeSelector, {
@@ -20,14 +20,14 @@ export const DragPreview = ({
20
20
  const transform = direction === 'row' ? 'rotate(90deg)' : 'none';
21
21
  return /*#__PURE__*/React.createElement(Box, {
22
22
  xcss: boxStyles
23
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
23
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
24
24
  ,
25
25
  style: {
26
26
  width: `${width}px`,
27
27
  height: `${height}px`
28
28
  }
29
29
  }, /*#__PURE__*/React.createElement(DragInMotionIcon
30
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
30
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
31
31
  , {
32
32
  style: {
33
33
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
@@ -43,7 +43,7 @@ export const FloatingAlignmentButtons = ({
43
43
  title: item.title,
44
44
  selected: item.selected,
45
45
  disabled: item.disabled
46
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
46
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
47
47
  ,
48
48
  onClick: () => {
49
49
  dispatchCommand(item.onClick);
@@ -164,7 +164,7 @@ const FloatingContextualButtonInner = /*#__PURE__*/React.memo(props => {
164
164
  mountTo: tableWrapper || mountPoint,
165
165
  boundariesElement: targetCellRef,
166
166
  scrollableElement: scrollableElement
167
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
167
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
168
168
  ,
169
169
  offset: [BUTTON_OFFSET, -BUTTON_OFFSET],
170
170
  forcePlacement: true,
@@ -151,7 +151,7 @@ export class ContextualMenu extends Component {
151
151
  type: ArrowKeyNavigationType.COLOR,
152
152
  selectedRowIndex: selectedRowIndex || 0,
153
153
  selectedColumnIndex: selectedColumnIndex || 0
154
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
154
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
155
155
  ,
156
156
  handleClose: () => {
157
157
  this.setState({
@@ -173,7 +173,7 @@ export class ContextualMenu extends Component {
173
173
  cols: 7,
174
174
  onClick: this.setColor,
175
175
  selectedColor: (node === null || node === void 0 ? void 0 : (_node$attrs2 = node.attrs) === null || _node$attrs2 === void 0 ? void 0 : _node$attrs2.background) || '#ffffff'
176
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
176
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
177
177
  ,
178
178
  paletteOptions: {
179
179
  palette: cellBackgroundColorPalette,
@@ -848,7 +848,7 @@ export class ContextualMenu extends Component {
848
848
  }, jsx(DropdownMenu
849
849
  //This needs be removed when the a11y is completely handled
850
850
  //Disabling key navigation now as it works only partially
851
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
851
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
852
852
  , {
853
853
  arrowKeyNavigationProviderOptions: {
854
854
  type: ArrowKeyNavigationType.MENU,
@@ -862,7 +862,7 @@ export class ContextualMenu extends Component {
862
862
  onMouseLeave: this.handleItemMouseLeave,
863
863
  fitHeight: 188,
864
864
  fitWidth: isDragAndDropEnabled ? contextualMenuDropdownWidthDnD : contextualMenuDropdownWidth
865
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
865
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
866
866
  ,
867
867
  shouldFocusFirstItem: () => {
868
868
  return Boolean(isCellMenuOpenByKeyboard);
@@ -85,7 +85,7 @@ const FloatingContextualMenu = ({
85
85
  ,
86
86
  zIndex: parentSticky ? akEditorFloatingDialogZIndex : akEditorFloatingOverlapPanelZIndex,
87
87
  forcePlacement: true
88
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
88
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
89
89
  ,
90
90
  offset: [-7, 0],
91
91
  stick: true
@@ -96,7 +96,7 @@ const FloatingContextualMenu = ({
96
96
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
97
97
  , {
98
98
  editorView: editorView
99
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
99
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
100
100
  ,
101
101
  offset: [contextualMenuTriggerSize / 2, -contextualMenuTriggerSize],
102
102
  isOpen: isOpen,
@@ -314,7 +314,7 @@ const DragMenu = /*#__PURE__*/React.memo(({
314
314
  type: ArrowKeyNavigationType.COLOR,
315
315
  selectedRowIndex: selectedRowIndex,
316
316
  selectedColumnIndex: selectedColumnIndex
317
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
317
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
318
318
  ,
319
319
  handleClose: () => {
320
320
  const keyboardEvent = new KeyboardEvent('keydown', {
@@ -331,13 +331,13 @@ const DragMenu = /*#__PURE__*/React.memo(({
331
331
  isOpenedByKeyboard: isKeyboardModeActive
332
332
  }, jsx(ColorPalette, {
333
333
  cols: colorPalletteColumns
334
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
334
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
335
335
  ,
336
336
  onClick: color => {
337
337
  setColor(color);
338
338
  },
339
339
  selectedColor: background
340
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
340
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
341
341
  ,
342
342
  paletteOptions: {
343
343
  palette: cellBackgroundColorPalette,
@@ -568,7 +568,7 @@ const DragMenu = /*#__PURE__*/React.memo(({
568
568
  userIntent: "tableDragMenuPopupOpen"
569
569
  }, jsx(DropdownMenu, {
570
570
  disableKeyboardHandling: isSubmenuOpen
571
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
571
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
572
572
  ,
573
573
  section: {
574
574
  hasSeparator: true
@@ -45,17 +45,17 @@ export const DropdownMenu = ({
45
45
  isOpen: true,
46
46
  shouldFitContainer: true,
47
47
  position: popupPlacement.join(' ')
48
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
48
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
49
49
  ,
50
50
  handleClickOutside: () => handleClose('editor')
51
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
51
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
52
52
  ,
53
53
  handleEscapeKeydown: () => {
54
54
  if (!disableKeyboardHandling) {
55
55
  handleClose('handle');
56
56
  }
57
57
  }
58
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
58
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
59
59
  ,
60
60
  handleEnterKeydown: e => {
61
61
  if (!disableKeyboardHandling) {
@@ -147,7 +147,7 @@ export const DropdownMenu = ({
147
147
  mountTo: mountPoint,
148
148
  boundariesElement: boundariesElement,
149
149
  scrollableElement: scrollableElement
150
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
150
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
151
151
  ,
152
152
  onPlacementChanged: placement => {
153
153
  setPopupPlacement(placement);
@@ -155,7 +155,7 @@ export const DropdownMenu = ({
155
155
  fitHeight: fitHeight,
156
156
  fitWidth: fitWidth,
157
157
  zIndex: akEditorFloatingPanelZIndex
158
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
158
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
159
159
  ,
160
160
  offset: [offsetX, offsetY],
161
161
  allowOutOfBounds: true // required as this popup is child of a parent popup, should be allowed to be out of bound of the parent popup, otherwise horizontal offset is not right
@@ -44,7 +44,7 @@ export const SizeSelector = ({
44
44
  api === null || api === void 0 ? void 0 : api.core.actions.focus();
45
45
  };
46
46
  return jsx(TableSelectorPopup
47
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
47
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
48
48
  , {
49
49
  defaultSize: {
50
50
  row: DEFAULT_TABLE_SELECTOR_ROWS,
@@ -251,7 +251,7 @@ export const DragControls = ({
251
251
  key: `drop-target-${index}`,
252
252
  index: index,
253
253
  localId: currentNodeLocalId
254
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
254
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
255
255
  ,
256
256
  style: {
257
257
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
@@ -549,14 +549,14 @@ export const getToolbarConfig = (getEditorContainerWidth, api, editorAnalyticsAP
549
549
  return jsx(DropdownMenuExtensionItems, {
550
550
  node: tableObject.node,
551
551
  editorView: editorView
552
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
552
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
553
553
  ,
554
554
  extension: {
555
555
  extensionProvider: extensionState !== null && extensionState !== void 0 && extensionState.extensionProvider ? Promise.resolve(extensionState.extensionProvider) : undefined,
556
556
  extensionApi: extensionApi
557
557
  },
558
558
  dropdownOptions: dropdownOptions
559
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
559
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
560
560
  ,
561
561
  disabled: key => {
562
562
  return isNestedTable && ['referentiality:connections', 'chart:insert-chart'].includes(key);
@@ -838,7 +838,7 @@ var TableComponent = /*#__PURE__*/function (_React$Component) {
838
838
  getEditorFeatureFlags: getEditorFeatureFlags,
839
839
  tableContainerWidth: tableContainerWidth,
840
840
  isNumberColumnEnabled: node.attrs.isNumberColumnEnabled
841
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
841
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
842
842
  ,
843
843
  getScrollOffset: function getScrollOffset() {
844
844
  var _this5$wrapper;
@@ -902,13 +902,13 @@ var TableComponent = /*#__PURE__*/function (_React$Component) {
902
902
  }), allowControls && rowControls, isDragAndDropEnabled && /*#__PURE__*/React.createElement(ExternalDropTargets, {
903
903
  editorView: view,
904
904
  node: node
905
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
905
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
906
906
  ,
907
907
  getScrollOffset: function getScrollOffset() {
908
908
  var _this5$wrapper2;
909
909
  return ((_this5$wrapper2 = _this5.wrapper) === null || _this5$wrapper2 === void 0 ? void 0 : _this5$wrapper2.scrollLeft) || 0;
910
910
  }
911
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
911
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
912
912
  ,
913
913
  getTableWrapperWidth: function getTableWrapperWidth() {
914
914
  var _this5$wrapper3;
@@ -105,7 +105,7 @@ export var TableComponentWithSharedState = function TableComponentWithSharedStat
105
105
  ordering: ordering,
106
106
  isResizing: isResizing,
107
107
  getNode: getNode
108
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
108
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
109
109
  ,
110
110
  containerWidth: {
111
111
  width: width !== null && width !== void 0 ? width : 0,
@@ -511,7 +511,7 @@ export var TableResizer = function TableResizer(_ref) {
511
511
  needExtendedResizeZone: expValEquals('platform_editor_table_resizer_extended_zone', 'isEnabled', true) ? true : !isTableSelected,
512
512
  appearance: isTableSelected && isWholeTableInDanger ? 'danger' : undefined,
513
513
  handleHighlight: "shadow"
514
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
514
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
515
515
  ,
516
516
  handleTooltipContent: function handleTooltipContent(_ref3) {
517
517
  var update = _ref3.update;
@@ -181,7 +181,7 @@ var ContentComponentInternal = function ContentComponentInternal(_ref) {
181
181
  stick: true,
182
182
  forcePlacement: true,
183
183
  zIndex: akEditorFloatingPanelZIndex
184
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
184
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
185
185
  ,
186
186
  offset: [0, 10]
187
187
  }), isTableSelectorEnabled && isSizeSelectorOpen && /*#__PURE__*/React.createElement(SizeSelector, {
@@ -19,14 +19,14 @@ export var DragPreview = function DragPreview(_ref) {
19
19
  var transform = direction === 'row' ? 'rotate(90deg)' : 'none';
20
20
  return /*#__PURE__*/React.createElement(Box, {
21
21
  xcss: boxStyles
22
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
22
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
23
23
  ,
24
24
  style: {
25
25
  width: "".concat(width, "px"),
26
26
  height: "".concat(height, "px")
27
27
  }
28
28
  }, /*#__PURE__*/React.createElement(DragInMotionIcon
29
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
29
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
30
30
  , {
31
31
  style: {
32
32
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
@@ -42,7 +42,7 @@ export var FloatingAlignmentButtons = function FloatingAlignmentButtons(_ref) {
42
42
  title: item.title,
43
43
  selected: item.selected,
44
44
  disabled: item.disabled
45
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
45
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
46
46
  ,
47
47
  onClick: function onClick() {
48
48
  dispatchCommand(item.onClick);
@@ -156,7 +156,7 @@ var FloatingContextualButtonInner = /*#__PURE__*/React.memo(function (props) {
156
156
  mountTo: tableWrapper || mountPoint,
157
157
  boundariesElement: targetCellRef,
158
158
  scrollableElement: scrollableElement
159
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
159
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
160
160
  ,
161
161
  offset: [BUTTON_OFFSET, -BUTTON_OFFSET],
162
162
  forcePlacement: true,
@@ -158,7 +158,7 @@ export var ContextualMenu = /*#__PURE__*/function (_Component) {
158
158
  type: ArrowKeyNavigationType.COLOR,
159
159
  selectedRowIndex: selectedRowIndex || 0,
160
160
  selectedColumnIndex: selectedColumnIndex || 0
161
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
161
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
162
162
  ,
163
163
  handleClose: function handleClose() {
164
164
  _this.setState({
@@ -180,7 +180,7 @@ export var ContextualMenu = /*#__PURE__*/function (_Component) {
180
180
  cols: 7,
181
181
  onClick: _this.setColor,
182
182
  selectedColor: (node === null || node === void 0 || (_node$attrs2 = node.attrs) === null || _node$attrs2 === void 0 ? void 0 : _node$attrs2.background) || '#ffffff'
183
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
183
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
184
184
  ,
185
185
  paletteOptions: {
186
186
  palette: cellBackgroundColorPalette,
@@ -786,7 +786,7 @@ export var ContextualMenu = /*#__PURE__*/function (_Component) {
786
786
  }, jsx(DropdownMenu
787
787
  //This needs be removed when the a11y is completely handled
788
788
  //Disabling key navigation now as it works only partially
789
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
789
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
790
790
  , {
791
791
  arrowKeyNavigationProviderOptions: {
792
792
  type: ArrowKeyNavigationType.MENU,
@@ -800,7 +800,7 @@ export var ContextualMenu = /*#__PURE__*/function (_Component) {
800
800
  onMouseLeave: this.handleItemMouseLeave,
801
801
  fitHeight: 188,
802
802
  fitWidth: isDragAndDropEnabled ? contextualMenuDropdownWidthDnD : contextualMenuDropdownWidth
803
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
803
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
804
804
  ,
805
805
  shouldFocusFirstItem: function shouldFocusFirstItem() {
806
806
  return Boolean(isCellMenuOpenByKeyboard);
@@ -81,7 +81,7 @@ var FloatingContextualMenu = function FloatingContextualMenu(_ref) {
81
81
  ,
82
82
  zIndex: parentSticky ? akEditorFloatingDialogZIndex : akEditorFloatingOverlapPanelZIndex,
83
83
  forcePlacement: true
84
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
84
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
85
85
  ,
86
86
  offset: [-7, 0],
87
87
  stick: true
@@ -92,7 +92,7 @@ var FloatingContextualMenu = function FloatingContextualMenu(_ref) {
92
92
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
93
93
  , {
94
94
  editorView: editorView
95
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
95
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
96
96
  ,
97
97
  offset: [contextualMenuTriggerSize / 2, -contextualMenuTriggerSize],
98
98
  isOpen: isOpen,
@@ -309,7 +309,7 @@ var DragMenu = /*#__PURE__*/React.memo(function (_ref) {
309
309
  type: ArrowKeyNavigationType.COLOR,
310
310
  selectedRowIndex: selectedRowIndex,
311
311
  selectedColumnIndex: selectedColumnIndex
312
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
312
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
313
313
  ,
314
314
  handleClose: function handleClose() {
315
315
  var keyboardEvent = new KeyboardEvent('keydown', {
@@ -326,13 +326,13 @@ var DragMenu = /*#__PURE__*/React.memo(function (_ref) {
326
326
  isOpenedByKeyboard: isKeyboardModeActive
327
327
  }, jsx(ColorPalette, {
328
328
  cols: colorPalletteColumns
329
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
329
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
330
330
  ,
331
331
  onClick: function onClick(color) {
332
332
  setColor(color);
333
333
  },
334
334
  selectedColor: background
335
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
335
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
336
336
  ,
337
337
  paletteOptions: {
338
338
  palette: cellBackgroundColorPalette,
@@ -564,7 +564,7 @@ var DragMenu = /*#__PURE__*/React.memo(function (_ref) {
564
564
  userIntent: "tableDragMenuPopupOpen"
565
565
  }, jsx(DropdownMenu, {
566
566
  disableKeyboardHandling: isSubmenuOpen
567
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
567
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
568
568
  ,
569
569
  section: {
570
570
  hasSeparator: true
@@ -51,19 +51,19 @@ export var DropdownMenu = function DropdownMenu(_ref) {
51
51
  isOpen: true,
52
52
  shouldFitContainer: true,
53
53
  position: popupPlacement.join(' ')
54
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
54
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
55
55
  ,
56
56
  handleClickOutside: function handleClickOutside() {
57
57
  return handleClose('editor');
58
58
  }
59
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
59
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
60
60
  ,
61
61
  handleEscapeKeydown: function handleEscapeKeydown() {
62
62
  if (!disableKeyboardHandling) {
63
63
  handleClose('handle');
64
64
  }
65
65
  }
66
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
66
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
67
67
  ,
68
68
  handleEnterKeydown: function handleEnterKeydown(e) {
69
69
  if (!disableKeyboardHandling) {
@@ -161,7 +161,7 @@ export var DropdownMenu = function DropdownMenu(_ref) {
161
161
  mountTo: mountPoint,
162
162
  boundariesElement: boundariesElement,
163
163
  scrollableElement: scrollableElement
164
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
164
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
165
165
  ,
166
166
  onPlacementChanged: function onPlacementChanged(placement) {
167
167
  setPopupPlacement(placement);
@@ -169,7 +169,7 @@ export var DropdownMenu = function DropdownMenu(_ref) {
169
169
  fitHeight: fitHeight,
170
170
  fitWidth: fitWidth,
171
171
  zIndex: akEditorFloatingPanelZIndex
172
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
172
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
173
173
  ,
174
174
  offset: [offsetX, offsetY],
175
175
  allowOutOfBounds: true // required as this popup is child of a parent popup, should be allowed to be out of bound of the parent popup, otherwise horizontal offset is not right
@@ -41,7 +41,7 @@ export var SizeSelector = function SizeSelector(_ref) {
41
41
  api === null || api === void 0 || api.core.actions.focus();
42
42
  };
43
43
  return jsx(TableSelectorPopup
44
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
44
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
45
45
  , {
46
46
  defaultSize: {
47
47
  row: DEFAULT_TABLE_SELECTOR_ROWS,
@@ -250,7 +250,7 @@ export var DragControls = function DragControls(_ref) {
250
250
  key: "drop-target-".concat(index),
251
251
  index: index,
252
252
  localId: currentNodeLocalId
253
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
253
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
254
254
  ,
255
255
  style: {
256
256
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
@@ -574,14 +574,14 @@ export var getToolbarConfig = function getToolbarConfig(getEditorContainerWidth,
574
574
  return jsx(DropdownMenuExtensionItems, {
575
575
  node: tableObject.node,
576
576
  editorView: editorView
577
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
577
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
578
578
  ,
579
579
  extension: {
580
580
  extensionProvider: extensionState !== null && extensionState !== void 0 && extensionState.extensionProvider ? Promise.resolve(extensionState.extensionProvider) : undefined,
581
581
  extensionApi: extensionApi
582
582
  },
583
583
  dropdownOptions: dropdownOptions
584
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
584
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
585
585
  ,
586
586
  disabled: function disabled(key) {
587
587
  return isNestedTable && ['referentiality:connections', 'chart:insert-chart'].includes(key);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table",
3
- "version": "18.1.6",
3
+ "version": "18.1.7",
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": "^8.0.0",
38
38
  "@atlaskit/editor-plugin-content-insertion": "^8.0.0",
39
39
  "@atlaskit/editor-plugin-editor-viewmode": "^10.0.0",
40
- "@atlaskit/editor-plugin-extension": "11.0.12",
40
+ "@atlaskit/editor-plugin-extension": "11.0.13",
41
41
  "@atlaskit/editor-plugin-guideline": "^8.0.0",
42
42
  "@atlaskit/editor-plugin-interaction": "^15.0.0",
43
43
  "@atlaskit/editor-plugin-limited-mode": "^5.0.0",
@@ -56,7 +56,7 @@
56
56
  "@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^2.1.0",
57
57
  "@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",
58
58
  "@atlaskit/primitives": "^18.0.0",
59
- "@atlaskit/tmp-editor-statsig": "^44.1.0",
59
+ "@atlaskit/tmp-editor-statsig": "^45.0.0",
60
60
  "@atlaskit/toggle": "^15.2.0",
61
61
  "@atlaskit/tokens": "^11.1.0",
62
62
  "@atlaskit/tooltip": "^21.0.0",