@atlaskit/editor-core 194.0.10 → 194.0.14

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,29 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 194.0.14
4
+
5
+ ### Patch Changes
6
+
7
+ - [#117871](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117871)
8
+ [`26f472add98f7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/26f472add98f7) -
9
+ Updates 2-confluence-basic with an examples toolbar
10
+ - [#118361](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/118361)
11
+ [`5dc690bcdd97a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5dc690bcdd97a) -
12
+ Table FF cleanup
13
+ - Updated dependencies
14
+
15
+ ## 194.0.11
16
+
17
+ ### Patch Changes
18
+
19
+ - [#113218](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/113218)
20
+ [`d1b428ec29d68`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d1b428ec29d68) -
21
+ [ED-23765] migrate inline node commenting feature flags to statsig feature gate
22
+ - [#117973](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117973)
23
+ [`6e37bac62083f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6e37bac62083f) -
24
+ moved one const, added new entry point for other and deprecated
25
+ - Updated dependencies
26
+
3
27
  ## 194.0.10
4
28
 
5
29
  ### Patch Changes
@@ -8,11 +8,12 @@ exports.default = createPluginsList;
8
8
  exports.getDefaultPresetOptionsFromEditorProps = getDefaultPresetOptionsFromEditorProps;
9
9
  exports.getScrollGutterOptions = getScrollGutterOptions;
10
10
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
11
- var _utils = require("@atlaskit/editor-common/utils");
12
11
  var _isFullPage = require("../utils/is-full-page");
13
12
  var _featureFlagsFromProps = require("./feature-flags-from-props");
14
13
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
15
14
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
15
+ var GUTTER_SIZE_MOBILE_IN_PX = 36; // Gutter size for Mobile
16
+
16
17
  var isCodeBlockAllowed = function isCodeBlockAllowed(options) {
17
18
  var exclude = options && options.allowBlockType && options.allowBlockType.exclude ? options.allowBlockType.exclude : [];
18
19
  return exclude.indexOf('codeBlock') === -1;
@@ -36,7 +37,7 @@ function getScrollGutterOptions(props) {
36
37
  },
37
38
  allowCustomScrollHandler: false,
38
39
  persistScrollGutter: persistScrollGutter,
39
- gutterSize: _utils.GUTTER_SIZE_MOBILE_IN_PX
40
+ gutterSize: GUTTER_SIZE_MOBILE_IN_PX
40
41
  };
41
42
  }
42
43
  return undefined;
@@ -8,7 +8,7 @@ exports.InlineNodeViewSharedStyles = void 0;
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
9
  var _react = require("@emotion/react");
10
10
  var _reactNodeView = require("@atlaskit/editor-common/react-node-view");
11
- var _utils = require("@atlaskit/editor-common/utils");
11
+ var _whitespace = require("@atlaskit/editor-common/whitespace");
12
12
  var _css; // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
13
13
  // For reasoning behind styles, see comments in:
14
14
  // ./getInlineNodeViewProducer -> portalChildren()
@@ -37,6 +37,6 @@ var InlineNodeViewSharedStyles = exports.InlineNodeViewSharedStyles = (0, _react
37
37
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
38
38
  '::after': {
39
39
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
40
- content: "'".concat(_utils.ZERO_WIDTH_SPACE, "'")
40
+ content: "'".concat(_whitespace.ZERO_WIDTH_SPACE, "'")
41
41
  }
42
42
  }), _css));
@@ -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 = "194.0.10";
8
+ var version = exports.version = "194.0.14";
@@ -1,6 +1,7 @@
1
- import { GUTTER_SIZE_MOBILE_IN_PX } from '@atlaskit/editor-common/utils';
2
1
  import { isFullPage as fullPageCheck } from '../utils/is-full-page';
3
2
  import { createFeatureFlagsFromProps } from './feature-flags-from-props';
3
+ const GUTTER_SIZE_MOBILE_IN_PX = 36; // Gutter size for Mobile
4
+
4
5
  const isCodeBlockAllowed = options => {
5
6
  const exclude = options && options.allowBlockType && options.allowBlockType.exclude ? options.allowBlockType.exclude : [];
6
7
  return exclude.indexOf('codeBlock') === -1;
@@ -1,7 +1,7 @@
1
1
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
2
  import { css } from '@emotion/react';
3
3
  import { inlineNodeViewClassname } from '@atlaskit/editor-common/react-node-view';
4
- import { ZERO_WIDTH_SPACE } from '@atlaskit/editor-common/utils';
4
+ import { ZERO_WIDTH_SPACE } from '@atlaskit/editor-common/whitespace';
5
5
 
6
6
  // For reasoning behind styles, see comments in:
7
7
  // ./getInlineNodeViewProducer -> portalChildren()
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "194.0.10";
2
+ export const version = "194.0.14";
@@ -1,9 +1,10 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
3
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
- import { GUTTER_SIZE_MOBILE_IN_PX } from '@atlaskit/editor-common/utils';
5
4
  import { isFullPage as fullPageCheck } from '../utils/is-full-page';
6
5
  import { createFeatureFlagsFromProps } from './feature-flags-from-props';
6
+ var GUTTER_SIZE_MOBILE_IN_PX = 36; // Gutter size for Mobile
7
+
7
8
  var isCodeBlockAllowed = function isCodeBlockAllowed(options) {
8
9
  var exclude = options && options.allowBlockType && options.allowBlockType.exclude ? options.allowBlockType.exclude : [];
9
10
  return exclude.indexOf('codeBlock') === -1;
@@ -3,7 +3,7 @@ var _css;
3
3
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
4
  import { css } from '@emotion/react';
5
5
  import { inlineNodeViewClassname } from '@atlaskit/editor-common/react-node-view';
6
- import { ZERO_WIDTH_SPACE } from '@atlaskit/editor-common/utils';
6
+ import { ZERO_WIDTH_SPACE } from '@atlaskit/editor-common/whitespace';
7
7
 
8
8
  // For reasoning behind styles, see comments in:
9
9
  // ./getInlineNodeViewProducer -> portalChildren()
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "194.0.10";
2
+ export var version = "194.0.14";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "194.0.10",
3
+ "version": "194.0.14",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -44,8 +44,8 @@
44
44
  "@atlaskit/analytics-namespaced-context": "^6.10.0",
45
45
  "@atlaskit/analytics-next": "^9.3.0",
46
46
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
47
- "@atlaskit/button": "^18.2.0",
48
- "@atlaskit/editor-common": "^84.2.0",
47
+ "@atlaskit/button": "^18.3.0",
48
+ "@atlaskit/editor-common": "^84.3.0",
49
49
  "@atlaskit/editor-plugins": "^3.4.0",
50
50
  "@atlaskit/editor-prosemirror": "4.0.1",
51
51
  "@atlaskit/editor-shared-styles": "^2.12.0",
@@ -80,14 +80,14 @@
80
80
  "react-intl-next": "npm:react-intl@^5.18.1"
81
81
  },
82
82
  "devDependencies": {
83
- "@af/editor-examples-helpers": "0.0.13",
83
+ "@af/editor-examples-helpers": "0.0.14",
84
84
  "@af/editor-libra": "*",
85
85
  "@af/visual-regression": "*",
86
86
  "@atlaskit/adf-utils": "^19.4.0",
87
87
  "@atlaskit/analytics-listeners": "^8.10.0",
88
88
  "@atlaskit/collab-provider": "9.32.3",
89
89
  "@atlaskit/editor-json-transformer": "^8.15.0",
90
- "@atlaskit/editor-plugin-annotation": "1.14.1",
90
+ "@atlaskit/editor-plugin-annotation": "1.14.2",
91
91
  "@atlaskit/editor-plugin-card": "^2.4.0",
92
92
  "@atlaskit/editor-plugin-editor-viewmode": "^2.0.0",
93
93
  "@atlaskit/editor-plugin-list": "^3.5.0",
@@ -107,7 +107,7 @@
107
107
  "@atlaskit/util-data-test": "^17.9.0",
108
108
  "@atlaskit/visual-regression": "*",
109
109
  "@atlassian/adf-schema-json": "^1.16.0",
110
- "@atlassian/search-provider": "2.4.91",
110
+ "@atlassian/search-provider": "2.4.92",
111
111
  "@emotion/jest": "^11.8.0",
112
112
  "@storybook/addon-knobs": "^5.3.18",
113
113
  "@testing-library/react": "^12.1.5",
@@ -209,11 +209,7 @@
209
209
  "type": "boolean",
210
210
  "referenceOnly": "true"
211
211
  },
212
- "platform.editor.allow-inline-comments-for-inline-nodes": {
213
- "type": "boolean",
214
- "referenceOnly": "true"
215
- },
216
- "platform.editor.allow-inline-comments-for-inline-nodes-round-2_ctuxz": {
212
+ "editor_inline_comments_on_inline_nodes": {
217
213
  "type": "boolean",
218
214
  "referenceOnly": "true"
219
215
  },
@@ -221,10 +217,6 @@
221
217
  "type": "boolean",
222
218
  "referenceOnly": "true"
223
219
  },
224
- "platform.editor.table.cmd-a-select-table": {
225
- "type": "boolean",
226
- "referenceOnly": true
227
- },
228
220
  "platform.editor.table.use-shared-state-hook": {
229
221
  "type": "boolean",
230
222
  "referenceOnly": true
@@ -237,10 +229,6 @@
237
229
  "type": "boolean",
238
230
  "referenceOnly": "true"
239
231
  },
240
- "platform.editor.table.copy-paste-in-bodied-extension": {
241
- "type": "boolean",
242
- "referenceOnly": "true"
243
- },
244
232
  "platform.editor.media.extended-resize-experience": {
245
233
  "type": "boolean",
246
234
  "referenceOnly": "true"
@@ -261,10 +249,6 @@
261
249
  "type": "boolean",
262
250
  "referenceOnly": "true"
263
251
  },
264
- "platform.editor.table-width-diff-in-renderer_x5s3z": {
265
- "type": "boolean",
266
- "referenceOnly": "true"
267
- },
268
252
  "platform.editor.preserve-whitespace-clipboard-text-serialization": {
269
253
  "type": "boolean",
270
254
  "referenceOnly": "true"