@atlaskit/link-datasource 4.33.11 → 4.33.12
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 +8 -0
- package/dist/cjs/ui/common/modal/popup-select/formatOptionLabel.js +1 -2
- package/dist/cjs/ui/issue-like-table/edit-type/status/index.js +2 -2
- package/dist/cjs/ui/issue-like-table/render-type/status/index.js +1 -2
- package/dist/es2019/ui/common/modal/popup-select/formatOptionLabel.js +1 -2
- package/dist/es2019/ui/issue-like-table/edit-type/status/index.js +2 -2
- package/dist/es2019/ui/issue-like-table/render-type/status/index.js +1 -2
- package/dist/esm/ui/common/modal/popup-select/formatOptionLabel.js +1 -2
- package/dist/esm/ui/issue-like-table/edit-type/status/index.js +2 -2
- package/dist/esm/ui/issue-like-table/render-type/status/index.js +1 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 4.33.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`8a319950932e8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8a319950932e8) -
|
|
8
|
+
Remove platform-component-visual-refresh-true feature flag from lozenges.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 4.33.11
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -13,7 +13,6 @@ var _avatar = _interopRequireDefault(require("@atlaskit/avatar"));
|
|
|
13
13
|
var _css = require("@atlaskit/css");
|
|
14
14
|
var _peopleGroup = _interopRequireDefault(require("@atlaskit/icon/core/people-group"));
|
|
15
15
|
var _lozenge = _interopRequireDefault(require("@atlaskit/lozenge"));
|
|
16
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
17
16
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
18
17
|
var styles = {
|
|
19
18
|
commonLabelStyles: "_1reo15vq _18m915vq _1bto1l2s",
|
|
@@ -41,7 +40,7 @@ var LozengeOptionLabel = function LozengeOptionLabel(_ref2) {
|
|
|
41
40
|
var data = _ref2.data;
|
|
42
41
|
return /*#__PURE__*/_react.default.createElement(_lozenge.default, {
|
|
43
42
|
appearance: data.appearance,
|
|
44
|
-
isBold:
|
|
43
|
+
isBold: true,
|
|
45
44
|
testId: "basic-filter-popup-select-option--lozenge"
|
|
46
45
|
}, /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
47
46
|
xcss: styles.commonLabelStyles
|
|
@@ -63,13 +63,13 @@ var StatusEditType = function StatusEditType(props) {
|
|
|
63
63
|
value: currentValue === null || currentValue === void 0 || (_currentValue$values = currentValue.values) === null || _currentValue$values === void 0 ? void 0 : _currentValue$values[0],
|
|
64
64
|
labelId: labelId,
|
|
65
65
|
formatOptionLabel: function formatOptionLabel(option) {
|
|
66
|
-
var _option$style
|
|
66
|
+
var _option$style;
|
|
67
67
|
return /*#__PURE__*/_react.default.createElement(_tooltip.default, {
|
|
68
68
|
content: option.text
|
|
69
69
|
}, /*#__PURE__*/_react.default.createElement(_lozenge.default, (0, _extends2.default)({
|
|
70
70
|
testId: "inline-edit-status-option-".concat(option.text)
|
|
71
71
|
}, option.style, {
|
|
72
|
-
isBold: (
|
|
72
|
+
isBold: ((_option$style = option.style) === null || _option$style === void 0 ? void 0 : _option$style.isBold) !== false
|
|
73
73
|
}), option.text));
|
|
74
74
|
},
|
|
75
75
|
getOptionLabel: function getOptionLabel(option) {
|
|
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = exports.STATUS_TYPE_TEST_ID = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _lozenge = _interopRequireDefault(require("@atlaskit/lozenge"));
|
|
10
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
11
10
|
var STATUS_TYPE_TEST_ID = exports.STATUS_TYPE_TEST_ID = 'link-datasource-render-type--status';
|
|
12
11
|
var StatusRenderType = function StatusRenderType(_ref) {
|
|
13
12
|
var text = _ref.text,
|
|
@@ -19,7 +18,7 @@ var StatusRenderType = function StatusRenderType(_ref) {
|
|
|
19
18
|
}
|
|
20
19
|
return /*#__PURE__*/_react.default.createElement(_lozenge.default, {
|
|
21
20
|
appearance: style === null || style === void 0 ? void 0 : style.appearance,
|
|
22
|
-
isBold: (
|
|
21
|
+
isBold: (style === null || style === void 0 ? void 0 : style.isBold) !== false,
|
|
23
22
|
testId: testId
|
|
24
23
|
}, text);
|
|
25
24
|
};
|
|
@@ -6,7 +6,6 @@ import Avatar from '@atlaskit/avatar';
|
|
|
6
6
|
import { cx } from '@atlaskit/css';
|
|
7
7
|
import PeopleGroupIcon from '@atlaskit/icon/core/people-group';
|
|
8
8
|
import Lozenge from '@atlaskit/lozenge';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
9
|
import { Box, Flex } from '@atlaskit/primitives/compiled';
|
|
11
10
|
const styles = {
|
|
12
11
|
commonLabelStyles: "_1reo15vq _18m915vq _1bto1l2s",
|
|
@@ -38,7 +37,7 @@ const LozengeOptionLabel = ({
|
|
|
38
37
|
}) => {
|
|
39
38
|
return /*#__PURE__*/React.createElement(Lozenge, {
|
|
40
39
|
appearance: data.appearance,
|
|
41
|
-
isBold:
|
|
40
|
+
isBold: true,
|
|
42
41
|
testId: "basic-filter-popup-select-option--lozenge"
|
|
43
42
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
44
43
|
xcss: styles.commonLabelStyles
|
|
@@ -55,13 +55,13 @@ const StatusEditType = props => {
|
|
|
55
55
|
value: currentValue === null || currentValue === void 0 ? void 0 : (_currentValue$values = currentValue.values) === null || _currentValue$values === void 0 ? void 0 : _currentValue$values[0],
|
|
56
56
|
labelId: labelId,
|
|
57
57
|
formatOptionLabel: option => {
|
|
58
|
-
var _option$style
|
|
58
|
+
var _option$style;
|
|
59
59
|
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
60
60
|
content: option.text
|
|
61
61
|
}, /*#__PURE__*/React.createElement(Lozenge, _extends({
|
|
62
62
|
testId: `inline-edit-status-option-${option.text}`
|
|
63
63
|
}, option.style, {
|
|
64
|
-
isBold:
|
|
64
|
+
isBold: ((_option$style = option.style) === null || _option$style === void 0 ? void 0 : _option$style.isBold) !== false
|
|
65
65
|
}), option.text));
|
|
66
66
|
},
|
|
67
67
|
getOptionLabel: option => option.text,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Lozenge from '@atlaskit/lozenge';
|
|
3
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
3
|
export const STATUS_TYPE_TEST_ID = 'link-datasource-render-type--status';
|
|
5
4
|
const StatusRenderType = ({
|
|
6
5
|
text,
|
|
@@ -12,7 +11,7 @@ const StatusRenderType = ({
|
|
|
12
11
|
}
|
|
13
12
|
return /*#__PURE__*/React.createElement(Lozenge, {
|
|
14
13
|
appearance: style === null || style === void 0 ? void 0 : style.appearance,
|
|
15
|
-
isBold:
|
|
14
|
+
isBold: (style === null || style === void 0 ? void 0 : style.isBold) !== false,
|
|
16
15
|
testId: testId
|
|
17
16
|
}, text);
|
|
18
17
|
};
|
|
@@ -6,7 +6,6 @@ import Avatar from '@atlaskit/avatar';
|
|
|
6
6
|
import { cx } from '@atlaskit/css';
|
|
7
7
|
import PeopleGroupIcon from '@atlaskit/icon/core/people-group';
|
|
8
8
|
import Lozenge from '@atlaskit/lozenge';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
9
|
import { Box, Flex } from '@atlaskit/primitives/compiled';
|
|
11
10
|
var styles = {
|
|
12
11
|
commonLabelStyles: "_1reo15vq _18m915vq _1bto1l2s",
|
|
@@ -34,7 +33,7 @@ var LozengeOptionLabel = function LozengeOptionLabel(_ref2) {
|
|
|
34
33
|
var data = _ref2.data;
|
|
35
34
|
return /*#__PURE__*/React.createElement(Lozenge, {
|
|
36
35
|
appearance: data.appearance,
|
|
37
|
-
isBold:
|
|
36
|
+
isBold: true,
|
|
38
37
|
testId: "basic-filter-popup-select-option--lozenge"
|
|
39
38
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
40
39
|
xcss: styles.commonLabelStyles
|
|
@@ -54,13 +54,13 @@ var StatusEditType = function StatusEditType(props) {
|
|
|
54
54
|
value: currentValue === null || currentValue === void 0 || (_currentValue$values = currentValue.values) === null || _currentValue$values === void 0 ? void 0 : _currentValue$values[0],
|
|
55
55
|
labelId: labelId,
|
|
56
56
|
formatOptionLabel: function formatOptionLabel(option) {
|
|
57
|
-
var _option$style
|
|
57
|
+
var _option$style;
|
|
58
58
|
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
59
59
|
content: option.text
|
|
60
60
|
}, /*#__PURE__*/React.createElement(Lozenge, _extends({
|
|
61
61
|
testId: "inline-edit-status-option-".concat(option.text)
|
|
62
62
|
}, option.style, {
|
|
63
|
-
isBold:
|
|
63
|
+
isBold: ((_option$style = option.style) === null || _option$style === void 0 ? void 0 : _option$style.isBold) !== false
|
|
64
64
|
}), option.text));
|
|
65
65
|
},
|
|
66
66
|
getOptionLabel: function getOptionLabel(option) {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Lozenge from '@atlaskit/lozenge';
|
|
3
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
3
|
export var STATUS_TYPE_TEST_ID = 'link-datasource-render-type--status';
|
|
5
4
|
var StatusRenderType = function StatusRenderType(_ref) {
|
|
6
5
|
var text = _ref.text,
|
|
@@ -12,7 +11,7 @@ var StatusRenderType = function StatusRenderType(_ref) {
|
|
|
12
11
|
}
|
|
13
12
|
return /*#__PURE__*/React.createElement(Lozenge, {
|
|
14
13
|
appearance: style === null || style === void 0 ? void 0 : style.appearance,
|
|
15
|
-
isBold:
|
|
14
|
+
isBold: (style === null || style === void 0 ? void 0 : style.isBold) !== false,
|
|
16
15
|
testId: testId
|
|
17
16
|
}, text);
|
|
18
17
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "4.33.
|
|
3
|
+
"version": "4.33.12",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"ak-postbuild": "ls -d dist/* | xargs -n 1 copyfiles -u 1 -V src/**/*.{svg,png}"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@atlaskit/adf-schema": "^52.
|
|
39
|
+
"@atlaskit/adf-schema": "^52.2.0",
|
|
40
40
|
"@atlaskit/afm-i18n-platform-linking-platform-link-datasource": "2.7.0",
|
|
41
41
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
42
42
|
"@atlaskit/atlassian-context": "^0.6.0",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@atlaskit/react-select": "^3.13.0",
|
|
82
82
|
"@atlaskit/select": "^21.7.0",
|
|
83
83
|
"@atlaskit/smart-card": "^43.25.0",
|
|
84
|
-
"@atlaskit/smart-user-picker": "^9.
|
|
84
|
+
"@atlaskit/smart-user-picker": "^9.2.0",
|
|
85
85
|
"@atlaskit/spinner": "^19.0.0",
|
|
86
86
|
"@atlaskit/tag": "^14.5.0",
|
|
87
87
|
"@atlaskit/textfield": "^8.2.0",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"@atlaskit/json-ld-types": "^1.4.0",
|
|
114
114
|
"@atlaskit/link-test-helpers": "^9.0.0",
|
|
115
115
|
"@atlaskit/ssr": "workspace:^",
|
|
116
|
-
"@atlassian/a11y-jest-testing": "^0.
|
|
116
|
+
"@atlassian/a11y-jest-testing": "^0.10.0",
|
|
117
117
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
118
118
|
"@faker-js/faker": "^7.5.0",
|
|
119
119
|
"@testing-library/dom": "^10.1.0",
|