@atlaskit/editor-plugin-breakout 9.0.0 → 10.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-breakout
2
2
 
3
+ ## 10.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 10.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
  ## 9.0.0
4
29
 
5
30
  ### Patch Changes
@@ -8,7 +8,7 @@ exports.default = void 0;
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
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 _analytics = require("@atlaskit/editor-common/analytics");
13
13
  var _styles = require("@atlaskit/editor-common/styles");
14
14
  var _ui = require("@atlaskit/editor-common/ui");
@@ -183,5 +183,5 @@ var LayoutButton = function LayoutButton(_ref) {
183
183
  })));
184
184
  };
185
185
  LayoutButton.displayName = 'LayoutButton';
186
- var _default_1 = (0, _reactIntlNext.injectIntl)(LayoutButton);
186
+ var _default_1 = (0, _reactIntl.injectIntl)(LayoutButton);
187
187
  var _default = exports.default = _default_1;
@@ -5,7 +5,7 @@
5
5
  import { useCallback } 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, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
10
10
  import { BreakoutCssClassName } from '@atlaskit/editor-common/styles';
11
11
  import { Popup } from '@atlaskit/editor-common/ui';
@@ -6,7 +6,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
6
6
  import { useCallback } from 'react';
7
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
8
  import { css, jsx } from '@emotion/react';
9
- import { injectIntl } from 'react-intl-next';
9
+ import { injectIntl } from 'react-intl';
10
10
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
11
11
  import { BreakoutCssClassName } from '@atlaskit/editor-common/styles';
12
12
  import { Popup } from '@atlaskit/editor-common/ui';
@@ -1,4 +1,4 @@
1
- import type { IntlShape, MessageDescriptor } from 'react-intl-next';
1
+ import type { IntlShape, MessageDescriptor } from 'react-intl';
2
2
  import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
3
3
  import type { BaseEventPayload, ElementDragType } from '@atlaskit/pragmatic-drag-and-drop/types';
4
4
  export declare const resizeHandleMessage: Record<string, MessageDescriptor>;
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
3
3
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
4
  import type { Mark } from '@atlaskit/editor-prosemirror/model';
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
3
3
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
4
4
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
@@ -1,5 +1,5 @@
1
1
  import type { ComponentType, FC } from 'react';
2
- import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
2
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
3
3
  import type { BreakoutMode, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
4
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
5
5
  import type { BreakoutPlugin } from '../breakoutPluginType';
@@ -1,4 +1,4 @@
1
- import type { IntlShape, MessageDescriptor } from 'react-intl-next';
1
+ import type { IntlShape, MessageDescriptor } from 'react-intl';
2
2
  import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
3
3
  import type { BaseEventPayload, ElementDragType } from '@atlaskit/pragmatic-drag-and-drop/types';
4
4
  export declare const resizeHandleMessage: Record<string, MessageDescriptor>;
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
3
3
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
4
  import type { Mark } from '@atlaskit/editor-prosemirror/model';
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
3
3
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
4
4
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
@@ -1,5 +1,5 @@
1
1
  import type { ComponentType, FC } from 'react';
2
- import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
2
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
3
3
  import type { BreakoutMode, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
4
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
5
5
  import type { BreakoutPlugin } from '../breakoutPluginType';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-breakout",
3
- "version": "9.0.0",
3
+ "version": "10.0.1",
4
4
  "description": "Breakout plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -30,20 +30,20 @@
30
30
  "atlaskit:src": "src/index.ts",
31
31
  "dependencies": {
32
32
  "@atlaskit/adf-schema": "^52.5.0",
33
- "@atlaskit/editor-plugin-block-controls": "^10.0.0",
34
- "@atlaskit/editor-plugin-editor-disabled": "^9.0.0",
35
- "@atlaskit/editor-plugin-editor-viewmode": "^11.0.0",
36
- "@atlaskit/editor-plugin-guideline": "^9.0.0",
37
- "@atlaskit/editor-plugin-interaction": "^18.0.0",
38
- "@atlaskit/editor-plugin-user-intent": "^7.0.0",
39
- "@atlaskit/editor-plugin-width": "^10.0.0",
33
+ "@atlaskit/editor-plugin-block-controls": "^11.0.0",
34
+ "@atlaskit/editor-plugin-editor-disabled": "^10.0.0",
35
+ "@atlaskit/editor-plugin-editor-viewmode": "^12.0.0",
36
+ "@atlaskit/editor-plugin-guideline": "^10.0.0",
37
+ "@atlaskit/editor-plugin-interaction": "^19.0.0",
38
+ "@atlaskit/editor-plugin-user-intent": "^8.0.0",
39
+ "@atlaskit/editor-plugin-width": "^11.0.0",
40
40
  "@atlaskit/editor-prosemirror": "^7.3.0",
41
41
  "@atlaskit/editor-shared-styles": "^3.10.0",
42
42
  "@atlaskit/icon": "^34.2.0",
43
43
  "@atlaskit/platform-feature-flags": "^1.1.0",
44
- "@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
44
+ "@atlaskit/pragmatic-drag-and-drop": "^1.8.0",
45
45
  "@atlaskit/theme": "^23.1.0",
46
- "@atlaskit/tmp-editor-statsig": "^62.4.0",
46
+ "@atlaskit/tmp-editor-statsig": "^63.0.0",
47
47
  "@atlaskit/tokens": "^13.0.0",
48
48
  "@atlaskit/tooltip": "^21.1.0",
49
49
  "@babel/runtime": "^7.0.0",
@@ -53,13 +53,14 @@
53
53
  "uuid": "^3.1.0"
54
54
  },
55
55
  "peerDependencies": {
56
- "@atlaskit/editor-common": "^113.0.0",
56
+ "@atlaskit/editor-common": "^114.2.0",
57
57
  "react": "^18.2.0",
58
58
  "react-dom": "^18.2.0",
59
- "react-intl-next": "npm:react-intl@^5.18.1"
59
+ "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@testing-library/react": "^16.3.0",
63
+ "react-intl": "^6.6.2",
63
64
  "wait-for-expect": "^1.2.0"
64
65
  },
65
66
  "techstack": {