@atlaskit/editor-common 102.11.6 → 102.12.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 +8 -0
- package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/messages.js +5 -0
- package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/utils.js +2 -1
- package/dist/cjs/messages/card.js +10 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/messages.js +5 -0
- package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/utils.js +2 -1
- package/dist/es2019/messages/card.js +10 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/messages.js +5 -0
- package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/utils.js +2 -1
- package/dist/esm/messages/card.js +10 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/link/LinkPicker/HyperlinkAddToolbar/messages.d.ts +5 -0
- package/dist/types/messages/card.d.ts +10 -0
- package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/messages.d.ts +5 -0
- package/dist/types-ts4.5/messages/card.d.ts +10 -0
- package/package.json +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 102.12.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#129544](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/129544)
|
|
8
|
+
[`2c661f18440df`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2c661f18440df) -
|
|
9
|
+
[ux] Rebranded the term Issue to Work item as part of issue terminology refresh
|
|
10
|
+
|
|
3
11
|
## 102.11.6
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -35,5 +35,10 @@ var utilMessages = exports.utilMessages = (0, _reactIntlNext.defineMessages)({
|
|
|
35
35
|
id: 'fabric.editor.headingLink.hyperlinkIconBlogLabel',
|
|
36
36
|
defaultMessage: 'Blog',
|
|
37
37
|
description: 'icon label for a confluence blog'
|
|
38
|
+
},
|
|
39
|
+
hyperlinkIconIssueLabelIssueTermRefresh: {
|
|
40
|
+
id: 'fabric.editor.headingLink.hyperlinkIconIssueLabel.issue-term-refresh',
|
|
41
|
+
defaultMessage: 'Work Item',
|
|
42
|
+
description: 'icon label for a jira issue'
|
|
38
43
|
}
|
|
39
44
|
});
|
|
@@ -15,6 +15,7 @@ var _3 = _interopRequireDefault(require("@atlaskit/icon-object/glyph/issue/16"))
|
|
|
15
15
|
var _4 = _interopRequireDefault(require("@atlaskit/icon-object/glyph/page/16"));
|
|
16
16
|
var _5 = _interopRequireDefault(require("@atlaskit/icon-object/glyph/story/16"));
|
|
17
17
|
var _6 = _interopRequireDefault(require("@atlaskit/icon-object/glyph/task/16"));
|
|
18
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
18
19
|
var _messages = require("./messages");
|
|
19
20
|
function filterUniqueItems(arr, comparator) {
|
|
20
21
|
return arr.filter(function (firstItem, index, self) {
|
|
@@ -26,7 +27,7 @@ function filterUniqueItems(arr, comparator) {
|
|
|
26
27
|
var Issue16 = function Issue16(props) {
|
|
27
28
|
var intl = props.intl;
|
|
28
29
|
return /*#__PURE__*/_react.default.createElement(_3.default, {
|
|
29
|
-
label: intl.formatMessage(_messages.utilMessages.hyperlinkIconIssueLabel)
|
|
30
|
+
label: intl.formatMessage((0, _platformFeatureFlags.fg)('confluence-issue-terminology-refresh') ? _messages.utilMessages.hyperlinkIconIssueLabelIssueTermRefresh : _messages.utilMessages.hyperlinkIconIssueLabel)
|
|
30
31
|
});
|
|
31
32
|
};
|
|
32
33
|
var Bug16 = function Bug16(props) {
|
|
@@ -160,5 +160,15 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
160
160
|
id: 'fabric.editor.datasource.confluenceSearch.description',
|
|
161
161
|
defaultMessage: 'Insert list of search results from Confluence with enhanced search, filtering, and configuration.',
|
|
162
162
|
description: 'Description text displayed when selecting the type of data to include onto the page, in this case: Confluence Search objects'
|
|
163
|
+
},
|
|
164
|
+
datasourceJiraIssueIssueTermRefresh: {
|
|
165
|
+
id: 'fabric.editor.datasource.jiraIssue.issue-term-refresh',
|
|
166
|
+
defaultMessage: 'Jira Work Items',
|
|
167
|
+
description: 'Insert a jira datasource table (Issue Terminology Refresh)'
|
|
168
|
+
},
|
|
169
|
+
datasourceJiraIssueDescriptionIssueTermRefresh: {
|
|
170
|
+
id: 'fabric.editor.datasource.jiraIssue.description.issue-term-refresh',
|
|
171
|
+
defaultMessage: 'Insert Jira work items from Jira Cloud with enhanced search, filtering, and configuration.',
|
|
172
|
+
description: 'Insert a jira datasource table (Issue Terminology Refresh)'
|
|
163
173
|
}
|
|
164
174
|
});
|
|
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
17
17
|
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 && {}.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; }
|
|
18
18
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
19
19
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
20
|
-
var packageVersion = "102.
|
|
20
|
+
var packageVersion = "102.12.0";
|
|
21
21
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
22
22
|
// Remove URL as it has UGC
|
|
23
23
|
// 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 = "102.
|
|
26
|
+
var packageVersion = "102.12.0";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -29,5 +29,10 @@ export const utilMessages = defineMessages({
|
|
|
29
29
|
id: 'fabric.editor.headingLink.hyperlinkIconBlogLabel',
|
|
30
30
|
defaultMessage: 'Blog',
|
|
31
31
|
description: 'icon label for a confluence blog'
|
|
32
|
+
},
|
|
33
|
+
hyperlinkIconIssueLabelIssueTermRefresh: {
|
|
34
|
+
id: 'fabric.editor.headingLink.hyperlinkIconIssueLabel.issue-term-refresh',
|
|
35
|
+
defaultMessage: 'Work Item',
|
|
36
|
+
description: 'icon label for a jira issue'
|
|
32
37
|
}
|
|
33
38
|
});
|
|
@@ -7,6 +7,7 @@ import Issue16Icon from '@atlaskit/icon-object/glyph/issue/16';
|
|
|
7
7
|
import Page16Icon from '@atlaskit/icon-object/glyph/page/16';
|
|
8
8
|
import Story16Icon from '@atlaskit/icon-object/glyph/story/16';
|
|
9
9
|
import Task16Icon from '@atlaskit/icon-object/glyph/task/16';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
11
|
import { utilMessages } from './messages';
|
|
11
12
|
export function filterUniqueItems(arr, comparator) {
|
|
12
13
|
return arr.filter((firstItem, index, self) => {
|
|
@@ -18,7 +19,7 @@ const Issue16 = props => {
|
|
|
18
19
|
intl
|
|
19
20
|
} = props;
|
|
20
21
|
return /*#__PURE__*/React.createElement(Issue16Icon, {
|
|
21
|
-
label: intl.formatMessage(utilMessages.hyperlinkIconIssueLabel)
|
|
22
|
+
label: intl.formatMessage(fg('confluence-issue-terminology-refresh') ? utilMessages.hyperlinkIconIssueLabelIssueTermRefresh : utilMessages.hyperlinkIconIssueLabel)
|
|
22
23
|
});
|
|
23
24
|
};
|
|
24
25
|
const Bug16 = props => {
|
|
@@ -154,5 +154,15 @@ export const messages = defineMessages({
|
|
|
154
154
|
id: 'fabric.editor.datasource.confluenceSearch.description',
|
|
155
155
|
defaultMessage: 'Insert list of search results from Confluence with enhanced search, filtering, and configuration.',
|
|
156
156
|
description: 'Description text displayed when selecting the type of data to include onto the page, in this case: Confluence Search objects'
|
|
157
|
+
},
|
|
158
|
+
datasourceJiraIssueIssueTermRefresh: {
|
|
159
|
+
id: 'fabric.editor.datasource.jiraIssue.issue-term-refresh',
|
|
160
|
+
defaultMessage: 'Jira Work Items',
|
|
161
|
+
description: 'Insert a jira datasource table (Issue Terminology Refresh)'
|
|
162
|
+
},
|
|
163
|
+
datasourceJiraIssueDescriptionIssueTermRefresh: {
|
|
164
|
+
id: 'fabric.editor.datasource.jiraIssue.description.issue-term-refresh',
|
|
165
|
+
defaultMessage: 'Insert Jira work items from Jira Cloud with enhanced search, filtering, and configuration.',
|
|
166
|
+
description: 'Insert a jira datasource table (Issue Terminology Refresh)'
|
|
157
167
|
}
|
|
158
168
|
});
|
|
@@ -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 = "102.
|
|
4
|
+
const packageVersion = "102.12.0";
|
|
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 = "102.
|
|
16
|
+
const packageVersion = "102.12.0";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -29,5 +29,10 @@ export var utilMessages = defineMessages({
|
|
|
29
29
|
id: 'fabric.editor.headingLink.hyperlinkIconBlogLabel',
|
|
30
30
|
defaultMessage: 'Blog',
|
|
31
31
|
description: 'icon label for a confluence blog'
|
|
32
|
+
},
|
|
33
|
+
hyperlinkIconIssueLabelIssueTermRefresh: {
|
|
34
|
+
id: 'fabric.editor.headingLink.hyperlinkIconIssueLabel.issue-term-refresh',
|
|
35
|
+
defaultMessage: 'Work Item',
|
|
36
|
+
description: 'icon label for a jira issue'
|
|
32
37
|
}
|
|
33
38
|
});
|
|
@@ -7,6 +7,7 @@ import Issue16Icon from '@atlaskit/icon-object/glyph/issue/16';
|
|
|
7
7
|
import Page16Icon from '@atlaskit/icon-object/glyph/page/16';
|
|
8
8
|
import Story16Icon from '@atlaskit/icon-object/glyph/story/16';
|
|
9
9
|
import Task16Icon from '@atlaskit/icon-object/glyph/task/16';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
11
|
import { utilMessages } from './messages';
|
|
11
12
|
export function filterUniqueItems(arr, comparator) {
|
|
12
13
|
return arr.filter(function (firstItem, index, self) {
|
|
@@ -18,7 +19,7 @@ export function filterUniqueItems(arr, comparator) {
|
|
|
18
19
|
var Issue16 = function Issue16(props) {
|
|
19
20
|
var intl = props.intl;
|
|
20
21
|
return /*#__PURE__*/React.createElement(Issue16Icon, {
|
|
21
|
-
label: intl.formatMessage(utilMessages.hyperlinkIconIssueLabel)
|
|
22
|
+
label: intl.formatMessage(fg('confluence-issue-terminology-refresh') ? utilMessages.hyperlinkIconIssueLabelIssueTermRefresh : utilMessages.hyperlinkIconIssueLabel)
|
|
22
23
|
});
|
|
23
24
|
};
|
|
24
25
|
var Bug16 = function Bug16(props) {
|
|
@@ -154,5 +154,15 @@ export var messages = defineMessages({
|
|
|
154
154
|
id: 'fabric.editor.datasource.confluenceSearch.description',
|
|
155
155
|
defaultMessage: 'Insert list of search results from Confluence with enhanced search, filtering, and configuration.',
|
|
156
156
|
description: 'Description text displayed when selecting the type of data to include onto the page, in this case: Confluence Search objects'
|
|
157
|
+
},
|
|
158
|
+
datasourceJiraIssueIssueTermRefresh: {
|
|
159
|
+
id: 'fabric.editor.datasource.jiraIssue.issue-term-refresh',
|
|
160
|
+
defaultMessage: 'Jira Work Items',
|
|
161
|
+
description: 'Insert a jira datasource table (Issue Terminology Refresh)'
|
|
162
|
+
},
|
|
163
|
+
datasourceJiraIssueDescriptionIssueTermRefresh: {
|
|
164
|
+
id: 'fabric.editor.datasource.jiraIssue.description.issue-term-refresh',
|
|
165
|
+
defaultMessage: 'Insert Jira work items from Jira Cloud with enhanced search, filtering, and configuration.',
|
|
166
|
+
description: 'Insert a jira datasource table (Issue Terminology Refresh)'
|
|
157
167
|
}
|
|
158
168
|
});
|
|
@@ -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 = "102.
|
|
10
|
+
var packageVersion = "102.12.0";
|
|
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 = "102.
|
|
23
|
+
var packageVersion = "102.12.0";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -154,4 +154,14 @@ export declare const messages: {
|
|
|
154
154
|
defaultMessage: string;
|
|
155
155
|
description: string;
|
|
156
156
|
};
|
|
157
|
+
datasourceJiraIssueIssueTermRefresh: {
|
|
158
|
+
id: string;
|
|
159
|
+
defaultMessage: string;
|
|
160
|
+
description: string;
|
|
161
|
+
};
|
|
162
|
+
datasourceJiraIssueDescriptionIssueTermRefresh: {
|
|
163
|
+
id: string;
|
|
164
|
+
defaultMessage: string;
|
|
165
|
+
description: string;
|
|
166
|
+
};
|
|
157
167
|
};
|
|
@@ -154,4 +154,14 @@ export declare const messages: {
|
|
|
154
154
|
defaultMessage: string;
|
|
155
155
|
description: string;
|
|
156
156
|
};
|
|
157
|
+
datasourceJiraIssueIssueTermRefresh: {
|
|
158
|
+
id: string;
|
|
159
|
+
defaultMessage: string;
|
|
160
|
+
description: string;
|
|
161
|
+
};
|
|
162
|
+
datasourceJiraIssueDescriptionIssueTermRefresh: {
|
|
163
|
+
id: string;
|
|
164
|
+
defaultMessage: string;
|
|
165
|
+
description: string;
|
|
166
|
+
};
|
|
157
167
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "102.
|
|
3
|
+
"version": "102.12.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/"
|
|
@@ -333,6 +333,9 @@
|
|
|
333
333
|
},
|
|
334
334
|
"platform_editor_inline_node_virt_threshold_override": {
|
|
335
335
|
"type": "boolean"
|
|
336
|
+
},
|
|
337
|
+
"confluence-issue-terminology-refresh": {
|
|
338
|
+
"type": "boolean"
|
|
336
339
|
}
|
|
337
340
|
}
|
|
338
341
|
}
|