@atlaskit/editor-common 79.0.1 → 79.1.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 +15 -0
- package/dist/cjs/messages/text-color.js +2 -2
- package/dist/cjs/messages/toolbar.js +2 -2
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/styles/shared/media.js +2 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/messages/text-color.js +2 -2
- package/dist/es2019/messages/toolbar.js +2 -2
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/styles/shared/media.js +2 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/messages/text-color.js +2 -2
- package/dist/esm/messages/toolbar.js +2 -2
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/styles/shared/media.js +2 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/styles/shared/media.d.ts +1 -0
- package/dist/types/types/annotation/index.d.ts +1 -0
- package/dist/types-ts4.5/styles/shared/media.d.ts +1 -0
- package/dist/types-ts4.5/types/annotation/index.d.ts +1 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 79.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#94548](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94548)
|
|
8
|
+
[`9eacc753e6eb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9eacc753e6eb) - -
|
|
9
|
+
Update applyAnnotation action to return annotation target nodeType
|
|
10
|
+
- Define MEDIA_CONTAINER for media node
|
|
11
|
+
|
|
12
|
+
## 79.0.2
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 79.0.1
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -8,7 +8,7 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
8
8
|
var textColorMessages = exports.textColorMessages = (0, _reactIntlNext.defineMessages)({
|
|
9
9
|
textColor: {
|
|
10
10
|
id: 'fabric.editor.textColor',
|
|
11
|
-
defaultMessage: 'Text color',
|
|
12
|
-
description: ''
|
|
11
|
+
defaultMessage: '{selectedColorName} Text color',
|
|
12
|
+
description: 'Label of menu that provides access to various colors of text. For example: green Text color, dark blue Text color'
|
|
13
13
|
}
|
|
14
14
|
});
|
|
@@ -83,8 +83,8 @@ var toolbarMessages = exports.toolbarMessages = (0, _reactIntlNext.defineMessage
|
|
|
83
83
|
},
|
|
84
84
|
textStyles: {
|
|
85
85
|
id: 'fabric.editor.textStyles',
|
|
86
|
-
defaultMessage: 'Text styles',
|
|
87
|
-
description: 'Menu provides access to various heading styles or normal text'
|
|
86
|
+
defaultMessage: '{blockTypeName} Text styles',
|
|
87
|
+
description: 'Menu label that provides access to various heading styles or normal text. For example: normal text styles, heading 1 text styles.'
|
|
88
88
|
},
|
|
89
89
|
textFormattingOff: {
|
|
90
90
|
id: 'fabric.editor.text.formatting.off',
|
|
@@ -16,7 +16,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
16
16
|
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; }
|
|
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 = "79.0
|
|
19
|
+
var packageVersion = "79.1.0";
|
|
20
20
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
21
21
|
// Remove URL as it has UGC
|
|
22
22
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -6,5 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.ClassNames = void 0;
|
|
7
7
|
var prefix = 'pm-alt-text';
|
|
8
8
|
var ClassNames = exports.ClassNames = {
|
|
9
|
-
FLOATING_TOOLBAR_COMPONENT: "".concat(prefix, "-alt-text-floating-toolbar")
|
|
9
|
+
FLOATING_TOOLBAR_COMPONENT: "".concat(prefix, "-alt-text-floating-toolbar"),
|
|
10
|
+
MEDIA_CONTAINER: 'mediaView-content-wrap'
|
|
10
11
|
};
|
|
@@ -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 */
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "79.0
|
|
23
|
+
var packageVersion = "79.1.0";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -2,7 +2,7 @@ import { defineMessages } from 'react-intl-next';
|
|
|
2
2
|
export const textColorMessages = defineMessages({
|
|
3
3
|
textColor: {
|
|
4
4
|
id: 'fabric.editor.textColor',
|
|
5
|
-
defaultMessage: 'Text color',
|
|
6
|
-
description: ''
|
|
5
|
+
defaultMessage: '{selectedColorName} Text color',
|
|
6
|
+
description: 'Label of menu that provides access to various colors of text. For example: green Text color, dark blue Text color'
|
|
7
7
|
}
|
|
8
8
|
});
|
|
@@ -77,8 +77,8 @@ export const toolbarMessages = defineMessages({
|
|
|
77
77
|
},
|
|
78
78
|
textStyles: {
|
|
79
79
|
id: 'fabric.editor.textStyles',
|
|
80
|
-
defaultMessage: 'Text styles',
|
|
81
|
-
description: 'Menu provides access to various heading styles or normal text'
|
|
80
|
+
defaultMessage: '{blockTypeName} Text styles',
|
|
81
|
+
description: 'Menu label that provides access to various heading styles or normal text. For example: normal text styles, heading 1 text styles.'
|
|
82
82
|
},
|
|
83
83
|
textFormattingOff: {
|
|
84
84
|
id: 'fabric.editor.text.formatting.off',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
2
2
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
3
|
-
const packageVersion = "79.0
|
|
3
|
+
const packageVersion = "79.1.0";
|
|
4
4
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
5
5
|
// Remove URL as it has UGC
|
|
6
6
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -7,7 +7,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
7
7
|
import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
8
8
|
import Layer from '../Layer';
|
|
9
9
|
const packageName = "@atlaskit/editor-common";
|
|
10
|
-
const packageVersion = "79.0
|
|
10
|
+
const packageVersion = "79.1.0";
|
|
11
11
|
const halfFocusRing = 1;
|
|
12
12
|
const dropOffset = '0, 8';
|
|
13
13
|
class DropList extends Component {
|
|
@@ -2,7 +2,7 @@ import { defineMessages } from 'react-intl-next';
|
|
|
2
2
|
export var textColorMessages = defineMessages({
|
|
3
3
|
textColor: {
|
|
4
4
|
id: 'fabric.editor.textColor',
|
|
5
|
-
defaultMessage: 'Text color',
|
|
6
|
-
description: ''
|
|
5
|
+
defaultMessage: '{selectedColorName} Text color',
|
|
6
|
+
description: 'Label of menu that provides access to various colors of text. For example: green Text color, dark blue Text color'
|
|
7
7
|
}
|
|
8
8
|
});
|
|
@@ -77,8 +77,8 @@ export var toolbarMessages = defineMessages({
|
|
|
77
77
|
},
|
|
78
78
|
textStyles: {
|
|
79
79
|
id: 'fabric.editor.textStyles',
|
|
80
|
-
defaultMessage: 'Text styles',
|
|
81
|
-
description: 'Menu provides access to various heading styles or normal text'
|
|
80
|
+
defaultMessage: '{blockTypeName} Text styles',
|
|
81
|
+
description: 'Menu label that provides access to various heading styles or normal text. For example: normal text styles, heading 1 text styles.'
|
|
82
82
|
},
|
|
83
83
|
textFormattingOff: {
|
|
84
84
|
id: 'fabric.editor.text.formatting.off',
|
|
@@ -6,7 +6,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
6
6
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7
7
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
8
8
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
9
|
-
var packageVersion = "79.0
|
|
9
|
+
var packageVersion = "79.1.0";
|
|
10
10
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
11
11
|
// Remove URL as it has UGC
|
|
12
12
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -15,7 +15,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
15
15
|
import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
16
16
|
import Layer from '../Layer';
|
|
17
17
|
var packageName = "@atlaskit/editor-common";
|
|
18
|
-
var packageVersion = "79.0
|
|
18
|
+
var packageVersion = "79.1.0";
|
|
19
19
|
var halfFocusRing = 1;
|
|
20
20
|
var dropOffset = '0, 8';
|
|
21
21
|
var DropList = /*#__PURE__*/function (_Component) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "79.0
|
|
3
|
+
"version": "79.1.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/"
|
|
@@ -125,11 +125,11 @@
|
|
|
125
125
|
"@atlaskit/media-file-preview": "^0.5.0",
|
|
126
126
|
"@atlaskit/media-picker": "^66.4.0",
|
|
127
127
|
"@atlaskit/media-ui": "^25.10.0",
|
|
128
|
-
"@atlaskit/media-viewer": "48.5.
|
|
128
|
+
"@atlaskit/media-viewer": "48.5.1",
|
|
129
129
|
"@atlaskit/mention": "^23.0.0",
|
|
130
130
|
"@atlaskit/menu": "^2.2.0",
|
|
131
131
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
132
|
-
"@atlaskit/primitives": "^
|
|
132
|
+
"@atlaskit/primitives": "^6.0.0",
|
|
133
133
|
"@atlaskit/profilecard": "^19.11.0",
|
|
134
134
|
"@atlaskit/section-message": "^6.5.0",
|
|
135
135
|
"@atlaskit/smart-card": "^26.59.0",
|