@atlaskit/editor-common 120.10.1 → 120.10.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,22 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 120.10.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`9b0887c8cbac4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9b0887c8cbac4) -
8
+ Clean up feature gate `platform_editor_fix_media_in_renderer`
9
+ - Updated dependencies
10
+
11
+ ## 120.10.2
12
+
13
+ ### Patch Changes
14
+
15
+ - [`8d3d877bf14c9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8d3d877bf14c9) -
16
+ Report Suggested Remix affected blocks and avoid reporting unavailable character deltas before
17
+ generation.
18
+ - Updated dependencies
19
+
3
20
  ## 120.10.1
4
21
 
5
22
  ### Patch Changes
@@ -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 = "120.10.0";
31
+ var packageVersion = "120.10.2";
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 = "120.10.0";
27
+ var packageVersion = "120.10.2";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -147,11 +147,8 @@ function MediaSingle(_ref) {
147
147
  isInsideOfInlineExtension: isInsideOfInlineExtension,
148
148
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
149
149
  isInRenderer: isInRenderer && (0, _fg.fg)('media-perf-uplift-mutation-fix')
150
- })
151
- // eslint-disable-next-line react/jsx-props-no-spreading, @atlaskit/platform/no-preconditioning
152
- }, !(0, _fg.fg)('platform_editor_fix_media_in_renderer') ? {} : {
153
- 'data-layout': layout
154
- }, {
150
+ }),
151
+ "data-layout": layout,
155
152
  "data-width": mediaSingleWidth,
156
153
  "data-width-type": (size === null || size === void 0 ? void 0 : size.widthType) || 'percentage',
157
154
  "data-node-type": nodeType,
@@ -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 = "120.10.0";
17
+ const packageVersion = "120.10.2";
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/fg';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "120.10.0";
17
+ const packageVersion = "120.10.2";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -131,11 +131,8 @@ export default function MediaSingle({
131
131
  isInsideOfInlineExtension,
132
132
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
133
133
  isInRenderer: isInRenderer && fg('media-perf-uplift-mutation-fix')
134
- })
135
- // eslint-disable-next-line react/jsx-props-no-spreading, @atlaskit/platform/no-preconditioning
136
- }, !fg('platform_editor_fix_media_in_renderer') ? {} : {
137
- 'data-layout': layout
138
- }, {
134
+ }),
135
+ "data-layout": layout,
139
136
  "data-width": mediaSingleWidth,
140
137
  "data-width-type": (size === null || size === void 0 ? void 0 : size.widthType) || 'percentage',
141
138
  "data-node-type": nodeType,
@@ -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 = "120.10.0";
23
+ var packageVersion = "120.10.2";
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/fg';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "120.10.0";
24
+ var packageVersion = "120.10.2";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -139,11 +139,8 @@ export default function MediaSingle(_ref) {
139
139
  isInsideOfInlineExtension: isInsideOfInlineExtension,
140
140
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
141
141
  isInRenderer: isInRenderer && fg('media-perf-uplift-mutation-fix')
142
- })
143
- // eslint-disable-next-line react/jsx-props-no-spreading, @atlaskit/platform/no-preconditioning
144
- }, !fg('platform_editor_fix_media_in_renderer') ? {} : {
145
- 'data-layout': layout
146
- }, {
142
+ }),
143
+ "data-layout": layout,
147
144
  "data-width": mediaSingleWidth,
148
145
  "data-width-type": (size === null || size === void 0 ? void 0 : size.widthType) || 'percentage',
149
146
  "data-node-type": nodeType,
@@ -55,8 +55,8 @@ type EntryPointExposureAEP = TrackAEP<ACTION.EXPOSED, ACTION_SUBJECT.AI_SUGGESTI
55
55
  }, undefined>;
56
56
  type AcceptSuggestionAEP = TrackAEP<ACTION.ACCEPTED, ACTION_SUBJECT.AI_SUGGESTIONS, undefined, {
57
57
  affectedBlocks: number;
58
- charactersAdded: number;
59
- charactersRemoved: number;
58
+ charactersAdded?: number;
59
+ charactersRemoved?: number;
60
60
  interactionPoint: AiSuggestionInteractionPoint;
61
61
  suggestionType: string;
62
62
  }, undefined>;
@@ -75,8 +75,8 @@ type ViewSuggestionAEP = TrackAEP<ACTION.VIEWED, ACTION_SUBJECT.AI_SUGGESTIONS,
75
75
  actionKind: string;
76
76
  affectedBlocks: number;
77
77
  blockTypes: string[];
78
- charactersToAdd: number;
79
- charactersToRemove: number;
78
+ charactersToAdd?: number;
79
+ charactersToRemove?: number;
80
80
  interactionPoint: AiSuggestionInteractionPoint;
81
81
  suggestionCardCharacterCount: number;
82
82
  suggestionType: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "120.10.1",
3
+ "version": "120.10.3",
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/"
@@ -58,7 +58,7 @@
58
58
  "@atlaskit/link-picker": "^6.6.0",
59
59
  "@atlaskit/media-card": "^81.9.0",
60
60
  "@atlaskit/media-client": "^37.6.0",
61
- "@atlaskit/media-client-react": "^6.3.0",
61
+ "@atlaskit/media-client-react": "^6.4.0",
62
62
  "@atlaskit/media-common": "^14.6.0",
63
63
  "@atlaskit/media-file-preview": "^1.3.0",
64
64
  "@atlaskit/media-picker": "^72.4.0",
@@ -84,8 +84,8 @@
84
84
  "@atlaskit/task-decision": "^21.9.0",
85
85
  "@atlaskit/teams-app-config": "^3.0.0",
86
86
  "@atlaskit/textfield": "^10.2.0",
87
- "@atlaskit/tmp-editor-statsig": "^169.0.0",
88
- "@atlaskit/tokens": "^16.10.0",
87
+ "@atlaskit/tmp-editor-statsig": "^171.0.0",
88
+ "@atlaskit/tokens": "^16.11.0",
89
89
  "@atlaskit/tooltip": "^24.3.0",
90
90
  "@atlaskit/width-detector": "^7.2.0",
91
91
  "@babel/runtime": "^7.0.0",
@@ -220,9 +220,6 @@
220
220
  "confluence_connect_macro_preset_height": {
221
221
  "type": "boolean"
222
222
  },
223
- "platform_editor_fix_media_in_renderer": {
224
- "type": "boolean"
225
- },
226
223
  "cc_comments_log_draft_annotation_ancestor_nodes": {
227
224
  "type": "boolean"
228
225
  },