@atlaskit/renderer 129.0.0 → 130.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 (67) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/cjs/messages.js +4 -4
  3. package/dist/cjs/react/hooks/use-bidi-warnings.js +2 -2
  4. package/dist/cjs/react/marks/code.js +2 -2
  5. package/dist/cjs/react/nodes/codeBlock/codeBlock.js +2 -2
  6. package/dist/cjs/react/nodes/codeBlock/components/codeBlockCopyButton.js +2 -2
  7. package/dist/cjs/react/nodes/codeBlock/components/codeBlockWrapButton.js +2 -2
  8. package/dist/cjs/react/nodes/date.js +2 -2
  9. package/dist/cjs/react/nodes/heading-anchor.js +2 -2
  10. package/dist/cjs/react/nodes/mediaInline.js +2 -2
  11. package/dist/cjs/react/nodes/mediaSingle/index.js +2 -2
  12. package/dist/cjs/react/nodes/table.js +2 -2
  13. package/dist/cjs/react/nodes/tableCell.js +2 -2
  14. package/dist/cjs/ui/Expand.js +2 -2
  15. package/dist/cjs/ui/Renderer/index.js +1 -1
  16. package/dist/cjs/ui/annotations/element/mark.js +2 -2
  17. package/dist/es2019/messages.js +1 -1
  18. package/dist/es2019/react/hooks/use-bidi-warnings.js +1 -1
  19. package/dist/es2019/react/marks/code.js +1 -1
  20. package/dist/es2019/react/nodes/codeBlock/codeBlock.js +1 -1
  21. package/dist/es2019/react/nodes/codeBlock/components/codeBlockCopyButton.js +1 -1
  22. package/dist/es2019/react/nodes/codeBlock/components/codeBlockWrapButton.js +1 -1
  23. package/dist/es2019/react/nodes/date.js +1 -1
  24. package/dist/es2019/react/nodes/heading-anchor.js +1 -1
  25. package/dist/es2019/react/nodes/mediaInline.js +1 -1
  26. package/dist/es2019/react/nodes/mediaSingle/index.js +1 -1
  27. package/dist/es2019/react/nodes/table.js +1 -1
  28. package/dist/es2019/react/nodes/tableCell.js +1 -1
  29. package/dist/es2019/ui/Expand.js +1 -1
  30. package/dist/es2019/ui/Renderer/index.js +1 -1
  31. package/dist/es2019/ui/annotations/element/mark.js +1 -1
  32. package/dist/esm/messages.js +1 -1
  33. package/dist/esm/react/hooks/use-bidi-warnings.js +1 -1
  34. package/dist/esm/react/marks/code.js +1 -1
  35. package/dist/esm/react/nodes/codeBlock/codeBlock.js +1 -1
  36. package/dist/esm/react/nodes/codeBlock/components/codeBlockCopyButton.js +1 -1
  37. package/dist/esm/react/nodes/codeBlock/components/codeBlockWrapButton.js +1 -1
  38. package/dist/esm/react/nodes/date.js +1 -1
  39. package/dist/esm/react/nodes/heading-anchor.js +1 -1
  40. package/dist/esm/react/nodes/mediaInline.js +1 -1
  41. package/dist/esm/react/nodes/mediaSingle/index.js +1 -1
  42. package/dist/esm/react/nodes/table.js +1 -1
  43. package/dist/esm/react/nodes/tableCell.js +1 -1
  44. package/dist/esm/ui/Expand.js +1 -1
  45. package/dist/esm/ui/Renderer/index.js +1 -1
  46. package/dist/esm/ui/annotations/element/mark.js +1 -1
  47. package/dist/types/react/marks/code.d.ts +2 -2
  48. package/dist/types/react/nodes/codeBlock/codeBlock.d.ts +2 -2
  49. package/dist/types/react/nodes/codeBlock/components/codeBlockCopyButton.d.ts +2 -2
  50. package/dist/types/react/nodes/codeBlock/components/codeBlockWrapButton.d.ts +2 -2
  51. package/dist/types/react/nodes/date.d.ts +2 -2
  52. package/dist/types/react/nodes/heading-anchor.d.ts +2 -2
  53. package/dist/types/react/nodes/index.d.ts +5 -5
  54. package/dist/types/react/nodes/mediaInline.d.ts +2 -2
  55. package/dist/types/react/nodes/mediaSingle/index.d.ts +2 -2
  56. package/dist/types/ui/Expand.d.ts +2 -2
  57. package/dist/types-ts4.5/react/marks/code.d.ts +2 -2
  58. package/dist/types-ts4.5/react/nodes/codeBlock/codeBlock.d.ts +2 -2
  59. package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockCopyButton.d.ts +2 -2
  60. package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockWrapButton.d.ts +2 -2
  61. package/dist/types-ts4.5/react/nodes/date.d.ts +2 -2
  62. package/dist/types-ts4.5/react/nodes/heading-anchor.d.ts +2 -2
  63. package/dist/types-ts4.5/react/nodes/index.d.ts +5 -5
  64. package/dist/types-ts4.5/react/nodes/mediaInline.d.ts +2 -2
  65. package/dist/types-ts4.5/react/nodes/mediaSingle/index.d.ts +2 -2
  66. package/dist/types-ts4.5/ui/Expand.d.ts +2 -2
  67. package/package.json +5 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 130.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
  ## 129.0.0
4
23
 
5
24
  ### Patch Changes
@@ -4,11 +4,11 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.tableCellMessages = exports.inlineCommentMessages = exports.headingAnchorLinkMessages = void 0;
7
- var _reactIntlNext = require("react-intl-next");
7
+ var _reactIntl = require("react-intl");
8
8
  /* eslint-disable @atlaskit/editor/no-re-export */
9
9
  // Entry file in package.json
10
10
 
11
- var headingAnchorLinkMessages = exports.headingAnchorLinkMessages = (0, _reactIntlNext.defineMessages)({
11
+ var headingAnchorLinkMessages = exports.headingAnchorLinkMessages = (0, _reactIntl.defineMessages)({
12
12
  copyHeadingLinkToClipboard: {
13
13
  id: 'fabric.editor.headingLink.copyAnchorLink',
14
14
  defaultMessage: 'Copy link to heading',
@@ -40,7 +40,7 @@ var headingAnchorLinkMessages = exports.headingAnchorLinkMessages = (0, _reactIn
40
40
  description: 'Aria label for the copy link button displayed next to a heading. Used by screen readers to describe the button that copies the heading anchor link to the clipboard.'
41
41
  }
42
42
  });
43
- var tableCellMessages = exports.tableCellMessages = (0, _reactIntlNext.defineMessages)({
43
+ var tableCellMessages = exports.tableCellMessages = (0, _reactIntl.defineMessages)({
44
44
  noneSortingLabel: {
45
45
  id: 'fabric.editor.headingLink.noneSortingLabel',
46
46
  defaultMessage: 'none',
@@ -57,7 +57,7 @@ var tableCellMessages = exports.tableCellMessages = (0, _reactIntlNext.defineMes
57
57
  description: 'this table column is sorted in descending order'
58
58
  }
59
59
  });
60
- var inlineCommentMessages = exports.inlineCommentMessages = (0, _reactIntlNext.defineMessages)({
60
+ var inlineCommentMessages = exports.inlineCommentMessages = (0, _reactIntl.defineMessages)({
61
61
  contentRendererInlineCommentMarkerStart: {
62
62
  id: 'fabric.editor.inlineComment.marker.start',
63
63
  defaultMessage: 'inline comment start',
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.useBidiWarnings = 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 _bidiWarning = _interopRequireDefault(require("@atlaskit/code/bidi-warning"));
11
11
  var _messages = require("@atlaskit/editor-common/messages");
12
12
  var _bidiWarningDecorator = _interopRequireDefault(require("@atlaskit/code/bidi-warning-decorator"));
@@ -14,7 +14,7 @@ var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
14
14
  var useBidiWarnings = exports.useBidiWarnings = function useBidiWarnings(_ref) {
15
15
  var _ref$enableWarningToo = _ref.enableWarningTooltip,
16
16
  enableWarningTooltip = _ref$enableWarningToo === void 0 ? true : _ref$enableWarningToo;
17
- var intl = (0, _reactIntlNext.useIntl)();
17
+ var intl = (0, _reactIntl.useIntl)();
18
18
  var warningLabel = intl.formatMessage(_messages.codeBidiWarningMessages.label);
19
19
  var renderBidiWarnings = function renderBidiWarnings(text) {
20
20
  if ((0, _expValEquals.expValEquals)('platform_editor_remove_bidi_char_warning', 'isEnabled', true)) {
@@ -8,7 +8,7 @@ exports.CodeWithIntl = CodeWithIntl;
8
8
  exports.isCodeMark = exports.default = void 0;
9
9
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
10
  var _react = _interopRequireDefault(require("react"));
11
- var _reactIntlNext = require("react-intl-next");
11
+ var _reactIntl = require("react-intl");
12
12
  var _inline = _interopRequireDefault(require("@atlaskit/code/inline"));
13
13
  var _messages = require("@atlaskit/editor-common/messages");
14
14
  var isCodeMark = exports.isCodeMark = function isCodeMark(mark) {
@@ -26,4 +26,4 @@ function CodeWithIntl(props) {
26
26
  // eslint-disable-next-line react/jsx-props-no-spreading
27
27
  }, props.dataAttributes), props.children);
28
28
  }
29
- var _default = exports.default = (0, _reactIntlNext.injectIntl)(CodeWithIntl);
29
+ var _default = exports.default = (0, _reactIntl.injectIntl)(CodeWithIntl);
@@ -8,7 +8,7 @@ exports.default = void 0;
8
8
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
9
9
  var _react = 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 _styles = require("@atlaskit/editor-common/styles");
13
13
  var _code = require("@atlaskit/code");
14
14
  var _messages = require("@atlaskit/editor-common/messages");
@@ -56,4 +56,4 @@ function CodeBlock(props) {
56
56
  hasBidiWarnings: (0, _expValEquals.expValEquals)('platform_editor_remove_bidi_char_warning', 'isEnabled', true) ? false : undefined
57
57
  }));
58
58
  }
59
- var _default = exports.default = (0, _reactIntlNext.injectIntl)(CodeBlock);
59
+ var _default = exports.default = (0, _reactIntl.injectIntl)(CodeBlock);
@@ -13,7 +13,7 @@ var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
13
13
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
14
14
  var _react = require("@emotion/react");
15
15
  var _react2 = require("react");
16
- var _reactIntlNext = require("react-intl-next");
16
+ var _reactIntl = require("react-intl");
17
17
  var _analyticsContext = _interopRequireDefault(require("../../../../analytics/analyticsContext"));
18
18
  var _enums = require("../../../../analytics/enums");
19
19
  var _clipboard = require("../../../utils/clipboard");
@@ -78,4 +78,4 @@ var CopyButton = function CopyButton(_ref) {
78
78
  }))));
79
79
  });
80
80
  };
81
- var _default = exports.default = (0, _reactIntlNext.injectIntl)(CopyButton);
81
+ var _default = exports.default = (0, _reactIntl.injectIntl)(CopyButton);
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _react = require("@emotion/react");
9
- var _reactIntlNext = require("react-intl-next");
9
+ var _reactIntl = require("react-intl");
10
10
  var _textWrap = _interopRequireDefault(require("@atlaskit/icon/core/text-wrap"));
11
11
  var _customThemeButton = _interopRequireDefault(require("@atlaskit/button/custom-theme-button"));
12
12
  var _messages = require("@atlaskit/editor-common/messages");
@@ -62,4 +62,4 @@ var CodeBlockWrapButton = function CodeBlockWrapButton(_ref) {
62
62
  })));
63
63
  });
64
64
  };
65
- var _default = exports.default = (0, _reactIntlNext.injectIntl)(CodeBlockWrapButton);
65
+ var _default = exports.default = (0, _reactIntl.injectIntl)(CodeBlockWrapButton);
@@ -12,7 +12,7 @@ var _react = _interopRequireWildcard(require("react"));
12
12
  var _styles = require("@atlaskit/editor-common/styles");
13
13
  var _utils = require("@atlaskit/editor-common/utils");
14
14
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
15
- var _reactIntlNext = require("react-intl-next");
15
+ var _reactIntl = require("react-intl");
16
16
  var _rendererContext = require("../../renderer-context");
17
17
  var _TaskItemsFormatContext = require("../../ui/TaskItemsFormatContext/TaskItemsFormatContext");
18
18
  var _useInlineAnnotationProps = require("../../ui/annotations/element/useInlineAnnotationProps");
@@ -38,7 +38,7 @@ var Date = /*#__PURE__*/(0, _react.memo)(function Date(props) {
38
38
  "data-timestamp": timestamp
39
39
  }, parentIsIncompleteTask ? (0, _utils.timestampToTaskContext)(timestamp, intl, timeZone) : (0, _utils.timestampToString)(timestamp, intl)));
40
40
  });
41
- var DateComponent = exports.DateComponent = (0, _reactIntlNext.injectIntl)(Date);
41
+ var DateComponent = exports.DateComponent = (0, _reactIntl.injectIntl)(Date);
42
42
  function DateWithFormatContext(props) {
43
43
  var _useTaskItemsFormatCo = (0, _TaskItemsFormatContext.useTaskItemsFormatContext)(),
44
44
  _useTaskItemsFormatCo2 = (0, _slicedToArray2.default)(_useTaskItemsFormatCo, 1),
@@ -17,7 +17,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
17
17
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
18
18
  var _react = _interopRequireDefault(require("react"));
19
19
  var _react2 = require("@emotion/react");
20
- var _reactIntlNext = require("react-intl-next");
20
+ var _reactIntl = require("react-intl");
21
21
  var _link = _interopRequireDefault(require("@atlaskit/icon/core/link"));
22
22
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
23
23
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
@@ -164,4 +164,4 @@ var HeadingAnchor = /*#__PURE__*/function (_React$PureComponent) {
164
164
  }
165
165
  }]);
166
166
  }(_react.default.PureComponent);
167
- var _default = exports.default = (0, _reactIntlNext.injectIntl)(HeadingAnchor);
167
+ var _default = exports.default = (0, _reactIntl.injectIntl)(HeadingAnchor);
@@ -17,7 +17,7 @@ var _mediaCard = require("@atlaskit/media-card");
17
17
  var _mediaClientReact = require("@atlaskit/media-client-react");
18
18
  var _mediaUi = require("@atlaskit/media-ui");
19
19
  var _react = _interopRequireWildcard(require("react"));
20
- var _reactIntlNext = require("react-intl-next");
20
+ var _reactIntl = require("react-intl");
21
21
  var _MediaCard = require("../../ui/MediaCard");
22
22
  var _analyticsNext = require("@atlaskit/analytics-next");
23
23
  var _ErrorBoundary = require("../../ui/Renderer/ErrorBoundary");
@@ -212,4 +212,4 @@ var MediaInline = function MediaInline(props) {
212
212
  featureFlags: featureFlags
213
213
  });
214
214
  };
215
- var _default = exports.default = (0, _reactIntlNext.injectIntl)(MediaInline);
215
+ var _default = exports.default = (0, _reactIntl.injectIntl)(MediaInline);
@@ -10,7 +10,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
10
10
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
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 _ui = require("@atlaskit/editor-common/ui");
15
15
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
16
16
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
@@ -288,4 +288,4 @@ var MediaSingle = function MediaSingle(props) {
288
288
  caption: caption
289
289
  }));
290
290
  };
291
- var _default = exports.default = (0, _reactIntlNext.injectIntl)(MediaSingle);
291
+ var _default = exports.default = (0, _reactIntl.injectIntl)(MediaSingle);
@@ -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 _styles = require("@atlaskit/editor-common/styles");
19
19
  var _messages = require("@atlaskit/editor-common/messages");
20
20
  var _ui = require("@atlaskit/editor-common/ui");
@@ -145,7 +145,7 @@ var TableWrapper = function TableWrapper(_ref2) {
145
145
  onScroll = _ref2.onScroll,
146
146
  stickyHeaders = _ref2.stickyHeaders,
147
147
  tabIndex = _ref2.tabIndex;
148
- var _useIntl = (0, _reactIntlNext.useIntl)(),
148
+ var _useIntl = (0, _reactIntl.useIntl)(),
149
149
  formatMessage = _useIntl.formatMessage;
150
150
  var isScrollableRegion = tabIndex !== undefined;
151
151
  return /*#__PURE__*/_react.default.createElement("div", {
@@ -15,7 +15,7 @@ var _table = require("@atlaskit/editor-common/table");
15
15
  var _events = require("../../analytics/events");
16
16
  var _analytics = require("@atlaskit/editor-common/analytics");
17
17
  var _consts = require("../../consts");
18
- var _reactIntlNext = require("react-intl-next");
18
+ var _reactIntl = require("react-intl");
19
19
  var _messages = require("../../messages");
20
20
  var IgnoreSorting = ['LABEL', 'INPUT'];
21
21
  var nextStatusOrder = function nextStatusOrder(currentSortOrder) {
@@ -182,7 +182,7 @@ var getWithCellProps = function getWithCellProps(WrapperComponent) {
182
182
  var TH = getWithCellProps('th');
183
183
  var withSortableColumn = exports.withSortableColumn = function withSortableColumn(WrapperComponent) {
184
184
  return function THWithSortableColumn(props) {
185
- var intl = (0, _reactIntlNext.useIntl)();
185
+ var intl = (0, _reactIntl.useIntl)();
186
186
  var allowColumnSorting = props.allowColumnSorting,
187
187
  onSorting = props.onSorting,
188
188
  children = props.children,
@@ -16,7 +16,7 @@ var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/core/chevron-
16
16
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
17
17
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
18
18
  var _uniqueId2 = _interopRequireDefault(require("lodash/uniqueId"));
19
- var _reactIntlNext = require("react-intl-next");
19
+ var _reactIntl = require("react-intl");
20
20
  var _events = require("../analytics/events");
21
21
  var _activeHeaderIdProvider = require("./active-header-id-provider");
22
22
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
@@ -303,4 +303,4 @@ function Expand(_ref2) {
303
303
  fallback: (0, _react.jsx)("div", null, intl.formatMessage(_ui.expandMessages.loading))
304
304
  }, (0, _react.jsx)(LazyChildren, null, children)) : null : children))));
305
305
  }
306
- var _default2 = exports.default = (0, _reactIntlNext.injectIntl)(Expand);
306
+ var _default2 = exports.default = (0, _reactIntl.injectIntl)(Expand);
@@ -71,7 +71,7 @@ var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
71
71
  var TABLE_INFO_TIMEOUT = 10000;
72
72
  var RENDER_EVENT_SAMPLE_RATE = 0.2;
73
73
  var packageName = "@atlaskit/renderer";
74
- var packageVersion = "0.0.0-development";
74
+ var packageVersion = "129.0.0";
75
75
  var setAsQueryContainerStyles = (0, _react2.css)({
76
76
  containerName: 'ak-renderer-wrapper',
77
77
  containerType: 'inline-size'
@@ -11,7 +11,7 @@ var _react = require("react");
11
11
  var _react2 = require("@emotion/react");
12
12
  var _adfSchema = require("@atlaskit/adf-schema");
13
13
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
14
- var _reactIntlNext = require("react-intl-next");
14
+ var _reactIntl = require("react-intl");
15
15
  var _messages = require("../../../messages");
16
16
  var _AnnotationManagerContext = require("../contexts/AnnotationManagerContext");
17
17
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -141,7 +141,7 @@ var MarkComponent = exports.MarkComponent = function MarkComponent(_ref) {
141
141
  isHovered = _ref.isHovered,
142
142
  onClick = _ref.onClick,
143
143
  useBlockLevel = _ref.useBlockLevel;
144
- var intl = (0, _reactIntlNext.useIntl)();
144
+ var intl = (0, _reactIntl.useIntl)();
145
145
  var annotationIds = (0, _react.useMemo)(function () {
146
146
  return (0, _toConsumableArray2.default)(new Set([].concat((0, _toConsumableArray2.default)(annotationParentIds), [id])));
147
147
  }, [id, annotationParentIds]);
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
2
  // Entry file in package.json
3
3
 
4
- import { defineMessages } from 'react-intl-next';
4
+ import { defineMessages } from 'react-intl';
5
5
  export const headingAnchorLinkMessages = defineMessages({
6
6
  copyHeadingLinkToClipboard: {
7
7
  id: 'fabric.editor.headingLink.copyAnchorLink',
@@ -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 CodeBidiWarning from '@atlaskit/code/bidi-warning';
4
4
  import { codeBidiWarningMessages } from '@atlaskit/editor-common/messages';
5
5
  import codeBidiWarningDecorator from '@atlaskit/code/bidi-warning-decorator';
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import { injectIntl } from 'react-intl-next';
3
+ import { injectIntl } from 'react-intl';
4
4
  import AkCode from '@atlaskit/code/inline';
5
5
  import { codeBidiWarningMessages } from '@atlaskit/editor-common/messages';
6
6
  export const isCodeMark = mark => {
@@ -5,7 +5,7 @@
5
5
  import { useState } from 'react';
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 { injectIntl } from 'react-intl-next';
8
+ import { injectIntl } from 'react-intl';
9
9
  import { CodeBlockSharedCssClassName } from '@atlaskit/editor-common/styles';
10
10
  import { CodeBlock as AkCodeBlock } from '@atlaskit/code';
11
11
  import { codeBidiWarningMessages } from '@atlaskit/editor-common/messages';
@@ -10,7 +10,7 @@ import Tooltip from '@atlaskit/tooltip';
10
10
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
11
  import { jsx } from '@emotion/react';
12
12
  import { useState } from 'react';
13
- import { injectIntl } from 'react-intl-next';
13
+ import { injectIntl } from 'react-intl';
14
14
  import AnalyticsContext from '../../../../analytics/analyticsContext';
15
15
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '../../../../analytics/enums';
16
16
  import { copyTextToClipboard } from '../../../utils/clipboard';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
6
  import { jsx } from '@emotion/react';
7
- import { injectIntl } from 'react-intl-next';
7
+ import { injectIntl } from 'react-intl';
8
8
  import TextWrapIcon from '@atlaskit/icon/core/text-wrap';
9
9
  import Button from '@atlaskit/button/custom-theme-button';
10
10
  import { codeBlockButtonMessages } from '@atlaskit/editor-common/messages';
@@ -3,7 +3,7 @@ import React, { memo } from 'react';
3
3
  import { DateSharedCssClassName } from '@atlaskit/editor-common/styles';
4
4
  import { isPastDate, timestampToString, timestampToTaskContext } from '@atlaskit/editor-common/utils';
5
5
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
6
- import { injectIntl } from 'react-intl-next';
6
+ import { injectIntl } from 'react-intl';
7
7
  import { useRendererContext } from '../../renderer-context';
8
8
  import { useTaskItemsFormatContext } from '../../ui/TaskItemsFormatContext/TaskItemsFormatContext';
9
9
  import { useInlineAnnotationProps } from '../../ui/annotations/element/useInlineAnnotationProps';
@@ -8,7 +8,7 @@ import _extends from "@babel/runtime/helpers/extends";
8
8
  import React from 'react';
9
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
10
10
  import { css, jsx } from '@emotion/react';
11
- import { injectIntl } from 'react-intl-next';
11
+ import { injectIntl } from 'react-intl';
12
12
  import LinkIcon from '@atlaskit/icon/core/link';
13
13
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
14
14
  import Tooltip from '@atlaskit/tooltip';
@@ -5,7 +5,7 @@ import { MediaInlineCard } from '@atlaskit/media-card';
5
5
  import { MediaClientContext, getMediaClient } from '@atlaskit/media-client-react';
6
6
  import { MediaInlineCardLoadingView } from '@atlaskit/media-ui';
7
7
  import React, { useCallback, useEffect, useState, useContext } from 'react';
8
- import { injectIntl } from 'react-intl-next';
8
+ import { injectIntl } from 'react-intl';
9
9
  import { getClipboardAttrs, mediaIdentifierMap } from '../../ui/MediaCard';
10
10
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
11
11
  import { ErrorBoundary } from '../../ui/Renderer/ErrorBoundary';
@@ -7,7 +7,7 @@ import _extends from "@babel/runtime/helpers/extends";
7
7
  import { default as React, Fragment, useCallback, useContext, useMemo, useEffect } from 'react';
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
9
  import { css, jsx } from '@emotion/react';
10
- import { injectIntl } from 'react-intl-next';
10
+ import { injectIntl } from 'react-intl';
11
11
  import { MediaSingle as UIMediaSingle, WidthContext } from '@atlaskit/editor-common/ui';
12
12
  import { fg } from '@atlaskit/platform-feature-flags';
13
13
  import { akEditorFullWidthLayoutWidth, akEditorDefaultLayoutWidth, akEditorWideLayoutWidth } from '@atlaskit/editor-shared-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 { useIntl } from 'react-intl-next';
4
+ import { useIntl } from 'react-intl';
5
5
  import { TableSharedCssClassName, tableMarginTop } from '@atlaskit/editor-common/styles';
6
6
  import { tableMessages } from '@atlaskit/editor-common/messages';
7
7
  import { WidthConsumer, overflowShadow } from '@atlaskit/editor-common/ui';
@@ -8,7 +8,7 @@ import { SortingIcon } from '@atlaskit/editor-common/table';
8
8
  import { MODE, PLATFORM } from '../../analytics/events';
9
9
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
10
10
  import { RendererCssClassName } from '../../consts';
11
- import { useIntl } from 'react-intl-next';
11
+ import { useIntl } from 'react-intl';
12
12
  import { tableCellMessages } from '../../messages';
13
13
  const IgnoreSorting = ['LABEL', 'INPUT'];
14
14
  const nextStatusOrder = currentSortOrder => {
@@ -13,7 +13,7 @@ import ChevronRightIcon from '@atlaskit/icon/core/chevron-right';
13
13
  import Tooltip from '@atlaskit/tooltip';
14
14
  import { fg } from '@atlaskit/platform-feature-flags';
15
15
  import _uniqueId from 'lodash/uniqueId';
16
- import { injectIntl } from 'react-intl-next';
16
+ import { injectIntl } from 'react-intl';
17
17
  import { MODE, PLATFORM } from '../analytics/events';
18
18
  import { ActiveHeaderIdConsumer } from './active-header-id-provider';
19
19
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
@@ -57,7 +57,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
57
57
  const TABLE_INFO_TIMEOUT = 10000;
58
58
  const RENDER_EVENT_SAMPLE_RATE = 0.2;
59
59
  const packageName = "@atlaskit/renderer";
60
- const packageVersion = "0.0.0-development";
60
+ const packageVersion = "129.0.0";
61
61
  const setAsQueryContainerStyles = css({
62
62
  containerName: 'ak-renderer-wrapper',
63
63
  containerType: 'inline-size'
@@ -8,7 +8,7 @@ import { useMemo, useCallback } from 'react';
8
8
  import { css, jsx } from '@emotion/react';
9
9
  import { AnnotationMarkStates } from '@atlaskit/adf-schema';
10
10
  import { fg } from '@atlaskit/platform-feature-flags';
11
- import { useIntl } from 'react-intl-next';
11
+ import { useIntl } from 'react-intl';
12
12
  import { inlineCommentMessages } from '../../../messages';
13
13
  import { useAnnotationManagerDispatch, useAnnotationManagerState } from '../contexts/AnnotationManagerContext';
14
14
  const markStyles = css({
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
2
  // Entry file in package.json
3
3
 
4
- import { defineMessages } from 'react-intl-next';
4
+ import { defineMessages } from 'react-intl';
5
5
  export var headingAnchorLinkMessages = defineMessages({
6
6
  copyHeadingLinkToClipboard: {
7
7
  id: 'fabric.editor.headingLink.copyAnchorLink',
@@ -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 CodeBidiWarning from '@atlaskit/code/bidi-warning';
4
4
  import { codeBidiWarningMessages } from '@atlaskit/editor-common/messages';
5
5
  import codeBidiWarningDecorator from '@atlaskit/code/bidi-warning-decorator';
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import { injectIntl } from 'react-intl-next';
3
+ import { injectIntl } from 'react-intl';
4
4
  import AkCode from '@atlaskit/code/inline';
5
5
  import { codeBidiWarningMessages } from '@atlaskit/editor-common/messages';
6
6
  export var isCodeMark = function isCodeMark(mark) {
@@ -6,7 +6,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
6
6
  import { useState } from 'react';
7
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
8
  import { jsx } from '@emotion/react';
9
- import { injectIntl } from 'react-intl-next';
9
+ import { injectIntl } from 'react-intl';
10
10
  import { CodeBlockSharedCssClassName } from '@atlaskit/editor-common/styles';
11
11
  import { CodeBlock as AkCodeBlock } from '@atlaskit/code';
12
12
  import { codeBidiWarningMessages } from '@atlaskit/editor-common/messages';
@@ -11,7 +11,7 @@ import Tooltip from '@atlaskit/tooltip';
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
13
  import { useState } from 'react';
14
- import { injectIntl } from 'react-intl-next';
14
+ import { injectIntl } from 'react-intl';
15
15
  import AnalyticsContext from '../../../../analytics/analyticsContext';
16
16
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '../../../../analytics/enums';
17
17
  import { copyTextToClipboard } from '../../../utils/clipboard';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
6
  import { jsx } from '@emotion/react';
7
- import { injectIntl } from 'react-intl-next';
7
+ import { injectIntl } from 'react-intl';
8
8
  import TextWrapIcon from '@atlaskit/icon/core/text-wrap';
9
9
  import Button from '@atlaskit/button/custom-theme-button';
10
10
  import { codeBlockButtonMessages } from '@atlaskit/editor-common/messages';
@@ -4,7 +4,7 @@ import React, { memo } from 'react';
4
4
  import { DateSharedCssClassName } from '@atlaskit/editor-common/styles';
5
5
  import { isPastDate, timestampToString, timestampToTaskContext } from '@atlaskit/editor-common/utils';
6
6
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
7
- import { injectIntl } from 'react-intl-next';
7
+ import { injectIntl } from 'react-intl';
8
8
  import { useRendererContext } from '../../renderer-context';
9
9
  import { useTaskItemsFormatContext } from '../../ui/TaskItemsFormatContext/TaskItemsFormatContext';
10
10
  import { useInlineAnnotationProps } from '../../ui/annotations/element/useInlineAnnotationProps';
@@ -19,7 +19,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
19
19
  import React from 'react';
20
20
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
21
21
  import { css, jsx } from '@emotion/react';
22
- import { injectIntl } from 'react-intl-next';
22
+ import { injectIntl } from 'react-intl';
23
23
  import LinkIcon from '@atlaskit/icon/core/link';
24
24
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
25
25
  import Tooltip from '@atlaskit/tooltip';
@@ -11,7 +11,7 @@ import { MediaInlineCard } from '@atlaskit/media-card';
11
11
  import { MediaClientContext, getMediaClient } from '@atlaskit/media-client-react';
12
12
  import { MediaInlineCardLoadingView } from '@atlaskit/media-ui';
13
13
  import React, { useCallback, useEffect, useState, useContext } from 'react';
14
- import { injectIntl } from 'react-intl-next';
14
+ import { injectIntl } from 'react-intl';
15
15
  import { getClipboardAttrs, mediaIdentifierMap } from '../../ui/MediaCard';
16
16
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
17
17
  import { ErrorBoundary } from '../../ui/Renderer/ErrorBoundary';
@@ -8,7 +8,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
8
8
  import { default as React, Fragment, useCallback, useContext, useMemo, useEffect } from 'react';
9
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
10
10
  import { css, jsx } from '@emotion/react';
11
- import { injectIntl } from 'react-intl-next';
11
+ import { injectIntl } from 'react-intl';
12
12
  import { MediaSingle as UIMediaSingle, WidthContext } from '@atlaskit/editor-common/ui';
13
13
  import { fg } from '@atlaskit/platform-feature-flags';
14
14
  import { akEditorFullWidthLayoutWidth, akEditorDefaultLayoutWidth, akEditorWideLayoutWidth } from '@atlaskit/editor-shared-styles';
@@ -14,7 +14,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
14
14
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
15
15
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
16
16
  import React from 'react';
17
- import { useIntl } from 'react-intl-next';
17
+ import { useIntl } from 'react-intl';
18
18
  import { TableSharedCssClassName, tableMarginTop } from '@atlaskit/editor-common/styles';
19
19
  import { tableMessages } from '@atlaskit/editor-common/messages';
20
20
  import { WidthConsumer, overflowShadow } from '@atlaskit/editor-common/ui';
@@ -8,7 +8,7 @@ import { SortingIcon } from '@atlaskit/editor-common/table';
8
8
  import { MODE, PLATFORM } from '../../analytics/events';
9
9
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
10
10
  import { RendererCssClassName } from '../../consts';
11
- import { useIntl } from 'react-intl-next';
11
+ import { useIntl } from 'react-intl';
12
12
  import { tableCellMessages } from '../../messages';
13
13
  var IgnoreSorting = ['LABEL', 'INPUT'];
14
14
  var nextStatusOrder = function nextStatusOrder(currentSortOrder) {
@@ -14,7 +14,7 @@ import ChevronRightIcon from '@atlaskit/icon/core/chevron-right';
14
14
  import Tooltip from '@atlaskit/tooltip';
15
15
  import { fg } from '@atlaskit/platform-feature-flags';
16
16
  import _uniqueId from 'lodash/uniqueId';
17
- import { injectIntl } from 'react-intl-next';
17
+ import { injectIntl } from 'react-intl';
18
18
  import { MODE, PLATFORM } from '../analytics/events';
19
19
  import { ActiveHeaderIdConsumer } from './active-header-id-provider';
20
20
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
@@ -62,7 +62,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
62
62
  var TABLE_INFO_TIMEOUT = 10000;
63
63
  var RENDER_EVENT_SAMPLE_RATE = 0.2;
64
64
  var packageName = "@atlaskit/renderer";
65
- var packageVersion = "0.0.0-development";
65
+ var packageVersion = "129.0.0";
66
66
  var setAsQueryContainerStyles = css({
67
67
  containerName: 'ak-renderer-wrapper',
68
68
  containerType: 'inline-size'
@@ -12,7 +12,7 @@ import { useMemo, useCallback } from 'react';
12
12
  import { css, jsx } from '@emotion/react';
13
13
  import { AnnotationMarkStates } from '@atlaskit/adf-schema';
14
14
  import { fg } from '@atlaskit/platform-feature-flags';
15
- import { useIntl } from 'react-intl-next';
15
+ import { useIntl } from 'react-intl';
16
16
  import { inlineCommentMessages } from '../../../messages';
17
17
  import { useAnnotationManagerDispatch, useAnnotationManagerState } from '../contexts/AnnotationManagerContext';
18
18
  var markStyles = css(_defineProperty({
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
- import type { WrappedComponentProps } from 'react-intl-next';
2
+ import type { WrappedComponentProps } from 'react-intl';
3
3
  import type { Mark } from '@atlaskit/editor-prosemirror/model';
4
4
  import type { MarkProps } from '../types';
5
5
  export declare const isCodeMark: (mark: Mark) => boolean;
6
6
  export declare function CodeWithIntl(props: MarkProps<{
7
7
  codeBidiWarningTooltipEnabled: boolean;
8
8
  }> & WrappedComponentProps): React.JSX.Element;
9
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
9
+ declare const _default: React.FC<import("react-intl").WithIntlProps<{
10
10
  codeBidiWarningTooltipEnabled: boolean;
11
11
  } & import("../types").MarkMeta & {
12
12
  children?: React.ReactNode | undefined;
@@ -1,4 +1,4 @@
1
- import type { WrappedComponentProps } from 'react-intl-next';
1
+ import type { WrappedComponentProps } from 'react-intl';
2
2
  import type { SupportedLanguages } from '@atlaskit/code';
3
3
  export interface Props {
4
4
  allowCopyToClipboard?: boolean;
@@ -9,7 +9,7 @@ export interface Props {
9
9
  localId?: string;
10
10
  text: string;
11
11
  }
12
- declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
12
+ declare const _default: import("react").FC<import("react-intl").WithIntlProps<Props & WrappedComponentProps>> & {
13
13
  WrappedComponent: import("react").ComponentType<Props & WrappedComponentProps>;
14
14
  };
15
15
  export default _default;
@@ -1,8 +1,8 @@
1
- import type { WrappedComponentProps } from 'react-intl-next';
1
+ import type { WrappedComponentProps } from 'react-intl';
2
2
  type Props = {
3
3
  content: string;
4
4
  };
5
- declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
5
+ declare const _default: import("react").FC<import("react-intl").WithIntlProps<Props & WrappedComponentProps>> & {
6
6
  WrappedComponent: import("react").ComponentType<Props & WrappedComponentProps>;
7
7
  };
8
8
  export default _default;
@@ -1,10 +1,10 @@
1
1
  import type { Dispatch, SetStateAction } from 'react';
2
- import type { WrappedComponentProps } from 'react-intl-next';
2
+ import type { WrappedComponentProps } from 'react-intl';
3
3
  type Props = {
4
4
  setWrapLongLines: Dispatch<SetStateAction<boolean>>;
5
5
  wrapLongLines?: boolean;
6
6
  };
7
- declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
7
+ declare const _default: import("react").FC<import("react-intl").WithIntlProps<Props & WrappedComponentProps>> & {
8
8
  WrappedComponent: import("react").ComponentType<Props & WrappedComponentProps>;
9
9
  };
10
10
  export default _default;
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
- import type { WrappedComponentProps } from 'react-intl-next';
2
+ import type { WrappedComponentProps } from 'react-intl';
3
3
  import type { MarkDataAttributes } from '../../ui/annotations/element/useInlineAnnotationProps';
4
4
  export interface Props extends MarkDataAttributes {
5
5
  parentIsIncompleteTask?: boolean;
6
6
  timestamp: string;
7
7
  }
8
- export declare const DateComponent: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
8
+ export declare const DateComponent: React.FC<import("react-intl").WithIntlProps<Props & WrappedComponentProps>> & {
9
9
  WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
10
10
  };
11
11
  declare function DateWithFormatContext(props: Props): React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { WrappedComponentProps } from 'react-intl-next';
2
+ import type { WrappedComponentProps } from 'react-intl';
3
3
  export declare const HeadingAnchorWrapperClassName = "heading-anchor-wrapper";
4
4
  type Props = {
5
5
  enableNestedHeaderLinks?: boolean;
@@ -9,7 +9,7 @@ type Props = {
9
9
  onCopyText: () => Promise<void>;
10
10
  };
11
11
  type HeadingAnchorProps = Props & React.PropsWithChildren<unknown> & WrappedComponentProps;
12
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<HeadingAnchorProps>> & {
12
+ declare const _default: React.FC<import("react-intl").WithIntlProps<HeadingAnchorProps>> & {
13
13
  WrappedComponent: React.ComponentType<HeadingAnchorProps>;
14
14
  };
15
15
  export default _default;
@@ -25,7 +25,7 @@ import TableRow from './tableRow';
25
25
  import UnknownBlock from './unknownBlock';
26
26
  import type { NodeComponentsProps } from '../../ui/Renderer/types';
27
27
  declare const WindowedCodeBlock: React.ComponentType<import("./codeBlock/codeBlock").Props> & Loadable.LoadableComponent;
28
- declare const CodeBlock: React.ComponentType<import("react-intl-next").WithIntlProps<import("./codeBlock/codeBlock").Props & import("react-intl-next").WrappedComponentProps>> & Loadable.LoadableComponent;
28
+ declare const CodeBlock: React.ComponentType<import("react-intl").WithIntlProps<import("./codeBlock/codeBlock").Props & import("react-intl").WrappedComponentProps>> & Loadable.LoadableComponent;
29
29
  declare const TaskList: React.ComponentType<import("./taskList").Props> & Loadable.LoadableComponent;
30
30
  declare const TaskItem: React.ComponentType<import("../types").NodeProps<import("./taskItem").Props>> & Loadable.LoadableComponent;
31
31
  declare const DecisionList: React.ComponentType<import("./decisionList").Props> & Loadable.LoadableComponent;
@@ -65,7 +65,7 @@ declare const BlockCard: React.ComponentType<{
65
65
  }> & Loadable.LoadableComponent;
66
66
  declare const Media: React.ComponentType<React.PropsWithChildren<import("./media").MediaProps>> & Loadable.LoadableComponent;
67
67
  declare const MediaGroup: React.ComponentType<import("./mediaGroup").MediaGroupProps> & Loadable.LoadableComponent;
68
- declare const MediaInline: React.ComponentType<import("react-intl-next").WithIntlProps<{
68
+ declare const MediaInline: React.ComponentType<import("react-intl").WithIntlProps<{
69
69
  collection?: string;
70
70
  eventHandlers?: import("@atlaskit/editor-common/ui").EventHandlers;
71
71
  featureFlags?: import("@atlaskit/media-common").MediaFeatureFlags;
@@ -74,10 +74,10 @@ declare const MediaInline: React.ComponentType<import("react-intl-next").WithInt
74
74
  providers: import("@atlaskit/editor-common/provider-factory").ProviderFactory;
75
75
  rendererAppearance?: import("../..").RendererAppearance;
76
76
  ssr?: import("../..").MediaSSR;
77
- } & import("react-intl-next").WrappedComponentProps & import("@atlaskit/editor-common/media-inline").MediaInlineAttrs>> & Loadable.LoadableComponent;
78
- declare const MediaSingle: React.ComponentType<import("react-intl-next").WithIntlProps<import("./mediaSingle").Props & import("react-intl-next").WrappedComponentProps>> & Loadable.LoadableComponent;
77
+ } & import("react-intl").WrappedComponentProps & import("@atlaskit/editor-common/media-inline").MediaInlineAttrs>> & Loadable.LoadableComponent;
78
+ declare const MediaSingle: React.ComponentType<import("react-intl").WithIntlProps<import("./mediaSingle").Props & import("react-intl").WrappedComponentProps>> & Loadable.LoadableComponent;
79
79
  declare const Mention: React.ComponentType<import("./mention").Props> & Loadable.LoadableComponent;
80
- declare const Expand: React.ComponentType<import("react-intl-next").WithIntlProps<import("../../ui/Expand").ExpandProps & import("react-intl-next").WrappedComponentProps>> & Loadable.LoadableComponent;
80
+ declare const Expand: React.ComponentType<import("react-intl").WithIntlProps<import("../../ui/Expand").ExpandProps & import("react-intl").WrappedComponentProps>> & Loadable.LoadableComponent;
81
81
  export declare const nodeToReact: {
82
82
  [key: string]: React.ComponentType<React.PropsWithChildren<any>>;
83
83
  };
@@ -3,7 +3,7 @@ import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
3
3
  import type { EventHandlers } from '@atlaskit/editor-common/ui';
4
4
  import type { MediaFeatureFlags } from '@atlaskit/media-common';
5
5
  import React from 'react';
6
- import type { WrappedComponentProps } from 'react-intl-next';
6
+ import type { WrappedComponentProps } from 'react-intl';
7
7
  import type { RendererAppearance } from '../../ui/Renderer/types';
8
8
  import type { Mark } from '@atlaskit/editor-prosemirror/model';
9
9
  import type { MediaSSR } from '../../types/mediaOptions';
@@ -17,7 +17,7 @@ type MediaInlineProps = {
17
17
  rendererAppearance?: RendererAppearance;
18
18
  ssr?: MediaSSR;
19
19
  };
20
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<MediaInlineProps & WrappedComponentProps & MediaInlineAttrs>> & {
20
+ declare const _default: React.FC<import("react-intl").WithIntlProps<MediaInlineProps & WrappedComponentProps & MediaInlineAttrs>> & {
21
21
  WrappedComponent: React.ComponentType<MediaInlineProps & WrappedComponentProps & MediaInlineAttrs>;
22
22
  };
23
23
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import type { WrappedComponentProps } from 'react-intl-next';
2
+ import type { WrappedComponentProps } from 'react-intl';
3
3
  import type { RichMediaLayout as MediaSingleLayout } from '@atlaskit/adf-schema';
4
4
  import type { MediaFeatureFlags } from '@atlaskit/media-common';
5
5
  import type { EditorAppearance } from '@atlaskit/editor-common/types';
@@ -22,7 +22,7 @@ export interface Props {
22
22
  widthType?: MediaSingleWidthType;
23
23
  }
24
24
  export declare const getMediaContainerWidth: (currentContainerWidth: number, layout: MediaSingleLayout) => number;
25
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
25
+ declare const _default: React.FC<import("react-intl").WithIntlProps<Props & WrappedComponentProps>> & {
26
26
  WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
27
27
  };
28
28
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { WrappedComponentProps } from 'react-intl-next';
2
+ import type { WrappedComponentProps } from 'react-intl';
3
3
  import type { AnalyticsEventPayload } from '../analytics/events';
4
4
  import type { RendererAppearance, RendererContentMode } from './Renderer/types';
5
5
  export interface ExpandProps {
@@ -13,7 +13,7 @@ export interface ExpandProps {
13
13
  rendererContentMode?: RendererContentMode;
14
14
  title: string;
15
15
  }
16
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<ExpandProps & WrappedComponentProps>> & {
16
+ declare const _default: React.FC<import("react-intl").WithIntlProps<ExpandProps & WrappedComponentProps>> & {
17
17
  WrappedComponent: React.ComponentType<ExpandProps & WrappedComponentProps>;
18
18
  };
19
19
  export default _default;
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
- import type { WrappedComponentProps } from 'react-intl-next';
2
+ import type { WrappedComponentProps } from 'react-intl';
3
3
  import type { Mark } from '@atlaskit/editor-prosemirror/model';
4
4
  import type { MarkProps } from '../types';
5
5
  export declare const isCodeMark: (mark: Mark) => boolean;
6
6
  export declare function CodeWithIntl(props: MarkProps<{
7
7
  codeBidiWarningTooltipEnabled: boolean;
8
8
  }> & WrappedComponentProps): React.JSX.Element;
9
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
9
+ declare const _default: React.FC<import("react-intl").WithIntlProps<{
10
10
  codeBidiWarningTooltipEnabled: boolean;
11
11
  } & import("../types").MarkMeta & {
12
12
  children?: React.ReactNode | undefined;
@@ -1,4 +1,4 @@
1
- import type { WrappedComponentProps } from 'react-intl-next';
1
+ import type { WrappedComponentProps } from 'react-intl';
2
2
  import type { SupportedLanguages } from '@atlaskit/code';
3
3
  export interface Props {
4
4
  allowCopyToClipboard?: boolean;
@@ -9,7 +9,7 @@ export interface Props {
9
9
  localId?: string;
10
10
  text: string;
11
11
  }
12
- declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
12
+ declare const _default: import("react").FC<import("react-intl").WithIntlProps<Props & WrappedComponentProps>> & {
13
13
  WrappedComponent: import("react").ComponentType<Props & WrappedComponentProps>;
14
14
  };
15
15
  export default _default;
@@ -1,8 +1,8 @@
1
- import type { WrappedComponentProps } from 'react-intl-next';
1
+ import type { WrappedComponentProps } from 'react-intl';
2
2
  type Props = {
3
3
  content: string;
4
4
  };
5
- declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
5
+ declare const _default: import("react").FC<import("react-intl").WithIntlProps<Props & WrappedComponentProps>> & {
6
6
  WrappedComponent: import("react").ComponentType<Props & WrappedComponentProps>;
7
7
  };
8
8
  export default _default;
@@ -1,10 +1,10 @@
1
1
  import type { Dispatch, SetStateAction } from 'react';
2
- import type { WrappedComponentProps } from 'react-intl-next';
2
+ import type { WrappedComponentProps } from 'react-intl';
3
3
  type Props = {
4
4
  setWrapLongLines: Dispatch<SetStateAction<boolean>>;
5
5
  wrapLongLines?: boolean;
6
6
  };
7
- declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
7
+ declare const _default: import("react").FC<import("react-intl").WithIntlProps<Props & WrappedComponentProps>> & {
8
8
  WrappedComponent: import("react").ComponentType<Props & WrappedComponentProps>;
9
9
  };
10
10
  export default _default;
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
- import type { WrappedComponentProps } from 'react-intl-next';
2
+ import type { WrappedComponentProps } from 'react-intl';
3
3
  import type { MarkDataAttributes } from '../../ui/annotations/element/useInlineAnnotationProps';
4
4
  export interface Props extends MarkDataAttributes {
5
5
  parentIsIncompleteTask?: boolean;
6
6
  timestamp: string;
7
7
  }
8
- export declare const DateComponent: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
8
+ export declare const DateComponent: React.FC<import("react-intl").WithIntlProps<Props & WrappedComponentProps>> & {
9
9
  WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
10
10
  };
11
11
  declare function DateWithFormatContext(props: Props): React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { WrappedComponentProps } from 'react-intl-next';
2
+ import type { WrappedComponentProps } from 'react-intl';
3
3
  export declare const HeadingAnchorWrapperClassName = "heading-anchor-wrapper";
4
4
  type Props = {
5
5
  enableNestedHeaderLinks?: boolean;
@@ -9,7 +9,7 @@ type Props = {
9
9
  onCopyText: () => Promise<void>;
10
10
  };
11
11
  type HeadingAnchorProps = Props & React.PropsWithChildren<unknown> & WrappedComponentProps;
12
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<HeadingAnchorProps>> & {
12
+ declare const _default: React.FC<import("react-intl").WithIntlProps<HeadingAnchorProps>> & {
13
13
  WrappedComponent: React.ComponentType<HeadingAnchorProps>;
14
14
  };
15
15
  export default _default;
@@ -25,7 +25,7 @@ import TableRow from './tableRow';
25
25
  import UnknownBlock from './unknownBlock';
26
26
  import type { NodeComponentsProps } from '../../ui/Renderer/types';
27
27
  declare const WindowedCodeBlock: React.ComponentType<import("./codeBlock/codeBlock").Props> & Loadable.LoadableComponent;
28
- declare const CodeBlock: React.ComponentType<import("react-intl-next").WithIntlProps<import("./codeBlock/codeBlock").Props & import("react-intl-next").WrappedComponentProps>> & Loadable.LoadableComponent;
28
+ declare const CodeBlock: React.ComponentType<import("react-intl").WithIntlProps<import("./codeBlock/codeBlock").Props & import("react-intl").WrappedComponentProps>> & Loadable.LoadableComponent;
29
29
  declare const TaskList: React.ComponentType<import("./taskList").Props> & Loadable.LoadableComponent;
30
30
  declare const TaskItem: React.ComponentType<import("../types").NodeProps<import("./taskItem").Props>> & Loadable.LoadableComponent;
31
31
  declare const DecisionList: React.ComponentType<import("./decisionList").Props> & Loadable.LoadableComponent;
@@ -65,7 +65,7 @@ declare const BlockCard: React.ComponentType<{
65
65
  }> & Loadable.LoadableComponent;
66
66
  declare const Media: React.ComponentType<React.PropsWithChildren<import("./media").MediaProps>> & Loadable.LoadableComponent;
67
67
  declare const MediaGroup: React.ComponentType<import("./mediaGroup").MediaGroupProps> & Loadable.LoadableComponent;
68
- declare const MediaInline: React.ComponentType<import("react-intl-next").WithIntlProps<{
68
+ declare const MediaInline: React.ComponentType<import("react-intl").WithIntlProps<{
69
69
  collection?: string;
70
70
  eventHandlers?: import("@atlaskit/editor-common/ui").EventHandlers;
71
71
  featureFlags?: import("@atlaskit/media-common").MediaFeatureFlags;
@@ -74,10 +74,10 @@ declare const MediaInline: React.ComponentType<import("react-intl-next").WithInt
74
74
  providers: import("@atlaskit/editor-common/provider-factory").ProviderFactory;
75
75
  rendererAppearance?: import("../..").RendererAppearance;
76
76
  ssr?: import("../..").MediaSSR;
77
- } & import("react-intl-next").WrappedComponentProps & import("@atlaskit/editor-common/media-inline").MediaInlineAttrs>> & Loadable.LoadableComponent;
78
- declare const MediaSingle: React.ComponentType<import("react-intl-next").WithIntlProps<import("./mediaSingle").Props & import("react-intl-next").WrappedComponentProps>> & Loadable.LoadableComponent;
77
+ } & import("react-intl").WrappedComponentProps & import("@atlaskit/editor-common/media-inline").MediaInlineAttrs>> & Loadable.LoadableComponent;
78
+ declare const MediaSingle: React.ComponentType<import("react-intl").WithIntlProps<import("./mediaSingle").Props & import("react-intl").WrappedComponentProps>> & Loadable.LoadableComponent;
79
79
  declare const Mention: React.ComponentType<import("./mention").Props> & Loadable.LoadableComponent;
80
- declare const Expand: React.ComponentType<import("react-intl-next").WithIntlProps<import("../../ui/Expand").ExpandProps & import("react-intl-next").WrappedComponentProps>> & Loadable.LoadableComponent;
80
+ declare const Expand: React.ComponentType<import("react-intl").WithIntlProps<import("../../ui/Expand").ExpandProps & import("react-intl").WrappedComponentProps>> & Loadable.LoadableComponent;
81
81
  export declare const nodeToReact: {
82
82
  [key: string]: React.ComponentType<React.PropsWithChildren<any>>;
83
83
  };
@@ -3,7 +3,7 @@ import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
3
3
  import type { EventHandlers } from '@atlaskit/editor-common/ui';
4
4
  import type { MediaFeatureFlags } from '@atlaskit/media-common';
5
5
  import React from 'react';
6
- import type { WrappedComponentProps } from 'react-intl-next';
6
+ import type { WrappedComponentProps } from 'react-intl';
7
7
  import type { RendererAppearance } from '../../ui/Renderer/types';
8
8
  import type { Mark } from '@atlaskit/editor-prosemirror/model';
9
9
  import type { MediaSSR } from '../../types/mediaOptions';
@@ -17,7 +17,7 @@ type MediaInlineProps = {
17
17
  rendererAppearance?: RendererAppearance;
18
18
  ssr?: MediaSSR;
19
19
  };
20
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<MediaInlineProps & WrappedComponentProps & MediaInlineAttrs>> & {
20
+ declare const _default: React.FC<import("react-intl").WithIntlProps<MediaInlineProps & WrappedComponentProps & MediaInlineAttrs>> & {
21
21
  WrappedComponent: React.ComponentType<MediaInlineProps & WrappedComponentProps & MediaInlineAttrs>;
22
22
  };
23
23
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import type { WrappedComponentProps } from 'react-intl-next';
2
+ import type { WrappedComponentProps } from 'react-intl';
3
3
  import type { RichMediaLayout as MediaSingleLayout } from '@atlaskit/adf-schema';
4
4
  import type { MediaFeatureFlags } from '@atlaskit/media-common';
5
5
  import type { EditorAppearance } from '@atlaskit/editor-common/types';
@@ -22,7 +22,7 @@ export interface Props {
22
22
  widthType?: MediaSingleWidthType;
23
23
  }
24
24
  export declare const getMediaContainerWidth: (currentContainerWidth: number, layout: MediaSingleLayout) => number;
25
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
25
+ declare const _default: React.FC<import("react-intl").WithIntlProps<Props & WrappedComponentProps>> & {
26
26
  WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
27
27
  };
28
28
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { WrappedComponentProps } from 'react-intl-next';
2
+ import type { WrappedComponentProps } from 'react-intl';
3
3
  import type { AnalyticsEventPayload } from '../analytics/events';
4
4
  import type { RendererAppearance, RendererContentMode } from './Renderer/types';
5
5
  export interface ExpandProps {
@@ -13,7 +13,7 @@ export interface ExpandProps {
13
13
  rendererContentMode?: RendererContentMode;
14
14
  title: string;
15
15
  }
16
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<ExpandProps & WrappedComponentProps>> & {
16
+ declare const _default: React.FC<import("react-intl").WithIntlProps<ExpandProps & WrappedComponentProps>> & {
17
17
  WrappedComponent: React.ComponentType<ExpandProps & WrappedComponentProps>;
18
18
  };
19
19
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "129.0.0",
3
+ "version": "130.0.0",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -67,17 +67,17 @@
67
67
  "@emotion/react": "^11.7.1",
68
68
  "lodash": "^4.17.21",
69
69
  "memoize-one": "^6.0.0",
70
- "react-intl-next": "npm:react-intl@^5.18.1",
71
70
  "react-loadable": "^5.1.0",
72
71
  "react-loosely-lazy": "^1.0.0",
73
72
  "uuid": "^3.1.0"
74
73
  },
75
74
  "peerDependencies": {
76
- "@atlaskit/editor-common": "^113.0.0",
75
+ "@atlaskit/editor-common": "^114.0.0",
77
76
  "@atlaskit/link-provider": "^4.3.0",
78
77
  "@atlaskit/media-core": "^37.0.0",
79
78
  "react": "^18.2.0",
80
- "react-dom": "^18.2.0"
79
+ "react-dom": "^18.2.0",
80
+ "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
81
81
  },
82
82
  "devDependencies": {
83
83
  "@af/integration-testing": "workspace:^",
@@ -107,6 +107,7 @@
107
107
  "jsdom": "^25.0.0",
108
108
  "mockdate": "^3.0.5",
109
109
  "puppeteer": "13.7.0",
110
+ "react-intl": "^6.6.2",
110
111
  "react-live-clock": "^5.0.0",
111
112
  "react-magnetic-di": "^3.1.4",
112
113
  "react-moment": "^1.1.2",