@atlaskit/editor-plugin-track-changes 8.0.0 → 9.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # @atlaskit/editor-plugin-track-changes
2
2
 
3
+ ## 9.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 9.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - [`901c87a57486e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/901c87a57486e) -
14
+ Removed `react-intl-next` alias and replaced all usages with `react-intl` directly.
15
+
16
+ What changed: The `react-intl-next` npm alias (which resolved to `react-intl@^5`) has been
17
+ removed. All imports now reference `react-intl` directly, and `peerDependencies` have been updated
18
+ to `"^5.25.1 || ^6.0.0 || ^7.0.0"`.
19
+
20
+ How consumer should update their code: Ensure `react-intl` is installed at a version satisfying
21
+ `^5.25.1 || ^6.0.0 || ^7.0.0`. If your application was using `react-intl-next` as an npm alias, it
22
+ can be safely removed. Replace any remaining `react-intl-next` imports with `react-intl`.
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies
27
+
3
28
  ## 8.0.0
4
29
 
5
30
  ### Patch Changes
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.TrackChangesToolbarButton = 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 _new = require("@atlaskit/button/new");
11
11
  var _browser = require("@atlaskit/editor-common/browser");
12
12
  var _hooks = require("@atlaskit/editor-common/hooks");
@@ -26,7 +26,7 @@ var TrackChangesToolbarButton = exports.TrackChangesToolbarButton = function Tra
26
26
  }),
27
27
  isDisplayingChanges = _useSharedPluginState.isDisplayingChanges,
28
28
  isShowDiffAvailable = _useSharedPluginState.isShowDiffAvailable;
29
- var _useIntl = (0, _reactIntlNext.useIntl)(),
29
+ var _useIntl = (0, _reactIntl.useIntl)(),
30
30
  formatMessage = _useIntl.formatMessage;
31
31
  var handleClick = _react.default.useCallback(function () {
32
32
  var _api$trackChanges;
@@ -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 { IconButton } from '@atlaskit/button/new';
4
4
  import { getBrowserInfo } from '@atlaskit/editor-common/browser';
5
5
  import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
@@ -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 { IconButton } from '@atlaskit/button/new';
4
4
  import { getBrowserInfo } from '@atlaskit/editor-common/browser';
5
5
  import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-track-changes",
3
- "version": "8.0.0",
3
+ "version": "9.0.1",
4
4
  "description": "ShowDiff plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -29,20 +29,20 @@
29
29
  "atlaskit:src": "src/index.ts",
30
30
  "dependencies": {
31
31
  "@atlaskit/button": "^23.11.0",
32
- "@atlaskit/editor-plugin-history": "9.0.0",
33
- "@atlaskit/editor-plugin-primary-toolbar": "^10.0.0",
34
- "@atlaskit/editor-plugin-show-diff": "7.0.0",
35
- "@atlaskit/editor-plugin-toolbar": "^6.0.0",
32
+ "@atlaskit/editor-plugin-history": "10.0.0",
33
+ "@atlaskit/editor-plugin-primary-toolbar": "^11.0.0",
34
+ "@atlaskit/editor-plugin-show-diff": "8.1.0",
35
+ "@atlaskit/editor-plugin-toolbar": "^7.0.0",
36
36
  "@atlaskit/editor-prosemirror": "^7.3.0",
37
- "@atlaskit/editor-toolbar": "^0.20.0",
37
+ "@atlaskit/editor-toolbar": "^1.0.0",
38
38
  "@atlaskit/editor-toolbar-model": "^0.4.0",
39
39
  "@atlaskit/platform-feature-flags": "^1.1.0",
40
- "@babel/runtime": "^7.0.0",
41
- "react-intl-next": "npm:react-intl@^5.18.1"
40
+ "@babel/runtime": "^7.0.0"
42
41
  },
43
42
  "peerDependencies": {
44
- "@atlaskit/editor-common": "^113.0.0",
45
- "react": "^18.2.0"
43
+ "@atlaskit/editor-common": "^114.0.0",
44
+ "react": "^18.2.0",
45
+ "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
46
46
  },
47
47
  "platform-feature-flags": {},
48
48
  "techstack": {
@@ -80,5 +80,8 @@
80
80
  "import-no-extraneous-disable-for-examples-and-docs"
81
81
  ]
82
82
  }
83
+ },
84
+ "devDependencies": {
85
+ "react-intl": "^6.6.2"
83
86
  }
84
87
  }