@atlaskit/editor-common 111.19.3 → 111.20.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,24 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 111.20.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`a4f09d516e927`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a4f09d516e927) -
8
+ [NO-ISSUE] Analytics for onclick for extensions copy
9
+ - Updated dependencies
10
+
11
+ ## 111.20.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [`edfa57e62aec0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/edfa57e62aec0) -
16
+ Adding i18n for the table move row/column help dialog text
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies
21
+
3
22
  ## 111.19.3
4
23
 
5
24
  ### Patch Changes
@@ -291,6 +291,7 @@ var ACTION_SUBJECT = exports.ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJ
291
291
  ACTION_SUBJECT["COLLAB"] = "collab";
292
292
  ACTION_SUBJECT["TOOLBAR_BUTTON"] = "toolbarButton";
293
293
  ACTION_SUBJECT["BUTTON"] = "button";
294
+ ACTION_SUBJECT["COPY_BUTTON"] = "copyButton";
294
295
  ACTION_SUBJECT["CONFIG_PANEL"] = "configPanel";
295
296
  ACTION_SUBJECT["CONTENT_COMPONENT"] = "contentComponent";
296
297
  ACTION_SUBJECT["DATE"] = "date";
@@ -96,21 +96,41 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
96
96
  defaultMessage: 'Move {0, plural, one {column} other {columns}} left',
97
97
  description: 'Moves a column or columns to the left.'
98
98
  },
99
+ moveColumnLeftHelpDialogLabel: {
100
+ id: 'fabric.editor.moveColumnLeftHelpDialogLabel',
101
+ defaultMessage: 'Move column left',
102
+ description: 'Description of a keymap that moves one column or multiple columns left, this is in the help dialog and can be simpler than the puralisation version'
103
+ },
99
104
  moveColumnRight: {
100
105
  id: 'fabric.editor.moveColumnRight',
101
106
  defaultMessage: 'Move {0, plural, one {column} other {columns}} right',
102
107
  description: 'Moves a column or columns to the right.'
103
108
  },
109
+ moveColumnRightHelpDialogLabel: {
110
+ id: 'fabric.editor.moveColumnRightHelpDialogLabel',
111
+ defaultMessage: 'Move column right',
112
+ description: 'Description of a keymap that moves one column or multiple columns right, this is in the help dialog and can be simpler than the puralisation version'
113
+ },
104
114
  moveRowUp: {
105
115
  id: 'fabric.editor.moveRowUp',
106
116
  defaultMessage: 'Move {0, plural, one {row} other {rows}} up',
107
117
  description: 'Moves a row or selected rows up.'
108
118
  },
119
+ moveRowUpHelpDialogLabel: {
120
+ id: 'fabric.editor.moveRowUpHelpDialogLabel',
121
+ defaultMessage: 'Move row up',
122
+ description: 'Description of a keymap that moves one row or multiple rows up, this is in the help dialog and can be simpler than the puralisation version'
123
+ },
109
124
  moveRowDown: {
110
125
  id: 'fabric.editor.moveDownDown',
111
126
  defaultMessage: 'Move {0, plural, one {row} other {rows}} down',
112
127
  description: 'Moves a row or selected rows down.'
113
128
  },
129
+ moveRowDownHelpDialogLabel: {
130
+ id: 'fabric.editor.moveRowDownHelpDialogLabel',
131
+ defaultMessage: 'Move row down',
132
+ description: 'Description of a keymap that moves one row or multiple rows down, this is in the help dialog and can be simpler than the puralisation version'
133
+ },
114
134
  insertRowDrag: {
115
135
  id: 'fabric.editor.insertRowDrag',
116
136
  defaultMessage: 'Insert row',
@@ -19,7 +19,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
19
19
  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); }
20
20
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
21
21
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
22
- var packageVersion = "111.19.2";
22
+ var packageVersion = "111.20.0";
23
23
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
24
24
  // Remove URL as it has UGC
25
25
  // 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 = "111.19.2";
27
+ var packageVersion = "111.20.0";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -285,6 +285,7 @@ export let ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJECT) {
285
285
  ACTION_SUBJECT["COLLAB"] = "collab";
286
286
  ACTION_SUBJECT["TOOLBAR_BUTTON"] = "toolbarButton";
287
287
  ACTION_SUBJECT["BUTTON"] = "button";
288
+ ACTION_SUBJECT["COPY_BUTTON"] = "copyButton";
288
289
  ACTION_SUBJECT["CONFIG_PANEL"] = "configPanel";
289
290
  ACTION_SUBJECT["CONTENT_COMPONENT"] = "contentComponent";
290
291
  ACTION_SUBJECT["DATE"] = "date";
@@ -90,21 +90,41 @@ export const messages = defineMessages({
90
90
  defaultMessage: 'Move {0, plural, one {column} other {columns}} left',
91
91
  description: 'Moves a column or columns to the left.'
92
92
  },
93
+ moveColumnLeftHelpDialogLabel: {
94
+ id: 'fabric.editor.moveColumnLeftHelpDialogLabel',
95
+ defaultMessage: 'Move column left',
96
+ description: 'Description of a keymap that moves one column or multiple columns left, this is in the help dialog and can be simpler than the puralisation version'
97
+ },
93
98
  moveColumnRight: {
94
99
  id: 'fabric.editor.moveColumnRight',
95
100
  defaultMessage: 'Move {0, plural, one {column} other {columns}} right',
96
101
  description: 'Moves a column or columns to the right.'
97
102
  },
103
+ moveColumnRightHelpDialogLabel: {
104
+ id: 'fabric.editor.moveColumnRightHelpDialogLabel',
105
+ defaultMessage: 'Move column right',
106
+ description: 'Description of a keymap that moves one column or multiple columns right, this is in the help dialog and can be simpler than the puralisation version'
107
+ },
98
108
  moveRowUp: {
99
109
  id: 'fabric.editor.moveRowUp',
100
110
  defaultMessage: 'Move {0, plural, one {row} other {rows}} up',
101
111
  description: 'Moves a row or selected rows up.'
102
112
  },
113
+ moveRowUpHelpDialogLabel: {
114
+ id: 'fabric.editor.moveRowUpHelpDialogLabel',
115
+ defaultMessage: 'Move row up',
116
+ description: 'Description of a keymap that moves one row or multiple rows up, this is in the help dialog and can be simpler than the puralisation version'
117
+ },
103
118
  moveRowDown: {
104
119
  id: 'fabric.editor.moveDownDown',
105
120
  defaultMessage: 'Move {0, plural, one {row} other {rows}} down',
106
121
  description: 'Moves a row or selected rows down.'
107
122
  },
123
+ moveRowDownHelpDialogLabel: {
124
+ id: 'fabric.editor.moveRowDownHelpDialogLabel',
125
+ defaultMessage: 'Move row down',
126
+ description: 'Description of a keymap that moves one row or multiple rows down, this is in the help dialog and can be simpler than the puralisation version'
127
+ },
108
128
  insertRowDrag: {
109
129
  id: 'fabric.editor.insertRowDrag',
110
130
  defaultMessage: 'Insert row',
@@ -4,7 +4,7 @@ import { isFedRamp } from './environment';
4
4
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
5
5
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
6
6
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
7
- const packageVersion = "111.19.2";
7
+ const packageVersion = "111.20.0";
8
8
  const sanitiseSentryEvents = (data, _hint) => {
9
9
  // Remove URL as it has UGC
10
10
  // 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 = "111.19.2";
17
+ const packageVersion = "111.20.0";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -285,6 +285,7 @@ export var ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJECT) {
285
285
  ACTION_SUBJECT["COLLAB"] = "collab";
286
286
  ACTION_SUBJECT["TOOLBAR_BUTTON"] = "toolbarButton";
287
287
  ACTION_SUBJECT["BUTTON"] = "button";
288
+ ACTION_SUBJECT["COPY_BUTTON"] = "copyButton";
288
289
  ACTION_SUBJECT["CONFIG_PANEL"] = "configPanel";
289
290
  ACTION_SUBJECT["CONTENT_COMPONENT"] = "contentComponent";
290
291
  ACTION_SUBJECT["DATE"] = "date";
@@ -90,21 +90,41 @@ export var messages = defineMessages({
90
90
  defaultMessage: 'Move {0, plural, one {column} other {columns}} left',
91
91
  description: 'Moves a column or columns to the left.'
92
92
  },
93
+ moveColumnLeftHelpDialogLabel: {
94
+ id: 'fabric.editor.moveColumnLeftHelpDialogLabel',
95
+ defaultMessage: 'Move column left',
96
+ description: 'Description of a keymap that moves one column or multiple columns left, this is in the help dialog and can be simpler than the puralisation version'
97
+ },
93
98
  moveColumnRight: {
94
99
  id: 'fabric.editor.moveColumnRight',
95
100
  defaultMessage: 'Move {0, plural, one {column} other {columns}} right',
96
101
  description: 'Moves a column or columns to the right.'
97
102
  },
103
+ moveColumnRightHelpDialogLabel: {
104
+ id: 'fabric.editor.moveColumnRightHelpDialogLabel',
105
+ defaultMessage: 'Move column right',
106
+ description: 'Description of a keymap that moves one column or multiple columns right, this is in the help dialog and can be simpler than the puralisation version'
107
+ },
98
108
  moveRowUp: {
99
109
  id: 'fabric.editor.moveRowUp',
100
110
  defaultMessage: 'Move {0, plural, one {row} other {rows}} up',
101
111
  description: 'Moves a row or selected rows up.'
102
112
  },
113
+ moveRowUpHelpDialogLabel: {
114
+ id: 'fabric.editor.moveRowUpHelpDialogLabel',
115
+ defaultMessage: 'Move row up',
116
+ description: 'Description of a keymap that moves one row or multiple rows up, this is in the help dialog and can be simpler than the puralisation version'
117
+ },
103
118
  moveRowDown: {
104
119
  id: 'fabric.editor.moveDownDown',
105
120
  defaultMessage: 'Move {0, plural, one {row} other {rows}} down',
106
121
  description: 'Moves a row or selected rows down.'
107
122
  },
123
+ moveRowDownHelpDialogLabel: {
124
+ id: 'fabric.editor.moveRowDownHelpDialogLabel',
125
+ defaultMessage: 'Move row down',
126
+ description: 'Description of a keymap that moves one row or multiple rows down, this is in the help dialog and can be simpler than the puralisation version'
127
+ },
108
128
  insertRowDrag: {
109
129
  id: 'fabric.editor.insertRowDrag',
110
130
  defaultMessage: 'Insert row',
@@ -10,7 +10,7 @@ import { isFedRamp } from './environment';
10
10
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
11
11
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
12
12
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
13
- var packageVersion = "111.19.2";
13
+ var packageVersion = "111.20.0";
14
14
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
15
15
  // Remove URL as it has UGC
16
16
  // 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 = "111.19.2";
24
+ var packageVersion = "111.20.0";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -278,6 +278,7 @@ export declare enum ACTION_SUBJECT {
278
278
  COLLAB = "collab",
279
279
  TOOLBAR_BUTTON = "toolbarButton",
280
280
  BUTTON = "button",
281
+ COPY_BUTTON = "copyButton",
281
282
  CONFIG_PANEL = "configPanel",
282
283
  CONTENT_COMPONENT = "contentComponent",
283
284
  DATE = "date",
@@ -1,6 +1,6 @@
1
1
  import type { ExtensionLayout } from '@atlaskit/adf-schema';
2
2
  import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
3
- import type { SELECTION_TYPE, OperationalAEP, TrackAEP } from './utils';
3
+ import type { SELECTION_TYPE, OperationalAEP, TrackAEP, UIAEP } from './utils';
4
4
  export declare enum GAP_CURSOR_POSITION {
5
5
  LEFT = "left",
6
6
  RIGHT = "right"
@@ -45,5 +45,9 @@ type ExtensionCopyFailedAEP = OperationalAEP<ACTION.COPY_FAILED, ACTION_SUBJECT.
45
45
  type ExtensionAPICalledPayload = TrackAEP<ACTION.INVOKED, ACTION_SUBJECT.EXTENSION, ACTION_SUBJECT_ID.EXTENSION_API, {
46
46
  functionName: string;
47
47
  }, INPUT_METHOD.EXTENSION_API>;
48
- export type ExtensionEventPayload = ExtensionUpdateAEP | ExtensionDeletedAEP | ExtensionCopyFailedAEP | ExtensionAPICalledPayload;
48
+ type ExtensionCopyAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.COPY_BUTTON, ExtensionType, {
49
+ extensionKey: string;
50
+ extensionType: string;
51
+ }>;
52
+ export type ExtensionEventPayload = ExtensionUpdateAEP | ExtensionDeletedAEP | ExtensionCopyFailedAEP | ExtensionCopyAEP | ExtensionAPICalledPayload;
49
53
  export {};
@@ -89,21 +89,41 @@ export declare const messages: {
89
89
  defaultMessage: string;
90
90
  description: string;
91
91
  };
92
+ moveColumnLeftHelpDialogLabel: {
93
+ id: string;
94
+ defaultMessage: string;
95
+ description: string;
96
+ };
92
97
  moveColumnRight: {
93
98
  id: string;
94
99
  defaultMessage: string;
95
100
  description: string;
96
101
  };
102
+ moveColumnRightHelpDialogLabel: {
103
+ id: string;
104
+ defaultMessage: string;
105
+ description: string;
106
+ };
97
107
  moveRowUp: {
98
108
  id: string;
99
109
  defaultMessage: string;
100
110
  description: string;
101
111
  };
112
+ moveRowUpHelpDialogLabel: {
113
+ id: string;
114
+ defaultMessage: string;
115
+ description: string;
116
+ };
102
117
  moveRowDown: {
103
118
  id: string;
104
119
  defaultMessage: string;
105
120
  description: string;
106
121
  };
122
+ moveRowDownHelpDialogLabel: {
123
+ id: string;
124
+ defaultMessage: string;
125
+ description: string;
126
+ };
107
127
  insertRowDrag: {
108
128
  id: string;
109
129
  defaultMessage: string;
@@ -278,6 +278,7 @@ export declare enum ACTION_SUBJECT {
278
278
  COLLAB = "collab",
279
279
  TOOLBAR_BUTTON = "toolbarButton",
280
280
  BUTTON = "button",
281
+ COPY_BUTTON = "copyButton",
281
282
  CONFIG_PANEL = "configPanel",
282
283
  CONTENT_COMPONENT = "contentComponent",
283
284
  DATE = "date",
@@ -1,6 +1,6 @@
1
1
  import type { ExtensionLayout } from '@atlaskit/adf-schema';
2
2
  import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
3
- import type { SELECTION_TYPE, OperationalAEP, TrackAEP } from './utils';
3
+ import type { SELECTION_TYPE, OperationalAEP, TrackAEP, UIAEP } from './utils';
4
4
  export declare enum GAP_CURSOR_POSITION {
5
5
  LEFT = "left",
6
6
  RIGHT = "right"
@@ -45,5 +45,9 @@ type ExtensionCopyFailedAEP = OperationalAEP<ACTION.COPY_FAILED, ACTION_SUBJECT.
45
45
  type ExtensionAPICalledPayload = TrackAEP<ACTION.INVOKED, ACTION_SUBJECT.EXTENSION, ACTION_SUBJECT_ID.EXTENSION_API, {
46
46
  functionName: string;
47
47
  }, INPUT_METHOD.EXTENSION_API>;
48
- export type ExtensionEventPayload = ExtensionUpdateAEP | ExtensionDeletedAEP | ExtensionCopyFailedAEP | ExtensionAPICalledPayload;
48
+ type ExtensionCopyAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.COPY_BUTTON, ExtensionType, {
49
+ extensionKey: string;
50
+ extensionType: string;
51
+ }>;
52
+ export type ExtensionEventPayload = ExtensionUpdateAEP | ExtensionDeletedAEP | ExtensionCopyFailedAEP | ExtensionCopyAEP | ExtensionAPICalledPayload;
49
53
  export {};
@@ -89,21 +89,41 @@ export declare const messages: {
89
89
  defaultMessage: string;
90
90
  description: string;
91
91
  };
92
+ moveColumnLeftHelpDialogLabel: {
93
+ id: string;
94
+ defaultMessage: string;
95
+ description: string;
96
+ };
92
97
  moveColumnRight: {
93
98
  id: string;
94
99
  defaultMessage: string;
95
100
  description: string;
96
101
  };
102
+ moveColumnRightHelpDialogLabel: {
103
+ id: string;
104
+ defaultMessage: string;
105
+ description: string;
106
+ };
97
107
  moveRowUp: {
98
108
  id: string;
99
109
  defaultMessage: string;
100
110
  description: string;
101
111
  };
112
+ moveRowUpHelpDialogLabel: {
113
+ id: string;
114
+ defaultMessage: string;
115
+ description: string;
116
+ };
102
117
  moveRowDown: {
103
118
  id: string;
104
119
  defaultMessage: string;
105
120
  description: string;
106
121
  };
122
+ moveRowDownHelpDialogLabel: {
123
+ id: string;
124
+ defaultMessage: string;
125
+ description: string;
126
+ };
107
127
  insertRowDrag: {
108
128
  id: string;
109
129
  defaultMessage: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "111.19.3",
3
+ "version": "111.20.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/"