@atlaskit/editor-common 107.2.4 → 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 +24 -0
- package/dist/cjs/messages/context-panel.js +14 -0
- package/dist/cjs/messages/index.js +7 -0
- package/dist/cjs/messages/tasks-and-decsisions.js +10 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/styles/shared/resizer.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/messages/context-panel.js +8 -0
- package/dist/es2019/messages/index.js +1 -0
- package/dist/es2019/messages/tasks-and-decsisions.js +10 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/styles/shared/resizer.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/messages/context-panel.js +8 -0
- package/dist/esm/messages/index.js +1 -0
- package/dist/esm/messages/tasks-and-decsisions.js +10 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/styles/shared/resizer.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/messages/context-panel.d.ts +7 -0
- package/dist/types/messages/index.d.ts +1 -0
- package/dist/types/messages/tasks-and-decsisions.d.ts +10 -0
- package/dist/types-ts4.5/messages/context-panel.d.ts +7 -0
- package/dist/types-ts4.5/messages/index.d.ts +1 -0
- package/dist/types-ts4.5/messages/tasks-and-decsisions.d.ts +10 -0
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
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
|
+
|
|
18
|
+
## 107.2.5
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- [#177767](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/177767)
|
|
23
|
+
[`7096b2462638f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7096b2462638f) -
|
|
24
|
+
fix expvalequals check for platform_editor_breakout_resizing
|
|
25
|
+
- Updated dependencies
|
|
26
|
+
|
|
3
27
|
## 107.2.4
|
|
4
28
|
|
|
5
29
|
### 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.
|
|
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
|
|
@@ -79,7 +79,7 @@ var pragmaticStylesLayoutFirstNodeResizeHandleFix = exports.pragmaticStylesLayou
|
|
|
79
79
|
|
|
80
80
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
81
81
|
var pragmaticResizerStyles = exports.pragmaticResizerStyles = function pragmaticResizerStyles() {
|
|
82
|
-
if ((0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled',
|
|
82
|
+
if (!(0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true)) {
|
|
83
83
|
return;
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -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.
|
|
26
|
+
var packageVersion = "107.2.5";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -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
|
+
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
|
|
@@ -266,7 +266,7 @@ export const pragmaticStylesLayoutFirstNodeResizeHandleFix = () => {
|
|
|
266
266
|
|
|
267
267
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
268
268
|
export const pragmaticResizerStyles = () => {
|
|
269
|
-
if (expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled',
|
|
269
|
+
if (!expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true)) {
|
|
270
270
|
return;
|
|
271
271
|
}
|
|
272
272
|
|
|
@@ -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.
|
|
16
|
+
const packageVersion = "107.2.5";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -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.
|
|
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
|
|
@@ -73,7 +73,7 @@ export var pragmaticStylesLayoutFirstNodeResizeHandleFix = function pragmaticSty
|
|
|
73
73
|
|
|
74
74
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
75
75
|
export var pragmaticResizerStyles = function pragmaticResizerStyles() {
|
|
76
|
-
if (expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled',
|
|
76
|
+
if (!expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true)) {
|
|
77
77
|
return;
|
|
78
78
|
}
|
|
79
79
|
|
|
@@ -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.
|
|
23
|
+
var packageVersion = "107.2.5";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -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
|
};
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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",
|
|
@@ -147,20 +147,20 @@
|
|
|
147
147
|
"@atlaskit/link-datasource": "^4.11.0",
|
|
148
148
|
"@atlaskit/link-picker": "^3.5.0",
|
|
149
149
|
"@atlaskit/media-card": "^79.3.0",
|
|
150
|
-
"@atlaskit/media-client": "^34.
|
|
150
|
+
"@atlaskit/media-client": "^34.2.0",
|
|
151
151
|
"@atlaskit/media-client-react": "^4.1.0",
|
|
152
|
-
"@atlaskit/media-common": "^12.
|
|
152
|
+
"@atlaskit/media-common": "^12.3.0",
|
|
153
153
|
"@atlaskit/media-file-preview": "^0.11.0",
|
|
154
154
|
"@atlaskit/media-picker": "^70.0.0",
|
|
155
155
|
"@atlaskit/media-ui": "^28.5.0",
|
|
156
|
-
"@atlaskit/media-viewer": "^52.
|
|
156
|
+
"@atlaskit/media-viewer": "^52.4.0",
|
|
157
157
|
"@atlaskit/mention": "^24.2.0",
|
|
158
158
|
"@atlaskit/menu": "^8.0.0",
|
|
159
159
|
"@atlaskit/onboarding": "^14.2.0",
|
|
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.
|
|
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.
|
|
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",
|