@atlaskit/editor-common 119.9.5 → 119.10.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,17 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 119.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`355d6f13eb8b4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/355d6f13eb8b4) -
8
+ Pass the element the editor renders itself into to plugin hooks as `wrapperElement`, which
9
+ `PluginSlot` already receives.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 119.9.5
4
16
 
5
17
  ### 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 = "119.9.4";
31
+ var packageVersion = "119.9.5";
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 = "119.9.4";
27
+ var packageVersion = "119.9.5";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -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 = "119.9.4";
17
+ const packageVersion = "119.9.5";
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 = "119.9.4";
17
+ const packageVersion = "119.9.5";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -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 = "119.9.4";
23
+ var packageVersion = "119.9.5";
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 = "119.9.4";
24
+ var packageVersion = "119.9.5";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -23,6 +23,8 @@ export type UIComponentFactory = (params: UiComponentFactoryParams) => React.Rea
23
23
  export type ReactHookFactory = (params: Pick<UiComponentFactoryParams, 'editorView' | 'containerElement'> & {
24
24
  editorView: EditorView;
25
25
  pluginName?: string;
26
+ /** The outermost element the editor renders itself into, when the caller has one. */
27
+ wrapperElement?: HTMLElement | null;
26
28
  }) => void;
27
29
  /**
28
30
  * A `ReactHookFactory` annotated with the name of the plugin that owns it.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "119.9.5",
3
+ "version": "119.10.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/"
@@ -41,7 +41,7 @@
41
41
  "@atlaskit/codemod-utils": "^5.0.0",
42
42
  "@atlaskit/css": "^1.0.0",
43
43
  "@atlaskit/custom-steps": "^1.0.0",
44
- "@atlaskit/dropdown-menu": "^18.0.0",
44
+ "@atlaskit/dropdown-menu": "^18.1.0",
45
45
  "@atlaskit/editor-json-transformer": "^9.4.0",
46
46
  "@atlaskit/editor-palette": "^3.4.0",
47
47
  "@atlaskit/editor-prosemirror": "^8.0.0",
@@ -67,12 +67,12 @@
67
67
  "@atlaskit/mention": "^27.18.0",
68
68
  "@atlaskit/menu": "^10.0.0",
69
69
  "@atlaskit/object": "^2.2.0",
70
- "@atlaskit/onboarding": "^15.1.0",
70
+ "@atlaskit/onboarding": "^15.2.0",
71
71
  "@atlaskit/platform-feature-experiments": "^0.3.0",
72
72
  "@atlaskit/platform-feature-flags": "^2.1.0",
73
73
  "@atlaskit/platform-feature-flags-react": "^1.1.0",
74
- "@atlaskit/popper": "^9.1.0",
75
- "@atlaskit/primitives": "^22.2.0",
74
+ "@atlaskit/popper": "^9.2.0",
75
+ "@atlaskit/primitives": "^22.3.0",
76
76
  "@atlaskit/profilecard": "^26.18.0",
77
77
  "@atlaskit/prosemirror-history": "^1.2.0",
78
78
  "@atlaskit/react-compiler-gating": "^0.2.0",
@@ -80,13 +80,13 @@
80
80
  "@atlaskit/section-message": "^10.0.0",
81
81
  "@atlaskit/smart-card": "^45.17.0",
82
82
  "@atlaskit/smart-user-picker": "^11.5.0",
83
- "@atlaskit/spinner": "^20.1.0",
83
+ "@atlaskit/spinner": "^20.2.0",
84
84
  "@atlaskit/task-decision": "^21.8.0",
85
85
  "@atlaskit/teams-app-config": "^2.2.0",
86
86
  "@atlaskit/textfield": "^10.0.0",
87
87
  "@atlaskit/tmp-editor-statsig": "^153.0.0",
88
88
  "@atlaskit/tokens": "^16.7.0",
89
- "@atlaskit/tooltip": "^24.0.0",
89
+ "@atlaskit/tooltip": "^24.1.0",
90
90
  "@atlaskit/width-detector": "^7.0.0",
91
91
  "@babel/runtime": "^7.0.0",
92
92
  "@compiled/react": "^1.0.2",