@atlaskit/editor-plugin-panel 11.0.0 → 12.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,24 @@
1
1
  # @atlaskit/editor-plugin-panel
2
2
 
3
+ ## 12.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
  ## 11.0.0
4
23
 
5
24
  ### Patch Changes
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.createPanelBlockMenuItem = 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 _analytics = require("@atlaskit/editor-common/analytics");
11
11
  var _messages = require("@atlaskit/editor-common/messages");
12
12
  var _editorToolbar = require("@atlaskit/editor-toolbar");
@@ -14,7 +14,7 @@ var _informationCircle = _interopRequireDefault(require("@atlaskit/icon/core/inf
14
14
  var NODE_NAME = 'panel';
15
15
  var PanelBlockMenuItem = function PanelBlockMenuItem(_ref) {
16
16
  var api = _ref.api;
17
- var _useIntl = (0, _reactIntlNext.useIntl)(),
17
+ var _useIntl = (0, _reactIntl.useIntl)(),
18
18
  formatMessage = _useIntl.formatMessage;
19
19
  var handleClick = function handleClick(event) {
20
20
  var triggeredFrom = event.nativeEvent instanceof KeyboardEvent || event.nativeEvent.detail === 0 ? _analytics.INPUT_METHOD.KEYBOARD : _analytics.INPUT_METHOD.MOUSE;
@@ -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 { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { blockTypeMessages } from '@atlaskit/editor-common/messages';
5
5
  import { ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
@@ -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 { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { blockTypeMessages } from '@atlaskit/editor-common/messages';
5
5
  import { ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
3
3
  import type { Command, FloatingToolbarDropdown } from '@atlaskit/editor-common/types';
4
4
  type Props = {
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import { PanelType } from '@atlaskit/adf-schema';
3
3
  import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
4
4
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
3
3
  import type { Command, FloatingToolbarDropdown } from '@atlaskit/editor-common/types';
4
4
  type Props = {
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import { PanelType } from '@atlaskit/adf-schema';
3
3
  import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
4
4
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-panel",
3
- "version": "11.0.0",
3
+ "version": "12.0.0",
4
4
  "description": "Panel plugin for @atlaskit/editor-core.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -29,15 +29,15 @@
29
29
  "dependencies": {
30
30
  "@atlaskit/adf-schema": "^52.5.0",
31
31
  "@atlaskit/editor-palette": "^2.1.0",
32
- "@atlaskit/editor-plugin-analytics": "^9.0.0",
33
- "@atlaskit/editor-plugin-block-menu": "^8.0.0",
34
- "@atlaskit/editor-plugin-decorations": "^9.0.0",
35
- "@atlaskit/editor-plugin-emoji": "^10.0.0",
36
- "@atlaskit/editor-plugin-selection": "^9.0.0",
37
- "@atlaskit/editor-plugin-toolbar": "^6.0.0",
32
+ "@atlaskit/editor-plugin-analytics": "^10.0.0",
33
+ "@atlaskit/editor-plugin-block-menu": "^9.0.0",
34
+ "@atlaskit/editor-plugin-decorations": "^10.0.0",
35
+ "@atlaskit/editor-plugin-emoji": "^11.0.0",
36
+ "@atlaskit/editor-plugin-selection": "^10.0.0",
37
+ "@atlaskit/editor-plugin-toolbar": "^7.0.0",
38
38
  "@atlaskit/editor-prosemirror": "^7.3.0",
39
39
  "@atlaskit/editor-shared-styles": "^3.10.0",
40
- "@atlaskit/editor-toolbar": "^0.20.0",
40
+ "@atlaskit/editor-toolbar": "^1.0.0",
41
41
  "@atlaskit/emoji": "^70.0.0",
42
42
  "@atlaskit/icon": "^34.2.0",
43
43
  "@atlaskit/platform-feature-flags": "^1.1.0",
@@ -47,10 +47,10 @@
47
47
  "uuid": "^3.1.0"
48
48
  },
49
49
  "peerDependencies": {
50
- "@atlaskit/editor-common": "^113.0.0",
50
+ "@atlaskit/editor-common": "^114.0.0",
51
51
  "react": "^18.2.0",
52
52
  "react-dom": "^18.2.0",
53
- "react-intl-next": "npm:react-intl@^5.18.1"
53
+ "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
54
54
  },
55
55
  "techstack": {
56
56
  "@atlassian/frontend": {
@@ -106,5 +106,8 @@
106
106
  "no-unused-dependencies": {
107
107
  "checkDevDependencies": true
108
108
  }
109
+ },
110
+ "devDependencies": {
111
+ "react-intl": "^6.6.2"
109
112
  }
110
113
  }
package/report.api.md CHANGED
@@ -63,7 +63,7 @@ interface PanelPluginOptions extends LongPressSelectionPluginOptions, PanelPlugi
63
63
  {
64
64
  "react": "^16.8.0",
65
65
  "react-dom": "^16.8.0",
66
- "react-intl-next": "npm:react-intl@^5.18.1"
66
+ "react-intl": "npm:react-intl@^5.18.1"
67
67
  }
68
68
  ```
69
69