@atlaskit/smart-card 38.15.0 → 38.16.1

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.
Files changed (46) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/cjs/constants.js +1 -0
  3. package/dist/cjs/extractors/flexible/index.js +3 -1
  4. package/dist/cjs/extractors/flexible/utils.js +5 -1
  5. package/dist/cjs/messages.js +5 -0
  6. package/dist/cjs/utils/analytics/analytics.js +1 -1
  7. package/dist/cjs/view/BlockCard/views/utils/index.js +12 -2
  8. package/dist/cjs/view/FlexibleCard/components/blocks/utils.js +1 -1
  9. package/dist/cjs/view/FlexibleCard/components/elements/index.js +7 -0
  10. package/dist/cjs/view/FlexibleCard/components/elements/team-member-count-element/index.js +27 -0
  11. package/dist/cjs/view/LinkUrl/index.js +1 -1
  12. package/dist/es2019/constants.js +1 -0
  13. package/dist/es2019/extractors/flexible/index.js +4 -1
  14. package/dist/es2019/extractors/flexible/utils.js +4 -0
  15. package/dist/es2019/messages.js +5 -0
  16. package/dist/es2019/utils/analytics/analytics.js +1 -1
  17. package/dist/es2019/view/BlockCard/views/utils/index.js +12 -2
  18. package/dist/es2019/view/FlexibleCard/components/blocks/utils.js +1 -0
  19. package/dist/es2019/view/FlexibleCard/components/elements/index.js +1 -0
  20. package/dist/es2019/view/FlexibleCard/components/elements/team-member-count-element/index.js +20 -0
  21. package/dist/es2019/view/LinkUrl/index.js +1 -1
  22. package/dist/esm/constants.js +1 -0
  23. package/dist/esm/extractors/flexible/index.js +4 -2
  24. package/dist/esm/extractors/flexible/utils.js +4 -0
  25. package/dist/esm/messages.js +5 -0
  26. package/dist/esm/utils/analytics/analytics.js +1 -1
  27. package/dist/esm/view/BlockCard/views/utils/index.js +12 -2
  28. package/dist/esm/view/FlexibleCard/components/blocks/utils.js +1 -1
  29. package/dist/esm/view/FlexibleCard/components/elements/index.js +1 -0
  30. package/dist/esm/view/FlexibleCard/components/elements/team-member-count-element/index.js +20 -0
  31. package/dist/esm/view/LinkUrl/index.js +1 -1
  32. package/dist/types/constants.d.ts +1 -0
  33. package/dist/types/extractors/flexible/utils.d.ts +1 -0
  34. package/dist/types/messages.d.ts +1 -1
  35. package/dist/types/state/flexible-ui-context/types.d.ts +6 -0
  36. package/dist/types/view/FlexibleCard/components/blocks/types.d.ts +8 -1
  37. package/dist/types/view/FlexibleCard/components/elements/index.d.ts +1 -0
  38. package/dist/types/view/FlexibleCard/components/elements/team-member-count-element/index.d.ts +5 -0
  39. package/dist/types-ts4.5/constants.d.ts +1 -0
  40. package/dist/types-ts4.5/extractors/flexible/utils.d.ts +1 -0
  41. package/dist/types-ts4.5/messages.d.ts +1 -1
  42. package/dist/types-ts4.5/state/flexible-ui-context/types.d.ts +6 -0
  43. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/types.d.ts +8 -1
  44. package/dist/types-ts4.5/view/FlexibleCard/components/elements/index.d.ts +1 -0
  45. package/dist/types-ts4.5/view/FlexibleCard/components/elements/team-member-count-element/index.d.ts +5 -0
  46. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 38.16.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#176250](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/176250)
8
+ [`6ad5979076014`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6ad5979076014) -
9
+ clean plan smartlinks feature gate
10
+ - [#176864](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/176864)
11
+ [`96f166a864047`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/96f166a864047) -
12
+ EDM-11898 removing all false snapshots for platform-linking-visual-refresh-v1 and renaming files
13
+
14
+ ## 38.16.0
15
+
16
+ ### Minor Changes
17
+
18
+ - [#176285](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/176285)
19
+ [`1b51eca9c45fb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1b51eca9c45fb) -
20
+ Added Team Member Count component
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies
25
+
3
26
  ## 38.15.0
4
27
 
5
28
  ### Minor Changes
@@ -136,6 +136,7 @@ var ElementName = exports.ElementName = /*#__PURE__*/function (ElementName) {
136
136
  ElementName["SubTasksProgress"] = "SubTasksProgress";
137
137
  ElementName["StoryPoints"] = "StoryPoints";
138
138
  ElementName["TargetBranch"] = "TargetBranch";
139
+ ElementName["TeamMemberCount"] = "TeamMemberCount";
139
140
  ElementName["Title"] = "Title";
140
141
  ElementName["ViewCount"] = "ViewCount";
141
142
  ElementName["VoteCount"] = "VoteCount";
@@ -43,7 +43,7 @@ var extractFlexibleUiContext = function extractFlexibleUiContext() {
43
43
  var data = response.data;
44
44
  var meta = response.meta;
45
45
  var url = (0, _linkExtractors.extractSmartLinkUrl)(response);
46
- return _objectSpread(_objectSpread(_objectSpread(_objectSpread({
46
+ return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({
47
47
  actions: (0, _actions.extractFlexibleCardActions)({
48
48
  actionOptions: actionOptions,
49
49
  aiSummaryConfig: aiSummaryConfig,
@@ -94,6 +94,8 @@ var extractFlexibleUiContext = function extractFlexibleUiContext() {
94
94
  targetBranch: (0, _utils.extractTargetBranch)(data)
95
95
  }, (0, _platformFeatureFlags.fg)('platform-linking-flexible-card-context') ? undefined : {
96
96
  title: (0, _linkExtractors.extractSmartLinkTitle)(response) || url
97
+ }), (0, _platformFeatureFlags.fg)('platform-linking-team-member-count-component') && {
98
+ teamMemberCount: (0, _utils.extractTeamMemberCount)(data)
97
99
  }), {}, {
98
100
  url: url,
99
101
  ari: (0, _linkExtractors.extractSmartLinkAri)(response)
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.extractVoteCount = exports.extractViewCount = exports.extractTargetBranch = exports.extractSubscriberCount = exports.extractSubTasksProgress = exports.extractStoryPoints = exports.extractSourceBranch = exports.extractSentOn = exports.extractReadTime = exports.extractReactCount = exports.extractProgrammingLanguage = exports.extractPersonAssignedToAsArray = exports.extractOwnedBy = exports.extractModifiedBy = exports.extractMetaTenantId = exports.extractMetaResourceType = exports.extractMetaObjectId = exports.extractLocation = exports.extractDueOn = exports.extractCreatedBy = exports.extractCommentCount = exports.extractChecklistProgress = exports.extractAttachmentCount = exports.extractAssignedTo = exports.extractAppliedToComponentsCount = void 0;
7
+ exports.extractVoteCount = exports.extractViewCount = exports.extractTeamMemberCount = exports.extractTargetBranch = exports.extractSubscriberCount = exports.extractSubTasksProgress = exports.extractStoryPoints = exports.extractSourceBranch = exports.extractSentOn = exports.extractReadTime = exports.extractReactCount = exports.extractProgrammingLanguage = exports.extractPersonAssignedToAsArray = exports.extractOwnedBy = exports.extractModifiedBy = exports.extractMetaTenantId = exports.extractMetaResourceType = exports.extractMetaObjectId = exports.extractLocation = exports.extractDueOn = exports.extractCreatedBy = exports.extractCommentCount = exports.extractChecklistProgress = exports.extractAttachmentCount = exports.extractAssignedTo = exports.extractAppliedToComponentsCount = void 0;
8
8
  var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
9
9
  var _linkExtractors = require("@atlaskit/link-extractors");
10
10
  var extractLinkName = function extractLinkName(link) {
@@ -70,6 +70,10 @@ var extractSourceBranch = exports.extractSourceBranch = function extractSourceBr
70
70
  var extractSubscriberCount = exports.extractSubscriberCount = function extractSubscriberCount(data) {
71
71
  return extractValue(data, 'atlassian:subscriberCount');
72
72
  };
73
+ var extractTeamMemberCount = exports.extractTeamMemberCount = function extractTeamMemberCount(data) {
74
+ var val = data !== null && data !== void 0 && data.attributedTo ? Array.isArray(data === null || data === void 0 ? void 0 : data.attributedTo) ? data === null || data === void 0 ? void 0 : data.attributedTo.length : 0 : 0;
75
+ return val;
76
+ };
73
77
  var extractAttachmentCount = exports.extractAttachmentCount = function extractAttachmentCount(data) {
74
78
  return extractValue(data, 'atlassian:attachmentCount');
75
79
  };
@@ -804,5 +804,10 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
804
804
  id: 'fabric.linking.status_change_permission_error-issue-term-refresh',
805
805
  defaultMessage: 'You don’t have permission to transition this work item. ',
806
806
  description: 'Informs the user that they do not have enough permissions to update a status'
807
+ },
808
+ team_members_count: {
809
+ id: 'fabric.linking.team_members_count',
810
+ defaultMessage: '{context} members',
811
+ description: 'Indicates the count of team member'
807
812
  }
808
813
  });
@@ -11,7 +11,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
11
11
  var context = exports.context = {
12
12
  componentName: 'smart-cards',
13
13
  packageName: "@atlaskit/smart-card",
14
- packageVersion: "38.14.2"
14
+ packageVersion: "38.16.0"
15
15
  };
16
16
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
17
17
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.titleBlockOptions = exports.getSimulatedBetterMetadata = exports.PreviewBlockOptions = exports.FlexibleCardUiOptionsOld = exports.FlexibleCardUiOptions = void 0;
7
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
8
7
  var _constants = require("../../../../constants");
9
8
  var _utils = require("../../../../extractors/flexible/utils");
10
9
  var _helpers = require("../../../../state/helpers");
@@ -102,7 +101,7 @@ var getSimulatedBetterMetadata = exports.getSimulatedBetterMetadata = function g
102
101
  }, {
103
102
  name: _constants.ElementName.ModifiedOn
104
103
  }];
105
- } else if (isJiraPlan && (0, _platformFeatureFlags.fg)('smart_links_for_plans_platform')) {
104
+ } else if (isJiraPlan) {
106
105
  topMetadata = [{
107
106
  name: _constants.ElementName.OwnedByGroup
108
107
  }, {
@@ -142,6 +141,17 @@ var getSimulatedBetterMetadata = exports.getSimulatedBetterMetadata = function g
142
141
  }].concat(baseTopMetadata),
143
142
  bottomMetadata: defaultBottomMetadata
144
143
  };
144
+ case 'legion-object-provider':
145
+ case 'profile-object-provider':
146
+ return {
147
+ titleMetadata: defaultTitleMetadata,
148
+ topMetadata: [{
149
+ name: _constants.ElementName.AuthorGroup
150
+ }, {
151
+ name: _constants.ElementName.TeamMemberCount
152
+ }].concat(baseTopMetadata),
153
+ bottomMetadata: defaultBottomMetadata
154
+ };
145
155
  default:
146
156
  return {
147
157
  titleMetadata: defaultTitleMetadata,
@@ -21,7 +21,7 @@ var _ElementDisplaySchema;
21
21
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
22
22
  // Determine whether the element can be display as inline/block.
23
23
 
24
- var ElementDisplaySchema = exports.ElementDisplaySchema = (_ElementDisplaySchema = {}, (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_ElementDisplaySchema, _constants.ElementName.AssignedTo, ['inline']), _constants.ElementName.AssignedToGroup, ['inline']), _constants.ElementName.AttachmentCount, ['inline']), _constants.ElementName.AuthorGroup, ['inline']), _constants.ElementName.AppliedToComponentsCount, ['inline']), _constants.ElementName.ChecklistProgress, ['inline']), _constants.ElementName.CollaboratorGroup, ['inline']), _constants.ElementName.CommentCount, ['inline']), _constants.ElementName.CreatedBy, ['inline']), _constants.ElementName.CreatedOn, ['inline']), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_ElementDisplaySchema, _constants.ElementName.DueOn, ['inline']), _constants.ElementName.LatestCommit, ['inline']), _constants.ElementName.LinkIcon, ['inline']), _constants.ElementName.Location, ['inline']), _constants.ElementName.ModifiedBy, ['inline']), _constants.ElementName.ModifiedOn, ['inline']), _constants.ElementName.OwnedBy, ['inline']), _constants.ElementName.OwnedByGroup, ['inline']), _constants.ElementName.Preview, ['block']), _constants.ElementName.Priority, ['inline']), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_ElementDisplaySchema, _constants.ElementName.ProgrammingLanguage, ['inline']), _constants.ElementName.Provider, ['inline']), _constants.ElementName.ReactCount, ['inline']), _constants.ElementName.ReadTime, ['inline']), _constants.ElementName.Snippet, ['block']), _constants.ElementName.SourceBranch, ['inline']), _constants.ElementName.SentOn, ['inline']), _constants.ElementName.State, ['inline']), _constants.ElementName.SubscriberCount, ['inline']), _constants.ElementName.SubTasksProgress, ['inline']), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_ElementDisplaySchema, _constants.ElementName.StoryPoints, ['inline']), _constants.ElementName.TargetBranch, ['inline']), _constants.ElementName.Title, ['inline']), _constants.ElementName.ViewCount, ['inline']), _constants.ElementName.VoteCount, ['inline']));
24
+ var ElementDisplaySchema = exports.ElementDisplaySchema = (_ElementDisplaySchema = {}, (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_ElementDisplaySchema, _constants.ElementName.AssignedTo, ['inline']), _constants.ElementName.AssignedToGroup, ['inline']), _constants.ElementName.AttachmentCount, ['inline']), _constants.ElementName.AuthorGroup, ['inline']), _constants.ElementName.AppliedToComponentsCount, ['inline']), _constants.ElementName.ChecklistProgress, ['inline']), _constants.ElementName.CollaboratorGroup, ['inline']), _constants.ElementName.CommentCount, ['inline']), _constants.ElementName.CreatedBy, ['inline']), _constants.ElementName.CreatedOn, ['inline']), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_ElementDisplaySchema, _constants.ElementName.DueOn, ['inline']), _constants.ElementName.LatestCommit, ['inline']), _constants.ElementName.LinkIcon, ['inline']), _constants.ElementName.Location, ['inline']), _constants.ElementName.ModifiedBy, ['inline']), _constants.ElementName.ModifiedOn, ['inline']), _constants.ElementName.OwnedBy, ['inline']), _constants.ElementName.OwnedByGroup, ['inline']), _constants.ElementName.Preview, ['block']), _constants.ElementName.Priority, ['inline']), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_ElementDisplaySchema, _constants.ElementName.ProgrammingLanguage, ['inline']), _constants.ElementName.Provider, ['inline']), _constants.ElementName.ReactCount, ['inline']), _constants.ElementName.ReadTime, ['inline']), _constants.ElementName.Snippet, ['block']), _constants.ElementName.SourceBranch, ['inline']), _constants.ElementName.SentOn, ['inline']), _constants.ElementName.State, ['inline']), _constants.ElementName.SubscriberCount, ['inline']), _constants.ElementName.TeamMemberCount, ['inline']), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_ElementDisplaySchema, _constants.ElementName.SubTasksProgress, ['inline']), _constants.ElementName.StoryPoints, ['inline']), _constants.ElementName.TargetBranch, ['inline']), _constants.ElementName.Title, ['inline']), _constants.ElementName.ViewCount, ['inline']), _constants.ElementName.VoteCount, ['inline']));
25
25
 
26
26
  /**
27
27
  * Get gap size between elements inside a block
@@ -208,6 +208,12 @@ Object.defineProperty(exports, "TargetBranch", {
208
208
  return _targetBranchElement.default;
209
209
  }
210
210
  });
211
+ Object.defineProperty(exports, "TeamMemberCount", {
212
+ enumerable: true,
213
+ get: function get() {
214
+ return _teamMemberCountElement.default;
215
+ }
216
+ });
211
217
  Object.defineProperty(exports, "Title", {
212
218
  enumerable: true,
213
219
  get: function get() {
@@ -257,6 +263,7 @@ var _subscriberCountElement = _interopRequireDefault(require("./subscriber-count
257
263
  var _subTasksProgressElement = _interopRequireDefault(require("./sub-tasks-progress-element"));
258
264
  var _storyPointsElement = _interopRequireDefault(require("./story-points-element"));
259
265
  var _targetBranchElement = _interopRequireDefault(require("./target-branch-element"));
266
+ var _teamMemberCountElement = _interopRequireDefault(require("./team-member-count-element"));
260
267
  var _titleElement = _interopRequireDefault(require("./title-element"));
261
268
  var _viewCountElement = _interopRequireDefault(require("./view-count-element"));
262
269
  var _voteCountElement = _interopRequireDefault(require("./vote-count-element"));
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
+ var _react = _interopRequireDefault(require("react"));
10
+ var _constants = require("../../../../../constants");
11
+ var _messages = require("../../../../../messages");
12
+ var _flexibleUiContext = require("../../../../../state/flexible-ui-context");
13
+ var _common = require("../common");
14
+ var MAX_TEAM_MEMBER_LIMIT = 50;
15
+ var TeamMemberCountElement = function TeamMemberCountElement(props) {
16
+ var _context$teamMemberCo;
17
+ var context = (0, _flexibleUiContext.useFlexibleUiContext)();
18
+ if (!(context !== null && context !== void 0 && context.teamMemberCount)) {
19
+ return null;
20
+ }
21
+ var count = context !== null && context !== void 0 && context.teamMemberCount && (context === null || context === void 0 ? void 0 : context.teamMemberCount) > MAX_TEAM_MEMBER_LIMIT ? "".concat(MAX_TEAM_MEMBER_LIMIT, "+") : context === null || context === void 0 || (_context$teamMemberCo = context.teamMemberCount) === null || _context$teamMemberCo === void 0 ? void 0 : _context$teamMemberCo.toString();
22
+ var data = count ? (0, _common.toFormattedTextProps)(_messages.messages.team_members_count, count) : null;
23
+ return data ? /*#__PURE__*/_react.default.createElement(_common.BaseTextElement, (0, _extends2.default)({}, data, props, {
24
+ name: _constants.ElementName.TeamMemberCount
25
+ })) : null;
26
+ };
27
+ var _default = exports.default = TeamMemberCountElement;
@@ -20,7 +20,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
20
20
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
21
21
  var PACKAGE_DATA = {
22
22
  packageName: "@atlaskit/smart-card",
23
- packageVersion: "38.14.2",
23
+ packageVersion: "38.16.0",
24
24
  componentName: 'linkUrl'
25
25
  };
26
26
  var Anchor = (0, _click.withLinkClickedEvent)('a');
@@ -137,6 +137,7 @@ export let ElementName = /*#__PURE__*/function (ElementName) {
137
137
  ElementName["SubTasksProgress"] = "SubTasksProgress";
138
138
  ElementName["StoryPoints"] = "StoryPoints";
139
139
  ElementName["TargetBranch"] = "TargetBranch";
140
+ ElementName["TeamMemberCount"] = "TeamMemberCount";
140
141
  ElementName["Title"] = "Title";
141
142
  ElementName["ViewCount"] = "ViewCount";
142
143
  ElementName["VoteCount"] = "VoteCount";
@@ -10,7 +10,7 @@ import extractState from './extract-state';
10
10
  import { extractSmartLinkIcon } from './icon';
11
11
  import { extractSmartLinkProviderIcon } from './icon/extract-provider-icon';
12
12
  import { extractLatestCommit } from './latest-commit';
13
- import { extractAppliedToComponentsCount, extractAssignedTo, extractAttachmentCount, extractChecklistProgress, extractCommentCount, extractDueOn, extractLocation, extractMetaObjectId, extractMetaResourceType, extractMetaTenantId, extractOwnedBy, extractPersonAssignedToAsArray, extractProgrammingLanguage, extractReactCount, extractReadTime, extractSentOn, extractSourceBranch, extractStoryPoints, extractSubscriberCount, extractSubTasksProgress, extractTargetBranch, extractViewCount, extractVoteCount } from './utils';
13
+ import { extractAppliedToComponentsCount, extractAssignedTo, extractAttachmentCount, extractChecklistProgress, extractCommentCount, extractDueOn, extractLocation, extractMetaObjectId, extractMetaResourceType, extractMetaTenantId, extractOwnedBy, extractPersonAssignedToAsArray, extractProgrammingLanguage, extractReactCount, extractReadTime, extractSentOn, extractSourceBranch, extractStoryPoints, extractSubscriberCount, extractSubTasksProgress, extractTargetBranch, extractTeamMemberCount, extractViewCount, extractVoteCount } from './utils';
14
14
  const extractFlexibleUiContext = ({
15
15
  appearance,
16
16
  fireEvent,
@@ -83,6 +83,9 @@ const extractFlexibleUiContext = ({
83
83
  ...(fg('platform-linking-flexible-card-context') ? undefined : {
84
84
  title: extractSmartLinkTitle(response) || url
85
85
  }),
86
+ ...(fg('platform-linking-team-member-count-component') && {
87
+ teamMemberCount: extractTeamMemberCount(data)
88
+ }),
86
89
  url,
87
90
  ari: extractSmartLinkAri(response),
88
91
  ...(fg('platform-linking-visual-refresh-v2') && {
@@ -44,6 +44,10 @@ export const extractModifiedBy = data => {
44
44
  export const extractProgrammingLanguage = data => extractValue(data, 'schema:programmingLanguage');
45
45
  export const extractSourceBranch = data => extractLinkName(data['atlassian:mergeSource']);
46
46
  export const extractSubscriberCount = data => extractValue(data, 'atlassian:subscriberCount');
47
+ export const extractTeamMemberCount = data => {
48
+ const val = data !== null && data !== void 0 && data.attributedTo ? Array.isArray(data === null || data === void 0 ? void 0 : data.attributedTo) ? data === null || data === void 0 ? void 0 : data.attributedTo.length : 0 : 0;
49
+ return val;
50
+ };
47
51
  export const extractAttachmentCount = data => extractValue(data, 'atlassian:attachmentCount');
48
52
  export const extractTargetBranch = data => extractLinkName(data['atlassian:mergeDestination']);
49
53
  export const extractChecklistProgress = data => {
@@ -798,5 +798,10 @@ export const messages = defineMessages({
798
798
  id: 'fabric.linking.status_change_permission_error-issue-term-refresh',
799
799
  defaultMessage: 'You don’t have permission to transition this work item. ',
800
800
  description: 'Informs the user that they do not have enough permissions to update a status'
801
+ },
802
+ team_members_count: {
803
+ id: 'fabric.linking.team_members_count',
804
+ defaultMessage: '{context} members',
805
+ description: 'Indicates the count of team member'
801
806
  }
802
807
  });
@@ -2,7 +2,7 @@ export const ANALYTICS_CHANNEL = 'media';
2
2
  export const context = {
3
3
  componentName: 'smart-cards',
4
4
  packageName: "@atlaskit/smart-card",
5
- packageVersion: "38.14.2"
5
+ packageVersion: "38.16.0"
6
6
  };
7
7
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
8
8
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -1,4 +1,3 @@
1
- import { fg } from '@atlaskit/platform-feature-flags';
2
1
  import { ElementName, MediaPlacement, SmartLinkPosition, SmartLinkSize } from '../../../../constants';
3
2
  import { extractOwnedBy } from '../../../../extractors/flexible/utils';
4
3
  import { getExtensionKey } from '../../../../state/helpers';
@@ -96,7 +95,7 @@ export const getSimulatedBetterMetadata = cardDetails => {
96
95
  }, {
97
96
  name: ElementName.ModifiedOn
98
97
  }];
99
- } else if (isJiraPlan && fg('smart_links_for_plans_platform')) {
98
+ } else if (isJiraPlan) {
100
99
  topMetadata = [{
101
100
  name: ElementName.OwnedByGroup
102
101
  }, {
@@ -136,6 +135,17 @@ export const getSimulatedBetterMetadata = cardDetails => {
136
135
  }, ...baseTopMetadata],
137
136
  bottomMetadata: defaultBottomMetadata
138
137
  };
138
+ case 'legion-object-provider':
139
+ case 'profile-object-provider':
140
+ return {
141
+ titleMetadata: defaultTitleMetadata,
142
+ topMetadata: [{
143
+ name: ElementName.AuthorGroup
144
+ }, {
145
+ name: ElementName.TeamMemberCount
146
+ }, ...baseTopMetadata],
147
+ bottomMetadata: defaultBottomMetadata
148
+ };
139
149
  default:
140
150
  return {
141
151
  titleMetadata: defaultTitleMetadata,
@@ -38,6 +38,7 @@ export const ElementDisplaySchema = {
38
38
  [ElementName.SentOn]: ['inline'],
39
39
  [ElementName.State]: ['inline'],
40
40
  [ElementName.SubscriberCount]: ['inline'],
41
+ [ElementName.TeamMemberCount]: ['inline'],
41
42
  [ElementName.SubTasksProgress]: ['inline'],
42
43
  [ElementName.StoryPoints]: ['inline'],
43
44
  [ElementName.TargetBranch]: ['inline'],
@@ -29,6 +29,7 @@ export { default as SubscriberCount } from './subscriber-count-element';
29
29
  export { default as SubTasksProgress } from './sub-tasks-progress-element';
30
30
  export { default as StoryPoints } from './story-points-element';
31
31
  export { default as TargetBranch } from './target-branch-element';
32
+ export { default as TeamMemberCount } from './team-member-count-element';
32
33
  export { default as Title } from './title-element';
33
34
  export { default as ViewCount } from './view-count-element';
34
35
  export { default as VoteCount } from './vote-count-element';
@@ -0,0 +1,20 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import React from 'react';
3
+ import { ElementName } from '../../../../../constants';
4
+ import { messages } from '../../../../../messages';
5
+ import { useFlexibleUiContext } from '../../../../../state/flexible-ui-context';
6
+ import { BaseTextElement, toFormattedTextProps } from '../common';
7
+ const MAX_TEAM_MEMBER_LIMIT = 50;
8
+ const TeamMemberCountElement = props => {
9
+ var _context$teamMemberCo;
10
+ const context = useFlexibleUiContext();
11
+ if (!(context !== null && context !== void 0 && context.teamMemberCount)) {
12
+ return null;
13
+ }
14
+ const count = context !== null && context !== void 0 && context.teamMemberCount && (context === null || context === void 0 ? void 0 : context.teamMemberCount) > MAX_TEAM_MEMBER_LIMIT ? `${MAX_TEAM_MEMBER_LIMIT}+` : context === null || context === void 0 ? void 0 : (_context$teamMemberCo = context.teamMemberCount) === null || _context$teamMemberCo === void 0 ? void 0 : _context$teamMemberCo.toString();
15
+ const data = count ? toFormattedTextProps(messages.team_members_count, count) : null;
16
+ return data ? /*#__PURE__*/React.createElement(BaseTextElement, _extends({}, data, props, {
17
+ name: ElementName.TeamMemberCount
18
+ })) : null;
19
+ };
20
+ export default TeamMemberCountElement;
@@ -10,7 +10,7 @@ import LinkWarningModal from './LinkWarningModal';
10
10
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
11
11
  const PACKAGE_DATA = {
12
12
  packageName: "@atlaskit/smart-card",
13
- packageVersion: "38.14.2",
13
+ packageVersion: "38.16.0",
14
14
  componentName: 'linkUrl'
15
15
  };
16
16
  const Anchor = withLinkClickedEvent('a');
@@ -137,6 +137,7 @@ export var ElementName = /*#__PURE__*/function (ElementName) {
137
137
  ElementName["SubTasksProgress"] = "SubTasksProgress";
138
138
  ElementName["StoryPoints"] = "StoryPoints";
139
139
  ElementName["TargetBranch"] = "TargetBranch";
140
+ ElementName["TeamMemberCount"] = "TeamMemberCount";
140
141
  ElementName["Title"] = "Title";
141
142
  ElementName["ViewCount"] = "ViewCount";
142
143
  ElementName["VoteCount"] = "VoteCount";
@@ -15,7 +15,7 @@ import extractState from './extract-state';
15
15
  import { extractSmartLinkIcon } from './icon';
16
16
  import { extractSmartLinkProviderIcon } from './icon/extract-provider-icon';
17
17
  import { extractLatestCommit } from './latest-commit';
18
- import { extractAppliedToComponentsCount, extractAssignedTo, extractAttachmentCount, extractChecklistProgress, extractCommentCount, extractDueOn, extractLocation, extractMetaObjectId, extractMetaResourceType, extractMetaTenantId, extractOwnedBy, extractPersonAssignedToAsArray, extractProgrammingLanguage, extractReactCount, extractReadTime, extractSentOn, extractSourceBranch, extractStoryPoints, extractSubscriberCount, extractSubTasksProgress, extractTargetBranch, extractViewCount, extractVoteCount } from './utils';
18
+ import { extractAppliedToComponentsCount, extractAssignedTo, extractAttachmentCount, extractChecklistProgress, extractCommentCount, extractDueOn, extractLocation, extractMetaObjectId, extractMetaResourceType, extractMetaTenantId, extractOwnedBy, extractPersonAssignedToAsArray, extractProgrammingLanguage, extractReactCount, extractReadTime, extractSentOn, extractSourceBranch, extractStoryPoints, extractSubscriberCount, extractSubTasksProgress, extractTargetBranch, extractTeamMemberCount, extractViewCount, extractVoteCount } from './utils';
19
19
  var extractFlexibleUiContext = function extractFlexibleUiContext() {
20
20
  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
21
21
  var appearance = _ref.appearance,
@@ -36,7 +36,7 @@ var extractFlexibleUiContext = function extractFlexibleUiContext() {
36
36
  var data = response.data;
37
37
  var meta = response.meta;
38
38
  var url = extractSmartLinkUrl(response);
39
- return _objectSpread(_objectSpread(_objectSpread(_objectSpread({
39
+ return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({
40
40
  actions: extractFlexibleCardActions({
41
41
  actionOptions: actionOptions,
42
42
  aiSummaryConfig: aiSummaryConfig,
@@ -87,6 +87,8 @@ var extractFlexibleUiContext = function extractFlexibleUiContext() {
87
87
  targetBranch: extractTargetBranch(data)
88
88
  }, fg('platform-linking-flexible-card-context') ? undefined : {
89
89
  title: extractSmartLinkTitle(response) || url
90
+ }), fg('platform-linking-team-member-count-component') && {
91
+ teamMemberCount: extractTeamMemberCount(data)
90
92
  }), {}, {
91
93
  url: url,
92
94
  ari: extractSmartLinkAri(response)
@@ -63,6 +63,10 @@ export var extractSourceBranch = function extractSourceBranch(data) {
63
63
  export var extractSubscriberCount = function extractSubscriberCount(data) {
64
64
  return extractValue(data, 'atlassian:subscriberCount');
65
65
  };
66
+ export var extractTeamMemberCount = function extractTeamMemberCount(data) {
67
+ var val = data !== null && data !== void 0 && data.attributedTo ? Array.isArray(data === null || data === void 0 ? void 0 : data.attributedTo) ? data === null || data === void 0 ? void 0 : data.attributedTo.length : 0 : 0;
68
+ return val;
69
+ };
66
70
  export var extractAttachmentCount = function extractAttachmentCount(data) {
67
71
  return extractValue(data, 'atlassian:attachmentCount');
68
72
  };
@@ -798,5 +798,10 @@ export var messages = defineMessages({
798
798
  id: 'fabric.linking.status_change_permission_error-issue-term-refresh',
799
799
  defaultMessage: 'You don’t have permission to transition this work item. ',
800
800
  description: 'Informs the user that they do not have enough permissions to update a status'
801
+ },
802
+ team_members_count: {
803
+ id: 'fabric.linking.team_members_count',
804
+ defaultMessage: '{context} members',
805
+ description: 'Indicates the count of team member'
801
806
  }
802
807
  });
@@ -4,7 +4,7 @@ export var ANALYTICS_CHANNEL = 'media';
4
4
  export var context = {
5
5
  componentName: 'smart-cards',
6
6
  packageName: "@atlaskit/smart-card",
7
- packageVersion: "38.14.2"
7
+ packageVersion: "38.16.0"
8
8
  };
9
9
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -1,4 +1,3 @@
1
- import { fg } from '@atlaskit/platform-feature-flags';
2
1
  import { ElementName, MediaPlacement, SmartLinkPosition, SmartLinkSize } from '../../../../constants';
3
2
  import { extractOwnedBy } from '../../../../extractors/flexible/utils';
4
3
  import { getExtensionKey } from '../../../../state/helpers';
@@ -96,7 +95,7 @@ export var getSimulatedBetterMetadata = function getSimulatedBetterMetadata(card
96
95
  }, {
97
96
  name: ElementName.ModifiedOn
98
97
  }];
99
- } else if (isJiraPlan && fg('smart_links_for_plans_platform')) {
98
+ } else if (isJiraPlan) {
100
99
  topMetadata = [{
101
100
  name: ElementName.OwnedByGroup
102
101
  }, {
@@ -136,6 +135,17 @@ export var getSimulatedBetterMetadata = function getSimulatedBetterMetadata(card
136
135
  }].concat(baseTopMetadata),
137
136
  bottomMetadata: defaultBottomMetadata
138
137
  };
138
+ case 'legion-object-provider':
139
+ case 'profile-object-provider':
140
+ return {
141
+ titleMetadata: defaultTitleMetadata,
142
+ topMetadata: [{
143
+ name: ElementName.AuthorGroup
144
+ }, {
145
+ name: ElementName.TeamMemberCount
146
+ }].concat(baseTopMetadata),
147
+ bottomMetadata: defaultBottomMetadata
148
+ };
139
149
  default:
140
150
  return {
141
151
  titleMetadata: defaultTitleMetadata,
@@ -13,7 +13,7 @@ import ElementGroup from './element-group';
13
13
 
14
14
  // Determine whether the element can be display as inline/block.
15
15
 
16
- export var ElementDisplaySchema = (_ElementDisplaySchema = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ElementDisplaySchema, ElementName.AssignedTo, ['inline']), ElementName.AssignedToGroup, ['inline']), ElementName.AttachmentCount, ['inline']), ElementName.AuthorGroup, ['inline']), ElementName.AppliedToComponentsCount, ['inline']), ElementName.ChecklistProgress, ['inline']), ElementName.CollaboratorGroup, ['inline']), ElementName.CommentCount, ['inline']), ElementName.CreatedBy, ['inline']), ElementName.CreatedOn, ['inline']), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ElementDisplaySchema, ElementName.DueOn, ['inline']), ElementName.LatestCommit, ['inline']), ElementName.LinkIcon, ['inline']), ElementName.Location, ['inline']), ElementName.ModifiedBy, ['inline']), ElementName.ModifiedOn, ['inline']), ElementName.OwnedBy, ['inline']), ElementName.OwnedByGroup, ['inline']), ElementName.Preview, ['block']), ElementName.Priority, ['inline']), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ElementDisplaySchema, ElementName.ProgrammingLanguage, ['inline']), ElementName.Provider, ['inline']), ElementName.ReactCount, ['inline']), ElementName.ReadTime, ['inline']), ElementName.Snippet, ['block']), ElementName.SourceBranch, ['inline']), ElementName.SentOn, ['inline']), ElementName.State, ['inline']), ElementName.SubscriberCount, ['inline']), ElementName.SubTasksProgress, ['inline']), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ElementDisplaySchema, ElementName.StoryPoints, ['inline']), ElementName.TargetBranch, ['inline']), ElementName.Title, ['inline']), ElementName.ViewCount, ['inline']), ElementName.VoteCount, ['inline']));
16
+ export var ElementDisplaySchema = (_ElementDisplaySchema = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ElementDisplaySchema, ElementName.AssignedTo, ['inline']), ElementName.AssignedToGroup, ['inline']), ElementName.AttachmentCount, ['inline']), ElementName.AuthorGroup, ['inline']), ElementName.AppliedToComponentsCount, ['inline']), ElementName.ChecklistProgress, ['inline']), ElementName.CollaboratorGroup, ['inline']), ElementName.CommentCount, ['inline']), ElementName.CreatedBy, ['inline']), ElementName.CreatedOn, ['inline']), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ElementDisplaySchema, ElementName.DueOn, ['inline']), ElementName.LatestCommit, ['inline']), ElementName.LinkIcon, ['inline']), ElementName.Location, ['inline']), ElementName.ModifiedBy, ['inline']), ElementName.ModifiedOn, ['inline']), ElementName.OwnedBy, ['inline']), ElementName.OwnedByGroup, ['inline']), ElementName.Preview, ['block']), ElementName.Priority, ['inline']), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ElementDisplaySchema, ElementName.ProgrammingLanguage, ['inline']), ElementName.Provider, ['inline']), ElementName.ReactCount, ['inline']), ElementName.ReadTime, ['inline']), ElementName.Snippet, ['block']), ElementName.SourceBranch, ['inline']), ElementName.SentOn, ['inline']), ElementName.State, ['inline']), ElementName.SubscriberCount, ['inline']), ElementName.TeamMemberCount, ['inline']), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ElementDisplaySchema, ElementName.SubTasksProgress, ['inline']), ElementName.StoryPoints, ['inline']), ElementName.TargetBranch, ['inline']), ElementName.Title, ['inline']), ElementName.ViewCount, ['inline']), ElementName.VoteCount, ['inline']));
17
17
 
18
18
  /**
19
19
  * Get gap size between elements inside a block
@@ -29,6 +29,7 @@ export { default as SubscriberCount } from './subscriber-count-element';
29
29
  export { default as SubTasksProgress } from './sub-tasks-progress-element';
30
30
  export { default as StoryPoints } from './story-points-element';
31
31
  export { default as TargetBranch } from './target-branch-element';
32
+ export { default as TeamMemberCount } from './team-member-count-element';
32
33
  export { default as Title } from './title-element';
33
34
  export { default as ViewCount } from './view-count-element';
34
35
  export { default as VoteCount } from './vote-count-element';
@@ -0,0 +1,20 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import React from 'react';
3
+ import { ElementName } from '../../../../../constants';
4
+ import { messages } from '../../../../../messages';
5
+ import { useFlexibleUiContext } from '../../../../../state/flexible-ui-context';
6
+ import { BaseTextElement, toFormattedTextProps } from '../common';
7
+ var MAX_TEAM_MEMBER_LIMIT = 50;
8
+ var TeamMemberCountElement = function TeamMemberCountElement(props) {
9
+ var _context$teamMemberCo;
10
+ var context = useFlexibleUiContext();
11
+ if (!(context !== null && context !== void 0 && context.teamMemberCount)) {
12
+ return null;
13
+ }
14
+ var count = context !== null && context !== void 0 && context.teamMemberCount && (context === null || context === void 0 ? void 0 : context.teamMemberCount) > MAX_TEAM_MEMBER_LIMIT ? "".concat(MAX_TEAM_MEMBER_LIMIT, "+") : context === null || context === void 0 || (_context$teamMemberCo = context.teamMemberCount) === null || _context$teamMemberCo === void 0 ? void 0 : _context$teamMemberCo.toString();
15
+ var data = count ? toFormattedTextProps(messages.team_members_count, count) : null;
16
+ return data ? /*#__PURE__*/React.createElement(BaseTextElement, _extends({}, data, props, {
17
+ name: ElementName.TeamMemberCount
18
+ })) : null;
19
+ };
20
+ export default TeamMemberCountElement;
@@ -13,7 +13,7 @@ import LinkWarningModal from './LinkWarningModal';
13
13
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
14
14
  var PACKAGE_DATA = {
15
15
  packageName: "@atlaskit/smart-card",
16
- packageVersion: "38.14.2",
16
+ packageVersion: "38.16.0",
17
17
  componentName: 'linkUrl'
18
18
  };
19
19
  var Anchor = withLinkClickedEvent('a');
@@ -119,6 +119,7 @@ export declare enum ElementName {
119
119
  SubTasksProgress = "SubTasksProgress",
120
120
  StoryPoints = "StoryPoints",
121
121
  TargetBranch = "TargetBranch",
122
+ TeamMemberCount = "TeamMemberCount",
122
123
  Title = "Title",
123
124
  ViewCount = "ViewCount",
124
125
  VoteCount = "VoteCount",
@@ -18,6 +18,7 @@ export declare const extractProgrammingLanguage: (data: JsonLd.Data.BaseData) =>
18
18
  export declare const extractSourceBranch: (data: JsonLd.Data.SourceCodePullRequest) => string | undefined;
19
19
  export type LinkSubscriberType = JsonLd.Data.SourceCodeRepository | JsonLd.Data.Task | JsonLd.Data.TaskType;
20
20
  export declare const extractSubscriberCount: (data: JsonLd.Data.BaseData) => number | undefined;
21
+ export declare const extractTeamMemberCount: (data: JsonLd.Data.BaseData) => number;
21
22
  export type LinkAttachmentType = JsonLd.Data.Document | JsonLd.Data.Task | JsonLd.Data.TaskType | JsonLd.Data.Project;
22
23
  export declare const extractAttachmentCount: (data: JsonLd.Data.BaseData) => number | undefined;
23
24
  export declare const extractTargetBranch: (data: JsonLd.Data.SourceCodePullRequest) => string | undefined;
@@ -1,6 +1,6 @@
1
1
  import { type MessageDescriptor } from 'react-intl-next';
2
2
  export type RequestAccessMessageKey = 'click_to_join' | 'click_to_join_description' | 'forbidden_description' | 'request_access' | 'request_access_description' | 'request_access_pending' | 'request_access_pending_title' | 'request_access_pending_description' | 'request_denied_description' | 'default_no_access_title' | 'direct_access_title' | 'direct_access_description' | 'direct_access' | 'access_exists_description' | 'not_found_description' | 'not_found_title';
3
- export type MessageKey = 'assigned_to' | 'ai_summarize' | 'ai_summarized' | 'ai_summarized_abbreviation' | 'ai_summarized_info' | 'ai_summarized_info_short' | 'ai_summarizing' | 'ai_summary_error_generic' | 'ai_summary_error_acceptable_use_violation' | 'ai_summary_error_hipaa_content_detected' | 'ai_summary_error_exceeding_context_length_error' | 'ai_summary_action' | 'ai_summary_action_description' | 'automation_action_title' | 'automation_action_tooltip' | 'automation_action_icon_label' | 'automation_action_confluence_page_modal_title' | 'automation_action_confluence_page_modal_description' | 'copy_summary_action' | 'copy_summary_action_description' | 'copied_summary_action_description' | 'beta' | 'cannot_find_link' | 'compass_applied_components_count' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_unauthorised_account_action' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_goal_error' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'preview_description' | 'preview_improved' | 'preview_close' | 'preview_max_size' | 'preview_min_size' | 'priority_blocker' | 'priority_critical' | 'priority_high' | 'priority_highest' | 'priority_low' | 'priority_lowest' | 'priority_major' | 'priority_medium' | 'priority_minor' | 'priority_trivial' | 'priority_undefined' | 'forbidden_access' | 'pending_request' | 'read_time' | 'restricted_link' | 'request_access_to_view' | 'request_denied' | 'sent_on_relative' | 'sent_on_absolute' | 'status_change_load_error' | 'status_change_permission_error' | 'status_change_update_error' | 'try_again' | 'try_another_account' | 'unauthorised_account_description' | 'unauthorised_account_description_no_provider' | 'unauthorised_account_name' | 'unauthorised_account_name_no_provider' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related' | 'generic_error_message' | 'related_links_modal_error_header' | 'related_links_modal_error_title' | 'related_links_modal_error_message' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_header' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_message' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_modal_title_v2' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_found_in_v2' | 'related_links_includes_links_to' | 'related_links_includes_links_to_v2' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'status_change_permission_errorIssueTermRefresh';
3
+ export type MessageKey = 'assigned_to' | 'ai_summarize' | 'ai_summarized' | 'ai_summarized_abbreviation' | 'ai_summarized_info' | 'ai_summarized_info_short' | 'ai_summarizing' | 'ai_summary_error_generic' | 'ai_summary_error_acceptable_use_violation' | 'ai_summary_error_hipaa_content_detected' | 'ai_summary_error_exceeding_context_length_error' | 'ai_summary_action' | 'ai_summary_action_description' | 'automation_action_title' | 'automation_action_tooltip' | 'automation_action_icon_label' | 'automation_action_confluence_page_modal_title' | 'automation_action_confluence_page_modal_description' | 'copy_summary_action' | 'copy_summary_action_description' | 'copied_summary_action_description' | 'beta' | 'cannot_find_link' | 'compass_applied_components_count' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_unauthorised_account_action' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_goal_error' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'preview_description' | 'preview_improved' | 'preview_close' | 'preview_max_size' | 'preview_min_size' | 'priority_blocker' | 'priority_critical' | 'priority_high' | 'priority_highest' | 'priority_low' | 'priority_lowest' | 'priority_major' | 'priority_medium' | 'priority_minor' | 'priority_trivial' | 'priority_undefined' | 'forbidden_access' | 'pending_request' | 'read_time' | 'restricted_link' | 'request_access_to_view' | 'request_denied' | 'sent_on_relative' | 'sent_on_absolute' | 'status_change_load_error' | 'status_change_permission_error' | 'status_change_update_error' | 'try_again' | 'try_another_account' | 'unauthorised_account_description' | 'unauthorised_account_description_no_provider' | 'unauthorised_account_name' | 'unauthorised_account_name_no_provider' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related' | 'generic_error_message' | 'related_links_modal_error_header' | 'related_links_modal_error_title' | 'related_links_modal_error_message' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_header' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_message' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_modal_title_v2' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_found_in_v2' | 'related_links_includes_links_to' | 'related_links_includes_links_to_v2' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'team_members_count' | 'status_change_permission_errorIssueTermRefresh';
4
4
  type Messages = {
5
5
  [K in MessageKey]: MessageDescriptor;
6
6
  };
@@ -191,6 +191,12 @@ export type FlexibleUiDataContext = {
191
191
  * @see SubscriberCount
192
192
  */
193
193
  subscriberCount?: number;
194
+ /**
195
+ * Contains the number of team members of the linked resource.
196
+ * @type number
197
+ * @see TeamMemberCount
198
+ */
199
+ teamMemberCount?: number;
194
200
  /**
195
201
  * A string displaying progress on subtasks
196
202
  */
@@ -194,7 +194,7 @@ export type OnActionMenuOpenChangeOptions = {
194
194
  /**
195
195
  * A type that contains all the possible combinations of elements with their corresponding props.
196
196
  */
197
- export type ElementItemProps = AssignedTo | AssignedToGroup | AttachmentCount | AuthorGroup | AppliedToComponentsCount | ChecklistProgress | CollaboratorGroup | CommentCount | CreatedBy | CreatedOn | DueOn | LatestCommit | LinkIcon | Location | ModifiedBy | ModifiedOn | OwnedBy | OwnedByGroup | Preview | Priority | ProgrammingLanguage | Provider | ReactCount | ReadTime | SentOn | Snippet | SourceBranch | State | SubscriberCount | SubTasksProgress | StoryPoints | TargetBranch | Title | ViewCount | VoteCount;
197
+ export type ElementItemProps = AssignedTo | AssignedToGroup | AttachmentCount | AuthorGroup | AppliedToComponentsCount | ChecklistProgress | CollaboratorGroup | CommentCount | CreatedBy | CreatedOn | DueOn | LatestCommit | LinkIcon | Location | ModifiedBy | ModifiedOn | OwnedBy | OwnedByGroup | Preview | Priority | ProgrammingLanguage | Provider | ReactCount | ReadTime | SentOn | Snippet | SourceBranch | State | SubscriberCount | SubTasksProgress | StoryPoints | TargetBranch | Title | TeamMemberCount | ViewCount | VoteCount;
198
198
  /**
199
199
  * Represents the props available for an AttachmentCount element.
200
200
  * @see AttachmentCount
@@ -421,6 +421,13 @@ export type State = {
421
421
  export type SubscriberCount = {
422
422
  name: ElementName.SubscriberCount;
423
423
  };
424
+ /**
425
+ * Represents the props available for a TeamMemberCount element.
426
+ * @see TeamMemberCount
427
+ */
428
+ export type TeamMemberCount = {
429
+ name: ElementName.TeamMemberCount;
430
+ };
424
431
  /**
425
432
  * Represents the props available for a SubtasksProgress element.
426
433
  */
@@ -52,6 +52,7 @@ export { default as SubscriberCount } from './subscriber-count-element';
52
52
  export { default as SubTasksProgress } from './sub-tasks-progress-element';
53
53
  export { default as StoryPoints } from './story-points-element';
54
54
  export { default as TargetBranch } from './target-branch-element';
55
+ export { default as TeamMemberCount } from './team-member-count-element';
55
56
  export { default as Title } from './title-element';
56
57
  export { default as ViewCount } from './view-count-element';
57
58
  export { default as VoteCount } from './vote-count-element';
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { type BaseTextElementProps } from '../common';
3
+ export type TeamMemberCountElementProps = BaseTextElementProps;
4
+ declare const TeamMemberCountElement: (props: TeamMemberCountElementProps) => JSX.Element | null;
5
+ export default TeamMemberCountElement;
@@ -119,6 +119,7 @@ export declare enum ElementName {
119
119
  SubTasksProgress = "SubTasksProgress",
120
120
  StoryPoints = "StoryPoints",
121
121
  TargetBranch = "TargetBranch",
122
+ TeamMemberCount = "TeamMemberCount",
122
123
  Title = "Title",
123
124
  ViewCount = "ViewCount",
124
125
  VoteCount = "VoteCount",
@@ -18,6 +18,7 @@ export declare const extractProgrammingLanguage: (data: JsonLd.Data.BaseData) =>
18
18
  export declare const extractSourceBranch: (data: JsonLd.Data.SourceCodePullRequest) => string | undefined;
19
19
  export type LinkSubscriberType = JsonLd.Data.SourceCodeRepository | JsonLd.Data.Task | JsonLd.Data.TaskType;
20
20
  export declare const extractSubscriberCount: (data: JsonLd.Data.BaseData) => number | undefined;
21
+ export declare const extractTeamMemberCount: (data: JsonLd.Data.BaseData) => number;
21
22
  export type LinkAttachmentType = JsonLd.Data.Document | JsonLd.Data.Task | JsonLd.Data.TaskType | JsonLd.Data.Project;
22
23
  export declare const extractAttachmentCount: (data: JsonLd.Data.BaseData) => number | undefined;
23
24
  export declare const extractTargetBranch: (data: JsonLd.Data.SourceCodePullRequest) => string | undefined;
@@ -1,6 +1,6 @@
1
1
  import { type MessageDescriptor } from 'react-intl-next';
2
2
  export type RequestAccessMessageKey = 'click_to_join' | 'click_to_join_description' | 'forbidden_description' | 'request_access' | 'request_access_description' | 'request_access_pending' | 'request_access_pending_title' | 'request_access_pending_description' | 'request_denied_description' | 'default_no_access_title' | 'direct_access_title' | 'direct_access_description' | 'direct_access' | 'access_exists_description' | 'not_found_description' | 'not_found_title';
3
- export type MessageKey = 'assigned_to' | 'ai_summarize' | 'ai_summarized' | 'ai_summarized_abbreviation' | 'ai_summarized_info' | 'ai_summarized_info_short' | 'ai_summarizing' | 'ai_summary_error_generic' | 'ai_summary_error_acceptable_use_violation' | 'ai_summary_error_hipaa_content_detected' | 'ai_summary_error_exceeding_context_length_error' | 'ai_summary_action' | 'ai_summary_action_description' | 'automation_action_title' | 'automation_action_tooltip' | 'automation_action_icon_label' | 'automation_action_confluence_page_modal_title' | 'automation_action_confluence_page_modal_description' | 'copy_summary_action' | 'copy_summary_action_description' | 'copied_summary_action_description' | 'beta' | 'cannot_find_link' | 'compass_applied_components_count' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_unauthorised_account_action' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_goal_error' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'preview_description' | 'preview_improved' | 'preview_close' | 'preview_max_size' | 'preview_min_size' | 'priority_blocker' | 'priority_critical' | 'priority_high' | 'priority_highest' | 'priority_low' | 'priority_lowest' | 'priority_major' | 'priority_medium' | 'priority_minor' | 'priority_trivial' | 'priority_undefined' | 'forbidden_access' | 'pending_request' | 'read_time' | 'restricted_link' | 'request_access_to_view' | 'request_denied' | 'sent_on_relative' | 'sent_on_absolute' | 'status_change_load_error' | 'status_change_permission_error' | 'status_change_update_error' | 'try_again' | 'try_another_account' | 'unauthorised_account_description' | 'unauthorised_account_description_no_provider' | 'unauthorised_account_name' | 'unauthorised_account_name_no_provider' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related' | 'generic_error_message' | 'related_links_modal_error_header' | 'related_links_modal_error_title' | 'related_links_modal_error_message' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_header' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_message' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_modal_title_v2' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_found_in_v2' | 'related_links_includes_links_to' | 'related_links_includes_links_to_v2' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'status_change_permission_errorIssueTermRefresh';
3
+ export type MessageKey = 'assigned_to' | 'ai_summarize' | 'ai_summarized' | 'ai_summarized_abbreviation' | 'ai_summarized_info' | 'ai_summarized_info_short' | 'ai_summarizing' | 'ai_summary_error_generic' | 'ai_summary_error_acceptable_use_violation' | 'ai_summary_error_hipaa_content_detected' | 'ai_summary_error_exceeding_context_length_error' | 'ai_summary_action' | 'ai_summary_action_description' | 'automation_action_title' | 'automation_action_tooltip' | 'automation_action_icon_label' | 'automation_action_confluence_page_modal_title' | 'automation_action_confluence_page_modal_description' | 'copy_summary_action' | 'copy_summary_action_description' | 'copied_summary_action_description' | 'beta' | 'cannot_find_link' | 'compass_applied_components_count' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_unauthorised_account_action' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_goal_error' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'preview_description' | 'preview_improved' | 'preview_close' | 'preview_max_size' | 'preview_min_size' | 'priority_blocker' | 'priority_critical' | 'priority_high' | 'priority_highest' | 'priority_low' | 'priority_lowest' | 'priority_major' | 'priority_medium' | 'priority_minor' | 'priority_trivial' | 'priority_undefined' | 'forbidden_access' | 'pending_request' | 'read_time' | 'restricted_link' | 'request_access_to_view' | 'request_denied' | 'sent_on_relative' | 'sent_on_absolute' | 'status_change_load_error' | 'status_change_permission_error' | 'status_change_update_error' | 'try_again' | 'try_another_account' | 'unauthorised_account_description' | 'unauthorised_account_description_no_provider' | 'unauthorised_account_name' | 'unauthorised_account_name_no_provider' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related' | 'generic_error_message' | 'related_links_modal_error_header' | 'related_links_modal_error_title' | 'related_links_modal_error_message' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_header' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_message' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_modal_title_v2' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_found_in_v2' | 'related_links_includes_links_to' | 'related_links_includes_links_to_v2' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'team_members_count' | 'status_change_permission_errorIssueTermRefresh';
4
4
  type Messages = {
5
5
  [K in MessageKey]: MessageDescriptor;
6
6
  };
@@ -191,6 +191,12 @@ export type FlexibleUiDataContext = {
191
191
  * @see SubscriberCount
192
192
  */
193
193
  subscriberCount?: number;
194
+ /**
195
+ * Contains the number of team members of the linked resource.
196
+ * @type number
197
+ * @see TeamMemberCount
198
+ */
199
+ teamMemberCount?: number;
194
200
  /**
195
201
  * A string displaying progress on subtasks
196
202
  */
@@ -194,7 +194,7 @@ export type OnActionMenuOpenChangeOptions = {
194
194
  /**
195
195
  * A type that contains all the possible combinations of elements with their corresponding props.
196
196
  */
197
- export type ElementItemProps = AssignedTo | AssignedToGroup | AttachmentCount | AuthorGroup | AppliedToComponentsCount | ChecklistProgress | CollaboratorGroup | CommentCount | CreatedBy | CreatedOn | DueOn | LatestCommit | LinkIcon | Location | ModifiedBy | ModifiedOn | OwnedBy | OwnedByGroup | Preview | Priority | ProgrammingLanguage | Provider | ReactCount | ReadTime | SentOn | Snippet | SourceBranch | State | SubscriberCount | SubTasksProgress | StoryPoints | TargetBranch | Title | ViewCount | VoteCount;
197
+ export type ElementItemProps = AssignedTo | AssignedToGroup | AttachmentCount | AuthorGroup | AppliedToComponentsCount | ChecklistProgress | CollaboratorGroup | CommentCount | CreatedBy | CreatedOn | DueOn | LatestCommit | LinkIcon | Location | ModifiedBy | ModifiedOn | OwnedBy | OwnedByGroup | Preview | Priority | ProgrammingLanguage | Provider | ReactCount | ReadTime | SentOn | Snippet | SourceBranch | State | SubscriberCount | SubTasksProgress | StoryPoints | TargetBranch | Title | TeamMemberCount | ViewCount | VoteCount;
198
198
  /**
199
199
  * Represents the props available for an AttachmentCount element.
200
200
  * @see AttachmentCount
@@ -421,6 +421,13 @@ export type State = {
421
421
  export type SubscriberCount = {
422
422
  name: ElementName.SubscriberCount;
423
423
  };
424
+ /**
425
+ * Represents the props available for a TeamMemberCount element.
426
+ * @see TeamMemberCount
427
+ */
428
+ export type TeamMemberCount = {
429
+ name: ElementName.TeamMemberCount;
430
+ };
424
431
  /**
425
432
  * Represents the props available for a SubtasksProgress element.
426
433
  */
@@ -52,6 +52,7 @@ export { default as SubscriberCount } from './subscriber-count-element';
52
52
  export { default as SubTasksProgress } from './sub-tasks-progress-element';
53
53
  export { default as StoryPoints } from './story-points-element';
54
54
  export { default as TargetBranch } from './target-branch-element';
55
+ export { default as TeamMemberCount } from './team-member-count-element';
55
56
  export { default as Title } from './title-element';
56
57
  export { default as ViewCount } from './view-count-element';
57
58
  export { default as VoteCount } from './vote-count-element';
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { type BaseTextElementProps } from '../common';
3
+ export type TeamMemberCountElementProps = BaseTextElementProps;
4
+ declare const TeamMemberCountElement: (props: TeamMemberCountElementProps) => JSX.Element | null;
5
+ export default TeamMemberCountElement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "38.15.0",
3
+ "version": "38.16.1",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -45,7 +45,7 @@
45
45
  "@atlaskit/icon-object": "^7.1.0",
46
46
  "@atlaskit/icon-priority": "^6.3.0",
47
47
  "@atlaskit/image": "^3.0.0",
48
- "@atlaskit/json-ld-types": "^1.2.0",
48
+ "@atlaskit/json-ld-types": "^1.3.0",
49
49
  "@atlaskit/legacy-custom-icons": "^0.22.0",
50
50
  "@atlaskit/link": "^3.2.0",
51
51
  "@atlaskit/link-analytics": "^10.0.0",
@@ -181,9 +181,6 @@
181
181
  "type": "boolean",
182
182
  "showOnWebsiteForTransitiveDependencies": true
183
183
  },
184
- "smart_links_for_plans_platform": {
185
- "type": "boolean"
186
- },
187
184
  "bandicoots-smart-card-teamwork-context": {
188
185
  "type": "boolean"
189
186
  },
@@ -254,6 +251,9 @@
254
251
  },
255
252
  "platform_fix_block_card_img_icon_vc": {
256
253
  "type": "boolean"
254
+ },
255
+ "platform-linking-team-member-count-component": {
256
+ "type": "boolean"
257
257
  }
258
258
  },
259
259
  "compassUnitTestMetricSourceId": "ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/f74ef1bc-7240-4aac-9dc8-9dc43b502089"