@atlaskit/editor-common 76.25.4 → 76.25.5
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 +6 -0
- package/dist/cjs/messages/card.js +25 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/messages/card.js +25 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/messages/card.js +25 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/messages/card.d.ts +25 -0
- package/dist/types-ts4.5/messages/card.d.ts +25 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 76.25.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#57192](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57192) [`cb7776f514cb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cb7776f514cb) - Fix issue like table and assets editor plugin card not translated issue
|
|
8
|
+
|
|
3
9
|
## 76.25.4
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -90,5 +90,30 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
90
90
|
id: 'fabric.editor.datasourceTitle',
|
|
91
91
|
defaultMessage: 'Edit search query',
|
|
92
92
|
description: 'Tooltip of button to edit a card into a datasource'
|
|
93
|
+
},
|
|
94
|
+
datasourceJiraIssue: {
|
|
95
|
+
id: 'fabric.editor.datasource.jiraIssue',
|
|
96
|
+
defaultMessage: 'Jira Issues',
|
|
97
|
+
description: 'Insert a jira datasource table'
|
|
98
|
+
},
|
|
99
|
+
datasourceJiraIssueDescription: {
|
|
100
|
+
id: 'fabric.editor.datasource.jiraIssue.description',
|
|
101
|
+
defaultMessage: 'Insert Jira issues from Jira Cloud with enhanced search, filtering, and configuration.',
|
|
102
|
+
description: 'Insert a jira datasource table'
|
|
103
|
+
},
|
|
104
|
+
datasourceAssetsObjects: {
|
|
105
|
+
id: 'fabric.editor.datasource.assetsObjects',
|
|
106
|
+
defaultMessage: 'Assets (Beta)',
|
|
107
|
+
description: 'Text displayed when selecting the type of data to include onto the page, in this case: JSM Assets objects. This feature is currently in Beta release, so we also include messaging for that.'
|
|
108
|
+
},
|
|
109
|
+
datasourceAssetsObjectsDescription: {
|
|
110
|
+
id: 'fabric.editor.datasource.assetsObjects.description',
|
|
111
|
+
defaultMessage: 'Insert objects from Assets in Jira Service Management with search and filtering',
|
|
112
|
+
description: 'Description text displayed when selecting the type of data to include onto the page, in this case: JSM Assets objects'
|
|
113
|
+
},
|
|
114
|
+
inlineOverlay: {
|
|
115
|
+
id: 'fabric.editor.inlineOverlay',
|
|
116
|
+
defaultMessage: 'Change view',
|
|
117
|
+
description: 'An overlay shown when hover over inline smart link to inform user that they can change link view to card and/or embed.'
|
|
93
118
|
}
|
|
94
119
|
});
|
|
@@ -16,7 +16,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
16
16
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
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 = "76.25.
|
|
19
|
+
var packageVersion = "76.25.5";
|
|
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
|
|
@@ -24,7 +24,7 @@ var _templateObject, _templateObject2, _templateObject3;
|
|
|
24
24
|
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); }; }
|
|
25
25
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /** @jsx jsx */
|
|
26
26
|
var packageName = "@atlaskit/editor-common";
|
|
27
|
-
var packageVersion = "76.25.
|
|
27
|
+
var packageVersion = "76.25.5";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -84,5 +84,30 @@ export const messages = defineMessages({
|
|
|
84
84
|
id: 'fabric.editor.datasourceTitle',
|
|
85
85
|
defaultMessage: 'Edit search query',
|
|
86
86
|
description: 'Tooltip of button to edit a card into a datasource'
|
|
87
|
+
},
|
|
88
|
+
datasourceJiraIssue: {
|
|
89
|
+
id: 'fabric.editor.datasource.jiraIssue',
|
|
90
|
+
defaultMessage: 'Jira Issues',
|
|
91
|
+
description: 'Insert a jira datasource table'
|
|
92
|
+
},
|
|
93
|
+
datasourceJiraIssueDescription: {
|
|
94
|
+
id: 'fabric.editor.datasource.jiraIssue.description',
|
|
95
|
+
defaultMessage: 'Insert Jira issues from Jira Cloud with enhanced search, filtering, and configuration.',
|
|
96
|
+
description: 'Insert a jira datasource table'
|
|
97
|
+
},
|
|
98
|
+
datasourceAssetsObjects: {
|
|
99
|
+
id: 'fabric.editor.datasource.assetsObjects',
|
|
100
|
+
defaultMessage: 'Assets (Beta)',
|
|
101
|
+
description: 'Text displayed when selecting the type of data to include onto the page, in this case: JSM Assets objects. This feature is currently in Beta release, so we also include messaging for that.'
|
|
102
|
+
},
|
|
103
|
+
datasourceAssetsObjectsDescription: {
|
|
104
|
+
id: 'fabric.editor.datasource.assetsObjects.description',
|
|
105
|
+
defaultMessage: 'Insert objects from Assets in Jira Service Management with search and filtering',
|
|
106
|
+
description: 'Description text displayed when selecting the type of data to include onto the page, in this case: JSM Assets objects'
|
|
107
|
+
},
|
|
108
|
+
inlineOverlay: {
|
|
109
|
+
id: 'fabric.editor.inlineOverlay',
|
|
110
|
+
defaultMessage: 'Change view',
|
|
111
|
+
description: 'An overlay shown when hover over inline smart link to inform user that they can change link view to card and/or embed.'
|
|
87
112
|
}
|
|
88
113
|
});
|
|
@@ -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 = "76.25.
|
|
3
|
+
const packageVersion = "76.25.5";
|
|
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
|
|
@@ -9,7 +9,7 @@ import { themed } from '@atlaskit/theme/components';
|
|
|
9
9
|
import { borderRadius } from '@atlaskit/theme/constants';
|
|
10
10
|
import Layer from '../Layer';
|
|
11
11
|
const packageName = "@atlaskit/editor-common";
|
|
12
|
-
const packageVersion = "76.25.
|
|
12
|
+
const packageVersion = "76.25.5";
|
|
13
13
|
const halfFocusRing = 1;
|
|
14
14
|
const dropOffset = '0, 8';
|
|
15
15
|
class DropList extends Component {
|
|
@@ -84,5 +84,30 @@ export var messages = defineMessages({
|
|
|
84
84
|
id: 'fabric.editor.datasourceTitle',
|
|
85
85
|
defaultMessage: 'Edit search query',
|
|
86
86
|
description: 'Tooltip of button to edit a card into a datasource'
|
|
87
|
+
},
|
|
88
|
+
datasourceJiraIssue: {
|
|
89
|
+
id: 'fabric.editor.datasource.jiraIssue',
|
|
90
|
+
defaultMessage: 'Jira Issues',
|
|
91
|
+
description: 'Insert a jira datasource table'
|
|
92
|
+
},
|
|
93
|
+
datasourceJiraIssueDescription: {
|
|
94
|
+
id: 'fabric.editor.datasource.jiraIssue.description',
|
|
95
|
+
defaultMessage: 'Insert Jira issues from Jira Cloud with enhanced search, filtering, and configuration.',
|
|
96
|
+
description: 'Insert a jira datasource table'
|
|
97
|
+
},
|
|
98
|
+
datasourceAssetsObjects: {
|
|
99
|
+
id: 'fabric.editor.datasource.assetsObjects',
|
|
100
|
+
defaultMessage: 'Assets (Beta)',
|
|
101
|
+
description: 'Text displayed when selecting the type of data to include onto the page, in this case: JSM Assets objects. This feature is currently in Beta release, so we also include messaging for that.'
|
|
102
|
+
},
|
|
103
|
+
datasourceAssetsObjectsDescription: {
|
|
104
|
+
id: 'fabric.editor.datasource.assetsObjects.description',
|
|
105
|
+
defaultMessage: 'Insert objects from Assets in Jira Service Management with search and filtering',
|
|
106
|
+
description: 'Description text displayed when selecting the type of data to include onto the page, in this case: JSM Assets objects'
|
|
107
|
+
},
|
|
108
|
+
inlineOverlay: {
|
|
109
|
+
id: 'fabric.editor.inlineOverlay',
|
|
110
|
+
defaultMessage: 'Change view',
|
|
111
|
+
description: 'An overlay shown when hover over inline smart link to inform user that they can change link view to card and/or embed.'
|
|
87
112
|
}
|
|
88
113
|
});
|
|
@@ -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 = "76.25.
|
|
9
|
+
var packageVersion = "76.25.5";
|
|
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
|
|
@@ -19,7 +19,7 @@ import { themed } from '@atlaskit/theme/components';
|
|
|
19
19
|
import { borderRadius } from '@atlaskit/theme/constants';
|
|
20
20
|
import Layer from '../Layer';
|
|
21
21
|
var packageName = "@atlaskit/editor-common";
|
|
22
|
-
var packageVersion = "76.25.
|
|
22
|
+
var packageVersion = "76.25.5";
|
|
23
23
|
var halfFocusRing = 1;
|
|
24
24
|
var dropOffset = '0, 8';
|
|
25
25
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -84,4 +84,29 @@ export declare const messages: {
|
|
|
84
84
|
defaultMessage: string;
|
|
85
85
|
description: string;
|
|
86
86
|
};
|
|
87
|
+
datasourceJiraIssue: {
|
|
88
|
+
id: string;
|
|
89
|
+
defaultMessage: string;
|
|
90
|
+
description: string;
|
|
91
|
+
};
|
|
92
|
+
datasourceJiraIssueDescription: {
|
|
93
|
+
id: string;
|
|
94
|
+
defaultMessage: string;
|
|
95
|
+
description: string;
|
|
96
|
+
};
|
|
97
|
+
datasourceAssetsObjects: {
|
|
98
|
+
id: string;
|
|
99
|
+
defaultMessage: string;
|
|
100
|
+
description: string;
|
|
101
|
+
};
|
|
102
|
+
datasourceAssetsObjectsDescription: {
|
|
103
|
+
id: string;
|
|
104
|
+
defaultMessage: string;
|
|
105
|
+
description: string;
|
|
106
|
+
};
|
|
107
|
+
inlineOverlay: {
|
|
108
|
+
id: string;
|
|
109
|
+
defaultMessage: string;
|
|
110
|
+
description: string;
|
|
111
|
+
};
|
|
87
112
|
};
|
|
@@ -84,4 +84,29 @@ export declare const messages: {
|
|
|
84
84
|
defaultMessage: string;
|
|
85
85
|
description: string;
|
|
86
86
|
};
|
|
87
|
+
datasourceJiraIssue: {
|
|
88
|
+
id: string;
|
|
89
|
+
defaultMessage: string;
|
|
90
|
+
description: string;
|
|
91
|
+
};
|
|
92
|
+
datasourceJiraIssueDescription: {
|
|
93
|
+
id: string;
|
|
94
|
+
defaultMessage: string;
|
|
95
|
+
description: string;
|
|
96
|
+
};
|
|
97
|
+
datasourceAssetsObjects: {
|
|
98
|
+
id: string;
|
|
99
|
+
defaultMessage: string;
|
|
100
|
+
description: string;
|
|
101
|
+
};
|
|
102
|
+
datasourceAssetsObjectsDescription: {
|
|
103
|
+
id: string;
|
|
104
|
+
defaultMessage: string;
|
|
105
|
+
description: string;
|
|
106
|
+
};
|
|
107
|
+
inlineOverlay: {
|
|
108
|
+
id: string;
|
|
109
|
+
defaultMessage: string;
|
|
110
|
+
description: string;
|
|
111
|
+
};
|
|
87
112
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "76.25.
|
|
3
|
+
"version": "76.25.5",
|
|
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/"
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"@atlaskit/menu": "^2.1.0",
|
|
117
117
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
118
118
|
"@atlaskit/profilecard": "^19.7.0",
|
|
119
|
-
"@atlaskit/smart-card": "^26.
|
|
119
|
+
"@atlaskit/smart-card": "^26.43.0",
|
|
120
120
|
"@atlaskit/smart-user-picker": "^6.3.0",
|
|
121
121
|
"@atlaskit/spinner": "^16.0.0",
|
|
122
122
|
"@atlaskit/task-decision": "^17.9.0",
|