@atlaskit/editor-plugin-table 20.0.0 → 21.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.
Files changed (95) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/cjs/nodeviews/TableComponent.js +2 -2
  3. package/dist/cjs/nodeviews/TableResizer.js +2 -2
  4. package/dist/cjs/pm-plugins/utils/decoration.js +2 -2
  5. package/dist/cjs/pm-plugins/view-mode-sort/index.js +2 -2
  6. package/dist/cjs/ui/ColumnResizeWidget/index.js +2 -2
  7. package/dist/cjs/ui/DragHandle/index.js +2 -2
  8. package/dist/cjs/ui/FloatingContextualButton/index.js +2 -2
  9. package/dist/cjs/ui/FloatingContextualMenu/ContextualMenu.js +2 -2
  10. package/dist/cjs/ui/FloatingDeleteButton/DeleteButton.js +2 -2
  11. package/dist/cjs/ui/FloatingDragMenu/DragMenu.js +2 -2
  12. package/dist/cjs/ui/FloatingInsertButton/InsertButton.js +3 -3
  13. package/dist/cjs/ui/FloatingInsertButton/index.js +2 -2
  14. package/dist/cjs/ui/TableFloatingControls/CornerControls/ClassicCornerControls.js +2 -2
  15. package/dist/cjs/ui/TableFloatingControls/CornerControls/DragCornerControls.js +3 -3
  16. package/dist/cjs/ui/TableFloatingControls/RowControls/ClassicControls.js +2 -2
  17. package/dist/cjs/ui/TableFullWidthLabel/index.js +2 -2
  18. package/dist/es2019/nodeviews/TableComponent.js +1 -1
  19. package/dist/es2019/nodeviews/TableResizer.js +1 -1
  20. package/dist/es2019/pm-plugins/utils/decoration.js +1 -1
  21. package/dist/es2019/pm-plugins/view-mode-sort/index.js +1 -1
  22. package/dist/es2019/ui/ColumnResizeWidget/index.js +1 -1
  23. package/dist/es2019/ui/DragHandle/index.js +1 -1
  24. package/dist/es2019/ui/FloatingContextualButton/index.js +1 -1
  25. package/dist/es2019/ui/FloatingContextualMenu/ContextualMenu.js +1 -1
  26. package/dist/es2019/ui/FloatingDeleteButton/DeleteButton.js +1 -1
  27. package/dist/es2019/ui/FloatingDragMenu/DragMenu.js +1 -1
  28. package/dist/es2019/ui/FloatingInsertButton/InsertButton.js +1 -1
  29. package/dist/es2019/ui/FloatingInsertButton/index.js +1 -1
  30. package/dist/es2019/ui/TableFloatingControls/CornerControls/ClassicCornerControls.js +1 -1
  31. package/dist/es2019/ui/TableFloatingControls/CornerControls/DragCornerControls.js +1 -1
  32. package/dist/es2019/ui/TableFloatingControls/RowControls/ClassicControls.js +1 -1
  33. package/dist/es2019/ui/TableFullWidthLabel/index.js +1 -1
  34. package/dist/esm/nodeviews/TableComponent.js +1 -1
  35. package/dist/esm/nodeviews/TableResizer.js +1 -1
  36. package/dist/esm/pm-plugins/utils/decoration.js +1 -1
  37. package/dist/esm/pm-plugins/view-mode-sort/index.js +1 -1
  38. package/dist/esm/ui/ColumnResizeWidget/index.js +1 -1
  39. package/dist/esm/ui/DragHandle/index.js +1 -1
  40. package/dist/esm/ui/FloatingContextualButton/index.js +1 -1
  41. package/dist/esm/ui/FloatingContextualMenu/ContextualMenu.js +1 -1
  42. package/dist/esm/ui/FloatingDeleteButton/DeleteButton.js +1 -1
  43. package/dist/esm/ui/FloatingDragMenu/DragMenu.js +1 -1
  44. package/dist/esm/ui/FloatingInsertButton/InsertButton.js +1 -1
  45. package/dist/esm/ui/FloatingInsertButton/index.js +1 -1
  46. package/dist/esm/ui/TableFloatingControls/CornerControls/ClassicCornerControls.js +1 -1
  47. package/dist/esm/ui/TableFloatingControls/CornerControls/DragCornerControls.js +1 -1
  48. package/dist/esm/ui/TableFloatingControls/RowControls/ClassicControls.js +1 -1
  49. package/dist/esm/ui/TableFullWidthLabel/index.js +1 -1
  50. package/dist/types/nodeviews/TableComponent.d.ts +2 -2
  51. package/dist/types/pm-plugins/commands/column-resize.d.ts +1 -1
  52. package/dist/types/pm-plugins/commands/commands-with-analytics.d.ts +1 -1
  53. package/dist/types/pm-plugins/commands/go-to-next-cell.d.ts +1 -1
  54. package/dist/types/pm-plugins/commands/selection.d.ts +1 -1
  55. package/dist/types/pm-plugins/decorations/utils/column-resizing.d.ts +1 -1
  56. package/dist/types/pm-plugins/drag-and-drop/commands-with-analytics.d.ts +1 -1
  57. package/dist/types/pm-plugins/keymap.d.ts +1 -1
  58. package/dist/types/pm-plugins/main.d.ts +1 -1
  59. package/dist/types/pm-plugins/table-selection-keymap.d.ts +1 -1
  60. package/dist/types/pm-plugins/utils/decoration.d.ts +1 -1
  61. package/dist/types/pm-plugins/utils/table.d.ts +1 -1
  62. package/dist/types/types/index.d.ts +1 -1
  63. package/dist/types/ui/DragHandle/index.d.ts +2 -2
  64. package/dist/types/ui/FloatingContextualMenu/ContextualMenu.d.ts +2 -2
  65. package/dist/types/ui/FloatingDeleteButton/DeleteButton.d.ts +2 -2
  66. package/dist/types/ui/FloatingDragMenu/DragMenu.d.ts +2 -2
  67. package/dist/types/ui/FloatingInsertButton/InsertButton.d.ts +3 -3
  68. package/dist/types/ui/FloatingInsertButton/index.d.ts +2 -2
  69. package/dist/types/ui/TableFloatingControls/CornerControls/ClassicCornerControls.d.ts +2 -2
  70. package/dist/types/ui/TableFloatingControls/CornerControls/DragCornerControls.d.ts +3 -3
  71. package/dist/types/ui/TableFloatingControls/RowControls/ClassicControls.d.ts +2 -2
  72. package/dist/types-ts4.5/nodeviews/TableComponent.d.ts +2 -2
  73. package/dist/types-ts4.5/pm-plugins/commands/column-resize.d.ts +1 -1
  74. package/dist/types-ts4.5/pm-plugins/commands/commands-with-analytics.d.ts +1 -1
  75. package/dist/types-ts4.5/pm-plugins/commands/go-to-next-cell.d.ts +1 -1
  76. package/dist/types-ts4.5/pm-plugins/commands/selection.d.ts +1 -1
  77. package/dist/types-ts4.5/pm-plugins/decorations/utils/column-resizing.d.ts +1 -1
  78. package/dist/types-ts4.5/pm-plugins/drag-and-drop/commands-with-analytics.d.ts +1 -1
  79. package/dist/types-ts4.5/pm-plugins/keymap.d.ts +1 -1
  80. package/dist/types-ts4.5/pm-plugins/main.d.ts +1 -1
  81. package/dist/types-ts4.5/pm-plugins/table-selection-keymap.d.ts +1 -1
  82. package/dist/types-ts4.5/pm-plugins/utils/decoration.d.ts +1 -1
  83. package/dist/types-ts4.5/pm-plugins/utils/table.d.ts +1 -1
  84. package/dist/types-ts4.5/types/index.d.ts +1 -1
  85. package/dist/types-ts4.5/ui/DragHandle/index.d.ts +2 -2
  86. package/dist/types-ts4.5/ui/FloatingContextualMenu/ContextualMenu.d.ts +2 -2
  87. package/dist/types-ts4.5/ui/FloatingDeleteButton/DeleteButton.d.ts +2 -2
  88. package/dist/types-ts4.5/ui/FloatingDragMenu/DragMenu.d.ts +2 -2
  89. package/dist/types-ts4.5/ui/FloatingInsertButton/InsertButton.d.ts +3 -3
  90. package/dist/types-ts4.5/ui/FloatingInsertButton/index.d.ts +2 -2
  91. package/dist/types-ts4.5/ui/TableFloatingControls/CornerControls/ClassicCornerControls.d.ts +2 -2
  92. package/dist/types-ts4.5/ui/TableFloatingControls/CornerControls/DragCornerControls.d.ts +3 -3
  93. package/dist/types-ts4.5/ui/TableFloatingControls/RowControls/ClassicControls.d.ts +2 -2
  94. package/package.json +19 -16
  95. package/report.api.md +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @atlaskit/editor-plugin-table
2
2
 
3
+ ## 21.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`901c87a57486e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/901c87a57486e) -
8
+ Removed `react-intl-next` alias and replaced all usages with `react-intl` directly.
9
+
10
+ What changed: The `react-intl-next` npm alias (which resolved to `react-intl@^5`) has been
11
+ removed. All imports now reference `react-intl` directly, and `peerDependencies` have been updated
12
+ to `"^5.25.1 || ^6.0.0 || ^7.0.0"`.
13
+
14
+ How consumer should update their code: Ensure `react-intl` is installed at a version satisfying
15
+ `^5.25.1 || ^6.0.0 || ^7.0.0`. If your application was using `react-intl-next` as an npm alias, it
16
+ can be safely removed. Replace any remaining `react-intl-next` imports with `react-intl`.
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies
21
+
3
22
  ## 20.0.0
4
23
 
5
24
  ### Patch Changes
@@ -15,7 +15,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
15
15
  var _react = _interopRequireDefault(require("react"));
16
16
  var _classnames2 = _interopRequireDefault(require("classnames"));
17
17
  var _rafSchd = _interopRequireDefault(require("raf-schd"));
18
- var _reactIntlNext = require("react-intl-next");
18
+ var _reactIntl = require("react-intl");
19
19
  var _browser = require("@atlaskit/editor-common/browser");
20
20
  var _collab = require("@atlaskit/editor-common/collab");
21
21
  var _nesting = require("@atlaskit/editor-common/nesting");
@@ -993,4 +993,4 @@ var TableComponent = /*#__PURE__*/function (_React$Component) {
993
993
  }]);
994
994
  }(_react.default.Component);
995
995
  (0, _defineProperty2.default)(TableComponent, "displayName", 'TableComponent');
996
- var _default = exports.default = (0, _reactIntlNext.injectIntl)(TableComponent);
996
+ var _default = exports.default = (0, _reactIntl.injectIntl)(TableComponent);
@@ -10,7 +10,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
10
10
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
11
11
  var _react = _interopRequireWildcard(require("react"));
12
12
  var _rafSchd = _interopRequireDefault(require("raf-schd"));
13
- var _reactIntlNext = require("react-intl-next");
13
+ var _reactIntl = require("react-intl");
14
14
  var _analytics = require("@atlaskit/editor-common/analytics");
15
15
  var _browser = require("@atlaskit/editor-common/browser");
16
16
  var _guideline = require("@atlaskit/editor-common/guideline");
@@ -159,7 +159,7 @@ var TableResizer = exports.TableResizer = function TableResizer(_ref) {
159
159
  _useState2 = (0, _slicedToArray2.default)(_useState, 2),
160
160
  snappingEnabled = _useState2[0],
161
161
  setSnappingEnabled = _useState2[1];
162
- var _useIntl = (0, _reactIntlNext.useIntl)(),
162
+ var _useIntl = (0, _reactIntl.useIntl)(),
163
163
  formatMessage = _useIntl.formatMessage;
164
164
  var currentSelection = (_editorView$state = editorView.state) === null || _editorView$state === void 0 ? void 0 : _editorView$state.selection;
165
165
  var tableFromSelection = (0, _react.useMemo)(function () {
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.updateDecorations = exports.findControlsHoverDecoration = exports.findColumnControlSelectedDecoration = exports.createRowInsertLine = exports.createResizeHandleDecoration = exports.createControlsHoverDecoration = exports.createColumnSelectedDecoration = exports.createColumnLineResize = exports.createColumnInsertLine = exports.createColumnControlsDecoration = exports.createCellHoverDecoration = void 0;
8
8
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
9
9
  var _react = require("react");
10
- var _reactIntlNext = require("react-intl-next");
10
+ var _reactIntl = require("react-intl");
11
11
  var _v = _interopRequireDefault(require("uuid/v4"));
12
12
  var _utils = require("@atlaskit/editor-common/utils");
13
13
  var _view = require("@atlaskit/editor-prosemirror/view");
@@ -277,7 +277,7 @@ var createResizeHandleDecoration = exports.createResizeHandleDecoration = functi
277
277
  return _view.Decoration.widget(position, function () {
278
278
  var element = document.createElement('div');
279
279
  nodeViewPortalProviderAPI.render(function () {
280
- return /*#__PURE__*/(0, _react.createElement)(_reactIntlNext.RawIntlProvider, {
280
+ return /*#__PURE__*/(0, _react.createElement)(_reactIntl.RawIntlProvider, {
281
281
  value: getIntl()
282
282
  }, /*#__PURE__*/(0, _react.createElement)(_ColumnResizeWidget.ColumnResizeWidget, {
283
283
  startIndex: cellColumnPositioning.left,
@@ -9,7 +9,7 @@ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers
9
9
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
10
10
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
11
11
  var _react = require("react");
12
- var _reactIntlNext = require("react-intl-next");
12
+ var _reactIntl = require("react-intl");
13
13
  var _v = _interopRequireDefault(require("uuid/v4"));
14
14
  var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
15
15
  var _types = require("@atlaskit/editor-common/types");
@@ -131,7 +131,7 @@ var createPlugin = exports.createPlugin = function createPlugin(api, nodeViewPor
131
131
  var _getPluginState = (0, _pluginFactory.getPluginState)(oldState),
132
132
  getIntl = _getPluginState.getIntl;
133
133
  nodeViewPortalProviderAPI.render(function () {
134
- return /*#__PURE__*/(0, _react.createElement)(_reactIntlNext.RawIntlProvider, {
134
+ return /*#__PURE__*/(0, _react.createElement)(_reactIntl.RawIntlProvider, {
135
135
  value: getIntl()
136
136
  }, /*#__PURE__*/(0, _react.createElement)(_SortingIconWrapper.SortingIconWrapper, {
137
137
  isSortingAllowed: !hasMergedCells,
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.ColumnResizeWidget = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _react = require("@emotion/react");
10
- var _reactIntlNext = require("react-intl-next");
10
+ var _reactIntl = require("react-intl");
11
11
  var _keymaps = require("@atlaskit/editor-common/keymaps");
12
12
  var _messages = require("@atlaskit/editor-common/messages");
13
13
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
@@ -22,7 +22,7 @@ var ColumnResizeWidget = exports.ColumnResizeWidget = function ColumnResizeWidge
22
22
  var startIndex = _ref.startIndex,
23
23
  endIndex = _ref.endIndex,
24
24
  includeTooltip = _ref.includeTooltip;
25
- var _useIntl = (0, _reactIntlNext.useIntl)(),
25
+ var _useIntl = (0, _reactIntl.useIntl)(),
26
26
  formatMessage = _useIntl.formatMessage;
27
27
  if (!includeTooltip) {
28
28
  return (0, _react.jsx)("div", {
@@ -11,7 +11,7 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
11
11
  var _react = _interopRequireWildcard(require("react"));
12
12
  var _classnames2 = _interopRequireDefault(require("classnames"));
13
13
  var _reactDom = _interopRequireDefault(require("react-dom"));
14
- var _reactIntlNext = require("react-intl-next");
14
+ var _reactIntl = require("react-intl");
15
15
  var _browser = require("@atlaskit/editor-common/browser");
16
16
  var _messages = require("@atlaskit/editor-common/messages");
17
17
  var _state = require("@atlaskit/editor-prosemirror/state");
@@ -254,4 +254,4 @@ var DragHandleComponent = function DragHandleComponent(_ref) {
254
254
  height: previewHeight
255
255
  }), previewContainer));
256
256
  };
257
- var DragHandle = exports.DragHandle = (0, _reactIntlNext.injectIntl)(DragHandleComponent);
257
+ var DragHandle = exports.DragHandle = (0, _reactIntl.injectIntl)(DragHandleComponent);
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
8
8
  exports.default = _default;
9
9
  var _react = _interopRequireWildcard(require("react"));
10
10
  var _react2 = require("@emotion/react");
11
- var _reactIntlNext = require("react-intl-next");
11
+ var _reactIntl = require("react-intl");
12
12
  var _analytics = require("@atlaskit/editor-common/analytics");
13
13
  var _errorBoundary = require("@atlaskit/editor-common/error-boundary");
14
14
  var _keymaps = require("@atlaskit/editor-common/keymaps");
@@ -174,7 +174,7 @@ var FloatingContextualButtonInner = /*#__PURE__*/_react.default.memo(function (p
174
174
  zIndex: _editorSharedStyles.akEditorSmallZIndex
175
175
  }, button);
176
176
  });
177
- var FloatingContextualButton = (0, _reactIntlNext.injectIntl)(FloatingContextualButtonInner);
177
+ var FloatingContextualButton = (0, _reactIntl.injectIntl)(FloatingContextualButtonInner);
178
178
  function _default(props) {
179
179
  return (0, _react2.jsx)(_errorBoundary.ErrorBoundary, {
180
180
  component: _analytics.ACTION_SUBJECT.FLOATING_CONTEXTUAL_BUTTON,
@@ -15,7 +15,7 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits
15
15
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
16
16
  var _react = _interopRequireWildcard(require("react"));
17
17
  var _react2 = require("@emotion/react");
18
- var _reactIntlNext = require("react-intl-next");
18
+ var _reactIntl = require("react-intl");
19
19
  var _customSteps = require("@atlaskit/custom-steps");
20
20
  var _analytics = require("@atlaskit/editor-common/analytics");
21
21
  var _keymaps = require("@atlaskit/editor-common/keymaps");
@@ -823,4 +823,4 @@ var ContextualMenu = exports.ContextualMenu = /*#__PURE__*/function (_Component)
823
823
  (0, _defineProperty2.default)(ContextualMenu, "defaultProps", {
824
824
  boundariesElement: typeof document !== 'undefined' ? document.body : undefined
825
825
  });
826
- var _default = exports.default = (0, _reactIntlNext.injectIntl)(ContextualMenu);
826
+ var _default = exports.default = (0, _reactIntl.injectIntl)(ContextualMenu);
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
- var _reactIntlNext = require("react-intl-next");
9
+ var _reactIntl = require("react-intl");
10
10
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
11
11
  var _types = require("../../types");
12
12
  var DeleteButton = function DeleteButton(_ref) {
@@ -46,4 +46,4 @@ var DeleteButton = function DeleteButton(_ref) {
46
46
  fillRule: "evenodd"
47
47
  }))));
48
48
  };
49
- var _default = exports.default = (0, _reactIntlNext.injectIntl)(DeleteButton);
49
+ var _default = exports.default = (0, _reactIntl.injectIntl)(DeleteButton);
@@ -10,7 +10,7 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
10
10
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
11
11
  var _react = _interopRequireWildcard(require("react"));
12
12
  var _react2 = require("@emotion/react");
13
- var _reactIntlNext = require("react-intl-next");
13
+ var _reactIntl = require("react-intl");
14
14
  var _analytics = require("@atlaskit/editor-common/analytics");
15
15
  var _messages = require("@atlaskit/editor-common/messages");
16
16
  var _styles = require("@atlaskit/editor-common/styles");
@@ -592,4 +592,4 @@ var DragMenu = /*#__PURE__*/_react.default.memo(function (_ref) {
592
592
  scrollableElement: scrollableElement
593
593
  }));
594
594
  });
595
- var _default = exports.default = (0, _reactIntlNext.injectIntl)(DragMenu);
595
+ var _default = exports.default = (0, _reactIntl.injectIntl)(DragMenu);
@@ -8,7 +8,7 @@ exports.default = exports.DragAndDropInsertButton = void 0;
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
9
  var _react = _interopRequireDefault(require("react"));
10
10
  var _classnames2 = _interopRequireDefault(require("classnames"));
11
- var _reactIntlNext = require("react-intl-next");
11
+ var _reactIntl = require("react-intl");
12
12
  var _keymaps = require("@atlaskit/editor-common/keymaps");
13
13
  var _messages = require("@atlaskit/editor-common/messages");
14
14
  var _styles = require("@atlaskit/editor-common/styles");
@@ -124,7 +124,7 @@ var InsertButtonForDragAndDrop = function InsertButtonForDragAndDrop(_ref2) {
124
124
  }, content))
125
125
  );
126
126
  };
127
- var DragAndDropInsertButton = exports.DragAndDropInsertButton = (0, _reactIntlNext.injectIntl)(InsertButtonForDragAndDrop);
127
+ var DragAndDropInsertButton = exports.DragAndDropInsertButton = (0, _reactIntl.injectIntl)(InsertButtonForDragAndDrop);
128
128
  var InsertButton = function InsertButton(_ref3) {
129
129
  var onMouseDown = _ref3.onMouseDown,
130
130
  tableRef = _ref3.tableRef,
@@ -175,4 +175,4 @@ var InsertButton = function InsertButton(_ref3) {
175
175
  }, content))
176
176
  );
177
177
  };
178
- var _default = exports.default = (0, _reactIntlNext.injectIntl)(InsertButton);
178
+ var _default = exports.default = (0, _reactIntl.injectIntl)(InsertButton);
@@ -14,7 +14,7 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
14
14
  var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
15
15
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
16
16
  var _react = _interopRequireDefault(require("react"));
17
- var _reactIntlNext = require("react-intl-next");
17
+ var _reactIntl = require("react-intl");
18
18
  var _analytics = require("@atlaskit/editor-common/analytics");
19
19
  var _ui = require("@atlaskit/editor-common/ui");
20
20
  var _utils = require("@atlaskit/editor-common/utils");
@@ -235,4 +235,4 @@ var FloatingInsertButton = exports.FloatingInsertButton = /*#__PURE__*/function
235
235
  }]);
236
236
  }(_react.default.Component);
237
237
  (0, _defineProperty2.default)(FloatingInsertButton, "displayName", 'FloatingInsertButton');
238
- var _default = exports.default = (0, _reactIntlNext.injectIntl)(FloatingInsertButton);
238
+ var _default = exports.default = (0, _reactIntl.injectIntl)(FloatingInsertButton);
@@ -14,7 +14,7 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits
14
14
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
15
15
  var _react = _interopRequireWildcard(require("react"));
16
16
  var _classnames = _interopRequireDefault(require("classnames"));
17
- var _reactIntlNext = require("react-intl-next");
17
+ var _reactIntl = require("react-intl");
18
18
  var _messages = require("@atlaskit/editor-common/messages");
19
19
  var _tableMap = require("@atlaskit/editor-tables/table-map");
20
20
  var _utils = require("@atlaskit/editor-tables/utils");
@@ -122,4 +122,4 @@ var CornerControlComponent = /*#__PURE__*/function (_Component) {
122
122
  }
123
123
  }]);
124
124
  }(_react.Component);
125
- var CornerControls = exports.CornerControls = (0, _reactIntlNext.injectIntl)(CornerControlComponent);
125
+ var CornerControls = exports.CornerControls = (0, _reactIntl.injectIntl)(CornerControlComponent);
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
8
8
  exports.DragCornerControlsWithSelection = exports.DragCornerControls = void 0;
9
9
  var _react = _interopRequireWildcard(require("react"));
10
10
  var _classnames = _interopRequireDefault(require("classnames"));
11
- var _reactIntlNext = require("react-intl-next");
11
+ var _reactIntl = require("react-intl");
12
12
  var _hooks = require("@atlaskit/editor-common/hooks");
13
13
  var _messages = require("@atlaskit/editor-common/messages");
14
14
  var _utils = require("@atlaskit/editor-tables/utils");
@@ -110,5 +110,5 @@ var DragCornerControlsComponentWithSelection = function DragCornerControlsCompon
110
110
  className: _types.TableCssClassName.DRAG_CORNER_BUTTON_INNER
111
111
  }));
112
112
  };
113
- var DragCornerControlsWithSelection = exports.DragCornerControlsWithSelection = (0, _reactIntlNext.injectIntl)(DragCornerControlsComponentWithSelection);
114
- var DragCornerControls = exports.DragCornerControls = (0, _reactIntlNext.injectIntl)(DragCornerControlsComponent);
113
+ var DragCornerControlsWithSelection = exports.DragCornerControlsWithSelection = (0, _reactIntl.injectIntl)(DragCornerControlsComponentWithSelection);
114
+ var DragCornerControls = exports.DragCornerControls = (0, _reactIntl.injectIntl)(DragCornerControlsComponent);
@@ -13,7 +13,7 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
13
13
  var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
14
14
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
15
15
  var _react = _interopRequireWildcard(require("react"));
16
- var _reactIntlNext = require("react-intl-next");
16
+ var _reactIntl = require("react-intl");
17
17
  var _messages = require("@atlaskit/editor-common/messages");
18
18
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
19
19
  var _commands = require("../../../pm-plugins/commands");
@@ -121,4 +121,4 @@ var RowControlsComponent = /*#__PURE__*/function (_Component) {
121
121
  }
122
122
  }]);
123
123
  }(_react.Component);
124
- var RowControls = exports.RowControls = (0, _reactIntlNext.injectIntl)(RowControlsComponent);
124
+ var RowControls = exports.RowControls = (0, _reactIntl.injectIntl)(RowControlsComponent);
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.FullWidthDisplay = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
- var _reactIntlNext = require("react-intl-next");
9
+ var _reactIntl = require("react-intl");
10
10
  var _messages = require("@atlaskit/editor-common/messages");
11
11
  var _primitives = require("@atlaskit/primitives");
12
12
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
@@ -31,7 +31,7 @@ var tableFullWidthLabelStyles = (0, _primitives.xcss)({
31
31
  paddingBottom: 'space.050'
32
32
  });
33
33
  var FullWidthDisplay = exports.FullWidthDisplay = function FullWidthDisplay() {
34
- var _useIntl = (0, _reactIntlNext.useIntl)(),
34
+ var _useIntl = (0, _reactIntl.useIntl)(),
35
35
  formatMessage = _useIntl.formatMessage;
36
36
  return /*#__PURE__*/_react.default.createElement(_primitives.Box, {
37
37
  xcss: tableFullWidthLabelWrapperStyles
@@ -2,7 +2,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import React from 'react';
3
3
  import classnames from 'classnames';
4
4
  import rafSchedule from 'raf-schd';
5
- import { injectIntl } from 'react-intl-next';
5
+ import { injectIntl } from 'react-intl';
6
6
  import { getBrowserInfo } from '@atlaskit/editor-common/browser';
7
7
  import { tintDirtyTransaction } from '@atlaskit/editor-common/collab';
8
8
  import { getParentOfTypeCount } from '@atlaskit/editor-common/nesting';
@@ -1,6 +1,6 @@
1
1
  import React, { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react';
2
2
  import rafSchd from 'raf-schd';
3
- import { useIntl } from 'react-intl-next';
3
+ import { useIntl } from 'react-intl';
4
4
  import { CHANGE_ALIGNMENT_REASON, INPUT_METHOD, TABLE_OVERFLOW_CHANGE_TRIGGER } from '@atlaskit/editor-common/analytics';
5
5
  import { getBrowserInfo } from '@atlaskit/editor-common/browser';
6
6
  import { getGuidelinesWithHighlights } from '@atlaskit/editor-common/guideline';
@@ -1,5 +1,5 @@
1
1
  import { createElement } from 'react';
2
- import { RawIntlProvider } from 'react-intl-next';
2
+ import { RawIntlProvider } from 'react-intl';
3
3
  // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
4
4
  import uuid from 'uuid/v4';
5
5
  import { nonNullable } from '@atlaskit/editor-common/utils';
@@ -5,7 +5,7 @@
5
5
  */
6
6
 
7
7
  import { createElement } from 'react';
8
- import { RawIntlProvider } from 'react-intl-next';
8
+ import { RawIntlProvider } from 'react-intl';
9
9
  // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
10
10
  import uuid from 'uuid/v4';
11
11
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
@@ -5,7 +5,7 @@ import _extends from "@babel/runtime/helpers/extends";
5
5
  */
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { jsx } from '@emotion/react';
8
- import { useIntl } from 'react-intl-next';
8
+ import { useIntl } from 'react-intl';
9
9
  import { startColumnResizing, ToolTipContent } from '@atlaskit/editor-common/keymaps';
10
10
  import { tableMessages as messages } from '@atlaskit/editor-common/messages';
11
11
  import Tooltip from '@atlaskit/tooltip';
@@ -3,7 +3,7 @@
3
3
  import React, { useEffect, useMemo, useRef, useState } from 'react';
4
4
  import classnames from 'classnames';
5
5
  import ReactDOM from 'react-dom';
6
- import { injectIntl } from 'react-intl-next';
6
+ import { injectIntl } from 'react-intl';
7
7
  import { getBrowserInfo } from '@atlaskit/editor-common/browser';
8
8
  import { tableMessages as messages } from '@atlaskit/editor-common/messages';
9
9
  import { TextSelection } from '@atlaskit/editor-prosemirror/state';
@@ -5,7 +5,7 @@
5
5
  import React, { useEffect } from 'react';
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { css, jsx } from '@emotion/react';
8
- import { injectIntl } from 'react-intl-next';
8
+ import { injectIntl } from 'react-intl';
9
9
  import { ACTION_SUBJECT } from '@atlaskit/editor-common/analytics';
10
10
  import { ErrorBoundary } from '@atlaskit/editor-common/error-boundary';
11
11
  import { focusToContextMenuTrigger } from '@atlaskit/editor-common/keymaps';
@@ -7,7 +7,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
7
7
  import React, { Component } from 'react';
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
9
  import { jsx } from '@emotion/react';
10
- import { injectIntl } from 'react-intl-next';
10
+ import { injectIntl } from 'react-intl';
11
11
  import { TableSortOrder as SortOrder } from '@atlaskit/custom-steps';
12
12
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
13
13
  import { addColumnAfter, addRowAfter, backspace, tooltip } from '@atlaskit/editor-common/keymaps';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { injectIntl } from 'react-intl-next';
2
+ import { injectIntl } from 'react-intl';
3
3
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
4
4
  import { TableCssClassName as ClassName } from '../../types';
5
5
  const DeleteButton = ({
@@ -8,7 +8,7 @@ import React, { useEffect, useState } from 'react';
8
8
 
9
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
10
10
  import { jsx } from '@emotion/react';
11
- import { injectIntl } from 'react-intl-next';
11
+ import { injectIntl } from 'react-intl';
12
12
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
13
13
  import { tableMessages as messages } from '@atlaskit/editor-common/messages';
14
14
  import { DropdownMenuSharedCssClassName } from '@atlaskit/editor-common/styles';
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import classnames from 'classnames';
5
- import { injectIntl } from 'react-intl-next';
5
+ import { injectIntl } from 'react-intl';
6
6
  import { addColumnAfter, addRowAfter, ToolTipContent } from '@atlaskit/editor-common/keymaps';
7
7
  import { tableMessages as messages } from '@atlaskit/editor-common/messages';
8
8
  import { tableMarginTop } from '@atlaskit/editor-common/styles';
@@ -1,7 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import React from 'react';
4
- import { injectIntl } from 'react-intl-next';
4
+ import { injectIntl } from 'react-intl';
5
5
  import { ACTION, ACTION_SUBJECT, CONTENT_COMPONENT, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
6
6
  import { Popup } from '@atlaskit/editor-common/ui';
7
7
  import { closestElement } from '@atlaskit/editor-common/utils';
@@ -1,7 +1,7 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import React, { Component } from 'react';
3
3
  import classnames from 'classnames';
4
- import { injectIntl } from 'react-intl-next';
4
+ import { injectIntl } from 'react-intl';
5
5
  import { tableMessages as messages } from '@atlaskit/editor-common/messages';
6
6
  import { TableMap } from '@atlaskit/editor-tables/table-map';
7
7
  import { findTable, isTableSelected, selectTable } from '@atlaskit/editor-tables/utils';
@@ -1,6 +1,6 @@
1
1
  import React, { useMemo } from 'react';
2
2
  import classnames from 'classnames';
3
- import { injectIntl } from 'react-intl-next';
3
+ import { injectIntl } from 'react-intl';
4
4
  import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
5
5
  import { tableMessages as messages } from '@atlaskit/editor-common/messages';
6
6
  import { findTable, isTableSelected, selectTable } from '@atlaskit/editor-tables/utils';
@@ -1,6 +1,6 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import React, { Component } from 'react';
3
- import { injectIntl } from 'react-intl-next';
3
+ import { injectIntl } from 'react-intl';
4
4
  import { tableMessages as messages } from '@atlaskit/editor-common/messages';
5
5
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
6
6
  import { clearHoverSelection } from '../../../pm-plugins/commands';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { useIntl } from 'react-intl-next';
2
+ import { useIntl } from 'react-intl';
3
3
  import { tableMessages as messages } from '@atlaskit/editor-common/messages';
4
4
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
5
5
  import { Box, Inline, xcss } from '@atlaskit/primitives';
@@ -15,7 +15,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
15
15
  import React from 'react';
16
16
  import classnames from 'classnames';
17
17
  import rafSchedule from 'raf-schd';
18
- import { injectIntl } from 'react-intl-next';
18
+ import { injectIntl } from 'react-intl';
19
19
  import { getBrowserInfo } from '@atlaskit/editor-common/browser';
20
20
  import { tintDirtyTransaction } from '@atlaskit/editor-common/collab';
21
21
  import { getParentOfTypeCount } from '@atlaskit/editor-common/nesting';
@@ -4,7 +4,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
4
4
  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) { _defineProperty(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; }
5
5
  import React, { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react';
6
6
  import rafSchd from 'raf-schd';
7
- import { useIntl } from 'react-intl-next';
7
+ import { useIntl } from 'react-intl';
8
8
  import { CHANGE_ALIGNMENT_REASON, INPUT_METHOD, TABLE_OVERFLOW_CHANGE_TRIGGER } from '@atlaskit/editor-common/analytics';
9
9
  import { getBrowserInfo } from '@atlaskit/editor-common/browser';
10
10
  import { getGuidelinesWithHighlights } from '@atlaskit/editor-common/guideline';
@@ -1,6 +1,6 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  import { createElement } from 'react';
3
- import { RawIntlProvider } from 'react-intl-next';
3
+ import { RawIntlProvider } from 'react-intl';
4
4
  // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
5
5
  import uuid from 'uuid/v4';
6
6
  import { nonNullable } from '@atlaskit/editor-common/utils';
@@ -13,7 +13,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
13
13
  */
14
14
 
15
15
  import { createElement } from 'react';
16
- import { RawIntlProvider } from 'react-intl-next';
16
+ import { RawIntlProvider } from 'react-intl';
17
17
  // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
18
18
  import uuid from 'uuid/v4';
19
19
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
@@ -5,7 +5,7 @@ import _extends from "@babel/runtime/helpers/extends";
5
5
  */
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { jsx } from '@emotion/react';
8
- import { useIntl } from 'react-intl-next';
8
+ import { useIntl } from 'react-intl';
9
9
  import { startColumnResizing, ToolTipContent } from '@atlaskit/editor-common/keymaps';
10
10
  import { tableMessages as messages } from '@atlaskit/editor-common/messages';
11
11
  import Tooltip from '@atlaskit/tooltip';
@@ -5,7 +5,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
5
5
  import React, { useEffect, useMemo, useRef, useState } from 'react';
6
6
  import classnames from 'classnames';
7
7
  import ReactDOM from 'react-dom';
8
- import { injectIntl } from 'react-intl-next';
8
+ import { injectIntl } from 'react-intl';
9
9
  import { getBrowserInfo } from '@atlaskit/editor-common/browser';
10
10
  import { tableMessages as messages } from '@atlaskit/editor-common/messages';
11
11
  import { TextSelection } from '@atlaskit/editor-prosemirror/state';
@@ -5,7 +5,7 @@
5
5
  import React, { useEffect } from 'react';
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { css, jsx } from '@emotion/react';
8
- import { injectIntl } from 'react-intl-next';
8
+ import { injectIntl } from 'react-intl';
9
9
  import { ACTION_SUBJECT } from '@atlaskit/editor-common/analytics';
10
10
  import { ErrorBoundary } from '@atlaskit/editor-common/error-boundary';
11
11
  import { focusToContextMenuTrigger } from '@atlaskit/editor-common/keymaps';
@@ -17,7 +17,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
17
17
  import React, { Component } from 'react';
18
18
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
19
19
  import { jsx } from '@emotion/react';
20
- import { injectIntl } from 'react-intl-next';
20
+ import { injectIntl } from 'react-intl';
21
21
  import { TableSortOrder as SortOrder } from '@atlaskit/custom-steps';
22
22
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
23
23
  import { addColumnAfter, addRowAfter, backspace, tooltip } from '@atlaskit/editor-common/keymaps';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { injectIntl } from 'react-intl-next';
2
+ import { injectIntl } from 'react-intl';
3
3
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
4
4
  import { TableCssClassName as ClassName } from '../../types';
5
5
  var DeleteButton = function DeleteButton(_ref) {
@@ -10,7 +10,7 @@ import React, { useEffect, useState } from 'react';
10
10
 
11
11
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
12
  import { jsx } from '@emotion/react';
13
- import { injectIntl } from 'react-intl-next';
13
+ import { injectIntl } from 'react-intl';
14
14
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
15
15
  import { tableMessages as messages } from '@atlaskit/editor-common/messages';
16
16
  import { DropdownMenuSharedCssClassName } from '@atlaskit/editor-common/styles';
@@ -3,7 +3,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
 
4
4
  import React from 'react';
5
5
  import classnames from 'classnames';
6
- import { injectIntl } from 'react-intl-next';
6
+ import { injectIntl } from 'react-intl';
7
7
  import { addColumnAfter, addRowAfter, ToolTipContent } from '@atlaskit/editor-common/keymaps';
8
8
  import { tableMessages as messages } from '@atlaskit/editor-common/messages';
9
9
  import { tableMarginTop } from '@atlaskit/editor-common/styles';
@@ -8,7 +8,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
8
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  import React from 'react';
11
- import { injectIntl } from 'react-intl-next';
11
+ import { injectIntl } from 'react-intl';
12
12
  import { ACTION, ACTION_SUBJECT, CONTENT_COMPONENT, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
13
13
  import { Popup } from '@atlaskit/editor-common/ui';
14
14
  import { closestElement } from '@atlaskit/editor-common/utils';
@@ -8,7 +8,7 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
8
8
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
9
9
  import React, { Component } from 'react';
10
10
  import classnames from 'classnames';
11
- import { injectIntl } from 'react-intl-next';
11
+ import { injectIntl } from 'react-intl';
12
12
  import { tableMessages as messages } from '@atlaskit/editor-common/messages';
13
13
  import { TableMap } from '@atlaskit/editor-tables/table-map';
14
14
  import { findTable, isTableSelected, selectTable } from '@atlaskit/editor-tables/utils';
@@ -1,6 +1,6 @@
1
1
  import React, { useMemo } from 'react';
2
2
  import classnames from 'classnames';
3
- import { injectIntl } from 'react-intl-next';
3
+ import { injectIntl } from 'react-intl';
4
4
  import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
5
5
  import { tableMessages as messages } from '@atlaskit/editor-common/messages';
6
6
  import { findTable, isTableSelected, selectTable } from '@atlaskit/editor-tables/utils';