@atlaskit/editor-plugin-card 0.7.2 → 0.8.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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # @atlaskit/editor-plugin-card
2
2
 
3
+ ## 0.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`e4721cc5a3f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e4721cc5a3f) - Make issue count clickable
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+
13
+ ## 0.7.3
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+
3
19
  ## 0.7.2
4
20
 
5
21
  ### Patch Changes
@@ -97,6 +97,7 @@ var DatasourceComponent = /*#__PURE__*/function (_React$PureComponent) {
97
97
  value: function render() {
98
98
  var cardContext = this.context.contextAdapter ? this.context.contextAdapter.card : undefined;
99
99
  var datasource = this.getDatasource();
100
+ var attrs = this.props.node.attrs;
100
101
  var tableView = this.getTableView();
101
102
  if (tableView) {
102
103
  var _tableView$properties;
@@ -115,7 +116,8 @@ var DatasourceComponent = /*#__PURE__*/function (_React$PureComponent) {
115
116
  datasourceId: datasource.id,
116
117
  parameters: datasource.parameters,
117
118
  visibleColumnKeys: visibleColumnKeys,
118
- onVisibleColumnKeysChange: this.handleColumnChange
119
+ onVisibleColumnKeysChange: this.handleColumnChange,
120
+ url: attrs === null || attrs === void 0 ? void 0 : attrs.url
119
121
  })));
120
122
  }
121
123
  }
@@ -72,6 +72,7 @@ export class DatasourceComponent extends React.PureComponent {
72
72
  render() {
73
73
  const cardContext = this.context.contextAdapter ? this.context.contextAdapter.card : undefined;
74
74
  const datasource = this.getDatasource();
75
+ const attrs = this.props.node.attrs;
75
76
  const tableView = this.getTableView();
76
77
  if (tableView) {
77
78
  var _tableView$properties;
@@ -89,7 +90,8 @@ export class DatasourceComponent extends React.PureComponent {
89
90
  datasourceId: datasource.id,
90
91
  parameters: datasource.parameters,
91
92
  visibleColumnKeys: visibleColumnKeys,
92
- onVisibleColumnKeysChange: this.handleColumnChange
93
+ onVisibleColumnKeysChange: this.handleColumnChange,
94
+ url: attrs === null || attrs === void 0 ? void 0 : attrs.url
93
95
  })));
94
96
  }
95
97
  }
@@ -91,6 +91,7 @@ export var DatasourceComponent = /*#__PURE__*/function (_React$PureComponent) {
91
91
  value: function render() {
92
92
  var cardContext = this.context.contextAdapter ? this.context.contextAdapter.card : undefined;
93
93
  var datasource = this.getDatasource();
94
+ var attrs = this.props.node.attrs;
94
95
  var tableView = this.getTableView();
95
96
  if (tableView) {
96
97
  var _tableView$properties;
@@ -109,7 +110,8 @@ export var DatasourceComponent = /*#__PURE__*/function (_React$PureComponent) {
109
110
  datasourceId: datasource.id,
110
111
  parameters: datasource.parameters,
111
112
  visibleColumnKeys: visibleColumnKeys,
112
- onVisibleColumnKeysChange: this.handleColumnChange
113
+ onVisibleColumnKeysChange: this.handleColumnChange,
114
+ url: attrs === null || attrs === void 0 ? void 0 : attrs.url
113
115
  })));
114
116
  }
115
117
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-card",
3
- "version": "0.7.2",
3
+ "version": "0.8.0",
4
4
  "description": "Card plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,23 +33,23 @@
33
33
  "dependencies": {
34
34
  "@atlaskit/adf-schema": "^29.1.0",
35
35
  "@atlaskit/analytics-next": "^9.1.0",
36
- "@atlaskit/editor-common": "^75.2.0",
36
+ "@atlaskit/editor-common": "^75.5.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",
40
40
  "@atlaskit/editor-plugin-floating-toolbar": "^0.5.0",
41
41
  "@atlaskit/editor-plugin-grid": "^0.2.0",
42
- "@atlaskit/editor-plugin-hyperlink": "^0.4.0",
42
+ "@atlaskit/editor-plugin-hyperlink": "^0.5.0",
43
43
  "@atlaskit/editor-plugin-width": "^0.2.0",
44
44
  "@atlaskit/editor-prosemirror": "1.1.0",
45
45
  "@atlaskit/editor-shared-styles": "^2.7.0",
46
46
  "@atlaskit/icon": "^21.12.0",
47
47
  "@atlaskit/link-analytics": "^8.3.0",
48
- "@atlaskit/link-datasource": "^1.2.0",
48
+ "@atlaskit/link-datasource": "^1.3.0",
49
49
  "@atlaskit/platform-feature-flags": "^0.2.0",
50
50
  "@atlaskit/smart-card": "^26.27.0",
51
51
  "@atlaskit/theme": "^12.6.0",
52
- "@atlaskit/tokens": "^1.23.0",
52
+ "@atlaskit/tokens": "^1.25.0",
53
53
  "@babel/runtime": "^7.0.0",
54
54
  "@emotion/react": "^11.7.1",
55
55
  "lodash": "^4.17.21",