@atlaskit/editor-common 83.2.0 → 83.3.1

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,25 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 83.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`0c728cec893a0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c728cec893a0) -
8
+ ED-23730: Change table to align center when column resizing makes table width wider than
9
+ linelength
10
+
11
+ ## 83.3.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#115247](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/115247)
16
+ [`251d23ff9e6c8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/251d23ff9e6c8) -
17
+ upgrade adf-schema version to 38.0.0
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies
22
+
3
23
  ## 83.2.0
4
24
 
5
25
  ### Minor Changes
@@ -71,6 +71,7 @@ var TABLE_DISPLAY_MODE = exports.TABLE_DISPLAY_MODE = /*#__PURE__*/function (TAB
71
71
  }({}); // currently duplicated in editor-plugin-table/src/types.ts
72
72
  var CHANGE_ALIGNMENT_REASON = exports.CHANGE_ALIGNMENT_REASON = /*#__PURE__*/function (CHANGE_ALIGNMENT_REASON) {
73
73
  CHANGE_ALIGNMENT_REASON["TABLE_RESIZING"] = "tableResizing";
74
+ CHANGE_ALIGNMENT_REASON["TABLE_COLUMN_RESIZED"] = "tableColumnResized";
74
75
  CHANGE_ALIGNMENT_REASON["EDITOR_APPEARANCE_CHANGED"] = "editorAppearanceChanged";
75
76
  CHANGE_ALIGNMENT_REASON["TOOLBAR_OPTION_CHANGED"] = "toolbarOptionChanged";
76
77
  return CHANGE_ALIGNMENT_REASON;
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
17
17
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
18
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
19
19
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
20
- var packageVersion = "83.2.0";
20
+ var packageVersion = "83.3.1";
21
21
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
22
22
  // Remove URL as it has UGC
23
23
  // TODO: Sanitise the URL instead of just removing it
@@ -20,7 +20,7 @@ var _Layer = _interopRequireDefault(require("../Layer"));
20
20
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
21
21
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
22
22
  var packageName = "@atlaskit/editor-common";
23
- var packageVersion = "83.2.0";
23
+ var packageVersion = "83.3.1";
24
24
  var halfFocusRing = 1;
25
25
  var dropOffset = '0, 8';
26
26
  var DropList = /*#__PURE__*/function (_Component) {
@@ -68,6 +68,7 @@ export let TABLE_DISPLAY_MODE = /*#__PURE__*/function (TABLE_DISPLAY_MODE) {
68
68
 
69
69
  export let CHANGE_ALIGNMENT_REASON = /*#__PURE__*/function (CHANGE_ALIGNMENT_REASON) {
70
70
  CHANGE_ALIGNMENT_REASON["TABLE_RESIZING"] = "tableResizing";
71
+ CHANGE_ALIGNMENT_REASON["TABLE_COLUMN_RESIZED"] = "tableColumnResized";
71
72
  CHANGE_ALIGNMENT_REASON["EDITOR_APPEARANCE_CHANGED"] = "editorAppearanceChanged";
72
73
  CHANGE_ALIGNMENT_REASON["TOOLBAR_OPTION_CHANGED"] = "toolbarOptionChanged";
73
74
  return CHANGE_ALIGNMENT_REASON;
@@ -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 = "83.2.0";
4
+ const packageVersion = "83.3.1";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // TODO: Sanitise the URL instead of just removing it
@@ -9,7 +9,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
9
9
  import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
10
10
  import Layer from '../Layer';
11
11
  const packageName = "@atlaskit/editor-common";
12
- const packageVersion = "83.2.0";
12
+ const packageVersion = "83.3.1";
13
13
  const halfFocusRing = 1;
14
14
  const dropOffset = '0, 8';
15
15
  class DropList extends Component {
@@ -68,6 +68,7 @@ export var TABLE_DISPLAY_MODE = /*#__PURE__*/function (TABLE_DISPLAY_MODE) {
68
68
 
69
69
  export var CHANGE_ALIGNMENT_REASON = /*#__PURE__*/function (CHANGE_ALIGNMENT_REASON) {
70
70
  CHANGE_ALIGNMENT_REASON["TABLE_RESIZING"] = "tableResizing";
71
+ CHANGE_ALIGNMENT_REASON["TABLE_COLUMN_RESIZED"] = "tableColumnResized";
71
72
  CHANGE_ALIGNMENT_REASON["EDITOR_APPEARANCE_CHANGED"] = "editorAppearanceChanged";
72
73
  CHANGE_ALIGNMENT_REASON["TOOLBAR_OPTION_CHANGED"] = "toolbarOptionChanged";
73
74
  return CHANGE_ALIGNMENT_REASON;
@@ -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 = "83.2.0";
10
+ var packageVersion = "83.3.1";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // TODO: Sanitise the URL instead of just removing it
@@ -17,7 +17,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
17
17
  import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
18
18
  import Layer from '../Layer';
19
19
  var packageName = "@atlaskit/editor-common";
20
- var packageVersion = "83.2.0";
20
+ var packageVersion = "83.3.1";
21
21
  var halfFocusRing = 1;
22
22
  var dropOffset = '0, 8';
23
23
  var DropList = /*#__PURE__*/function (_Component) {
@@ -192,6 +192,7 @@ type TableChangedDisplayModeAEP = TableAEP<TABLE_ACTION.CHANGED_DISPLAY_MODE, {
192
192
  type AlignmentOptions = 'center' | 'align-start';
193
193
  export declare enum CHANGE_ALIGNMENT_REASON {
194
194
  TABLE_RESIZING = "tableResizing",
195
+ TABLE_COLUMN_RESIZED = "tableColumnResized",
195
196
  EDITOR_APPEARANCE_CHANGED = "editorAppearanceChanged",
196
197
  TOOLBAR_OPTION_CHANGED = "toolbarOptionChanged"
197
198
  }
@@ -192,6 +192,7 @@ type TableChangedDisplayModeAEP = TableAEP<TABLE_ACTION.CHANGED_DISPLAY_MODE, {
192
192
  type AlignmentOptions = 'center' | 'align-start';
193
193
  export declare enum CHANGE_ALIGNMENT_REASON {
194
194
  TABLE_RESIZING = "tableResizing",
195
+ TABLE_COLUMN_RESIZED = "tableColumnResized",
195
196
  EDITOR_APPEARANCE_CHANGED = "editorAppearanceChanged",
196
197
  TOOLBAR_OPTION_CHANGED = "toolbarOptionChanged"
197
198
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "83.2.0",
3
+ "version": "83.3.1",
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/"
@@ -96,8 +96,8 @@
96
96
  },
97
97
  "dependencies": {
98
98
  "@atlaskit/activity-provider": "^2.4.0",
99
- "@atlaskit/adf-schema": "^37.0.0",
100
- "@atlaskit/adf-utils": "^19.3.0",
99
+ "@atlaskit/adf-schema": "^38.0.0",
100
+ "@atlaskit/adf-utils": "^19.4.0",
101
101
  "@atlaskit/analytics-listeners": "^8.10.0",
102
102
  "@atlaskit/analytics-namespaced-context": "^6.10.0",
103
103
  "@atlaskit/analytics-next": "^9.3.0",
@@ -105,8 +105,8 @@
105
105
  "@atlaskit/button": "^18.0.0",
106
106
  "@atlaskit/code": "^15.3.0",
107
107
  "@atlaskit/codemod-utils": "^4.2.0",
108
- "@atlaskit/custom-steps": "^0.3.0",
109
- "@atlaskit/editor-json-transformer": "^8.14.0",
108
+ "@atlaskit/custom-steps": "^0.4.0",
109
+ "@atlaskit/editor-json-transformer": "^8.15.0",
110
110
  "@atlaskit/editor-palette": "1.6.0",
111
111
  "@atlaskit/editor-prosemirror": "4.0.1",
112
112
  "@atlaskit/editor-shared-styles": "^2.12.0",
@@ -114,7 +114,7 @@
114
114
  "@atlaskit/emoji": "^67.6.0",
115
115
  "@atlaskit/icon": "^22.5.0",
116
116
  "@atlaskit/icon-object": "^6.4.0",
117
- "@atlaskit/link-datasource": "^2.4.0",
117
+ "@atlaskit/link-datasource": "^2.5.0",
118
118
  "@atlaskit/link-picker": "^1.38.0",
119
119
  "@atlaskit/media-card": "^77.12.0",
120
120
  "@atlaskit/media-client": "^27.3.0",
@@ -130,7 +130,7 @@
130
130
  "@atlaskit/primitives": "^9.0.0",
131
131
  "@atlaskit/profilecard": "^19.15.0",
132
132
  "@atlaskit/section-message": "^6.5.0",
133
- "@atlaskit/smart-card": "^27.7.0",
133
+ "@atlaskit/smart-card": "^27.8.0",
134
134
  "@atlaskit/smart-user-picker": "^6.9.0",
135
135
  "@atlaskit/spinner": "^16.2.0",
136
136
  "@atlaskit/task-decision": "^17.10.0",