@atlaskit/editor-plugin-caption 1.8.1 → 1.9.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,26 @@
1
1
  # @atlaskit/editor-plugin-caption
2
2
 
3
+ ## 1.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`46b889c01d03e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/46b889c01d03e) -
8
+ [ux] Clean up Reaact 18 Feature Flags
9
+
10
+ ## 1.9.0
11
+
12
+ ### Minor Changes
13
+
14
+ - [#128347](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/128347)
15
+ [`e33566cebd5d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e33566cebd5d1) -
16
+ [ED-24175] bump @atlaskit/adf-schema to 40.8.1 and @atlassian/adf-schema-json to 1.22.0 to
17
+ promotecodeblocks & media in quotes, and nested expands in expands to full schema, and allow
18
+ quotes in panels and decisions in lists in stage0 schema, and a validator spec change
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies
23
+
3
24
  ## 1.8.1
4
25
 
5
26
  ### Patch Changes
@@ -61,9 +61,6 @@ var CaptionNodeView = exports.CaptionNodeView = /*#__PURE__*/function (_Selectio
61
61
  }, {
62
62
  key: "ignoreMutation",
63
63
  value: function ignoreMutation(mutation) {
64
- if (!(0, _platformFeatureFlags.fg)('react_18_caption_concurrent_mode')) {
65
- return false;
66
- }
67
64
  if (!this.contentDOM) {
68
65
  return true;
69
66
  }
@@ -34,9 +34,6 @@ export class CaptionNodeView extends SelectionBasedNodeView {
34
34
  // ED-24114: We need to ignore mutations that are not related to the caption node
35
35
  // since these mutations can cause an infinite loop in React 18 when using createRoot
36
36
  ignoreMutation(mutation) {
37
- if (!fg('react_18_caption_concurrent_mode')) {
38
- return false;
39
- }
40
37
  if (!this.contentDOM) {
41
38
  return true;
42
39
  }
@@ -53,9 +53,6 @@ export var CaptionNodeView = /*#__PURE__*/function (_SelectionBasedNodeVi) {
53
53
  }, {
54
54
  key: "ignoreMutation",
55
55
  value: function ignoreMutation(mutation) {
56
- if (!fg('react_18_caption_concurrent_mode')) {
57
- return false;
58
- }
59
56
  if (!this.contentDOM) {
60
57
  return true;
61
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-caption",
3
- "version": "1.8.1",
3
+ "version": "1.9.1",
4
4
  "description": "Caption plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,9 +32,9 @@
32
32
  ".": "./src/index.ts"
33
33
  },
34
34
  "dependencies": {
35
- "@atlaskit/adf-schema": "^40.3.0",
36
- "@atlaskit/editor-common": "^87.0.0",
37
- "@atlaskit/editor-plugin-analytics": "^1.6.0",
35
+ "@atlaskit/adf-schema": "^40.8.1",
36
+ "@atlaskit/editor-common": "^87.9.0",
37
+ "@atlaskit/editor-plugin-analytics": "^1.7.0",
38
38
  "@atlaskit/editor-plugin-editor-disabled": "^1.2.0",
39
39
  "@atlaskit/editor-prosemirror": "5.0.1",
40
40
  "@atlaskit/platform-feature-flags": "^0.3.0",
@@ -44,13 +44,13 @@
44
44
  "@atlaskit/editor-plugin-copy-button": "^1.2.0",
45
45
  "@atlaskit/editor-plugin-decorations": "^1.2.0",
46
46
  "@atlaskit/editor-plugin-feature-flags": "^1.2.0",
47
- "@atlaskit/editor-plugin-floating-toolbar": "^1.9.0",
47
+ "@atlaskit/editor-plugin-floating-toolbar": "^1.10.0",
48
48
  "@atlaskit/editor-plugin-focus": "^1.3.0",
49
49
  "@atlaskit/editor-plugin-grid": "^1.2.0",
50
50
  "@atlaskit/editor-plugin-guideline": "^1.2.0",
51
51
  "@atlaskit/editor-plugin-selection": "^1.3.0",
52
52
  "@atlaskit/editor-plugin-width": "^1.2.0",
53
- "@atlaskit/renderer": "^109.44.0"
53
+ "@atlaskit/renderer": "^109.46.0"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "react": "^16.8.0"
@@ -88,9 +88,6 @@
88
88
  "platform-feature-flags": {
89
89
  "platform.editor.live-view.disable-editing-in-view-mode_fi1rx": {
90
90
  "type": "boolean"
91
- },
92
- "react_18_caption_concurrent_mode": {
93
- "type": "boolean"
94
91
  }
95
92
  }
96
93
  }