@atlaskit/editor-plugin-placeholder 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-placeholder
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
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { DocNode } from '@atlaskit/adf-schema';
3
3
  export declare const createShortEmptyNodePlaceholderADF: ({ formatMessage }: IntlShape) => DocNode;
4
4
  export declare const createLongEmptyNodePlaceholderADF: ({ formatMessage }: IntlShape) => DocNode;
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { DocNode } from '@atlaskit/adf-schema';
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 { DocNode } from '@atlaskit/adf-schema';
3
3
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
4
4
  export interface PlaceHolderState {
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { DocNode } from '@atlaskit/adf-schema';
3
3
  export declare const createShortEmptyNodePlaceholderADF: ({ formatMessage }: IntlShape) => DocNode;
4
4
  export declare const createLongEmptyNodePlaceholderADF: ({ formatMessage }: IntlShape) => DocNode;
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { DocNode } from '@atlaskit/adf-schema';
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 { DocNode } from '@atlaskit/adf-schema';
3
3
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
4
4
  export interface PlaceHolderState {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-placeholder",
3
- "version": "9.0.0",
3
+ "version": "10.0.1",
4
4
  "description": "Placeholder plugin for @atlaskit/editor-core.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -29,26 +29,27 @@
29
29
  "dependencies": {
30
30
  "@atlaskit/adf-utils": "^19.27.0",
31
31
  "@atlaskit/css": "^0.19.0",
32
- "@atlaskit/editor-plugin-composition": "^8.0.0",
33
- "@atlaskit/editor-plugin-focus": "^8.0.0",
34
- "@atlaskit/editor-plugin-show-diff": "^7.0.0",
35
- "@atlaskit/editor-plugin-type-ahead": "^9.0.0",
32
+ "@atlaskit/editor-plugin-composition": "^9.0.0",
33
+ "@atlaskit/editor-plugin-focus": "^9.0.0",
34
+ "@atlaskit/editor-plugin-show-diff": "^8.1.0",
35
+ "@atlaskit/editor-plugin-type-ahead": "^10.0.0",
36
36
  "@atlaskit/editor-prosemirror": "^7.3.0",
37
37
  "@atlaskit/platform-feature-flags": "^1.1.0",
38
38
  "@atlaskit/primitives": "^19.0.0",
39
39
  "@atlaskit/spinner": "^19.1.0",
40
- "@atlaskit/tmp-editor-statsig": "^62.4.0",
40
+ "@atlaskit/tmp-editor-statsig": "^63.0.0",
41
41
  "@atlaskit/tokens": "^13.0.0",
42
42
  "@babel/runtime": "^7.0.0"
43
43
  },
44
44
  "peerDependencies": {
45
- "@atlaskit/editor-common": "^113.0.0",
45
+ "@atlaskit/editor-common": "^114.2.0",
46
46
  "react": "^18.2.0",
47
47
  "react-dom": "^18.2.0",
48
- "react-intl-next": "npm:react-intl@^5.18.1"
48
+ "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@testing-library/react": "^16.3.0"
51
+ "@testing-library/react": "^16.3.0",
52
+ "react-intl": "^6.6.2"
52
53
  },
53
54
  "techstack": {
54
55
  "@atlassian/frontend": {