@atlaskit/smart-card 26.15.0 → 26.15.2

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,17 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 26.15.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`3355d65ed83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3355d65ed83) - Fix duplicate WebpackChunkName for GlyphSubtask & GlyphSubtaskProgress"
8
+
9
+ ## 26.15.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [`60b5cb9448d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/60b5cb9448d) - Add StoryPoints FlexUI Element to Jira Block & Hover Card
14
+
3
15
  ## 26.15.0
4
16
 
5
17
  ### Minor Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "26.15.0",
3
+ "version": "26.15.2",
4
4
  "sideEffects": false
5
5
  }
@@ -74,6 +74,8 @@ var getSimulatedBetterMetadata = function getSimulatedBetterMetadata(cardDetails
74
74
  name: _constants.ElementName.ModifiedOn
75
75
  }],
76
76
  bottomMetadata: [{
77
+ name: _constants.ElementName.StoryPoints
78
+ }, {
77
79
  name: _constants.ElementName.Priority
78
80
  }, {
79
81
  name: _constants.ElementName.SubTasksProgress
@@ -269,7 +269,7 @@ var importIconMapper = (_importIconMapper = {}, (0, _defineProperty2.default)(_i
269
269
  });
270
270
  }), (0, _defineProperty2.default)(_importIconMapper, _constants.IconType.SubTasksProgress, function () {
271
271
  return Promise.resolve().then(function () {
272
- return _interopRequireWildcard(require( /* webpackChunkName: "glyphSubtask" */'@atlaskit/icon/glyph/subtask'));
272
+ return _interopRequireWildcard(require( /* webpackChunkName: "glyphSubtaskProgress" */'@atlaskit/icon/glyph/subtask'));
273
273
  });
274
274
  }), _importIconMapper);
275
275
  var getIconImportFn = function getIconImportFn(icon) {
@@ -139,7 +139,7 @@ var getSimulatedBetterMetadata = function getSimulatedBetterMetadata() {
139
139
  case 'jira-object-provider':
140
140
  return _objectSpread(_objectSpread({}, defaultMetadata), {}, {
141
141
  topMetadataBlock: {
142
- primary: [_constants.ElementName.AssignedToGroup, _constants.ElementName.State, _constants.ElementName.Priority],
142
+ primary: [_constants.ElementName.AssignedToGroup, _constants.ElementName.State, _constants.ElementName.StoryPoints, _constants.ElementName.Priority],
143
143
  secondary: [],
144
144
  subtitle: []
145
145
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "26.15.0",
3
+ "version": "26.15.2",
4
4
  "sideEffects": false
5
5
  }
@@ -68,6 +68,8 @@ export const getSimulatedBetterMetadata = cardDetails => {
68
68
  name: ElementName.ModifiedOn
69
69
  }],
70
70
  bottomMetadata: [{
71
+ name: ElementName.StoryPoints
72
+ }, {
71
73
  name: ElementName.Priority
72
74
  }, {
73
75
  name: ElementName.SubTasksProgress
@@ -79,7 +79,7 @@ const importIconMapper = {
79
79
  [IconType.PriorityUndefined]: () => import( /* webpackChunkName: "glyphUndefined" */'@atlaskit/icon/glyph/question'),
80
80
  [IconType.ProgrammingLanguage]: () => import( /* webpackChunkName: "glyphProgrammingLanguage" */'@atlaskit/icon/glyph/code'),
81
81
  [IconType.Subscriber]: () => import( /* webpackChunkName: "glyphSubscriber" */'@atlaskit/icon/glyph/people'),
82
- [IconType.SubTasksProgress]: () => import( /* webpackChunkName: "glyphSubtask" */'@atlaskit/icon/glyph/subtask')
82
+ [IconType.SubTasksProgress]: () => import( /* webpackChunkName: "glyphSubtaskProgress" */'@atlaskit/icon/glyph/subtask')
83
83
  };
84
84
  const getIconImportFn = icon => importIconMapper[icon];
85
85
  const importIcon = importFn => {
@@ -127,7 +127,7 @@ export const getSimulatedBetterMetadata = (extensionKey = '', data) => {
127
127
  return {
128
128
  ...defaultMetadata,
129
129
  topMetadataBlock: {
130
- primary: [ElementName.AssignedToGroup, ElementName.State, ElementName.Priority],
130
+ primary: [ElementName.AssignedToGroup, ElementName.State, ElementName.StoryPoints, ElementName.Priority],
131
131
  secondary: [],
132
132
  subtitle: []
133
133
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "26.15.0",
3
+ "version": "26.15.2",
4
4
  "sideEffects": false
5
5
  }
@@ -68,6 +68,8 @@ export var getSimulatedBetterMetadata = function getSimulatedBetterMetadata(card
68
68
  name: ElementName.ModifiedOn
69
69
  }],
70
70
  bottomMetadata: [{
71
+ name: ElementName.StoryPoints
72
+ }, {
71
73
  name: ElementName.Priority
72
74
  }, {
73
75
  name: ElementName.SubTasksProgress
@@ -138,7 +138,7 @@ var importIconMapper = (_importIconMapper = {}, _defineProperty(_importIconMappe
138
138
  }), _defineProperty(_importIconMapper, IconType.Subscriber, function () {
139
139
  return import( /* webpackChunkName: "glyphSubscriber" */'@atlaskit/icon/glyph/people');
140
140
  }), _defineProperty(_importIconMapper, IconType.SubTasksProgress, function () {
141
- return import( /* webpackChunkName: "glyphSubtask" */'@atlaskit/icon/glyph/subtask');
141
+ return import( /* webpackChunkName: "glyphSubtaskProgress" */'@atlaskit/icon/glyph/subtask');
142
142
  }), _importIconMapper);
143
143
  var getIconImportFn = function getIconImportFn(icon) {
144
144
  return importIconMapper[icon];
@@ -131,7 +131,7 @@ export var getSimulatedBetterMetadata = function getSimulatedBetterMetadata() {
131
131
  case 'jira-object-provider':
132
132
  return _objectSpread(_objectSpread({}, defaultMetadata), {}, {
133
133
  topMetadataBlock: {
134
- primary: [ElementName.AssignedToGroup, ElementName.State, ElementName.Priority],
134
+ primary: [ElementName.AssignedToGroup, ElementName.State, ElementName.StoryPoints, ElementName.Priority],
135
135
  secondary: [],
136
136
  subtitle: []
137
137
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "26.15.0",
3
+ "version": "26.15.2",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -36,7 +36,7 @@
36
36
  "@atlaskit/icon-priority": "^6.3.0",
37
37
  "@atlaskit/in-product-testing": "^0.2.0",
38
38
  "@atlaskit/link-analytics": "^8.2.0",
39
- "@atlaskit/link-client-extension": "^1.5.0",
39
+ "@atlaskit/link-client-extension": "^1.6.0",
40
40
  "@atlaskit/link-extractors": "^1.1.0",
41
41
  "@atlaskit/linking-common": "^4.3.0",
42
42
  "@atlaskit/linking-types": "^8.2.0",