@atlaskit/editor-core 213.1.2 → 213.1.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,13 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 213.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`4e3d606cc7d01`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4e3d606cc7d01) -
8
+ Remove refence to expValEquals('platform_editor_toolbar_aifc')
9
+ - Updated dependencies
10
+
3
11
  ## 213.1.2
4
12
 
5
13
  ### Patch Changes
@@ -8430,7 +8438,8 @@
8430
8438
 
8431
8439
  - [#57786](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57786)
8432
8440
  [`632207571c08`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/632207571c08) -
8433
- [NO ISSUE] Reduce Editor re-renderers with proper memonization (behind flag platform.editor.less-editor-props-rerendering)'
8441
+ [NO ISSUE] Reduce Editor re-renderers with proper memonization (behind flag
8442
+ platform.editor.less-editor-props-rerendering)'
8434
8443
  - [#56858](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/56858)
8435
8444
  [`ae1466a4a6ab`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ae1466a4a6ab) -
8436
8445
  Extract clear marks on empty doc plugin from editor-core to new plugin.
@@ -179,7 +179,7 @@ var CommentEditorWithIntl = exports.CommentEditorWithIntl = function CommentEdit
179
179
  css: (0, _expValEquals.expValEquals)('platform_editor_core_static_emotion_non_central', 'isEnabled', true) ? [mainToolbarCustomComponentsSlotStyleNew, isTwoLineToolbarEnabled && mainToolbarCustomComponentsSlotStyleTwoLineToolbarNew] : /* eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766 */
180
180
  mainToolbarCustomComponentsSlotStyle(isTwoLineToolbarEnabled)
181
181
  }, customPrimaryToolbarComponents);
182
- var isToolbarAIFCEnabled = Boolean(editorAPI === null || editorAPI === void 0 ? void 0 : editorAPI.toolbar) && (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc', 'isEnabled', true);
182
+ var isToolbarAIFCEnabled = Boolean(editorAPI === null || editorAPI === void 0 ? void 0 : editorAPI.toolbar) && (0, _experiments.editorExperiment)('platform_editor_toolbar_aifc', true);
183
183
  return (0, _react2.jsx)(_WithFlash.default, {
184
184
  animate: maxContentSizeReached
185
185
  }, (0, _react2.jsx)(_ui.WidthProvider, null, (0, _react2.jsx)("div", {
@@ -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 = "213.1.1";
8
+ var version = exports.version = "213.1.2";
@@ -182,7 +182,7 @@ export const CommentEditorWithIntl = props => {
182
182
  css: expValEquals('platform_editor_core_static_emotion_non_central', 'isEnabled', true) ? [mainToolbarCustomComponentsSlotStyleNew, isTwoLineToolbarEnabled && mainToolbarCustomComponentsSlotStyleTwoLineToolbarNew] : /* eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766 */
183
183
  mainToolbarCustomComponentsSlotStyle(isTwoLineToolbarEnabled)
184
184
  }, customPrimaryToolbarComponents);
185
- const isToolbarAIFCEnabled = Boolean(editorAPI === null || editorAPI === void 0 ? void 0 : editorAPI.toolbar) && expValEquals('platform_editor_toolbar_aifc', 'isEnabled', true);
185
+ const isToolbarAIFCEnabled = Boolean(editorAPI === null || editorAPI === void 0 ? void 0 : editorAPI.toolbar) && editorExperiment('platform_editor_toolbar_aifc', true);
186
186
  return jsx(WithFlash, {
187
187
  animate: maxContentSizeReached
188
188
  }, jsx(WidthProvider, null, jsx("div", {
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "213.1.1";
2
+ export const version = "213.1.2";
@@ -171,7 +171,7 @@ export var CommentEditorWithIntl = function CommentEditorWithIntl(props) {
171
171
  css: expValEquals('platform_editor_core_static_emotion_non_central', 'isEnabled', true) ? [mainToolbarCustomComponentsSlotStyleNew, isTwoLineToolbarEnabled && mainToolbarCustomComponentsSlotStyleTwoLineToolbarNew] : /* eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766 */
172
172
  mainToolbarCustomComponentsSlotStyle(isTwoLineToolbarEnabled)
173
173
  }, customPrimaryToolbarComponents);
174
- var isToolbarAIFCEnabled = Boolean(editorAPI === null || editorAPI === void 0 ? void 0 : editorAPI.toolbar) && expValEquals('platform_editor_toolbar_aifc', 'isEnabled', true);
174
+ var isToolbarAIFCEnabled = Boolean(editorAPI === null || editorAPI === void 0 ? void 0 : editorAPI.toolbar) && editorExperiment('platform_editor_toolbar_aifc', true);
175
175
  return jsx(WithFlash, {
176
176
  animate: maxContentSizeReached
177
177
  }, jsx(WidthProvider, null, jsx("div", {
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "213.1.1";
2
+ export var version = "213.1.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "213.1.2",
3
+ "version": "213.1.3",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -55,7 +55,7 @@
55
55
  "@atlaskit/editor-toolbar": "^0.9.0",
56
56
  "@atlaskit/editor-toolbar-model": "^0.2.0",
57
57
  "@atlaskit/emoji": "^69.5.0",
58
- "@atlaskit/icon": "^28.1.0",
58
+ "@atlaskit/icon": "^28.2.0",
59
59
  "@atlaskit/link": "^3.2.0",
60
60
  "@atlaskit/media-card": "^79.5.0",
61
61
  "@atlaskit/mention": "^24.2.0",
@@ -63,7 +63,7 @@
63
63
  "@atlaskit/platform-feature-flags-react": "^0.3.0",
64
64
  "@atlaskit/react-ufo": "^4.7.0",
65
65
  "@atlaskit/task-decision": "^19.2.0",
66
- "@atlaskit/tmp-editor-statsig": "^12.21.0",
66
+ "@atlaskit/tmp-editor-statsig": "^12.22.0",
67
67
  "@atlaskit/tokens": "^6.3.0",
68
68
  "@atlaskit/tooltip": "^20.4.0",
69
69
  "@atlaskit/width-detector": "^5.0.0",