@atlaskit/editor-core 205.7.3 → 205.7.4

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,14 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 205.7.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#147400](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/147400)
8
+ [`800ff50276ed7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/800ff50276ed7) -
9
+ Clean up experiment platform_editor_nested_non_bodied_macros
10
+ - Updated dependencies
11
+
3
12
  ## 205.7.3
4
13
 
5
14
  ### Patch Changes
@@ -16,7 +16,6 @@ var _extensions = require("@atlaskit/editor-common/extensions");
16
16
  var _providerHelpers = require("@atlaskit/editor-common/provider-helpers");
17
17
  var _analytics2 = require("@atlaskit/editor-common/utils/analytics");
18
18
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
19
- var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
20
19
  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; }
21
20
  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; }
22
21
  /**
@@ -25,15 +24,6 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
25
24
  function sendExtensionQuickInsertAnalytics(item, selection, createAnalyticsEvent, source) {
26
25
  if (createAnalyticsEvent) {
27
26
  var insertLocation = (0, _platformFeatureFlags.fg)('platform_nested_nbm_analytics_location') ? (0, _analytics2.findInsertLocation)(selection) : undefined;
28
- if (insertLocation && ['listItem', 'blockquote', 'nestedExpand', 'panel'].includes(insertLocation)) {
29
- // No-op editorExperiment evaluation to track usage of nested non-bodied macros
30
- // these can't be tracked at the point of diversion of the experience because that is a toggle of the
31
- // ProseMirror schema nodes for listItems, nestedExpand, blockquote, and panel. At that point the customer
32
- // has not yet been exposed to the experience.
33
- (0, _experiments.editorExperiment)('platform_editor_nested_non_bodied_macros', 'test', {
34
- exposure: true
35
- });
36
- }
37
27
  (0, _analytics.fireAnalyticsEvent)(createAnalyticsEvent)({
38
28
  payload: {
39
29
  action: _analytics.ACTION.INSERTED,
@@ -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 = "205.7.3";
8
+ var version = exports.version = "205.7.4";
@@ -5,22 +5,12 @@ import { getQuickInsertItemsFromModule, resolveImport } from '@atlaskit/editor-c
5
5
  import { combineProviders } from '@atlaskit/editor-common/provider-helpers';
6
6
  import { findInsertLocation } from '@atlaskit/editor-common/utils/analytics';
7
7
  import { fg } from '@atlaskit/platform-feature-flags';
8
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
9
8
  /**
10
9
  * Utils to send analytics event when a extension is inserted using quickInsert
11
10
  */
12
11
  function sendExtensionQuickInsertAnalytics(item, selection, createAnalyticsEvent, source) {
13
12
  if (createAnalyticsEvent) {
14
13
  const insertLocation = fg('platform_nested_nbm_analytics_location') ? findInsertLocation(selection) : undefined;
15
- if (insertLocation && ['listItem', 'blockquote', 'nestedExpand', 'panel'].includes(insertLocation)) {
16
- // No-op editorExperiment evaluation to track usage of nested non-bodied macros
17
- // these can't be tracked at the point of diversion of the experience because that is a toggle of the
18
- // ProseMirror schema nodes for listItems, nestedExpand, blockquote, and panel. At that point the customer
19
- // has not yet been exposed to the experience.
20
- editorExperiment('platform_editor_nested_non_bodied_macros', 'test', {
21
- exposure: true
22
- });
23
- }
24
14
  fireAnalyticsEvent(createAnalyticsEvent)({
25
15
  payload: {
26
16
  action: ACTION.INSERTED,
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "205.7.3";
2
+ export const version = "205.7.4";
@@ -10,22 +10,12 @@ import { getQuickInsertItemsFromModule, resolveImport } from '@atlaskit/editor-c
10
10
  import { combineProviders } from '@atlaskit/editor-common/provider-helpers';
11
11
  import { findInsertLocation } from '@atlaskit/editor-common/utils/analytics';
12
12
  import { fg } from '@atlaskit/platform-feature-flags';
13
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
14
13
  /**
15
14
  * Utils to send analytics event when a extension is inserted using quickInsert
16
15
  */
17
16
  function sendExtensionQuickInsertAnalytics(item, selection, createAnalyticsEvent, source) {
18
17
  if (createAnalyticsEvent) {
19
18
  var insertLocation = fg('platform_nested_nbm_analytics_location') ? findInsertLocation(selection) : undefined;
20
- if (insertLocation && ['listItem', 'blockquote', 'nestedExpand', 'panel'].includes(insertLocation)) {
21
- // No-op editorExperiment evaluation to track usage of nested non-bodied macros
22
- // these can't be tracked at the point of diversion of the experience because that is a toggle of the
23
- // ProseMirror schema nodes for listItems, nestedExpand, blockquote, and panel. At that point the customer
24
- // has not yet been exposed to the experience.
25
- editorExperiment('platform_editor_nested_non_bodied_macros', 'test', {
26
- exposure: true
27
- });
28
- }
29
19
  fireAnalyticsEvent(createAnalyticsEvent)({
30
20
  payload: {
31
21
  action: ACTION.INSERTED,
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "205.7.3";
2
+ export var version = "205.7.4";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "205.7.3",
3
+ "version": "205.7.4",
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.0.0",
48
48
  "@atlaskit/css": "^0.10.0",
49
- "@atlaskit/editor-common": "^103.17.0",
49
+ "@atlaskit/editor-common": "^103.19.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.4.0",
@@ -59,9 +59,9 @@
59
59
  "@atlaskit/mention": "^24.1.0",
60
60
  "@atlaskit/platform-feature-flags": "^1.1.0",
61
61
  "@atlaskit/platform-feature-flags-react": "^0.1.0",
62
- "@atlaskit/react-ufo": "^3.6.0",
63
- "@atlaskit/task-decision": "^19.1.0",
64
- "@atlaskit/tmp-editor-statsig": "^4.14.0",
62
+ "@atlaskit/react-ufo": "^3.8.0",
63
+ "@atlaskit/task-decision": "^19.2.0",
64
+ "@atlaskit/tmp-editor-statsig": "^4.15.0",
65
65
  "@atlaskit/tokens": "^4.8.0",
66
66
  "@atlaskit/tooltip": "^20.0.0",
67
67
  "@atlaskit/width-detector": "^5.0.0",
@@ -101,8 +101,8 @@
101
101
  "@atlaskit/media-test-helpers": "^35.0.0",
102
102
  "@atlaskit/modal-dialog": "^14.1.0",
103
103
  "@atlaskit/primitives": "^14.4.0",
104
- "@atlaskit/renderer": "^114.10.0",
105
- "@atlaskit/smart-card": "^36.10.0",
104
+ "@atlaskit/renderer": "^114.11.0",
105
+ "@atlaskit/smart-card": "^36.11.0",
106
106
  "@atlaskit/synchrony-test-helpers": "workspace:^",
107
107
  "@atlaskit/toggle": "^15.0.0",
108
108
  "@atlaskit/util-data-test": "^18.0.0",
@@ -404,10 +404,6 @@
404
404
  "type": "boolean",
405
405
  "referenceOnly": true
406
406
  },
407
- "platform_editor_nested_tables_paste_wrap_fix": {
408
- "type": "boolean",
409
- "referenceOnly": true
410
- },
411
407
  "platform_editor_lcm_toolbar_portals": {
412
408
  "type": "boolean"
413
409
  },