@atlaskit/smart-card 23.1.4 → 23.2.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,11 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 23.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`5a2432bf917`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5a2432bf917) - [ux] Adds metadata to hover smart cards resolved by trello-object-provider
8
+
3
9
  ## 23.1.4
4
10
 
5
11
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "23.1.4",
3
+ "version": "23.2.0",
4
4
  "sideEffects": false
5
5
  }
@@ -53,6 +53,15 @@ var getSimulatedMetadata = function getSimulatedMetadata() {
53
53
  }
54
54
  };
55
55
 
56
+ case 'trello-object-provider':
57
+ return {
58
+ metadata: {
59
+ primary: [_constants.ElementName.AuthorGroup, _constants.ElementName.State, _constants.ElementName.DueOn],
60
+ secondary: [_constants.ElementName.ReactCount, _constants.ElementName.CommentCount, _constants.ElementName.AttachmentCount],
61
+ subtitle: []
62
+ }
63
+ };
64
+
56
65
  case 'watermelon-object-provider':
57
66
  if (types.includes('atlassian:Project')) {
58
67
  return {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "23.1.4",
3
+ "version": "23.2.0",
4
4
  "sideEffects": false
5
5
  }
@@ -40,6 +40,15 @@ export const getSimulatedMetadata = (extensionKey = '', types = []) => {
40
40
  }
41
41
  };
42
42
 
43
+ case 'trello-object-provider':
44
+ return {
45
+ metadata: {
46
+ primary: [ElementName.AuthorGroup, ElementName.State, ElementName.DueOn],
47
+ secondary: [ElementName.ReactCount, ElementName.CommentCount, ElementName.AttachmentCount],
48
+ subtitle: []
49
+ }
50
+ };
51
+
43
52
  case 'watermelon-object-provider':
44
53
  if (types.includes('atlassian:Project')) {
45
54
  return {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "23.1.4",
3
+ "version": "23.2.0",
4
4
  "sideEffects": false
5
5
  }
@@ -43,6 +43,15 @@ export var getSimulatedMetadata = function getSimulatedMetadata() {
43
43
  }
44
44
  };
45
45
 
46
+ case 'trello-object-provider':
47
+ return {
48
+ metadata: {
49
+ primary: [ElementName.AuthorGroup, ElementName.State, ElementName.DueOn],
50
+ secondary: [ElementName.ReactCount, ElementName.CommentCount, ElementName.AttachmentCount],
51
+ subtitle: []
52
+ }
53
+ };
54
+
46
55
  case 'watermelon-object-provider':
47
56
  if (types.includes('atlassian:Project')) {
48
57
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "23.1.4",
3
+ "version": "23.2.0",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"