@atlaskit/link-datasource 4.8.2 → 4.9.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,17 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 4.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#149252](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/149252)
|
|
8
|
+
[`dc205d1f1dd25`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/dc205d1f1dd25) -
|
|
9
|
+
Remove FG platform-datasources-enable-two-way-sync-statuses
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 4.8.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -92,7 +92,7 @@ var editType = exports.editType = function editType(_ref) {
|
|
|
92
92
|
};
|
|
93
93
|
};
|
|
94
94
|
var isEditTypeSupported = exports.isEditTypeSupported = function isEditTypeSupported(type) {
|
|
95
|
-
var supportedEditType = ['string'
|
|
95
|
+
var supportedEditType = ['string', 'status'].concat((0, _toConsumableArray2.default)((0, _platformFeatureFlags.fg)('platform-datasources-enable-two-way-sync-priority') ? ['icon'] : []), (0, _toConsumableArray2.default)((0, _platformFeatureFlags.fg)('platform-datasources-enable-two-way-sync-assignee') ? ['user'] : []));
|
|
96
96
|
return supportedEditType.includes(type);
|
|
97
97
|
};
|
|
98
98
|
var isEditTypeSelectable = exports.isEditTypeSelectable = function isEditTypeSelectable(type) {
|
|
@@ -77,7 +77,7 @@ export const editType = ({
|
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
79
|
export const isEditTypeSupported = type => {
|
|
80
|
-
const supportedEditType = ['string',
|
|
80
|
+
const supportedEditType = ['string', 'status', ...(fg('platform-datasources-enable-two-way-sync-priority') ? ['icon'] : []), ...(fg('platform-datasources-enable-two-way-sync-assignee') ? ['user'] : [])];
|
|
81
81
|
return supportedEditType.includes(type);
|
|
82
82
|
};
|
|
83
83
|
export const isEditTypeSelectable = type => {
|
|
@@ -86,7 +86,7 @@ export var editType = function editType(_ref) {
|
|
|
86
86
|
};
|
|
87
87
|
};
|
|
88
88
|
export var isEditTypeSupported = function isEditTypeSupported(type) {
|
|
89
|
-
var supportedEditType = ['string'
|
|
89
|
+
var supportedEditType = ['string', 'status'].concat(_toConsumableArray(fg('platform-datasources-enable-two-way-sync-priority') ? ['icon'] : []), _toConsumableArray(fg('platform-datasources-enable-two-way-sync-assignee') ? ['user'] : []));
|
|
90
90
|
return supportedEditType.includes(type);
|
|
91
91
|
};
|
|
92
92
|
export var isEditTypeSelectable = function isEditTypeSelectable(type) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.9.0",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@atlaskit/link-client-extension": "^4.0.0",
|
|
66
66
|
"@atlaskit/linking-common": "^8.0.0",
|
|
67
67
|
"@atlaskit/linking-types": "^9.10.0",
|
|
68
|
-
"@atlaskit/logo": "^
|
|
68
|
+
"@atlaskit/logo": "^18.0.0",
|
|
69
69
|
"@atlaskit/lozenge": "^12.2.0",
|
|
70
70
|
"@atlaskit/modal-dialog": "^14.1.0",
|
|
71
71
|
"@atlaskit/outbound-auth-flow-client": "^3.4.0",
|
|
@@ -161,9 +161,6 @@
|
|
|
161
161
|
"./elements": "./src/elements.ts"
|
|
162
162
|
},
|
|
163
163
|
"platform-feature-flags": {
|
|
164
|
-
"platform-datasources-enable-two-way-sync-statuses": {
|
|
165
|
-
"type": "boolean"
|
|
166
|
-
},
|
|
167
164
|
"platform-datasources-enable-two-way-sync-priority": {
|
|
168
165
|
"type": "boolean"
|
|
169
166
|
},
|