@atlaskit/editor-core 242.0.8 → 242.0.10

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,20 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 242.0.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 242.0.9
10
+
11
+ ### Patch Changes
12
+
13
+ - [`51b55d41ca6c1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/51b55d41ca6c1) -
14
+ Clean up experiment `platform_editor_viewmode_aria_readonly_a11y`; the editor now always sets
15
+ `aria-readonly="true"` in view mode.
16
+ - Updated dependencies
17
+
3
18
  ## 242.0.8
4
19
 
5
20
  ### Patch Changes
@@ -923,7 +923,7 @@ function ReactEditorView(props) {
923
923
  };
924
924
  var doc = (0, _profileSSROperation.profileSSROperation)("".concat(SSR_TRACE_SEGMENT_NAME, "/buildDoc"), doBuildDoc, onSSRMeasure);
925
925
  var isViewMode = ((_pluginInjectionAPI$c6 = pluginInjectionAPI.current.api()) === null || _pluginInjectionAPI$c6 === void 0 || (_pluginInjectionAPI$c6 = _pluginInjectionAPI$c6.editorViewMode) === null || _pluginInjectionAPI$c6 === void 0 || (_pluginInjectionAPI$c6 = _pluginInjectionAPI$c6.sharedState.currentState()) === null || _pluginInjectionAPI$c6 === void 0 ? void 0 : _pluginInjectionAPI$c6.mode) === 'view';
926
- var ariaReadonly = isViewMode && (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_viewmode_aria_readonly_a11y') ? 'true' : undefined;
926
+ var ariaReadonly = isViewMode ? 'true' : undefined;
927
927
 
928
928
  // When the optimistic toolbar needs initial state, create SSR-safe PM plugins and EditorState
929
929
  // HERE in ssrDeps — before any children render — so that FullPageToolbarNext can read correct
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
8
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
9
- var version = exports.version = "242.0.7";
9
+ var version = exports.version = "242.0.9";
@@ -865,7 +865,7 @@ export function ReactEditorView(props) {
865
865
  const doBuildDoc = () => buildDoc(schema);
866
866
  const doc = profileSSROperation(`${SSR_TRACE_SEGMENT_NAME}/buildDoc`, doBuildDoc, onSSRMeasure);
867
867
  const isViewMode = ((_pluginInjectionAPI$c0 = pluginInjectionAPI.current.api()) === null || _pluginInjectionAPI$c0 === void 0 ? void 0 : (_pluginInjectionAPI$c1 = _pluginInjectionAPI$c0.editorViewMode) === null || _pluginInjectionAPI$c1 === void 0 ? void 0 : (_pluginInjectionAPI$c10 = _pluginInjectionAPI$c1.sharedState.currentState()) === null || _pluginInjectionAPI$c10 === void 0 ? void 0 : _pluginInjectionAPI$c10.mode) === 'view';
868
- const ariaReadonly = isViewMode && isExperimentEnabled('platform_editor_viewmode_aria_readonly_a11y') ? 'true' : undefined;
868
+ const ariaReadonly = isViewMode ? 'true' : undefined;
869
869
 
870
870
  // When the optimistic toolbar needs initial state, create SSR-safe PM plugins and EditorState
871
871
  // HERE in ssrDeps — before any children render — so that FullPageToolbarNext can read correct
@@ -1,3 +1,3 @@
1
1
  export const name = "@atlaskit/editor-core";
2
2
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
3
- export const version = "242.0.7";
3
+ export const version = "242.0.9";
@@ -914,7 +914,7 @@ export function ReactEditorView(props) {
914
914
  };
915
915
  var doc = profileSSROperation("".concat(SSR_TRACE_SEGMENT_NAME, "/buildDoc"), doBuildDoc, onSSRMeasure);
916
916
  var isViewMode = ((_pluginInjectionAPI$c6 = pluginInjectionAPI.current.api()) === null || _pluginInjectionAPI$c6 === void 0 || (_pluginInjectionAPI$c6 = _pluginInjectionAPI$c6.editorViewMode) === null || _pluginInjectionAPI$c6 === void 0 || (_pluginInjectionAPI$c6 = _pluginInjectionAPI$c6.sharedState.currentState()) === null || _pluginInjectionAPI$c6 === void 0 ? void 0 : _pluginInjectionAPI$c6.mode) === 'view';
917
- var ariaReadonly = isViewMode && isExperimentEnabled('platform_editor_viewmode_aria_readonly_a11y') ? 'true' : undefined;
917
+ var ariaReadonly = isViewMode ? 'true' : undefined;
918
918
 
919
919
  // When the optimistic toolbar needs initial state, create SSR-safe PM plugins and EditorState
920
920
  // HERE in ssrDeps — before any children render — so that FullPageToolbarNext can read correct
@@ -1,3 +1,3 @@
1
1
  export var name = "@atlaskit/editor-core";
2
2
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
3
- export var version = "242.0.7";
3
+ export var version = "242.0.9";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "242.0.8",
3
+ "version": "242.0.10",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -73,9 +73,9 @@
73
73
  "@atlaskit/popup": "^10.2.0",
74
74
  "@atlaskit/primitives": "^22.6.0",
75
75
  "@atlaskit/react-compiler-gating": "^0.2.0",
76
- "@atlaskit/react-ufo": "^8.3.0",
76
+ "@atlaskit/react-ufo": "^8.4.0",
77
77
  "@atlaskit/task-decision": "^21.14.0",
78
- "@atlaskit/tmp-editor-statsig": "^251.0.0",
78
+ "@atlaskit/tmp-editor-statsig": "^253.0.0",
79
79
  "@atlaskit/tokens": "^20.9.0",
80
80
  "@atlaskit/tooltip": "^24.4.0",
81
81
  "@atlaskit/width-detector": "^7.2.0",
@@ -91,7 +91,7 @@
91
91
  "uuid": "^11.1.1"
92
92
  },
93
93
  "peerDependencies": {
94
- "@atlaskit/editor-common": "^134.4.0",
94
+ "@atlaskit/editor-common": "^134.5.0",
95
95
  "@atlaskit/link-provider": "^6.0.0",
96
96
  "@atlaskit/media-core": "^39.0.0",
97
97
  "react": "^18.2.0 || ^19.2.0",
@@ -111,6 +111,7 @@
111
111
  "@atlaskit/collab-provider": "^39.1.0",
112
112
  "@atlaskit/docs": "^12.3.0",
113
113
  "@atlaskit/drawer": "^14.3.0",
114
+ "@atlaskit/editor-common": "^134.5.0",
114
115
  "@atlaskit/editor-plugin-alignment": "^31.1.0",
115
116
  "@atlaskit/editor-plugin-annotation": "^30.0.0",
116
117
  "@atlaskit/editor-plugin-base": "^31.0.0",