@atlaskit/editor-plugin-block-controls 10.0.0 → 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.
Files changed (28) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/types/blockControlsPluginType.d.ts +1 -1
  3. package/dist/types/editor-commands/move-node.d.ts +1 -1
  4. package/dist/types/pm-plugins/decorations-drag-handle.d.ts +1 -1
  5. package/dist/types/pm-plugins/decorations-drop-target-active.d.ts +1 -1
  6. package/dist/types/pm-plugins/decorations-drop-target.d.ts +1 -1
  7. package/dist/types/pm-plugins/decorations-quick-insert-button.d.ts +1 -1
  8. package/dist/types/pm-plugins/keymap.d.ts +1 -1
  9. package/dist/types/pm-plugins/main.d.ts +1 -1
  10. package/dist/types/pm-plugins/vanilla-quick-insert.d.ts +1 -1
  11. package/dist/types/ui/drag-handle.d.ts +1 -1
  12. package/dist/types/ui/drop-target-layout.d.ts +1 -1
  13. package/dist/types/ui/drop-target.d.ts +1 -1
  14. package/dist/types/ui/quick-insert-button.d.ts +1 -1
  15. package/dist/types-ts4.5/blockControlsPluginType.d.ts +1 -1
  16. package/dist/types-ts4.5/editor-commands/move-node.d.ts +1 -1
  17. package/dist/types-ts4.5/pm-plugins/decorations-drag-handle.d.ts +1 -1
  18. package/dist/types-ts4.5/pm-plugins/decorations-drop-target-active.d.ts +1 -1
  19. package/dist/types-ts4.5/pm-plugins/decorations-drop-target.d.ts +1 -1
  20. package/dist/types-ts4.5/pm-plugins/decorations-quick-insert-button.d.ts +1 -1
  21. package/dist/types-ts4.5/pm-plugins/keymap.d.ts +1 -1
  22. package/dist/types-ts4.5/pm-plugins/main.d.ts +1 -1
  23. package/dist/types-ts4.5/pm-plugins/vanilla-quick-insert.d.ts +1 -1
  24. package/dist/types-ts4.5/ui/drag-handle.d.ts +1 -1
  25. package/dist/types-ts4.5/ui/drop-target-layout.d.ts +1 -1
  26. package/dist/types-ts4.5/ui/drop-target.d.ts +1 -1
  27. package/dist/types-ts4.5/ui/quick-insert-button.d.ts +1 -1
  28. package/package.json +22 -19
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # @atlaskit/editor-plugin-block-controls
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.0
4
29
 
5
30
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
3
3
  import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
4
4
  import type { DIRECTION, EditorCommand, NextEditorPlugin, OptionalPlugin, PublicPluginAPI } from '@atlaskit/editor-common/types';
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import { type Command, type EditorCommand, type ExtractInjectionAPI, DIRECTION } from '@atlaskit/editor-common/types';
3
3
  import type { BlockControlsPlugin, MoveNodeMethod } from '../blockControlsPluginType';
4
4
  export declare const moveNodeViaShortcut: (api: ExtractInjectionAPI<BlockControlsPlugin> | undefined, direction: DIRECTION, formatMessage?: IntlShape["formatMessage"]) => Command;
@@ -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 { EditorState } from '@atlaskit/editor-prosemirror/state';
@@ -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 { Node as PMNode, ResolvedPos } 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 type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
4
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
@@ -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 { EditorState } from '@atlaskit/editor-prosemirror/state';
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
3
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
4
  import type { BlockControlsPlugin } from '../blockControlsPluginType';
@@ -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,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
3
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
4
  import type { BlockControlsPlugin } from '../blockControlsPluginType';
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import type { IntlShape } from 'react-intl-next';
2
+ import type { IntlShape } from 'react-intl';
3
3
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
4
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
5
5
  import type { BlockControlsPlugin, HandleOptions } from '../blockControlsPluginType';
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import type { IntlShape } from 'react-intl-next';
2
+ import type { IntlShape } from 'react-intl';
3
3
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
4
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
5
5
  import type { BlockControlsPlugin } from '../blockControlsPluginType';
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import type { IntlShape } from 'react-intl-next';
2
+ import type { IntlShape } from 'react-intl';
3
3
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
4
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
5
5
  import type { BlockControlsPlugin } from '../blockControlsPluginType';
@@ -3,7 +3,7 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import { jsx } from '@emotion/react';
6
- import type { IntlShape } from 'react-intl-next';
6
+ import type { IntlShape } from 'react-intl';
7
7
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
8
8
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
9
9
  import type { BlockControlsPlugin } from '../blockControlsPluginType';
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
3
3
  import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
4
4
  import type { DIRECTION, EditorCommand, NextEditorPlugin, OptionalPlugin, PublicPluginAPI } from '@atlaskit/editor-common/types';
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import { type Command, type EditorCommand, type ExtractInjectionAPI, DIRECTION } from '@atlaskit/editor-common/types';
3
3
  import type { BlockControlsPlugin, MoveNodeMethod } from '../blockControlsPluginType';
4
4
  export declare const moveNodeViaShortcut: (api: ExtractInjectionAPI<BlockControlsPlugin> | undefined, direction: DIRECTION, formatMessage?: IntlShape["formatMessage"]) => Command;
@@ -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 { EditorState } from '@atlaskit/editor-prosemirror/state';
@@ -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 { Node as PMNode, ResolvedPos } 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 type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
4
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
@@ -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 { EditorState } from '@atlaskit/editor-prosemirror/state';
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
3
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
4
  import type { BlockControlsPlugin } from '../blockControlsPluginType';
@@ -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,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
3
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
4
  import type { BlockControlsPlugin } from '../blockControlsPluginType';
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import type { IntlShape } from 'react-intl-next';
2
+ import type { IntlShape } from 'react-intl';
3
3
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
4
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
5
5
  import type { BlockControlsPlugin, HandleOptions } from '../blockControlsPluginType';
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import type { IntlShape } from 'react-intl-next';
2
+ import type { IntlShape } from 'react-intl';
3
3
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
4
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
5
5
  import type { BlockControlsPlugin } from '../blockControlsPluginType';
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import type { IntlShape } from 'react-intl-next';
2
+ import type { IntlShape } from 'react-intl';
3
3
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
4
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
5
5
  import type { BlockControlsPlugin } from '../blockControlsPluginType';
@@ -3,7 +3,7 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import { jsx } from '@emotion/react';
6
- import type { IntlShape } from 'react-intl-next';
6
+ import type { IntlShape } from 'react-intl';
7
7
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
8
8
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
9
9
  import type { BlockControlsPlugin } from '../blockControlsPluginType';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-controls",
3
- "version": "10.0.0",
3
+ "version": "11.0.1",
4
4
  "description": "Block controls plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -30,20 +30,20 @@
30
30
  "dependencies": {
31
31
  "@atlaskit/browser-apis": "^0.0.1",
32
32
  "@atlaskit/button": "^23.11.0",
33
- "@atlaskit/editor-plugin-accessibility-utils": "^9.0.0",
34
- "@atlaskit/editor-plugin-analytics": "^9.0.0",
35
- "@atlaskit/editor-plugin-editor-disabled": "^9.0.0",
36
- "@atlaskit/editor-plugin-editor-viewmode": "^11.0.0",
37
- "@atlaskit/editor-plugin-feature-flags": "^8.0.0",
38
- "@atlaskit/editor-plugin-interaction": "^18.0.0",
39
- "@atlaskit/editor-plugin-limited-mode": "^6.0.0",
40
- "@atlaskit/editor-plugin-metrics": "^10.0.0",
41
- "@atlaskit/editor-plugin-quick-insert": "^9.0.0",
42
- "@atlaskit/editor-plugin-selection": "^9.0.0",
43
- "@atlaskit/editor-plugin-toolbar": "^6.0.0",
44
- "@atlaskit/editor-plugin-type-ahead": "^9.0.0",
45
- "@atlaskit/editor-plugin-user-intent": "^7.0.0",
46
- "@atlaskit/editor-plugin-width": "^10.0.0",
33
+ "@atlaskit/editor-plugin-accessibility-utils": "^10.0.0",
34
+ "@atlaskit/editor-plugin-analytics": "^10.0.0",
35
+ "@atlaskit/editor-plugin-editor-disabled": "^10.0.0",
36
+ "@atlaskit/editor-plugin-editor-viewmode": "^12.0.0",
37
+ "@atlaskit/editor-plugin-feature-flags": "^9.0.0",
38
+ "@atlaskit/editor-plugin-interaction": "^19.0.0",
39
+ "@atlaskit/editor-plugin-limited-mode": "^7.0.0",
40
+ "@atlaskit/editor-plugin-metrics": "^11.0.0",
41
+ "@atlaskit/editor-plugin-quick-insert": "^10.0.0",
42
+ "@atlaskit/editor-plugin-selection": "^10.0.0",
43
+ "@atlaskit/editor-plugin-toolbar": "^7.0.0",
44
+ "@atlaskit/editor-plugin-type-ahead": "^10.0.0",
45
+ "@atlaskit/editor-plugin-user-intent": "^8.0.0",
46
+ "@atlaskit/editor-plugin-width": "^11.0.0",
47
47
  "@atlaskit/editor-prosemirror": "^7.3.0",
48
48
  "@atlaskit/editor-shared-styles": "^3.10.0",
49
49
  "@atlaskit/editor-tables": "^2.9.0",
@@ -51,12 +51,12 @@
51
51
  "@atlaskit/icon-lab": "^6.5.0",
52
52
  "@atlaskit/link": "^3.4.0",
53
53
  "@atlaskit/platform-feature-flags": "^1.1.0",
54
- "@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
54
+ "@atlaskit/pragmatic-drag-and-drop": "^1.8.0",
55
55
  "@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^2.1.0",
56
56
  "@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^3.2.0",
57
57
  "@atlaskit/primitives": "^19.0.0",
58
58
  "@atlaskit/theme": "^23.1.0",
59
- "@atlaskit/tmp-editor-statsig": "^62.4.0",
59
+ "@atlaskit/tmp-editor-statsig": "^63.0.0",
60
60
  "@atlaskit/tokens": "^13.0.0",
61
61
  "@atlaskit/tooltip": "^21.1.0",
62
62
  "@babel/runtime": "^7.0.0",
@@ -67,10 +67,10 @@
67
67
  "uuid": "^3.1.0"
68
68
  },
69
69
  "peerDependencies": {
70
- "@atlaskit/editor-common": "^113.0.0",
70
+ "@atlaskit/editor-common": "^114.2.0",
71
71
  "react": "^18.2.0",
72
72
  "react-dom": "^18.2.0",
73
- "react-intl-next": "npm:react-intl@^5.18.1"
73
+ "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
74
74
  },
75
75
  "techstack": {
76
76
  "@atlassian/frontend": {
@@ -144,5 +144,8 @@
144
144
  "confluence_remix_button_right_side_block_fg": {
145
145
  "type": "boolean"
146
146
  }
147
+ },
148
+ "devDependencies": {
149
+ "react-intl": "^6.6.2"
147
150
  }
148
151
  }