@atlaskit/smart-card 43.24.0 → 43.24.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 43.24.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`f9c27b8da5b37`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f9c27b8da5b37) -
|
|
8
|
+
Feature gate cleanup for member count in card view
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 43.24.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -8,7 +8,6 @@ exports.default = void 0;
|
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
10
|
var _linkExtractors = require("@atlaskit/link-extractors");
|
|
11
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
11
|
var _experiments = require("../../utils/experiments");
|
|
13
12
|
var _extractSummary = require("../common/primitives/extractSummary");
|
|
14
13
|
var _actions = require("./actions");
|
|
@@ -45,7 +44,7 @@ var extractFlexibleUiContext = function extractFlexibleUiContext() {
|
|
|
45
44
|
var data = response.data;
|
|
46
45
|
var meta = response.meta;
|
|
47
46
|
var url = (0, _linkExtractors.extractSmartLinkUrl)(response);
|
|
48
|
-
return _objectSpread(
|
|
47
|
+
return _objectSpread({
|
|
49
48
|
actions: (0, _actions.extractFlexibleCardActions)({
|
|
50
49
|
actionOptions: actionOptions,
|
|
51
50
|
aiSummaryConfig: aiSummaryConfig,
|
|
@@ -95,10 +94,8 @@ var extractFlexibleUiContext = function extractFlexibleUiContext() {
|
|
|
95
94
|
subTasksProgress: (0, _utils.extractSubTasksProgress)(data),
|
|
96
95
|
storyPoints: (0, _utils.extractStoryPoints)(data),
|
|
97
96
|
targetBranch: (0, _utils.extractTargetBranch)(data),
|
|
98
|
-
userAttributes: (0, _utils.extractUserAttributes)(data)
|
|
99
|
-
|
|
100
|
-
teamMemberCount: (0, _utils.extractTeamMemberCount)(data)
|
|
101
|
-
}), {}, {
|
|
97
|
+
userAttributes: (0, _utils.extractUserAttributes)(data),
|
|
98
|
+
teamMemberCount: (0, _utils.extractTeamMemberCount)(data),
|
|
102
99
|
url: url,
|
|
103
100
|
ari: (0, _linkExtractors.extractSmartLinkAri)(response),
|
|
104
101
|
type: (0, _linkExtractors.extractType)(data),
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { extractPersonOwnedBy, extractSmartLinkAri, extractSmartLinkAuthorGroup, extractSmartLinkCreatedBy, extractSmartLinkCreatedOn, extractSmartLinkModifiedBy, extractSmartLinkModifiedOn, extractSmartLinkUrl, extractType } from '@atlaskit/link-extractors';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
3
2
|
import { isNewBlockcardUnauthorizedRefreshExperimentEnabled } from '../../utils/experiments';
|
|
4
3
|
import { extractSmartLinkSummary } from '../common/primitives/extractSummary';
|
|
5
4
|
import { extractFlexibleCardActions } from './actions';
|
|
@@ -84,9 +83,7 @@ const extractFlexibleUiContext = ({
|
|
|
84
83
|
storyPoints: extractStoryPoints(data),
|
|
85
84
|
targetBranch: extractTargetBranch(data),
|
|
86
85
|
userAttributes: extractUserAttributes(data),
|
|
87
|
-
|
|
88
|
-
teamMemberCount: extractTeamMemberCount(data)
|
|
89
|
-
}),
|
|
86
|
+
teamMemberCount: extractTeamMemberCount(data),
|
|
90
87
|
url,
|
|
91
88
|
ari: extractSmartLinkAri(response),
|
|
92
89
|
type: extractType(data),
|
|
@@ -4,7 +4,6 @@ var _excluded = ["appearance", "fireEvent", "id", "onClick", "origin", "resolve"
|
|
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
6
|
import { extractPersonOwnedBy, extractSmartLinkAri, extractSmartLinkAuthorGroup, extractSmartLinkCreatedBy, extractSmartLinkCreatedOn, extractSmartLinkModifiedBy, extractSmartLinkModifiedOn, extractSmartLinkUrl, extractType } from '@atlaskit/link-extractors';
|
|
7
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
7
|
import { isNewBlockcardUnauthorizedRefreshExperimentEnabled } from '../../utils/experiments';
|
|
9
8
|
import { extractSmartLinkSummary } from '../common/primitives/extractSummary';
|
|
10
9
|
import { extractFlexibleCardActions } from './actions';
|
|
@@ -38,7 +37,7 @@ var extractFlexibleUiContext = function extractFlexibleUiContext() {
|
|
|
38
37
|
var data = response.data;
|
|
39
38
|
var meta = response.meta;
|
|
40
39
|
var url = extractSmartLinkUrl(response);
|
|
41
|
-
return _objectSpread(
|
|
40
|
+
return _objectSpread({
|
|
42
41
|
actions: extractFlexibleCardActions({
|
|
43
42
|
actionOptions: actionOptions,
|
|
44
43
|
aiSummaryConfig: aiSummaryConfig,
|
|
@@ -88,10 +87,8 @@ var extractFlexibleUiContext = function extractFlexibleUiContext() {
|
|
|
88
87
|
subTasksProgress: extractSubTasksProgress(data),
|
|
89
88
|
storyPoints: extractStoryPoints(data),
|
|
90
89
|
targetBranch: extractTargetBranch(data),
|
|
91
|
-
userAttributes: extractUserAttributes(data)
|
|
92
|
-
|
|
93
|
-
teamMemberCount: extractTeamMemberCount(data)
|
|
94
|
-
}), {}, {
|
|
90
|
+
userAttributes: extractUserAttributes(data),
|
|
91
|
+
teamMemberCount: extractTeamMemberCount(data),
|
|
95
92
|
url: url,
|
|
96
93
|
ari: extractSmartLinkAri(response),
|
|
97
94
|
type: extractType(data),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "43.24.
|
|
3
|
+
"version": "43.24.1",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@atlaskit/textfield": "^8.2.0",
|
|
73
73
|
"@atlaskit/theme": "^21.0.0",
|
|
74
74
|
"@atlaskit/tile": "^1.0.0",
|
|
75
|
-
"@atlaskit/tmp-editor-statsig": "^22.
|
|
75
|
+
"@atlaskit/tmp-editor-statsig": "^22.2.0",
|
|
76
76
|
"@atlaskit/tokens": "^11.0.0",
|
|
77
77
|
"@atlaskit/tooltip": "^20.14.0",
|
|
78
78
|
"@atlaskit/ufo": "^0.4.0",
|
|
@@ -183,9 +183,6 @@
|
|
|
183
183
|
"platform_editor_content_mode_button_mvp": {
|
|
184
184
|
"type": "boolean"
|
|
185
185
|
},
|
|
186
|
-
"platform-linking-team-member-count-component": {
|
|
187
|
-
"type": "boolean"
|
|
188
|
-
},
|
|
189
186
|
"product-terminology-refresh": {
|
|
190
187
|
"type": "boolean"
|
|
191
188
|
},
|