@atlaskit/editor-common 107.2.5 → 107.3.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,20 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 107.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#178432](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/178432)
8
+ [`abe20dc3f4834`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/abe20dc3f4834) -
9
+ Add translation on the context panel label text
10
+
11
+ ### Patch Changes
12
+
13
+ - [#178362](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/178362)
14
+ [`f5f0fd6ffefdd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f5f0fd6ffefdd) -
15
+ ENGHEALTH-29515 - fix editor task a11y label
16
+ - Updated dependencies
17
+
3
18
  ## 107.2.5
4
19
 
5
20
  ### Patch Changes
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.contextPanelMessages = void 0;
7
+ var _reactIntlNext = require("react-intl-next");
8
+ var contextPanelMessages = exports.contextPanelMessages = (0, _reactIntlNext.defineMessages)({
9
+ panelLabel: {
10
+ id: 'fabric.editor.contextPanel.panelLabel',
11
+ defaultMessage: 'Context panel',
12
+ description: 'Label for the context panel'
13
+ }
14
+ });
@@ -63,6 +63,12 @@ Object.defineProperty(exports, "colorPickerButtonMessages", {
63
63
  return _colorPickerButton.colorPickerButtonMessages;
64
64
  }
65
65
  });
66
+ Object.defineProperty(exports, "contextPanelMessages", {
67
+ enumerable: true,
68
+ get: function get() {
69
+ return _contextPanel.contextPanelMessages;
70
+ }
71
+ });
66
72
  Object.defineProperty(exports, "dateMessages", {
67
73
  enumerable: true,
68
74
  get: function get() {
@@ -264,6 +270,7 @@ var _blockControls = require("./block-controls");
264
270
  var _mediaInsert = require("./media-insert");
265
271
  var _selectionExtension = require("./selection-extension");
266
272
  var _selectionToolbar = require("./selection-toolbar");
273
+ var _contextPanel = require("./context-panel");
267
274
  // Disable no-re-export rule for entry point files
268
275
  /* eslint-disable @atlaskit/editor/no-re-export */
269
276
  var _default = exports.default = (0, _reactIntlNext.defineMessages)({
@@ -35,5 +35,15 @@ var tasksAndDecisionsMessages = exports.tasksAndDecisionsMessages = (0, _reactIn
35
35
  id: 'fabric.editor.requestToEditDismiss',
36
36
  defaultMessage: 'Dismiss',
37
37
  description: 'Button in the popup when we click on dismiss without edit permission'
38
+ },
39
+ markTaskAsCompleted: {
40
+ id: 'fabric.editor.taskDecision.markTaskAsCompleted',
41
+ defaultMessage: 'Mark task as completed',
42
+ description: 'Button to mark a task as complete in the editor'
43
+ },
44
+ markTaskAsNotCompleted: {
45
+ id: 'fabric.editor.taskDecision.markTaskAsNotCompleted',
46
+ defaultMessage: 'Mark task as not completed',
47
+ description: 'Button to mark a task as not complete in the editor'
38
48
  }
39
49
  });
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
16
16
  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); }
17
17
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
18
18
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
19
- var packageVersion = "107.2.4";
19
+ var packageVersion = "107.2.5";
20
20
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
21
21
  // Remove URL as it has UGC
22
22
  // Ignored via go/ees007
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
23
23
  * @jsx jsx
24
24
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
25
25
  var packageName = "@atlaskit/editor-common";
26
- var packageVersion = "107.2.4";
26
+ var packageVersion = "107.2.5";
27
27
  var halfFocusRing = 1;
28
28
  var dropOffset = '0, 8';
29
29
  // Ignored via go/ees005
@@ -0,0 +1,8 @@
1
+ import { defineMessages } from 'react-intl-next';
2
+ export const contextPanelMessages = defineMessages({
3
+ panelLabel: {
4
+ id: 'fabric.editor.contextPanel.panelLabel',
5
+ defaultMessage: 'Context panel',
6
+ description: 'Label for the context panel'
7
+ }
8
+ });
@@ -39,6 +39,7 @@ export { messages as blockControlsMessages } from './block-controls';
39
39
  export { mediaInsertMessages } from './media-insert';
40
40
  export { selectionExtensionMessages } from './selection-extension';
41
41
  export { selectionToolbarMessages } from './selection-toolbar';
42
+ export { contextPanelMessages } from './context-panel';
42
43
  export default defineMessages({
43
44
  layoutFixedWidth: {
44
45
  id: 'fabric.editor.layoutFixedWidth',
@@ -29,5 +29,15 @@ export const tasksAndDecisionsMessages = defineMessages({
29
29
  id: 'fabric.editor.requestToEditDismiss',
30
30
  defaultMessage: 'Dismiss',
31
31
  description: 'Button in the popup when we click on dismiss without edit permission'
32
+ },
33
+ markTaskAsCompleted: {
34
+ id: 'fabric.editor.taskDecision.markTaskAsCompleted',
35
+ defaultMessage: 'Mark task as completed',
36
+ description: 'Button to mark a task as complete in the editor'
37
+ },
38
+ markTaskAsNotCompleted: {
39
+ id: 'fabric.editor.taskDecision.markTaskAsNotCompleted',
40
+ defaultMessage: 'Mark task as not completed',
41
+ description: 'Button to mark a task as not complete in the editor'
32
42
  }
33
43
  });
@@ -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 = "107.2.4";
4
+ const packageVersion = "107.2.5";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // Ignored via go/ees007
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
13
13
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import Layer from '../Layer';
15
15
  const packageName = "@atlaskit/editor-common";
16
- const packageVersion = "107.2.4";
16
+ const packageVersion = "107.2.5";
17
17
  const halfFocusRing = 1;
18
18
  const dropOffset = '0, 8';
19
19
  // Ignored via go/ees005
@@ -0,0 +1,8 @@
1
+ import { defineMessages } from 'react-intl-next';
2
+ export var contextPanelMessages = defineMessages({
3
+ panelLabel: {
4
+ id: 'fabric.editor.contextPanel.panelLabel',
5
+ defaultMessage: 'Context panel',
6
+ description: 'Label for the context panel'
7
+ }
8
+ });
@@ -39,6 +39,7 @@ export { messages as blockControlsMessages } from './block-controls';
39
39
  export { mediaInsertMessages } from './media-insert';
40
40
  export { selectionExtensionMessages } from './selection-extension';
41
41
  export { selectionToolbarMessages } from './selection-toolbar';
42
+ export { contextPanelMessages } from './context-panel';
42
43
  export default defineMessages({
43
44
  layoutFixedWidth: {
44
45
  id: 'fabric.editor.layoutFixedWidth',
@@ -29,5 +29,15 @@ export var tasksAndDecisionsMessages = defineMessages({
29
29
  id: 'fabric.editor.requestToEditDismiss',
30
30
  defaultMessage: 'Dismiss',
31
31
  description: 'Button in the popup when we click on dismiss without edit permission'
32
+ },
33
+ markTaskAsCompleted: {
34
+ id: 'fabric.editor.taskDecision.markTaskAsCompleted',
35
+ defaultMessage: 'Mark task as completed',
36
+ description: 'Button to mark a task as complete in the editor'
37
+ },
38
+ markTaskAsNotCompleted: {
39
+ id: 'fabric.editor.taskDecision.markTaskAsNotCompleted',
40
+ defaultMessage: 'Mark task as not completed',
41
+ description: 'Button to mark a task as not complete in the editor'
32
42
  }
33
43
  });
@@ -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 = "107.2.4";
10
+ var packageVersion = "107.2.5";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // Ignored via go/ees007
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
20
20
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import Layer from '../Layer';
22
22
  var packageName = "@atlaskit/editor-common";
23
- var packageVersion = "107.2.4";
23
+ var packageVersion = "107.2.5";
24
24
  var halfFocusRing = 1;
25
25
  var dropOffset = '0, 8';
26
26
  // Ignored via go/ees005
@@ -0,0 +1,7 @@
1
+ export declare const contextPanelMessages: {
2
+ panelLabel: {
3
+ id: string;
4
+ defaultMessage: string;
5
+ description: string;
6
+ };
7
+ };
@@ -35,6 +35,7 @@ export { messages as blockControlsMessages } from './block-controls';
35
35
  export { mediaInsertMessages } from './media-insert';
36
36
  export { selectionExtensionMessages } from './selection-extension';
37
37
  export { selectionToolbarMessages } from './selection-toolbar';
38
+ export { contextPanelMessages } from './context-panel';
38
39
  declare const _default: {
39
40
  layoutFixedWidth: {
40
41
  id: string;
@@ -29,4 +29,14 @@ export declare const tasksAndDecisionsMessages: {
29
29
  defaultMessage: string;
30
30
  description: string;
31
31
  };
32
+ markTaskAsCompleted: {
33
+ id: string;
34
+ defaultMessage: string;
35
+ description: string;
36
+ };
37
+ markTaskAsNotCompleted: {
38
+ id: string;
39
+ defaultMessage: string;
40
+ description: string;
41
+ };
32
42
  };
@@ -0,0 +1,7 @@
1
+ export declare const contextPanelMessages: {
2
+ panelLabel: {
3
+ id: string;
4
+ defaultMessage: string;
5
+ description: string;
6
+ };
7
+ };
@@ -35,6 +35,7 @@ export { messages as blockControlsMessages } from './block-controls';
35
35
  export { mediaInsertMessages } from './media-insert';
36
36
  export { selectionExtensionMessages } from './selection-extension';
37
37
  export { selectionToolbarMessages } from './selection-toolbar';
38
+ export { contextPanelMessages } from './context-panel';
38
39
  declare const _default: {
39
40
  layoutFixedWidth: {
40
41
  id: string;
@@ -29,4 +29,14 @@ export declare const tasksAndDecisionsMessages: {
29
29
  defaultMessage: string;
30
30
  description: string;
31
31
  };
32
+ markTaskAsCompleted: {
33
+ id: string;
34
+ defaultMessage: string;
35
+ description: string;
36
+ };
37
+ markTaskAsNotCompleted: {
38
+ id: string;
39
+ defaultMessage: string;
40
+ description: string;
41
+ };
32
42
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "107.2.5",
3
+ "version": "107.3.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/"
@@ -128,11 +128,11 @@
128
128
  "@atlaskit/analytics-listeners": "^9.0.0",
129
129
  "@atlaskit/analytics-namespaced-context": "^7.0.0",
130
130
  "@atlaskit/analytics-next": "^11.1.0",
131
- "@atlaskit/atlassian-context": "^0.2.0",
131
+ "@atlaskit/atlassian-context": "^0.3.0",
132
132
  "@atlaskit/button": "^23.2.0",
133
133
  "@atlaskit/code": "^17.2.0",
134
134
  "@atlaskit/codemod-utils": "^4.2.0",
135
- "@atlaskit/css": "^0.11.0",
135
+ "@atlaskit/css": "^0.12.0",
136
136
  "@atlaskit/custom-steps": "^0.11.0",
137
137
  "@atlaskit/dropdown-menu": "^16.1.0",
138
138
  "@atlaskit/editor-json-transformer": "^8.24.0",
@@ -160,7 +160,7 @@
160
160
  "@atlaskit/platform-feature-flags": "^1.1.0",
161
161
  "@atlaskit/platform-feature-flags-react": "^0.2.0",
162
162
  "@atlaskit/popper": "^7.1.0",
163
- "@atlaskit/primitives": "^14.9.0",
163
+ "@atlaskit/primitives": "^14.10.0",
164
164
  "@atlaskit/profilecard": "^23.21.0",
165
165
  "@atlaskit/react-ufo": "^3.14.0",
166
166
  "@atlaskit/section-message": "^8.2.0",
@@ -170,7 +170,7 @@
170
170
  "@atlaskit/task-decision": "^19.2.0",
171
171
  "@atlaskit/textfield": "^8.0.0",
172
172
  "@atlaskit/theme": "^18.0.0",
173
- "@atlaskit/tmp-editor-statsig": "^8.3.0",
173
+ "@atlaskit/tmp-editor-statsig": "^8.4.0",
174
174
  "@atlaskit/tokens": "^5.4.0",
175
175
  "@atlaskit/tooltip": "^20.3.0",
176
176
  "@atlaskit/width-detector": "^5.0.0",