@atlaskit/editor-plugin-breakout 9.0.0 → 10.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 +19 -0
- package/dist/cjs/ui/LayoutButton.js +2 -2
- package/dist/es2019/ui/LayoutButton.js +1 -1
- package/dist/esm/ui/LayoutButton.js +1 -1
- package/dist/types/pm-plugins/pragmatic-resizer.d.ts +1 -1
- package/dist/types/pm-plugins/resizing-mark-view.d.ts +1 -1
- package/dist/types/pm-plugins/resizing-plugin.d.ts +1 -1
- package/dist/types/ui/LayoutButton.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/pragmatic-resizer.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/resizing-mark-view.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/resizing-plugin.d.ts +1 -1
- package/dist/types-ts4.5/ui/LayoutButton.d.ts +1 -1
- package/package.json +11 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-breakout
|
|
2
2
|
|
|
3
|
+
## 10.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
|
## 9.0.0
|
|
4
23
|
|
|
5
24
|
### 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
|
|
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,
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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": "
|
|
3
|
+
"version": "10.0.0",
|
|
4
4
|
"description": "Breakout plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"atlaskit:src": "src/index.ts",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@atlaskit/adf-schema": "^52.5.0",
|
|
33
|
-
"@atlaskit/editor-plugin-block-controls": "^
|
|
34
|
-
"@atlaskit/editor-plugin-editor-disabled": "^
|
|
35
|
-
"@atlaskit/editor-plugin-editor-viewmode": "^
|
|
36
|
-
"@atlaskit/editor-plugin-guideline": "^
|
|
37
|
-
"@atlaskit/editor-plugin-interaction": "^
|
|
38
|
-
"@atlaskit/editor-plugin-user-intent": "^
|
|
39
|
-
"@atlaskit/editor-plugin-width": "^
|
|
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",
|
|
@@ -53,13 +53,14 @@
|
|
|
53
53
|
"uuid": "^3.1.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@atlaskit/editor-common": "^
|
|
56
|
+
"@atlaskit/editor-common": "^114.0.0",
|
|
57
57
|
"react": "^18.2.0",
|
|
58
58
|
"react-dom": "^18.2.0",
|
|
59
|
-
"react-intl
|
|
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": {
|