@atlaskit/editor-core 207.12.1 → 207.12.3

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,23 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 207.12.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#162501](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/162501)
8
+ [`3240f17895dd6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3240f17895dd6) -
9
+ add exposure point to platform_editor_nodevisibility experiment
10
+ - Updated dependencies
11
+
12
+ ## 207.12.2
13
+
14
+ ### Patch Changes
15
+
16
+ - [#161893](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/161893)
17
+ [`432e1c30874a0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/432e1c30874a0) -
18
+ controls performance gating switch to experiment
19
+ - Updated dependencies
20
+
3
21
  ## 207.12.1
4
22
 
5
23
  ### Patch Changes
@@ -88,11 +88,11 @@ var Content = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
88
88
  interactionClassName = props.hasHadInteraction ? 'ak-editor-has-interaction' : 'ak-editor-no-interaction';
89
89
  }
90
90
  var shouldSetHiddenDataAttribute = function shouldSetHiddenDataAttribute() {
91
- // When platform_editor_offline_banner_toolbar_position is enabled we use a different method to
91
+ // When platform_editor_controls_performance_fixes is enabled we use a different method to
92
92
  // determine if the toolbar is hidden from outside of the editor, which doesn't require setting
93
93
  // data-editor-primary-toolbar-hidden on the content area
94
94
  // NOTE: When tidying, this function and the data attribute can be removed
95
- if (!props.isEditorToolbarHidden || (0, _platformFeatureFlags.fg)('platform_editor_offline_banner_toolbar_position')) {
95
+ if (!props.isEditorToolbarHidden || (0, _experiments.editorExperiment)('platform_editor_controls_performance_fixes', true)) {
96
96
  return false;
97
97
  }
98
98
  return (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1');
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "207.12.1";
8
+ var version = exports.version = "207.12.3";
@@ -72,11 +72,11 @@ const Content = /*#__PURE__*/React.forwardRef((props, ref) => {
72
72
  interactionClassName = props.hasHadInteraction ? 'ak-editor-has-interaction' : 'ak-editor-no-interaction';
73
73
  }
74
74
  const shouldSetHiddenDataAttribute = () => {
75
- // When platform_editor_offline_banner_toolbar_position is enabled we use a different method to
75
+ // When platform_editor_controls_performance_fixes is enabled we use a different method to
76
76
  // determine if the toolbar is hidden from outside of the editor, which doesn't require setting
77
77
  // data-editor-primary-toolbar-hidden on the content area
78
78
  // NOTE: When tidying, this function and the data attribute can be removed
79
- if (!props.isEditorToolbarHidden || fg('platform_editor_offline_banner_toolbar_position')) {
79
+ if (!props.isEditorToolbarHidden || editorExperiment('platform_editor_controls_performance_fixes', true)) {
80
80
  return false;
81
81
  }
82
82
  return editorExperiment('platform_editor_controls', 'variant1');
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "207.12.1";
2
+ export const version = "207.12.3";
@@ -77,11 +77,11 @@ var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
77
77
  interactionClassName = props.hasHadInteraction ? 'ak-editor-has-interaction' : 'ak-editor-no-interaction';
78
78
  }
79
79
  var shouldSetHiddenDataAttribute = function shouldSetHiddenDataAttribute() {
80
- // When platform_editor_offline_banner_toolbar_position is enabled we use a different method to
80
+ // When platform_editor_controls_performance_fixes is enabled we use a different method to
81
81
  // determine if the toolbar is hidden from outside of the editor, which doesn't require setting
82
82
  // data-editor-primary-toolbar-hidden on the content area
83
83
  // NOTE: When tidying, this function and the data attribute can be removed
84
- if (!props.isEditorToolbarHidden || fg('platform_editor_offline_banner_toolbar_position')) {
84
+ if (!props.isEditorToolbarHidden || editorExperiment('platform_editor_controls_performance_fixes', true)) {
85
85
  return false;
86
86
  }
87
87
  return editorExperiment('platform_editor_controls', 'variant1');
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "207.12.1";
2
+ export var version = "207.12.3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "207.12.1",
3
+ "version": "207.12.3",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -46,7 +46,7 @@
46
46
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
47
47
  "@atlaskit/button": "^23.2.0",
48
48
  "@atlaskit/css": "^0.10.0",
49
- "@atlaskit/editor-common": "^106.0.0",
49
+ "@atlaskit/editor-common": "^106.1.0",
50
50
  "@atlaskit/editor-json-transformer": "^8.24.0",
51
51
  "@atlaskit/editor-performance-metrics": "^2.1.0",
52
52
  "@atlaskit/editor-plugin-quick-insert": "^2.5.0",
@@ -62,7 +62,7 @@
62
62
  "@atlaskit/platform-feature-flags-react": "^0.2.0",
63
63
  "@atlaskit/react-ufo": "^3.13.0",
64
64
  "@atlaskit/task-decision": "^19.2.0",
65
- "@atlaskit/tmp-editor-statsig": "^5.3.0",
65
+ "@atlaskit/tmp-editor-statsig": "^5.5.0",
66
66
  "@atlaskit/tokens": "^4.9.0",
67
67
  "@atlaskit/tooltip": "^20.2.0",
68
68
  "@atlaskit/width-detector": "^5.0.0",
@@ -79,7 +79,7 @@
79
79
  "uuid": "^3.1.0"
80
80
  },
81
81
  "peerDependencies": {
82
- "@atlaskit/link-provider": "^3.1.0",
82
+ "@atlaskit/link-provider": "^3.2.0",
83
83
  "@atlaskit/media-core": "^36.1.0",
84
84
  "react": "^18.2.0",
85
85
  "react-dom": "^18.2.0",
@@ -95,14 +95,14 @@
95
95
  "@atlaskit/editor-plugin-card": "^6.4.0",
96
96
  "@atlaskit/editor-plugin-list": "^4.2.0",
97
97
  "@atlaskit/editor-plugin-paste": "^3.3.0",
98
- "@atlaskit/link-provider": "^3.1.0",
98
+ "@atlaskit/link-provider": "^3.2.0",
99
99
  "@atlaskit/logo": "^18.1.0",
100
100
  "@atlaskit/media-core": "^36.1.0",
101
101
  "@atlaskit/media-integration-test-helpers": "workspace:^",
102
102
  "@atlaskit/media-test-helpers": "^36.0.0",
103
103
  "@atlaskit/modal-dialog": "^14.2.0",
104
104
  "@atlaskit/primitives": "^14.8.0",
105
- "@atlaskit/renderer": "^118.4.0",
105
+ "@atlaskit/renderer": "^118.5.0",
106
106
  "@atlaskit/section-message": "^8.2.0",
107
107
  "@atlaskit/smart-card": "^38.5.0",
108
108
  "@atlaskit/synchrony-test-helpers": "workspace:^",
@@ -199,10 +199,6 @@
199
199
  "type": "boolean",
200
200
  "referenceOnly": true
201
201
  },
202
- "platform_editor_offline_banner_toolbar_position": {
203
- "type": "boolean",
204
- "referenceOnly": true
205
- },
206
202
  "platform_editor_disable_instrumented_plugin": {
207
203
  "type": "boolean"
208
204
  },
@@ -314,14 +310,6 @@
314
310
  "type": "boolean",
315
311
  "referenceOnly": true
316
312
  },
317
- "platform_editor_table_row_span_fix": {
318
- "type": "boolean",
319
- "referenceOnly": true
320
- },
321
- "platform_editor_table_row_span_fix_all": {
322
- "type": "boolean",
323
- "referenceOnly": true
324
- },
325
313
  "platform_editor_disable_context_panel_animation": {
326
314
  "type": "boolean",
327
315
  "referenceOnly": true