@atlaskit/editor-plugin-paste 10.0.1 → 11.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 +25 -0
- package/dist/cjs/ui/Flag.js +2 -2
- package/dist/es2019/ui/Flag.js +1 -1
- package/dist/esm/ui/Flag.js +1 -1
- package/dist/types/pastePluginType.d.ts +1 -1
- package/dist/types/pm-plugins/create-clipboard-text-serializer.d.ts +1 -1
- package/dist/types/pm-plugins/main.d.ts +1 -1
- package/dist/types-ts4.5/pastePluginType.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/create-clipboard-text-serializer.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/main.d.ts +1 -1
- package/package.json +15 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-paste
|
|
2
2
|
|
|
3
|
+
## 11.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 11.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
|
## 10.0.1
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
package/dist/cjs/ui/Flag.js
CHANGED
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.Flag = void 0;
|
|
9
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
var
|
|
11
|
+
var _reactIntl = require("react-intl");
|
|
12
12
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
13
13
|
var _flag = _interopRequireWildcard(require("@atlaskit/flag"));
|
|
14
14
|
var _statusError = _interopRequireDefault(require("@atlaskit/icon/core/status-error"));
|
|
@@ -29,7 +29,7 @@ var Flag = exports.Flag = function Flag(_ref) {
|
|
|
29
29
|
};
|
|
30
30
|
}),
|
|
31
31
|
activeFlag = _useSharedPluginState.activeFlag;
|
|
32
|
-
var _useIntl = (0,
|
|
32
|
+
var _useIntl = (0, _reactIntl.useIntl)(),
|
|
33
33
|
formatMessage = _useIntl.formatMessage;
|
|
34
34
|
if (!activeFlag) {
|
|
35
35
|
return;
|
package/dist/es2019/ui/Flag.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl
|
|
2
|
+
import { useIntl } from 'react-intl';
|
|
3
3
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
4
4
|
import AkFlag, { AutoDismissFlag, FlagGroup } from '@atlaskit/flag';
|
|
5
5
|
import StatusErrorIcon from '@atlaskit/icon/core/status-error';
|
package/dist/esm/ui/Flag.js
CHANGED
|
@@ -2,7 +2,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
2
2
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { useIntl } from 'react-intl
|
|
5
|
+
import { useIntl } from 'react-intl';
|
|
6
6
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
7
7
|
import AkFlag, { AutoDismissFlag, FlagGroup } from '@atlaskit/flag';
|
|
8
8
|
import StatusErrorIcon from '@atlaskit/icon/core/status-error';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MessageDescriptor } from 'react-intl
|
|
1
|
+
import type { MessageDescriptor } from 'react-intl';
|
|
2
2
|
import type { PasteSource } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import type { CardOptions } from '@atlaskit/editor-common/card';
|
|
4
4
|
import type { NextEditorPlugin, OptionalPlugin, PasteWarningOptions } from '@atlaskit/editor-common/types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl
|
|
1
|
+
import type { IntlShape } from 'react-intl';
|
|
2
2
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import type { CardOptions } from '@atlaskit/editor-common/card';
|
|
4
4
|
import type { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MessageDescriptor } from 'react-intl
|
|
1
|
+
import type { MessageDescriptor } from 'react-intl';
|
|
2
2
|
import type { PasteSource } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import type { CardOptions } from '@atlaskit/editor-common/card';
|
|
4
4
|
import type { NextEditorPlugin, OptionalPlugin, PasteWarningOptions } from '@atlaskit/editor-common/types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl
|
|
1
|
+
import type { IntlShape } from 'react-intl';
|
|
2
2
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import type { CardOptions } from '@atlaskit/editor-common/card';
|
|
4
4
|
import type { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-paste",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.0.1",
|
|
4
4
|
"description": "Paste plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
"@atlaskit/adf-schema": "^52.5.0",
|
|
31
31
|
"@atlaskit/code": "^17.4.0",
|
|
32
32
|
"@atlaskit/editor-markdown-transformer": "^5.20.0",
|
|
33
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
34
|
-
"@atlaskit/editor-plugin-annotation": "^
|
|
35
|
-
"@atlaskit/editor-plugin-better-type-history": "^
|
|
36
|
-
"@atlaskit/editor-plugin-card": "^
|
|
37
|
-
"@atlaskit/editor-plugin-expand": "^
|
|
38
|
-
"@atlaskit/editor-plugin-feature-flags": "^
|
|
39
|
-
"@atlaskit/editor-plugin-list": "^
|
|
40
|
-
"@atlaskit/editor-plugin-media": "^
|
|
41
|
-
"@atlaskit/editor-plugin-mentions": "^
|
|
33
|
+
"@atlaskit/editor-plugin-analytics": "^10.0.0",
|
|
34
|
+
"@atlaskit/editor-plugin-annotation": "^10.0.0",
|
|
35
|
+
"@atlaskit/editor-plugin-better-type-history": "^10.0.0",
|
|
36
|
+
"@atlaskit/editor-plugin-card": "^16.0.0",
|
|
37
|
+
"@atlaskit/editor-plugin-expand": "^11.0.0",
|
|
38
|
+
"@atlaskit/editor-plugin-feature-flags": "^9.0.0",
|
|
39
|
+
"@atlaskit/editor-plugin-list": "^12.0.0",
|
|
40
|
+
"@atlaskit/editor-plugin-media": "^12.1.0",
|
|
41
|
+
"@atlaskit/editor-plugin-mentions": "^12.0.0",
|
|
42
42
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
43
43
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
44
44
|
"@atlaskit/flag": "^17.9.0",
|
|
@@ -48,20 +48,21 @@
|
|
|
48
48
|
"@atlaskit/media-common": "^13.0.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
50
50
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
51
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
51
|
+
"@atlaskit/tmp-editor-statsig": "^63.0.0",
|
|
52
52
|
"@atlaskit/tokens": "^13.0.0",
|
|
53
53
|
"@babel/runtime": "^7.0.0",
|
|
54
54
|
"lodash": "^4.17.21",
|
|
55
|
-
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
56
55
|
"uuid": "^3.1.0"
|
|
57
56
|
},
|
|
58
57
|
"peerDependencies": {
|
|
59
|
-
"@atlaskit/editor-common": "^
|
|
58
|
+
"@atlaskit/editor-common": "^114.2.0",
|
|
60
59
|
"react": "^18.2.0",
|
|
61
|
-
"react-dom": "^18.2.0"
|
|
60
|
+
"react-dom": "^18.2.0",
|
|
61
|
+
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@testing-library/react": "^16.3.0",
|
|
65
|
+
"react-intl": "^6.6.2",
|
|
65
66
|
"wait-for-expect": "^1.2.0"
|
|
66
67
|
},
|
|
67
68
|
"techstack": {
|