@atlaskit/editor-plugin-status 9.1.18 → 11.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # @atlaskit/editor-plugin-status
2
2
 
3
+ ## 11.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
+
22
+ ## 10.0.0
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies
27
+
3
28
  ## 9.1.18
4
29
 
5
30
  ### Patch Changes
@@ -13,7 +13,7 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits
13
13
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
14
14
  var _react = _interopRequireDefault(require("react"));
15
15
  var _react2 = require("@emotion/react");
16
- var _reactIntlNext = require("react-intl-next");
16
+ var _reactIntl = require("react-intl");
17
17
  var _analyticsNext = require("@atlaskit/analytics-next");
18
18
  var _browserApis = require("@atlaskit/browser-apis");
19
19
  var _messages = require("@atlaskit/editor-common/messages");
@@ -363,6 +363,6 @@ var StatusPickerWithIntl = /*#__PURE__*/function (_React$Component) {
363
363
  }
364
364
  }]);
365
365
  }(_react.default.Component); // eslint-disable-next-line @typescript-eslint/ban-types
366
- var StatusPickerWithoutAnalytcs = exports.StatusPickerWithoutAnalytcs = (0, _reactIntlNext.injectIntl)(StatusPickerWithIntl);
366
+ var StatusPickerWithoutAnalytcs = exports.StatusPickerWithoutAnalytcs = (0, _reactIntl.injectIntl)(StatusPickerWithIntl);
367
367
  var _default_1 = (0, _analyticsNext.withAnalyticsEvents)()(StatusPickerWithoutAnalytcs);
368
368
  var _default = exports.default = _default_1;
@@ -8,7 +8,7 @@ import React from 'react';
8
8
 
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 { withAnalyticsEvents } from '@atlaskit/analytics-next';
13
13
  import { getDocument } from '@atlaskit/browser-apis';
14
14
  import { statusMessages as messages } from '@atlaskit/editor-common/messages';
@@ -15,7 +15,7 @@ import React from 'react';
15
15
 
16
16
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
17
17
  import { css, jsx } from '@emotion/react';
18
- import { injectIntl } from 'react-intl-next';
18
+ import { injectIntl } from 'react-intl';
19
19
  import { withAnalyticsEvents } from '@atlaskit/analytics-next';
20
20
  import { getDocument } from '@atlaskit/browser-apis';
21
21
  import { statusMessages as messages } from '@atlaskit/editor-common/messages';
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
3
  import type { NodeView } from '@atlaskit/editor-prosemirror/view';
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type WithIntlProps, type WrappedComponentProps } from 'react-intl-next';
2
+ import { type WithIntlProps, type WrappedComponentProps } from 'react-intl';
3
3
  import type { CreateUIAnalyticsEvent, WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
4
4
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
5
5
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
3
  import type { NodeView } from '@atlaskit/editor-prosemirror/view';
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type WithIntlProps, type WrappedComponentProps } from 'react-intl-next';
2
+ import { type WithIntlProps, type WrappedComponentProps } from 'react-intl';
3
3
  import type { CreateUIAnalyticsEvent, WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
4
4
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
5
5
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-status",
3
- "version": "9.1.18",
3
+ "version": "11.0.0",
4
4
  "description": "Status plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -29,30 +29,31 @@
29
29
  ],
30
30
  "atlaskit:src": "src/index.ts",
31
31
  "dependencies": {
32
- "@atlaskit/adf-schema": "^52.4.0",
32
+ "@atlaskit/adf-schema": "^52.5.0",
33
33
  "@atlaskit/analytics-next": "^11.2.0",
34
34
  "@atlaskit/browser-apis": "^0.0.1",
35
- "@atlaskit/editor-plugin-analytics": "^8.0.0",
35
+ "@atlaskit/editor-plugin-analytics": "^10.0.0",
36
36
  "@atlaskit/editor-prosemirror": "^7.3.0",
37
37
  "@atlaskit/editor-shared-styles": "^3.10.0",
38
- "@atlaskit/icon": "^34.1.0",
38
+ "@atlaskit/icon": "^34.2.0",
39
39
  "@atlaskit/platform-feature-flags": "^1.1.0",
40
40
  "@atlaskit/status": "^4.0.0",
41
- "@atlaskit/tmp-editor-statsig": "^62.2.0",
41
+ "@atlaskit/tmp-editor-statsig": "^62.4.0",
42
42
  "@atlaskit/tokens": "^13.0.0",
43
43
  "@atlaskit/visually-hidden": "^3.0.0",
44
44
  "@babel/runtime": "^7.0.0",
45
45
  "@emotion/react": "^11.7.1"
46
46
  },
47
47
  "peerDependencies": {
48
- "@atlaskit/editor-common": "^112.21.0",
48
+ "@atlaskit/editor-common": "^114.0.0",
49
49
  "react": "^18.2.0",
50
50
  "react-dom": "^18.2.0",
51
- "react-intl-next": "npm:react-intl@^5.18.1"
51
+ "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@testing-library/react": "^16.3.0",
55
- "raf-stub": "^2.0.1"
55
+ "raf-stub": "^2.0.1",
56
+ "react-intl": "^6.6.2"
56
57
  },
57
58
  "techstack": {
58
59
  "@atlassian/frontend": {
package/report.api.md CHANGED
@@ -100,7 +100,7 @@ type UpdateStatus = (inputMethod: TOOLBAR_MENU_TYPE, status?: StatusType) => Com
100
100
  ```json
101
101
  {
102
102
  "react": "^16.8.0",
103
- "react-intl-next": "npm:react-intl@^5.18.1"
103
+ "react-intl": "npm:react-intl@^5.18.1"
104
104
  }
105
105
  ```
106
106