@atlaskit/link-datasource 3.21.3 → 3.21.4
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
|
+
## 3.21.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#119218](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/119218)
|
|
8
|
+
[`daea2d5025d50`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/daea2d5025d50) -
|
|
9
|
+
[ux] Update lozenge to be bold by default with ADS component refresh
|
|
10
|
+
|
|
3
11
|
## 3.21.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -7,6 +7,7 @@ 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");
|
|
10
11
|
var STATUS_TYPE_TEST_ID = exports.STATUS_TYPE_TEST_ID = 'link-datasource-render-type--status';
|
|
11
12
|
var StatusRenderType = function StatusRenderType(_ref) {
|
|
12
13
|
var text = _ref.text,
|
|
@@ -18,7 +19,7 @@ var StatusRenderType = function StatusRenderType(_ref) {
|
|
|
18
19
|
}
|
|
19
20
|
return /*#__PURE__*/_react.default.createElement(_lozenge.default, {
|
|
20
21
|
appearance: style === null || style === void 0 ? void 0 : style.appearance,
|
|
21
|
-
isBold: style === null || style === void 0 ? void 0 : style.isBold,
|
|
22
|
+
isBold: (0, _platformFeatureFlags.fg)('platform-component-visual-refresh') ? (style === null || style === void 0 ? void 0 : style.isBold) !== false : style === null || style === void 0 ? void 0 : style.isBold,
|
|
22
23
|
testId: testId
|
|
23
24
|
}, text);
|
|
24
25
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Lozenge from '@atlaskit/lozenge';
|
|
3
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
3
4
|
export const STATUS_TYPE_TEST_ID = 'link-datasource-render-type--status';
|
|
4
5
|
const StatusRenderType = ({
|
|
5
6
|
text,
|
|
@@ -11,7 +12,7 @@ const StatusRenderType = ({
|
|
|
11
12
|
}
|
|
12
13
|
return /*#__PURE__*/React.createElement(Lozenge, {
|
|
13
14
|
appearance: style === null || style === void 0 ? void 0 : style.appearance,
|
|
14
|
-
isBold: style === null || style === void 0 ? void 0 : style.isBold,
|
|
15
|
+
isBold: fg('platform-component-visual-refresh') ? (style === null || style === void 0 ? void 0 : style.isBold) !== false : style === null || style === void 0 ? void 0 : style.isBold,
|
|
15
16
|
testId: testId
|
|
16
17
|
}, text);
|
|
17
18
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Lozenge from '@atlaskit/lozenge';
|
|
3
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
3
4
|
export var STATUS_TYPE_TEST_ID = 'link-datasource-render-type--status';
|
|
4
5
|
var StatusRenderType = function StatusRenderType(_ref) {
|
|
5
6
|
var text = _ref.text,
|
|
@@ -11,7 +12,7 @@ var StatusRenderType = function StatusRenderType(_ref) {
|
|
|
11
12
|
}
|
|
12
13
|
return /*#__PURE__*/React.createElement(Lozenge, {
|
|
13
14
|
appearance: style === null || style === void 0 ? void 0 : style.appearance,
|
|
14
|
-
isBold: style === null || style === void 0 ? void 0 : style.isBold,
|
|
15
|
+
isBold: fg('platform-component-visual-refresh') ? (style === null || style === void 0 ? void 0 : style.isBold) !== false : style === null || style === void 0 ? void 0 : style.isBold,
|
|
15
16
|
testId: testId
|
|
16
17
|
}, text);
|
|
17
18
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "3.21.
|
|
3
|
+
"version": "3.21.4",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -188,6 +188,9 @@
|
|
|
188
188
|
},
|
|
189
189
|
"bandicoots-compiled-migration-link-datasource": {
|
|
190
190
|
"type": "boolean"
|
|
191
|
+
},
|
|
192
|
+
"platform-component-visual-refresh": {
|
|
193
|
+
"type": "boolean"
|
|
191
194
|
}
|
|
192
195
|
}
|
|
193
196
|
}
|