@atlaskit/link-datasource 2.5.13 → 2.6.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,25 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 2.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#122895](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/122895)
|
|
8
|
+
[`49b8c7658f3b5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/49b8c7658f3b5) -
|
|
9
|
+
[ED-24173] bump @atlaskit/adf-schema to 40.3.0 and @atlassian/adf-schema-json to 1.18.0
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 2.5.14
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#123587](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/123587)
|
|
20
|
+
[`efab517d460b3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/efab517d460b3) -
|
|
21
|
+
Removes feature flag platform.editor-update-tag-link-and-color_x6hcf
|
|
22
|
+
|
|
3
23
|
## 2.5.13
|
|
4
24
|
|
|
5
25
|
### 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.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"analytics:codegen": "yarn workspace @atlassian/analytics-tooling run analytics:codegen link-datasource --output ./src/analytics/generated"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@atlaskit/adf-schema": "^
|
|
38
|
+
"@atlaskit/adf-schema": "^40.3.0",
|
|
39
39
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
40
40
|
"@atlaskit/avatar": "^21.11.0",
|
|
41
41
|
"@atlaskit/avatar-group": "^9.9.0",
|
|
42
42
|
"@atlaskit/badge": "^16.3.0",
|
|
43
|
-
"@atlaskit/button": "^19.
|
|
43
|
+
"@atlaskit/button": "^19.1.0",
|
|
44
44
|
"@atlaskit/datetime-picker": "^13.7.0",
|
|
45
45
|
"@atlaskit/dropdown-menu": "^12.14.0",
|
|
46
46
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
@@ -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
|
},
|