@atlaskit/link-datasource 6.1.6 → 6.1.8
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 +16 -0
- package/dist/cjs/ui/common/initial-state-view/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/render-type/tag/index.js +4 -3
- package/dist/es2019/ui/common/initial-state-view/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/render-type/tag/index.js +3 -2
- package/dist/esm/ui/common/initial-state-view/index.js +1 -1
- package/dist/esm/ui/issue-like-table/render-type/tag/index.js +3 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 6.1.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 6.1.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`332865f80eb91`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/332865f80eb91) -
|
|
14
|
+
Migrate deprecated Lozenge appearance values to the new semantic appearances, and migrate
|
|
15
|
+
deprecated `SimpleTag`/`RemovableTag` to the default `Tag` export (SimpleTag with
|
|
16
|
+
`isRemovable={false}`).
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 6.1.6
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -39,7 +39,7 @@ var InitialStateView = exports.InitialStateView = function InitialStateView(_ref
|
|
|
39
39
|
}, showBeta && /*#__PURE__*/React.createElement("div", {
|
|
40
40
|
className: (0, _runtime.ax)(["_1e0c1txw"])
|
|
41
41
|
}, /*#__PURE__*/React.createElement(_lozenge.default, {
|
|
42
|
-
appearance: "
|
|
42
|
+
appearance: "discovery"
|
|
43
43
|
}, /*#__PURE__*/React.createElement(_reactIntl.FormattedMessage, _messages.initialStateViewMessages.beta))), formatMessage(title)), /*#__PURE__*/React.createElement("div", {
|
|
44
44
|
className: (0, _runtime.ax)(["_syazazsu"])
|
|
45
45
|
}, formatMessage(description)), learnMoreLink ? /*#__PURE__*/React.createElement(_link.default, {
|
|
@@ -6,7 +6,7 @@ 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 _tag = require("@atlaskit/tag");
|
|
9
|
+
var _tag = _interopRequireDefault(require("@atlaskit/tag"));
|
|
10
10
|
var TAG_TYPE_TEST_ID = exports.TAG_TYPE_TEST_ID = 'link-datasource-render-type--tag';
|
|
11
11
|
var TagRenderType = function TagRenderType(_ref) {
|
|
12
12
|
var _tag$color;
|
|
@@ -17,12 +17,13 @@ var TagRenderType = function TagRenderType(_ref) {
|
|
|
17
17
|
if (!(text && typeof text === 'string')) {
|
|
18
18
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null);
|
|
19
19
|
}
|
|
20
|
-
return /*#__PURE__*/_react.default.createElement(_tag.
|
|
20
|
+
return /*#__PURE__*/_react.default.createElement(_tag.default, {
|
|
21
21
|
text: text,
|
|
22
22
|
testId: testId,
|
|
23
23
|
appearance: 'default',
|
|
24
24
|
color: (_tag$color = tag === null || tag === void 0 ? void 0 : tag.color) !== null && _tag$color !== void 0 ? _tag$color : 'standard',
|
|
25
|
-
href: tag === null || tag === void 0 ? void 0 : tag.url
|
|
25
|
+
href: tag === null || tag === void 0 ? void 0 : tag.url,
|
|
26
|
+
isRemovable: false
|
|
26
27
|
});
|
|
27
28
|
};
|
|
28
29
|
var _default = exports.default = TagRenderType;
|
|
@@ -31,7 +31,7 @@ export const InitialStateView = ({
|
|
|
31
31
|
}, showBeta && /*#__PURE__*/React.createElement("div", {
|
|
32
32
|
className: ax(["_1e0c1txw"])
|
|
33
33
|
}, /*#__PURE__*/React.createElement(Lozenge, {
|
|
34
|
-
appearance: "
|
|
34
|
+
appearance: "discovery"
|
|
35
35
|
}, /*#__PURE__*/React.createElement(FormattedMessage, initialStateViewMessages.beta))), formatMessage(title)), /*#__PURE__*/React.createElement("div", {
|
|
36
36
|
className: ax(["_syazazsu"])
|
|
37
37
|
}, formatMessage(description)), learnMoreLink ? /*#__PURE__*/React.createElement(Link, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import Tag from '@atlaskit/tag';
|
|
3
3
|
export const TAG_TYPE_TEST_ID = 'link-datasource-render-type--tag';
|
|
4
4
|
const TagRenderType = ({
|
|
5
5
|
tag,
|
|
@@ -15,7 +15,8 @@ const TagRenderType = ({
|
|
|
15
15
|
testId: testId,
|
|
16
16
|
appearance: 'default',
|
|
17
17
|
color: (_tag$color = tag === null || tag === void 0 ? void 0 : tag.color) !== null && _tag$color !== void 0 ? _tag$color : 'standard',
|
|
18
|
-
href: tag === null || tag === void 0 ? void 0 : tag.url
|
|
18
|
+
href: tag === null || tag === void 0 ? void 0 : tag.url,
|
|
19
|
+
isRemovable: false
|
|
19
20
|
});
|
|
20
21
|
};
|
|
21
22
|
export default TagRenderType;
|
|
@@ -30,7 +30,7 @@ export var InitialStateView = function InitialStateView(_ref) {
|
|
|
30
30
|
}, showBeta && /*#__PURE__*/React.createElement("div", {
|
|
31
31
|
className: ax(["_1e0c1txw"])
|
|
32
32
|
}, /*#__PURE__*/React.createElement(Lozenge, {
|
|
33
|
-
appearance: "
|
|
33
|
+
appearance: "discovery"
|
|
34
34
|
}, /*#__PURE__*/React.createElement(FormattedMessage, initialStateViewMessages.beta))), formatMessage(title)), /*#__PURE__*/React.createElement("div", {
|
|
35
35
|
className: ax(["_syazazsu"])
|
|
36
36
|
}, formatMessage(description)), learnMoreLink ? /*#__PURE__*/React.createElement(Link, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import Tag from '@atlaskit/tag';
|
|
3
3
|
export var TAG_TYPE_TEST_ID = 'link-datasource-render-type--tag';
|
|
4
4
|
var TagRenderType = function TagRenderType(_ref) {
|
|
5
5
|
var _tag$color;
|
|
@@ -15,7 +15,8 @@ var TagRenderType = function TagRenderType(_ref) {
|
|
|
15
15
|
testId: testId,
|
|
16
16
|
appearance: 'default',
|
|
17
17
|
color: (_tag$color = tag === null || tag === void 0 ? void 0 : tag.color) !== null && _tag$color !== void 0 ? _tag$color : 'standard',
|
|
18
|
-
href: tag === null || tag === void 0 ? void 0 : tag.url
|
|
18
|
+
href: tag === null || tag === void 0 ? void 0 : tag.url,
|
|
19
|
+
isRemovable: false
|
|
19
20
|
});
|
|
20
21
|
};
|
|
21
22
|
export default TagRenderType;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.8",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
50
50
|
"@atlaskit/empty-state": "^11.1.0",
|
|
51
51
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
52
|
-
"@atlaskit/flag": "^18.
|
|
52
|
+
"@atlaskit/flag": "^18.2.0",
|
|
53
53
|
"@atlaskit/form": "^16.1.0",
|
|
54
54
|
"@atlaskit/heading": "^6.2.0",
|
|
55
55
|
"@atlaskit/icon": "^37.0.0",
|
|
@@ -76,14 +76,14 @@
|
|
|
76
76
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^2.0.0",
|
|
77
77
|
"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll": "^3.0.0",
|
|
78
78
|
"@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^4.1.0",
|
|
79
|
-
"@atlaskit/primitives": "^
|
|
79
|
+
"@atlaskit/primitives": "^21.0.0",
|
|
80
80
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
81
81
|
"@atlaskit/react-select": "^4.5.0",
|
|
82
82
|
"@atlaskit/select": "^22.5.0",
|
|
83
83
|
"@atlaskit/smart-card": "^45.9.0",
|
|
84
84
|
"@atlaskit/smart-user-picker": "^11.0.0",
|
|
85
85
|
"@atlaskit/spinner": "^20.1.0",
|
|
86
|
-
"@atlaskit/tag": "^15.
|
|
86
|
+
"@atlaskit/tag": "^15.3.0",
|
|
87
87
|
"@atlaskit/textfield": "^9.1.0",
|
|
88
88
|
"@atlaskit/theme": "^26.1.0",
|
|
89
89
|
"@atlaskit/tokens": "^15.8.0",
|