@atlaskit/editor-common 116.22.1 → 116.22.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,13 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 116.22.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`319eb8550d286`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/319eb8550d286) -
8
+ [ux] [EDITOR-7978] add resizing support to the panel_c1 node behind resizer experiment
9
+ - Updated dependencies
10
+
3
11
  ## 116.22.1
4
12
 
5
13
  ### 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 = "116.22.0";
31
+ var packageVersion = "116.22.1";
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 = "116.22.0";
27
+ var packageVersion = "116.22.1";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -13,10 +13,11 @@ var getBreakoutResizableNodeTypes = exports.getBreakoutResizableNodeTypes = func
13
13
  syncBlock = _schema$nodes.syncBlock,
14
14
  bodiedSyncBlock = _schema$nodes.bodiedSyncBlock,
15
15
  rule = _schema$nodes.rule,
16
- panel = _schema$nodes.panel;
16
+ panel = _schema$nodes.panel,
17
+ panel_c1 = _schema$nodes.panel_c1;
17
18
  var breakoutResizableNodeTypes = [expand, codeBlock, layoutSection, syncBlock, bodiedSyncBlock];
18
19
  if (isRuleAndPanelResizingEnabled) {
19
- breakoutResizableNodeTypes.push(rule, panel);
20
+ breakoutResizableNodeTypes.push(rule, panel, panel_c1);
20
21
  }
21
22
  return new Set(breakoutResizableNodeTypes);
22
23
  };
@@ -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 = "116.22.0";
17
+ const packageVersion = "116.22.1";
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 = "116.22.0";
17
+ const packageVersion = "116.22.1";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -6,11 +6,12 @@ export const getBreakoutResizableNodeTypes = (schema, isRuleAndPanelResizingEnab
6
6
  syncBlock,
7
7
  bodiedSyncBlock,
8
8
  rule,
9
- panel
9
+ panel,
10
+ panel_c1
10
11
  } = schema.nodes;
11
12
  const breakoutResizableNodeTypes = [expand, codeBlock, layoutSection, syncBlock, bodiedSyncBlock];
12
13
  if (isRuleAndPanelResizingEnabled) {
13
- breakoutResizableNodeTypes.push(rule, panel);
14
+ breakoutResizableNodeTypes.push(rule, panel, panel_c1);
14
15
  }
15
16
  return new Set(breakoutResizableNodeTypes);
16
17
  };
@@ -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 = "116.22.0";
23
+ var packageVersion = "116.22.1";
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 = "116.22.0";
24
+ var packageVersion = "116.22.1";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -7,10 +7,11 @@ export var getBreakoutResizableNodeTypes = function getBreakoutResizableNodeType
7
7
  syncBlock = _schema$nodes.syncBlock,
8
8
  bodiedSyncBlock = _schema$nodes.bodiedSyncBlock,
9
9
  rule = _schema$nodes.rule,
10
- panel = _schema$nodes.panel;
10
+ panel = _schema$nodes.panel,
11
+ panel_c1 = _schema$nodes.panel_c1;
11
12
  var breakoutResizableNodeTypes = [expand, codeBlock, layoutSection, syncBlock, bodiedSyncBlock];
12
13
  if (isRuleAndPanelResizingEnabled) {
13
- breakoutResizableNodeTypes.push(rule, panel);
14
+ breakoutResizableNodeTypes.push(rule, panel, panel_c1);
14
15
  }
15
16
  return new Set(breakoutResizableNodeTypes);
16
17
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "116.22.1",
3
+ "version": "116.22.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/"
@@ -29,8 +29,8 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@atlaskit/activity-provider": "^3.0.0",
32
- "@atlaskit/adf-schema": "^56.0.0",
33
- "@atlaskit/adf-utils": "^20.2.0",
32
+ "@atlaskit/adf-schema": "^56.1.0",
33
+ "@atlaskit/adf-utils": "^20.3.0",
34
34
  "@atlaskit/afm-i18n-platform-editor-editor-common": "2.168.0",
35
35
  "@atlaskit/analytics-listeners": "^11.1.0",
36
36
  "@atlaskit/analytics-namespaced-context": "^8.1.0",
@@ -80,7 +80,7 @@
80
80
  "@atlaskit/task-decision": "^21.4.0",
81
81
  "@atlaskit/teams-app-config": "^2.1.0",
82
82
  "@atlaskit/textfield": "^9.1.0",
83
- "@atlaskit/tmp-editor-statsig": "^121.0.0",
83
+ "@atlaskit/tmp-editor-statsig": "^121.1.0",
84
84
  "@atlaskit/tokens": "^15.4.0",
85
85
  "@atlaskit/tooltip": "^23.1.0",
86
86
  "@atlaskit/width-detector": "^6.1.0",
@@ -123,7 +123,7 @@
123
123
  "@atlaskit/media-core": "^38.0.0",
124
124
  "@atlassian/a11y-jest-testing": "^0.13.0",
125
125
  "@atlassian/feature-flags-test-utils": "^1.1.0",
126
- "@atlassian/testing-library": "^0.8.0",
126
+ "@atlassian/testing-library": "^0.9.0",
127
127
  "@testing-library/dom": "^10.1.0",
128
128
  "@testing-library/jest-dom": "^6.4.5",
129
129
  "@testing-library/react": "^16.3.0",