@atlaskit/editor-plugin-expand 3.4.0 → 4.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 (2) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/package.json +18 -19
package/CHANGELOG.md CHANGED
@@ -1,5 +1,51 @@
1
1
  # @atlaskit/editor-plugin-expand
2
2
 
3
+ ## 4.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 4.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - [#181024](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/181024)
14
+ [`8e80c487ca307`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8e80c487ca307) - ##
15
+ Make `@atlaskit/editor-common` a peer dependency
16
+
17
+ **WHAT:** `@atlaskit/editor-common` has been moved from `dependencies` to `peerDependencies` in
18
+ all editor plugin packages.
19
+
20
+ **WHY:** This change ensures that only a single version of `@atlaskit/editor-common` is used in
21
+ consuming applications, preventing issues caused by multiple versions of singleton libraries (such
22
+ as context mismatches or duplicated state). This is especially important for packages that rely on
23
+ shared context or singletons.
24
+
25
+ **HOW TO ADJUST:**
26
+
27
+ - Consumers must now explicitly install `@atlaskit/editor-common` in their own project if they use
28
+ any of these editor plugins.
29
+ - Ensure the version you install matches the version required by the plugins.
30
+ - You can use the
31
+ [`check-peer-dependencies`](https://www.npmjs.com/package/check-peer-dependencies) package to
32
+ verify that all required peer dependencies are installed and compatible.
33
+ - Example install command:
34
+ ```
35
+ npm install @atlaskit/editor-common
36
+ ```
37
+ or
38
+ ```
39
+ yarn add @atlaskit/editor-common
40
+ ```
41
+
42
+ **Note:** This is a breaking change. If `@atlaskit/editor-common` is not installed at the
43
+ application level, you may see errors or unexpected behavior.
44
+
45
+ ### Patch Changes
46
+
47
+ - Updated dependencies
48
+
3
49
  ## 3.4.0
4
50
 
5
51
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-expand",
3
- "version": "3.4.0",
3
+ "version": "4.0.1",
4
4
  "description": "Expand plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -9,8 +9,7 @@
9
9
  },
10
10
  "atlassian": {
11
11
  "team": "Editor: Jenga",
12
- "singleton": true,
13
- "runReact18": true
12
+ "singleton": true
14
13
  },
15
14
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
16
15
  "main": "dist/cjs/index.js",
@@ -35,20 +34,19 @@
35
34
  "dependencies": {
36
35
  "@atlaskit/adf-schema": "^47.6.0",
37
36
  "@atlaskit/button": "^23.2.0",
38
- "@atlaskit/editor-common": "^107.2.0",
39
- "@atlaskit/editor-plugin-analytics": "^2.3.0",
40
- "@atlaskit/editor-plugin-decorations": "^2.0.0",
41
- "@atlaskit/editor-plugin-editor-disabled": "^2.1.0",
42
- "@atlaskit/editor-plugin-editor-viewmode": "^4.0.0",
43
- "@atlaskit/editor-plugin-find-replace": "^2.10.0",
44
- "@atlaskit/editor-plugin-selection": "^2.2.0",
45
- "@atlaskit/editor-plugin-selection-marker": "^2.5.0",
37
+ "@atlaskit/editor-plugin-analytics": "^3.0.0",
38
+ "@atlaskit/editor-plugin-decorations": "^3.0.0",
39
+ "@atlaskit/editor-plugin-editor-disabled": "^3.0.0",
40
+ "@atlaskit/editor-plugin-editor-viewmode": "^5.0.0",
41
+ "@atlaskit/editor-plugin-find-replace": "^3.0.0",
42
+ "@atlaskit/editor-plugin-selection": "^3.0.0",
43
+ "@atlaskit/editor-plugin-selection-marker": "^3.0.0",
46
44
  "@atlaskit/editor-prosemirror": "7.0.0",
47
45
  "@atlaskit/editor-shared-styles": "^3.4.0",
48
46
  "@atlaskit/editor-tables": "^2.9.0",
49
- "@atlaskit/icon": "^27.2.0",
47
+ "@atlaskit/icon": "^27.3.0",
50
48
  "@atlaskit/platform-feature-flags": "^1.1.0",
51
- "@atlaskit/tmp-editor-statsig": "^8.3.0",
49
+ "@atlaskit/tmp-editor-statsig": "^9.0.0",
52
50
  "@atlaskit/tokens": "^5.4.0",
53
51
  "@atlaskit/tooltip": "^20.3.0",
54
52
  "@babel/runtime": "^7.0.0",
@@ -57,18 +55,19 @@
57
55
  "w3c-keyname": "^2.1.8"
58
56
  },
59
57
  "peerDependencies": {
58
+ "@atlaskit/editor-common": "^107.7.0",
60
59
  "react": "^18.2.0",
61
60
  "react-dom": "^18.2.0",
62
61
  "react-intl-next": "npm:react-intl@^5.18.1"
63
62
  },
64
63
  "devDependencies": {
65
64
  "@atlaskit/analytics-next": "^11.1.0",
66
- "@atlaskit/editor-plugin-content-insertion": "^2.1.0",
67
- "@atlaskit/editor-plugin-guideline": "^2.0.0",
68
- "@atlaskit/editor-plugin-quick-insert": "^2.6.0",
69
- "@atlaskit/editor-plugin-table": "^10.12.0",
70
- "@atlaskit/editor-plugin-type-ahead": "^2.7.0",
71
- "@atlaskit/editor-plugin-width": "^3.0.0",
65
+ "@atlaskit/editor-plugin-content-insertion": "^3.0.0",
66
+ "@atlaskit/editor-plugin-guideline": "^3.0.0",
67
+ "@atlaskit/editor-plugin-quick-insert": "^3.0.0",
68
+ "@atlaskit/editor-plugin-table": "^11.0.0",
69
+ "@atlaskit/editor-plugin-type-ahead": "^3.0.0",
70
+ "@atlaskit/editor-plugin-width": "^4.0.0",
72
71
  "@testing-library/react": "^13.4.0",
73
72
  "react-test-renderer": "^18.2.0",
74
73
  "typescript": "~5.4.2"