@atlaskit/editor-common 117.6.0 → 118.0.0

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,32 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 118.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`b31485c214f8d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b31485c214f8d) -
8
+ Clean up feature gate `platform_editor_disable_rerender_tracking_jira`.
9
+
10
+ The `lcmPreventRenderTracking` field has been removed from the public `FeatureFlags` type. Remove
11
+ the field from any feature flag configuration because render tracking is no longer conditional:
12
+
13
+ ```tsx
14
+ // Before
15
+ const featureFlags: FeatureFlags = { lcmPreventRenderTracking: true };
16
+
17
+ // After
18
+ const featureFlags: FeatureFlags = {};
19
+ ```
20
+
21
+ ### Minor Changes
22
+
23
+ - [`1db4a5f3ed39f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1db4a5f3ed39f) -
24
+ Add analytics for collapsible heading toggles
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies
29
+
3
30
  ## 117.6.0
4
31
 
5
32
  ### Minor Changes
@@ -336,6 +336,7 @@ var ACTION_SUBJECT = exports.ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJ
336
336
  ACTION_SUBJECT["FIND_REPLACE_DIALOG"] = "findReplaceDialog";
337
337
  ACTION_SUBJECT["FLOATING_CONTEXTUAL_BUTTON"] = "floatingContextualButton";
338
338
  ACTION_SUBJECT["FLOATING_TOOLBAR_PLUGIN"] = "floatingToolbarPlugin";
339
+ ACTION_SUBJECT["HEADING"] = "heading";
339
340
  ACTION_SUBJECT["HELP"] = "help";
340
341
  ACTION_SUBJECT["INVITE_ITEM"] = "inviteItem";
341
342
  ACTION_SUBJECT["LAYOUT"] = "layout";
@@ -28,7 +28,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
28
28
  var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
29
29
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
30
30
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
31
- var packageVersion = "117.5.1";
31
+ var packageVersion = "117.6.0";
32
32
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
33
33
  // Remove URL as it has UGC
34
34
  // Ignored via go/ees007
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
24
24
  * @jsx jsx
25
25
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
26
26
  var packageName = "@atlaskit/editor-common";
27
- var packageVersion = "117.5.1";
27
+ var packageVersion = "117.6.0";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -342,6 +342,7 @@ export let ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJECT) {
342
342
  ACTION_SUBJECT["FIND_REPLACE_DIALOG"] = "findReplaceDialog";
343
343
  ACTION_SUBJECT["FLOATING_CONTEXTUAL_BUTTON"] = "floatingContextualButton";
344
344
  ACTION_SUBJECT["FLOATING_TOOLBAR_PLUGIN"] = "floatingToolbarPlugin";
345
+ ACTION_SUBJECT["HEADING"] = "heading";
345
346
  ACTION_SUBJECT["HELP"] = "help";
346
347
  ACTION_SUBJECT["INVITE_ITEM"] = "inviteItem";
347
348
  ACTION_SUBJECT["LAYOUT"] = "layout";
@@ -14,7 +14,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
14
14
  const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
15
15
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
16
16
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
17
- const packageVersion = "117.5.1";
17
+ const packageVersion = "117.6.0";
18
18
  const sanitiseSentryEvents = (data, _hint) => {
19
19
  // Remove URL as it has UGC
20
20
  // Ignored via go/ees007
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import { fg } from '@atlaskit/platform-feature-flags';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "117.5.1";
17
+ const packageVersion = "117.6.0";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -342,6 +342,7 @@ export var ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJECT) {
342
342
  ACTION_SUBJECT["FIND_REPLACE_DIALOG"] = "findReplaceDialog";
343
343
  ACTION_SUBJECT["FLOATING_CONTEXTUAL_BUTTON"] = "floatingContextualButton";
344
344
  ACTION_SUBJECT["FLOATING_TOOLBAR_PLUGIN"] = "floatingToolbarPlugin";
345
+ ACTION_SUBJECT["HEADING"] = "heading";
345
346
  ACTION_SUBJECT["HELP"] = "help";
346
347
  ACTION_SUBJECT["INVITE_ITEM"] = "inviteItem";
347
348
  ACTION_SUBJECT["LAYOUT"] = "layout";
@@ -20,7 +20,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
20
20
  var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
21
21
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
22
22
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
23
- var packageVersion = "117.5.1";
23
+ var packageVersion = "117.6.0";
24
24
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
25
25
  // Remove URL as it has UGC
26
26
  // Ignored via go/ees007
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import { fg } from '@atlaskit/platform-feature-flags';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "117.5.1";
24
+ var packageVersion = "117.6.0";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -319,6 +319,7 @@ export declare enum ACTION_SUBJECT {
319
319
  FIND_REPLACE_DIALOG = "findReplaceDialog",
320
320
  FLOATING_CONTEXTUAL_BUTTON = "floatingContextualButton",
321
321
  FLOATING_TOOLBAR_PLUGIN = "floatingToolbarPlugin",
322
+ HEADING = "heading",
322
323
  HELP = "help",
323
324
  INVITE_ITEM = "inviteItem",
324
325
  LAYOUT = "layout",
@@ -125,16 +125,6 @@ export type FeatureFlags = {
125
125
  * @default false
126
126
  */
127
127
  extensionLocalIdGeneration?: boolean;
128
- /**
129
- * @description
130
- * Used by the legacy content macro to disable render tracking due to excessive logs.
131
- * Will be removed once re-rendering issue is resolved.
132
- * Note: This is hardcoded into the LCM code, it does not exist in Switcheroo.
133
- *
134
- * @see https://product-fabric.atlassian.net/browse/ED-26650
135
- * @default false
136
- */
137
- lcmPreventRenderTracking?: boolean;
138
128
  /**
139
129
  * @description
140
130
  * Use the linking platform link picker for link insertion and edit
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "117.6.0",
3
+ "version": "118.0.0",
4
4
  "description": "A package that contains common classes and components for editor and renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -78,7 +78,7 @@
78
78
  "@atlaskit/react-ufo": "^7.3.0",
79
79
  "@atlaskit/section-message": "^10.0.0",
80
80
  "@atlaskit/smart-card": "^45.17.0",
81
- "@atlaskit/smart-user-picker": "^11.4.0",
81
+ "@atlaskit/smart-user-picker": "^11.5.0",
82
82
  "@atlaskit/spinner": "^20.1.0",
83
83
  "@atlaskit/task-decision": "^21.8.0",
84
84
  "@atlaskit/teams-app-config": "^2.2.0",