@atlaskit/editor-common 110.18.0 → 110.18.2

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,21 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 110.18.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`21fe79119fe74`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/21fe79119fe74) -
8
+ EDITOR-2447 Bump adf-schema to 51.3.2
9
+ - Updated dependencies
10
+
11
+ ## 110.18.1
12
+
13
+ ### Patch Changes
14
+
15
+ - [`9fdf007456703`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9fdf007456703) -
16
+ PGXT-9052 interactable_in_editor_inputs feature gate clean up
17
+ - Updated dependencies
18
+
3
19
  ## 110.18.0
4
20
 
5
21
  ### Minor Changes
@@ -68,13 +68,11 @@ var ExtensionNode = exports.ExtensionNode = /*#__PURE__*/function (_ReactNodeVie
68
68
  * typing inside a text field (in an extension body) will print the text in the editor
69
69
  * content area instead. This change prevents the editor view from trying to handle these events,
70
70
  * when the target of the event is an input element, so the extension can.
71
- *
72
- * TODO: PGXT-8180 - write tests https://product-fabric.atlassian.net/browse/PGXT-8180
73
71
  */
74
72
  }, {
75
73
  key: "stopEvent",
76
74
  value: function stopEvent(event) {
77
- return event.target instanceof HTMLInputElement && (0, _platformFeatureFlags.fg)('interactable_in_editor_inputs');
75
+ return event.target instanceof HTMLInputElement;
78
76
  }
79
77
  }, {
80
78
  key: "getContentDOM",
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
16
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
17
17
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
18
18
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
19
- var packageVersion = "110.17.1";
19
+ var packageVersion = "110.18.1";
20
20
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
21
21
  // Remove URL as it has UGC
22
22
  // 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 = "110.17.1";
27
+ var packageVersion = "110.18.1";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -42,11 +42,9 @@ export class ExtensionNode extends ReactNodeView {
42
42
  * typing inside a text field (in an extension body) will print the text in the editor
43
43
  * content area instead. This change prevents the editor view from trying to handle these events,
44
44
  * when the target of the event is an input element, so the extension can.
45
- *
46
- * TODO: PGXT-8180 - write tests https://product-fabric.atlassian.net/browse/PGXT-8180
47
45
  */
48
46
  stopEvent(event) {
49
- return event.target instanceof HTMLInputElement && fg('interactable_in_editor_inputs');
47
+ return event.target instanceof HTMLInputElement;
50
48
  }
51
49
  getContentDOM() {
52
50
  if (this.node.isInline) {
@@ -1,7 +1,7 @@
1
1
  import { isFedRamp } from './environment';
2
2
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
3
3
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
4
- const packageVersion = "110.17.1";
4
+ const packageVersion = "110.18.1";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // 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 = "110.17.1";
17
+ const packageVersion = "110.18.1";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -60,13 +60,11 @@ export var ExtensionNode = /*#__PURE__*/function (_ReactNodeView) {
60
60
  * typing inside a text field (in an extension body) will print the text in the editor
61
61
  * content area instead. This change prevents the editor view from trying to handle these events,
62
62
  * when the target of the event is an input element, so the extension can.
63
- *
64
- * TODO: PGXT-8180 - write tests https://product-fabric.atlassian.net/browse/PGXT-8180
65
63
  */
66
64
  }, {
67
65
  key: "stopEvent",
68
66
  value: function stopEvent(event) {
69
- return event.target instanceof HTMLInputElement && fg('interactable_in_editor_inputs');
67
+ return event.target instanceof HTMLInputElement;
70
68
  }
71
69
  }, {
72
70
  key: "getContentDOM",
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import { isFedRamp } from './environment';
8
8
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
9
9
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
10
- var packageVersion = "110.17.1";
10
+ var packageVersion = "110.18.1";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // 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 = "110.17.1";
24
+ var packageVersion = "110.18.1";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -37,8 +37,6 @@ export declare class ExtensionNode<AdditionalParams = unknown> extends ReactNode
37
37
  * typing inside a text field (in an extension body) will print the text in the editor
38
38
  * content area instead. This change prevents the editor view from trying to handle these events,
39
39
  * when the target of the event is an input element, so the extension can.
40
- *
41
- * TODO: PGXT-8180 - write tests https://product-fabric.atlassian.net/browse/PGXT-8180
42
40
  */
43
41
  stopEvent(event: Event): boolean;
44
42
  getContentDOM(): {
@@ -37,8 +37,6 @@ export declare class ExtensionNode<AdditionalParams = unknown> extends ReactNode
37
37
  * typing inside a text field (in an extension body) will print the text in the editor
38
38
  * content area instead. This change prevents the editor view from trying to handle these events,
39
39
  * when the target of the event is an input element, so the extension can.
40
- *
41
- * TODO: PGXT-8180 - write tests https://product-fabric.atlassian.net/browse/PGXT-8180
42
40
  */
43
41
  stopEvent(event: Event): boolean;
44
42
  getContentDOM(): {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "110.18.0",
3
+ "version": "110.18.2",
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/"
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@atlaskit/activity-provider": "^2.5.0",
33
- "@atlaskit/adf-schema": "^51.3.1",
33
+ "@atlaskit/adf-schema": "^51.3.2",
34
34
  "@atlaskit/adf-utils": "^19.25.0",
35
35
  "@atlaskit/afm-i18n-platform-editor-editor-common": "2.7.0",
36
36
  "@atlaskit/analytics-listeners": "^9.1.0",
@@ -210,9 +210,6 @@
210
210
  "platform_editor_bordered_panel_nested_in_table": {
211
211
  "type": "boolean"
212
212
  },
213
- "interactable_in_editor_inputs": {
214
- "type": "boolean"
215
- },
216
213
  "confluence_connect_macro_preset_height": {
217
214
  "type": "boolean"
218
215
  },