@atlaskit/link-datasource 2.5.13 → 2.5.14
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/link-datasource
|
|
2
2
|
|
|
3
|
+
## 2.5.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#123587](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/123587)
|
|
8
|
+
[`efab517d460b3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/efab517d460b3) -
|
|
9
|
+
Removes feature flag platform.editor-update-tag-link-and-color_x6hcf
|
|
10
|
+
|
|
3
11
|
## 2.5.13
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = exports.TAG_TYPE_TEST_ID = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
10
9
|
var _tag = require("@atlaskit/tag");
|
|
11
10
|
var TAG_TYPE_TEST_ID = exports.TAG_TYPE_TEST_ID = 'link-datasource-render-type--tag';
|
|
12
11
|
var TagRenderType = function TagRenderType(_ref) {
|
|
@@ -18,16 +17,12 @@ var TagRenderType = function TagRenderType(_ref) {
|
|
|
18
17
|
if (!(text && typeof text === 'string')) {
|
|
19
18
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null);
|
|
20
19
|
}
|
|
21
|
-
return
|
|
20
|
+
return /*#__PURE__*/_react.default.createElement(_tag.SimpleTag, {
|
|
22
21
|
text: text,
|
|
23
22
|
testId: testId,
|
|
24
23
|
appearance: 'default',
|
|
25
24
|
color: (_tag$color = tag === null || tag === void 0 ? void 0 : tag.color) !== null && _tag$color !== void 0 ? _tag$color : 'standard',
|
|
26
25
|
href: tag === null || tag === void 0 ? void 0 : tag.url
|
|
27
|
-
}) : /*#__PURE__*/_react.default.createElement(_tag.SimpleTag, {
|
|
28
|
-
text: text,
|
|
29
|
-
testId: testId,
|
|
30
|
-
appearance: 'default'
|
|
31
26
|
});
|
|
32
27
|
};
|
|
33
28
|
var _default = exports.default = TagRenderType;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
3
2
|
import { SimpleTag as Tag } from '@atlaskit/tag';
|
|
4
3
|
export const TAG_TYPE_TEST_ID = 'link-datasource-render-type--tag';
|
|
5
4
|
const TagRenderType = ({
|
|
@@ -11,16 +10,12 @@ const TagRenderType = ({
|
|
|
11
10
|
if (!(text && typeof text === 'string')) {
|
|
12
11
|
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
13
12
|
}
|
|
14
|
-
return
|
|
13
|
+
return /*#__PURE__*/React.createElement(Tag, {
|
|
15
14
|
text: text,
|
|
16
15
|
testId: testId,
|
|
17
16
|
appearance: 'default',
|
|
18
17
|
color: (_tag$color = tag === null || tag === void 0 ? void 0 : tag.color) !== null && _tag$color !== void 0 ? _tag$color : 'standard',
|
|
19
18
|
href: tag === null || tag === void 0 ? void 0 : tag.url
|
|
20
|
-
}) : /*#__PURE__*/React.createElement(Tag, {
|
|
21
|
-
text: text,
|
|
22
|
-
testId: testId,
|
|
23
|
-
appearance: 'default'
|
|
24
19
|
});
|
|
25
20
|
};
|
|
26
21
|
export default TagRenderType;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
3
2
|
import { SimpleTag as Tag } from '@atlaskit/tag';
|
|
4
3
|
export var TAG_TYPE_TEST_ID = 'link-datasource-render-type--tag';
|
|
5
4
|
var TagRenderType = function TagRenderType(_ref) {
|
|
@@ -11,16 +10,12 @@ var TagRenderType = function TagRenderType(_ref) {
|
|
|
11
10
|
if (!(text && typeof text === 'string')) {
|
|
12
11
|
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
13
12
|
}
|
|
14
|
-
return
|
|
13
|
+
return /*#__PURE__*/React.createElement(Tag, {
|
|
15
14
|
text: text,
|
|
16
15
|
testId: testId,
|
|
17
16
|
appearance: 'default',
|
|
18
17
|
color: (_tag$color = tag === null || tag === void 0 ? void 0 : tag.color) !== null && _tag$color !== void 0 ? _tag$color : 'standard',
|
|
19
18
|
href: tag === null || tag === void 0 ? void 0 : tag.url
|
|
20
|
-
}) : /*#__PURE__*/React.createElement(Tag, {
|
|
21
|
-
text: text,
|
|
22
|
-
testId: testId,
|
|
23
|
-
appearance: 'default'
|
|
24
19
|
});
|
|
25
20
|
};
|
|
26
21
|
export default TagRenderType;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.14",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -173,9 +173,6 @@
|
|
|
173
173
|
"platform.linking-platform.datasources.enable-sentry-client": {
|
|
174
174
|
"type": "boolean"
|
|
175
175
|
},
|
|
176
|
-
"platform.editor-update-tag-link-and-color_x6hcf": {
|
|
177
|
-
"type": "boolean"
|
|
178
|
-
},
|
|
179
176
|
"platform.linking-platform.datasource.limit-total-results_8wqcd": {
|
|
180
177
|
"type": "boolean"
|
|
181
178
|
},
|