@atlaskit/editor-plugin-card 0.5.5 → 0.5.7
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 +14 -0
- package/dist/cjs/messages.js +1 -1
- package/dist/cjs/nodeviews/datasource.js +3 -0
- package/dist/es2019/messages.js +1 -1
- package/dist/es2019/nodeviews/datasource.js +3 -0
- package/dist/esm/messages.js +1 -1
- package/dist/esm/nodeviews/datasource.js +3 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-card
|
|
2
2
|
|
|
3
|
+
## 0.5.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`43bb8818f18`](https://bitbucket.org/atlassian/atlassian-frontend/commits/43bb8818f18) - Pasting a datasource now only requires a single undo to revert
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
10
|
+
## 0.5.6
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`d5c28c4c0df`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d5c28c4c0df) - Updated jira issues quick insert menu description.
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 0.5.5
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/messages.js
CHANGED
|
@@ -13,7 +13,7 @@ var messages = (0, _reactIntlNext.defineMessages)({
|
|
|
13
13
|
},
|
|
14
14
|
datasourceJiraIssueDescription: {
|
|
15
15
|
id: 'fabric.editor.datasource.jiraIssue.description',
|
|
16
|
-
defaultMessage: 'Insert issues from Jira Cloud with enhanced search, filtering, and configuration',
|
|
16
|
+
defaultMessage: 'Insert Jira issues from Jira Cloud with enhanced search, filtering, and configuration.',
|
|
17
17
|
description: 'Insert a jira datasource table'
|
|
18
18
|
},
|
|
19
19
|
datasourceAssetsObjects: {
|
|
@@ -77,6 +77,9 @@ var DatasourceComponent = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
77
77
|
views: views
|
|
78
78
|
})
|
|
79
79
|
}));
|
|
80
|
+
|
|
81
|
+
// Ensures dispatch does not contribute to undo history (otherwise user requires three undo's to revert table)
|
|
82
|
+
tr.setMeta('addToHistory', false);
|
|
80
83
|
tr.setMeta('scrollIntoView', false);
|
|
81
84
|
dispatch(tr);
|
|
82
85
|
});
|
package/dist/es2019/messages.js
CHANGED
|
@@ -7,7 +7,7 @@ export const messages = defineMessages({
|
|
|
7
7
|
},
|
|
8
8
|
datasourceJiraIssueDescription: {
|
|
9
9
|
id: 'fabric.editor.datasource.jiraIssue.description',
|
|
10
|
-
defaultMessage: 'Insert issues from Jira Cloud with enhanced search, filtering, and configuration',
|
|
10
|
+
defaultMessage: 'Insert Jira issues from Jira Cloud with enhanced search, filtering, and configuration.',
|
|
11
11
|
description: 'Insert a jira datasource table'
|
|
12
12
|
},
|
|
13
13
|
datasourceAssetsObjects: {
|
|
@@ -54,6 +54,9 @@ export class DatasourceComponent extends React.PureComponent {
|
|
|
54
54
|
views
|
|
55
55
|
}
|
|
56
56
|
});
|
|
57
|
+
|
|
58
|
+
// Ensures dispatch does not contribute to undo history (otherwise user requires three undo's to revert table)
|
|
59
|
+
tr.setMeta('addToHistory', false);
|
|
57
60
|
tr.setMeta('scrollIntoView', false);
|
|
58
61
|
dispatch(tr);
|
|
59
62
|
});
|
package/dist/esm/messages.js
CHANGED
|
@@ -7,7 +7,7 @@ export var messages = defineMessages({
|
|
|
7
7
|
},
|
|
8
8
|
datasourceJiraIssueDescription: {
|
|
9
9
|
id: 'fabric.editor.datasource.jiraIssue.description',
|
|
10
|
-
defaultMessage: 'Insert issues from Jira Cloud with enhanced search, filtering, and configuration',
|
|
10
|
+
defaultMessage: 'Insert Jira issues from Jira Cloud with enhanced search, filtering, and configuration.',
|
|
11
11
|
description: 'Insert a jira datasource table'
|
|
12
12
|
},
|
|
13
13
|
datasourceAssetsObjects: {
|
|
@@ -71,6 +71,9 @@ export var DatasourceComponent = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
71
71
|
views: views
|
|
72
72
|
})
|
|
73
73
|
}));
|
|
74
|
+
|
|
75
|
+
// Ensures dispatch does not contribute to undo history (otherwise user requires three undo's to revert table)
|
|
76
|
+
tr.setMeta('addToHistory', false);
|
|
74
77
|
tr.setMeta('scrollIntoView', false);
|
|
75
78
|
dispatch(tr);
|
|
76
79
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-card",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.7",
|
|
4
4
|
"description": "Card plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/adf-schema": "28.1.2",
|
|
35
35
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
36
|
-
"@atlaskit/editor-common": "^74.
|
|
36
|
+
"@atlaskit/editor-common": "^74.58.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^0.2.0",
|
|
38
38
|
"@atlaskit/editor-plugin-decorations": "^0.2.0",
|
|
39
39
|
"@atlaskit/editor-plugin-feature-flags": "^1.0.0",
|