@atlaskit/editor-common 116.48.1 → 116.48.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,20 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 116.48.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 116.48.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`6e8461981e75d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6e8461981e75d) -
14
+ Disable row and column move options when merged cells prevent reordering behind the
15
+ platform_editor_table_menu_updates_patch_2 experiment
16
+ - Updated dependencies
17
+
3
18
  ## 116.48.1
4
19
 
5
20
  ### Patch Changes
@@ -321,6 +321,26 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
321
321
  defaultMessage: "You can't sort a table with merged cells",
322
322
  description: "Split your cells to enable this feature"
323
323
  },
324
+ canNotMoveColumnLeftWithMergedCells: {
325
+ id: 'editor-common.messages.table.canNotMoveColumnLeftWithMergedCells',
326
+ defaultMessage: "You can't move a column left with merged cells",
327
+ description: "Explains why the move column left option is unavailable"
328
+ },
329
+ canNotMoveColumnRightWithMergedCells: {
330
+ id: 'editor-common.messages.table.canNotMoveColumnRightWithMergedCells',
331
+ defaultMessage: "You can't move a column right with merged cells",
332
+ description: "Explains why the move column right option is unavailable"
333
+ },
334
+ canNotMoveRowDownWithMergedCells: {
335
+ id: 'editor-common.messages.table.canNotMoveRowDownWithMergedCells',
336
+ defaultMessage: "You can't move a row down with merged cells",
337
+ description: "Explains why the move row down option is unavailable"
338
+ },
339
+ canNotMoveRowUpWithMergedCells: {
340
+ id: 'editor-common.messages.table.canNotMoveRowUpWithMergedCells',
341
+ defaultMessage: "You can't move a row up with merged cells",
342
+ description: "Explains why the move row up option is unavailable"
343
+ },
324
344
  distributeColumns: {
325
345
  id: 'fabric.editor.distributeColumns',
326
346
  defaultMessage: "Distribute columns",
@@ -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.48.0";
31
+ var packageVersion = "116.48.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 = "116.48.0";
27
+ var packageVersion = "116.48.2";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -315,6 +315,26 @@ export const messages = defineMessages({
315
315
  defaultMessage: `You can't sort a table with merged cells`,
316
316
  description: `Split your cells to enable this feature`
317
317
  },
318
+ canNotMoveColumnLeftWithMergedCells: {
319
+ id: 'editor-common.messages.table.canNotMoveColumnLeftWithMergedCells',
320
+ defaultMessage: `You can't move a column left with merged cells`,
321
+ description: `Explains why the move column left option is unavailable`
322
+ },
323
+ canNotMoveColumnRightWithMergedCells: {
324
+ id: 'editor-common.messages.table.canNotMoveColumnRightWithMergedCells',
325
+ defaultMessage: `You can't move a column right with merged cells`,
326
+ description: `Explains why the move column right option is unavailable`
327
+ },
328
+ canNotMoveRowDownWithMergedCells: {
329
+ id: 'editor-common.messages.table.canNotMoveRowDownWithMergedCells',
330
+ defaultMessage: `You can't move a row down with merged cells`,
331
+ description: `Explains why the move row down option is unavailable`
332
+ },
333
+ canNotMoveRowUpWithMergedCells: {
334
+ id: 'editor-common.messages.table.canNotMoveRowUpWithMergedCells',
335
+ defaultMessage: `You can't move a row up with merged cells`,
336
+ description: `Explains why the move row up option is unavailable`
337
+ },
318
338
  distributeColumns: {
319
339
  id: 'fabric.editor.distributeColumns',
320
340
  defaultMessage: `Distribute columns`,
@@ -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.48.0";
17
+ const packageVersion = "116.48.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';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "116.48.0";
17
+ const packageVersion = "116.48.2";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -315,6 +315,26 @@ export var messages = defineMessages({
315
315
  defaultMessage: "You can't sort a table with merged cells",
316
316
  description: "Split your cells to enable this feature"
317
317
  },
318
+ canNotMoveColumnLeftWithMergedCells: {
319
+ id: 'editor-common.messages.table.canNotMoveColumnLeftWithMergedCells',
320
+ defaultMessage: "You can't move a column left with merged cells",
321
+ description: "Explains why the move column left option is unavailable"
322
+ },
323
+ canNotMoveColumnRightWithMergedCells: {
324
+ id: 'editor-common.messages.table.canNotMoveColumnRightWithMergedCells',
325
+ defaultMessage: "You can't move a column right with merged cells",
326
+ description: "Explains why the move column right option is unavailable"
327
+ },
328
+ canNotMoveRowDownWithMergedCells: {
329
+ id: 'editor-common.messages.table.canNotMoveRowDownWithMergedCells',
330
+ defaultMessage: "You can't move a row down with merged cells",
331
+ description: "Explains why the move row down option is unavailable"
332
+ },
333
+ canNotMoveRowUpWithMergedCells: {
334
+ id: 'editor-common.messages.table.canNotMoveRowUpWithMergedCells',
335
+ defaultMessage: "You can't move a row up with merged cells",
336
+ description: "Explains why the move row up option is unavailable"
337
+ },
318
338
  distributeColumns: {
319
339
  id: 'fabric.editor.distributeColumns',
320
340
  defaultMessage: "Distribute columns",
@@ -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.48.0";
23
+ var packageVersion = "116.48.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';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "116.48.0";
24
+ var packageVersion = "116.48.2";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -39,6 +39,26 @@ export declare const messages: {
39
39
  description: string;
40
40
  id: string;
41
41
  };
42
+ canNotMoveColumnLeftWithMergedCells: {
43
+ defaultMessage: string;
44
+ description: string;
45
+ id: string;
46
+ };
47
+ canNotMoveColumnRightWithMergedCells: {
48
+ defaultMessage: string;
49
+ description: string;
50
+ id: string;
51
+ };
52
+ canNotMoveRowDownWithMergedCells: {
53
+ defaultMessage: string;
54
+ description: string;
55
+ id: string;
56
+ };
57
+ canNotMoveRowUpWithMergedCells: {
58
+ defaultMessage: string;
59
+ description: string;
60
+ id: string;
61
+ };
42
62
  canNotSortTable: {
43
63
  defaultMessage: string;
44
64
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "116.48.1",
3
+ "version": "116.48.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/"
@@ -81,7 +81,7 @@
81
81
  "@atlaskit/task-decision": "^21.8.0",
82
82
  "@atlaskit/teams-app-config": "^2.1.0",
83
83
  "@atlaskit/textfield": "^9.1.0",
84
- "@atlaskit/tmp-editor-statsig": "^135.10.0",
84
+ "@atlaskit/tmp-editor-statsig": "^136.0.0",
85
85
  "@atlaskit/tokens": "^16.3.0",
86
86
  "@atlaskit/tooltip": "^24.0.0",
87
87
  "@atlaskit/width-detector": "^6.2.0",