@atlaskit/smart-card 36.15.0 → 36.15.2
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/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/BlockCard/views/ResolvedView.compiled.css +1 -0
- package/dist/cjs/view/BlockCard/views/ResolvedView.js +10 -1
- package/dist/cjs/view/BlockCard/views/unresolved-view/index.compiled.css +1 -0
- package/dist/cjs/view/BlockCard/views/unresolved-view/index.js +12 -2
- package/dist/cjs/view/FlexibleCard/components/blocks/footer-block/resolved/index.compiled.css +3 -0
- package/dist/cjs/view/FlexibleCard/components/blocks/footer-block/resolved/index.js +15 -9
- package/dist/cjs/view/InlineCard/ForbiddenView/index.compiled.css +1 -0
- package/dist/cjs/view/InlineCard/ForbiddenView/index.js +18 -2
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.js +2 -0
- package/dist/cjs/view/InlineCard/ResolvedView/index.js +13 -0
- package/dist/cjs/view/InlineCard/common/inline-lozenge/index.compiled.css +7 -0
- package/dist/cjs/view/InlineCard/common/inline-lozenge/index.js +22 -0
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/BlockCard/views/ResolvedView.compiled.css +1 -0
- package/dist/es2019/view/BlockCard/views/ResolvedView.js +8 -1
- package/dist/es2019/view/BlockCard/views/unresolved-view/index.compiled.css +1 -0
- package/dist/es2019/view/BlockCard/views/unresolved-view/index.js +36 -26
- package/dist/es2019/view/FlexibleCard/components/blocks/footer-block/resolved/index.compiled.css +3 -0
- package/dist/es2019/view/FlexibleCard/components/blocks/footer-block/resolved/index.js +13 -9
- package/dist/es2019/view/InlineCard/ForbiddenView/index.compiled.css +1 -0
- package/dist/es2019/view/InlineCard/ForbiddenView/index.js +18 -2
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.js +2 -0
- package/dist/es2019/view/InlineCard/ResolvedView/index.js +13 -0
- package/dist/es2019/view/InlineCard/common/inline-lozenge/index.compiled.css +7 -0
- package/dist/es2019/view/InlineCard/common/inline-lozenge/index.js +10 -0
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/BlockCard/views/ResolvedView.compiled.css +1 -0
- package/dist/esm/view/BlockCard/views/ResolvedView.js +10 -1
- package/dist/esm/view/BlockCard/views/unresolved-view/index.compiled.css +1 -0
- package/dist/esm/view/BlockCard/views/unresolved-view/index.js +11 -1
- package/dist/esm/view/FlexibleCard/components/blocks/footer-block/resolved/index.compiled.css +3 -0
- package/dist/esm/view/FlexibleCard/components/blocks/footer-block/resolved/index.js +15 -9
- package/dist/esm/view/InlineCard/ForbiddenView/index.compiled.css +1 -0
- package/dist/esm/view/InlineCard/ForbiddenView/index.js +18 -2
- package/dist/esm/view/InlineCard/IconAndTitleLayout/index.js +2 -0
- package/dist/esm/view/InlineCard/ResolvedView/index.js +13 -0
- package/dist/esm/view/InlineCard/common/inline-lozenge/index.compiled.css +7 -0
- package/dist/esm/view/InlineCard/common/inline-lozenge/index.js +12 -0
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/view/InlineCard/common/inline-lozenge/index.d.ts +5 -0
- package/dist/types-ts4.5/view/InlineCard/common/inline-lozenge/index.d.ts +5 -0
- package/package.json +8 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 36.15.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#150610](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/150610)
|
|
8
|
+
[`b33efda8cfa3f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b33efda8cfa3f) -
|
|
9
|
+
[ux] Fix BlockCard button get cutoff in safari (behind fg platform-linking-visual-refresh-v2)
|
|
10
|
+
|
|
11
|
+
## 36.15.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#151434](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/151434)
|
|
16
|
+
[`af0089cbc89d6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/af0089cbc89d6) -
|
|
17
|
+
[ux] Fix InlineCard Lozenge overlap other element in smaller space
|
|
18
|
+
|
|
3
19
|
## 36.15.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -11,7 +11,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
|
|
|
11
11
|
var context = exports.context = {
|
|
12
12
|
componentName: 'smart-cards',
|
|
13
13
|
packageName: "@atlaskit/smart-card",
|
|
14
|
-
packageVersion: "36.15.
|
|
14
|
+
packageVersion: "36.15.2"
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
._2yhz14q2 [data-smart-element=Title]{color:var(--ds-link,#0c66e4)}
|
|
9
9
|
._4cvresu3{align-items:flex-end}
|
|
10
10
|
._4t3i1k8s{height:1.5rem}
|
|
11
|
+
._4t3i1osq{height:100%}
|
|
11
12
|
._g0eioxwj .actions-button-group button, ._1qryoxwj .actions-button-group button:active, ._sxbroxwj .actions-button-group button:focus, ._1gyioxwj .actions-button-group button:hover{font-size:.875rem}
|
|
12
13
|
._i8d01j6v [data-smart-element-group]{line-height:1rem}
|
|
13
14
|
._wwyvidpf span[data-smart-element-avatar-group]>ul{padding-left:0}
|
|
@@ -13,6 +13,7 @@ var React = _react;
|
|
|
13
13
|
var _runtime = require("@compiled/react/runtime");
|
|
14
14
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
15
15
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
16
|
+
var _userAgent = require("@atlaskit/linking-common/user-agent");
|
|
16
17
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
17
18
|
var _constants = require("../../../constants");
|
|
18
19
|
var _FlexibleCard = _interopRequireDefault(require("../../FlexibleCard"));
|
|
@@ -25,6 +26,7 @@ var titleBlockCssOld = null;
|
|
|
25
26
|
var titleBlockCss = null;
|
|
26
27
|
var footerBlockCssOld = null;
|
|
27
28
|
var footerBlockCss = null;
|
|
29
|
+
var footerBlockSafariStyles = null;
|
|
28
30
|
var metadataBlockCssOld = null;
|
|
29
31
|
|
|
30
32
|
/**
|
|
@@ -45,6 +47,13 @@ var ResolvedView = function ResolvedView(_ref) {
|
|
|
45
47
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
46
48
|
isPreviewBlockErrored = _useState2[0],
|
|
47
49
|
setIsPreviewBlockErrored = _useState2[1];
|
|
50
|
+
var _ref2 = (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v2') ?
|
|
51
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
52
|
+
(0, _react.useMemo)(function () {
|
|
53
|
+
return (0, _userAgent.browser)();
|
|
54
|
+
}, []) : {},
|
|
55
|
+
_ref2$safari = _ref2.safari,
|
|
56
|
+
safari = _ref2$safari === void 0 ? false : _ref2$safari;
|
|
48
57
|
(0, _react.useEffect)(function () {
|
|
49
58
|
setIsPreviewBlockErrored(false);
|
|
50
59
|
}, [url, cardState]);
|
|
@@ -102,7 +111,7 @@ var ResolvedView = function ResolvedView(_ref) {
|
|
|
102
111
|
})) : null, /*#__PURE__*/React.createElement(_blocks.FooterBlock, {
|
|
103
112
|
actions: footerActions,
|
|
104
113
|
status: _constants.SmartLinkStatus.Resolved,
|
|
105
|
-
className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_4t3i1k8s _1e0c1txw _1bah1yb4 _4cvresu3 _1wpz1fhb" : "_4t3i1k8s _g0eioxwj _1qryoxwj _sxbroxwj _1gyioxwj"])
|
|
114
|
+
className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_4t3i1k8s _1e0c1txw _1bah1yb4 _4cvresu3 _1wpz1fhb" : "_4t3i1k8s _g0eioxwj _1qryoxwj _sxbroxwj _1gyioxwj", safari && (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v2') && "_4t3i1osq"])
|
|
106
115
|
}));
|
|
107
116
|
};
|
|
108
117
|
var _default = exports.default = (0, _withFlexibleUIBlockCardStyle.withFlexibleUIBlockCardStyle)(ResolvedView);
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
._4cvr1y6m{align-items:flex-start}
|
|
10
10
|
._4cvresu3{align-items:flex-end}
|
|
11
11
|
._4t3i1k8s{height:1.5rem}
|
|
12
|
+
._4t3i1osq{height:100%}
|
|
12
13
|
._7yjtidpf >div{margin-top:0}
|
|
13
14
|
._g0eioxwj .actions-button-group button, ._1qryoxwj .actions-button-group button:active, ._sxbroxwj .actions-button-group button:focus, ._1gyioxwj .actions-button-group button:hover{font-size:.875rem}
|
|
14
15
|
._ngc01fxt >div{color:var(--ds-text,#172b4d)}
|
|
@@ -8,9 +8,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
});
|
|
9
9
|
exports.default = void 0;
|
|
10
10
|
require("./index.compiled.css");
|
|
11
|
-
var
|
|
11
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
12
|
+
var React = _react;
|
|
12
13
|
var _runtime = require("@compiled/react/runtime");
|
|
13
14
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
15
|
+
var _userAgent = require("@atlaskit/linking-common/user-agent");
|
|
14
16
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
17
|
var _FlexibleCard = _interopRequireDefault(require("../../../FlexibleCard"));
|
|
16
18
|
var _blocks = require("../../../FlexibleCard/components/blocks");
|
|
@@ -23,6 +25,7 @@ var titleBlockCssOld = null;
|
|
|
23
25
|
var titleBlockCss = null;
|
|
24
26
|
var footerBlockCssOld = null;
|
|
25
27
|
var footerBlockCss = null;
|
|
28
|
+
var footerBlockSafariStyles = null;
|
|
26
29
|
var UnresolvedView = function UnresolvedView(_ref) {
|
|
27
30
|
var actions = _ref.actions,
|
|
28
31
|
cardState = _ref.cardState,
|
|
@@ -35,6 +38,13 @@ var UnresolvedView = function UnresolvedView(_ref) {
|
|
|
35
38
|
testId = _ref.testId,
|
|
36
39
|
title = _ref.title,
|
|
37
40
|
url = _ref.url;
|
|
41
|
+
var _ref2 = (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v2') ?
|
|
42
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
43
|
+
(0, _react.useMemo)(function () {
|
|
44
|
+
return (0, _userAgent.browser)();
|
|
45
|
+
}, []) : {},
|
|
46
|
+
_ref2$safari = _ref2.safari,
|
|
47
|
+
safari = _ref2$safari === void 0 ? false : _ref2$safari;
|
|
38
48
|
return /*#__PURE__*/React.createElement(_FlexibleCard.default, {
|
|
39
49
|
appearance: "block",
|
|
40
50
|
cardState: cardState,
|
|
@@ -59,7 +69,7 @@ var UnresolvedView = function UnresolvedView(_ref) {
|
|
|
59
69
|
actions: actions,
|
|
60
70
|
testId: "smart-block-card-footer",
|
|
61
71
|
status: cardState.status,
|
|
62
|
-
className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_4t3i1k8s _1e0c1txw _1bah1yb4 _4cvresu3 _1wpz1fhb" : "_4t3i1k8s _g0eioxwj _1qryoxwj _sxbroxwj _1gyioxwj"])
|
|
72
|
+
className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_4t3i1k8s _1e0c1txw _1bah1yb4 _4cvresu3 _1wpz1fhb" : "_4t3i1k8s _g0eioxwj _1qryoxwj _sxbroxwj _1gyioxwj", safari && (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v2') && "_4t3i1osq"])
|
|
63
73
|
}));
|
|
64
74
|
};
|
|
65
75
|
var _default = exports.default = UnresolvedView;
|
|
@@ -7,10 +7,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
value: true
|
|
8
8
|
});
|
|
9
9
|
exports.default = void 0;
|
|
10
|
+
require("./index.compiled.css");
|
|
10
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
12
|
var React = _react;
|
|
12
13
|
var _runtime = require("@compiled/react/runtime");
|
|
13
14
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
15
|
+
var _userAgent = require("@atlaskit/linking-common/user-agent");
|
|
14
16
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
17
|
var _constants = require("../../../../../../constants");
|
|
16
18
|
var _flexibleUiContext = require("../../../../../../state/flexible-ui-context");
|
|
@@ -23,6 +25,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
23
25
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
24
26
|
var actionGroupStylesOld = null;
|
|
25
27
|
var actionGroupStyles = null;
|
|
28
|
+
var safariStyles = null;
|
|
26
29
|
var FooterBlockResolvedView = function FooterBlockResolvedView(props) {
|
|
27
30
|
var actions = props.actions,
|
|
28
31
|
testId = props.testId,
|
|
@@ -35,6 +38,13 @@ var FooterBlockResolvedView = function FooterBlockResolvedView(props) {
|
|
|
35
38
|
var _filterActionItems;
|
|
36
39
|
return ((_filterActionItems = (0, _utils.filterActionItems)(actions, context)) === null || _filterActionItems === void 0 ? void 0 : _filterActionItems.length) > 0;
|
|
37
40
|
}, [actions, context]);
|
|
41
|
+
var _ref = (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v2') ?
|
|
42
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
43
|
+
(0, _react.useMemo)(function () {
|
|
44
|
+
return (0, _userAgent.browser)();
|
|
45
|
+
}, []) : {},
|
|
46
|
+
_ref$safari = _ref.safari,
|
|
47
|
+
safari = _ref$safari === void 0 ? false : _ref$safari;
|
|
38
48
|
var onDropdownOpenChange = (0, _react.useCallback)(function (isOpen) {
|
|
39
49
|
if (onActionMenuOpenChange) {
|
|
40
50
|
onActionMenuOpenChange({
|
|
@@ -48,17 +58,13 @@ var FooterBlockResolvedView = function FooterBlockResolvedView(props) {
|
|
|
48
58
|
appearance: 'subtle'
|
|
49
59
|
} : {}, {
|
|
50
60
|
testId: "".concat(testId, "-provider")
|
|
51
|
-
})), actions && hasActions ? /*#__PURE__*/React.createElement(_elementGroup.default,
|
|
61
|
+
})), actions && hasActions ? /*#__PURE__*/React.createElement(_elementGroup.default, {
|
|
52
62
|
testId: "smart-element-group-actions",
|
|
53
63
|
align: _constants.SmartLinkAlignment.Right,
|
|
54
|
-
direction: _constants.SmartLinkDirection.Horizontal
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
css: size === _constants.SmartLinkSize.XLarge && actionGroupStylesOld
|
|
59
|
-
}, {
|
|
60
|
-
width: _constants.SmartLinkWidth.Flexible
|
|
61
|
-
}), /*#__PURE__*/React.createElement(_actionGroup.default, {
|
|
64
|
+
direction: _constants.SmartLinkDirection.Horizontal,
|
|
65
|
+
width: _constants.SmartLinkWidth.Flexible,
|
|
66
|
+
className: (0, _runtime.ax)([size === _constants.SmartLinkSize.XLarge && (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && "_c71lxy5q", size === _constants.SmartLinkSize.XLarge && !(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && "_c71lviql", safari && "_4t3i1osq"])
|
|
67
|
+
}, /*#__PURE__*/React.createElement(_actionGroup.default, {
|
|
62
68
|
onDropdownOpenChange: onDropdownOpenChange,
|
|
63
69
|
items: actions,
|
|
64
70
|
appearance: "default",
|
|
@@ -22,13 +22,15 @@ var _colors = require("@atlaskit/theme/colors");
|
|
|
22
22
|
var _messages = require("../../../messages");
|
|
23
23
|
var _HoverCard = require("../../HoverCard");
|
|
24
24
|
var _actionButton = require("../common/action-button");
|
|
25
|
+
var _inlineLozenge = _interopRequireDefault(require("../common/inline-lozenge"));
|
|
25
26
|
var _Frame = require("../Frame");
|
|
26
27
|
var _IconAndTitleLayout = require("../IconAndTitleLayout");
|
|
27
28
|
var _styled = require("../styled");
|
|
28
29
|
var _withFrameStyleControl = _interopRequireDefault(require("../utils/withFrameStyleControl"));
|
|
29
30
|
var styles = {
|
|
30
31
|
iconWrapper: "_2hwx1i6y _1e0cbu77",
|
|
31
|
-
|
|
32
|
+
actionButtonLozengeStyleOld: "_2rkogqwt _bfhksm61 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t",
|
|
33
|
+
actionButtonLozengeStyleNew: "_2rkogqwt _bfhksm61 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _p12f1osq"
|
|
32
34
|
};
|
|
33
35
|
var fallbackForbiddenIcon = function fallbackForbiddenIcon() {
|
|
34
36
|
if ((0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1')) {
|
|
@@ -113,8 +115,22 @@ var InlineCardForbiddenView = exports.InlineCardForbiddenView = function InlineC
|
|
|
113
115
|
}
|
|
114
116
|
if (onAuthorise) {
|
|
115
117
|
if ((0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1')) {
|
|
118
|
+
if ((0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-inline-lozenge')) {
|
|
119
|
+
return /*#__PURE__*/_react.default.createElement(_compiled.Pressable, {
|
|
120
|
+
xcss: styles.actionButtonLozengeStyleNew,
|
|
121
|
+
onClick: handleRetry,
|
|
122
|
+
style: {
|
|
123
|
+
font: "inherit"
|
|
124
|
+
},
|
|
125
|
+
testId: "button-connect-other-account"
|
|
126
|
+
}, /*#__PURE__*/_react.default.createElement(_inlineLozenge.default, (0, _extends2.default)({
|
|
127
|
+
appearance: "moved"
|
|
128
|
+
}, (0, _platformFeatureFlags.fg)('platform-component-visual-refresh') ? {
|
|
129
|
+
isBold: true
|
|
130
|
+
} : undefined), renderForbiddenAccessMessage()));
|
|
131
|
+
}
|
|
116
132
|
return /*#__PURE__*/_react.default.createElement(_IconAndTitleLayout.LozengeWrapper, null, /*#__PURE__*/_react.default.createElement(_compiled.Pressable, {
|
|
117
|
-
xcss: styles.
|
|
133
|
+
xcss: styles.actionButtonLozengeStyleOld,
|
|
118
134
|
onClick: handleRetry,
|
|
119
135
|
testId: "button-connect-other-account"
|
|
120
136
|
}, /*#__PURE__*/_react.default.createElement(_lozenge.default, (0, _extends2.default)({
|
|
@@ -279,6 +279,8 @@ var LozengeWrapperOldVisualRefresh = (0, _react.forwardRef)(function (_ref5, __c
|
|
|
279
279
|
className: (0, _runtime.ax)(["_1e0c1o8l _s7n4t94y _19pkidpf _2hwx1b66 _otyridpf _18u0v77o", __cmplp.className])
|
|
280
280
|
}));
|
|
281
281
|
});
|
|
282
|
+
|
|
283
|
+
// Remove on platform-linking-visual-refresh-inline-lozenge cleanup
|
|
282
284
|
if (process.env.NODE_ENV !== 'production') {
|
|
283
285
|
LozengeWrapperOldVisualRefresh.displayName = 'LozengeWrapperOldVisualRefresh';
|
|
284
286
|
}
|
|
@@ -15,6 +15,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
15
15
|
var _lozenge = _interopRequireDefault(require("@atlaskit/lozenge"));
|
|
16
16
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
17
17
|
var _HoverCard = require("../../HoverCard");
|
|
18
|
+
var _inlineLozenge = _interopRequireDefault(require("../common/inline-lozenge"));
|
|
18
19
|
var _Frame = require("../Frame");
|
|
19
20
|
var _IconAndTitleLayout = require("../IconAndTitleLayout");
|
|
20
21
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
@@ -33,6 +34,18 @@ var InlineCardResolvedView = exports.InlineCardResolvedView = /*#__PURE__*/funct
|
|
|
33
34
|
return null;
|
|
34
35
|
}
|
|
35
36
|
var appearance = lozenge.appearance || 'default';
|
|
37
|
+
if ((0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-inline-lozenge')) {
|
|
38
|
+
var _lozenge$style, _lozenge$style2;
|
|
39
|
+
return /*#__PURE__*/_react.default.createElement(_inlineLozenge.default, {
|
|
40
|
+
testId: "inline-card-resolved-view-lozenge",
|
|
41
|
+
appearance: appearance,
|
|
42
|
+
style: {
|
|
43
|
+
backgroundColor: lozenge === null || lozenge === void 0 || (_lozenge$style = lozenge.style) === null || _lozenge$style === void 0 ? void 0 : _lozenge$style.backgroundColor,
|
|
44
|
+
color: lozenge === null || lozenge === void 0 || (_lozenge$style2 = lozenge.style) === null || _lozenge$style2 === void 0 ? void 0 : _lozenge$style2.color
|
|
45
|
+
},
|
|
46
|
+
isBold: (0, _platformFeatureFlags.fg)('platform-component-visual-refresh') ? lozenge.isBold !== false : lozenge.isBold
|
|
47
|
+
}, lozenge.text);
|
|
48
|
+
}
|
|
36
49
|
return /*#__PURE__*/_react.default.createElement(_IconAndTitleLayout.LozengeWrapper, null, /*#__PURE__*/_react.default.createElement(_lozenge.default, {
|
|
37
50
|
testId: "inline-card-resolved-view-lozenge",
|
|
38
51
|
appearance: appearance
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
Object.defineProperty(exports, "__esModule", {
|
|
7
|
+
value: true
|
|
8
|
+
});
|
|
9
|
+
exports.default = void 0;
|
|
10
|
+
require("./index.compiled.css");
|
|
11
|
+
var React = _interopRequireWildcard(require("react"));
|
|
12
|
+
var _runtime = require("@compiled/react/runtime");
|
|
13
|
+
var _lozenge = _interopRequireDefault(require("@atlaskit/lozenge"));
|
|
14
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
15
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
|
+
var wrapperStyles = null;
|
|
17
|
+
var InlineLozenge = function InlineLozenge(props) {
|
|
18
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
19
|
+
className: (0, _runtime.ax)(["_1e0c1o8l _s7n4t94y _19pkidpf _2hwx1b66 _otyridpf _18u0v77o _p12f1osq"])
|
|
20
|
+
}, /*#__PURE__*/React.createElement(_lozenge.default, props));
|
|
21
|
+
};
|
|
22
|
+
var _default = exports.default = InlineLozenge;
|
|
@@ -20,7 +20,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
|
|
|
20
20
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
21
21
|
var PACKAGE_DATA = {
|
|
22
22
|
packageName: "@atlaskit/smart-card",
|
|
23
|
-
packageVersion: "36.15.
|
|
23
|
+
packageVersion: "36.15.2",
|
|
24
24
|
componentName: 'linkUrl'
|
|
25
25
|
};
|
|
26
26
|
var Anchor = (0, _click.withLinkClickedEvent)('a');
|
|
@@ -2,7 +2,7 @@ export const ANALYTICS_CHANNEL = 'media';
|
|
|
2
2
|
export const context = {
|
|
3
3
|
componentName: 'smart-cards',
|
|
4
4
|
packageName: "@atlaskit/smart-card",
|
|
5
|
-
packageVersion: "36.15.
|
|
5
|
+
packageVersion: "36.15.2"
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
._2yhz14q2 [data-smart-element=Title]{color:var(--ds-link,#0c66e4)}
|
|
9
9
|
._4cvresu3{align-items:flex-end}
|
|
10
10
|
._4t3i1k8s{height:1.5rem}
|
|
11
|
+
._4t3i1osq{height:100%}
|
|
11
12
|
._g0eioxwj .actions-button-group button, ._1qryoxwj .actions-button-group button:active, ._sxbroxwj .actions-button-group button:focus, ._1gyioxwj .actions-button-group button:hover{font-size:.875rem}
|
|
12
13
|
._i8d01j6v [data-smart-element-group]{line-height:1rem}
|
|
13
14
|
._wwyvidpf span[data-smart-element-avatar-group]>ul{padding-left:0}
|
|
@@ -4,6 +4,7 @@ import "./ResolvedView.compiled.css";
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { useEffect, useMemo, useState } from 'react';
|
|
7
|
+
import { browser } from '@atlaskit/linking-common/user-agent';
|
|
7
8
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
9
|
import { ActionName, ElementName, SmartLinkPosition, SmartLinkStatus } from '../../../constants';
|
|
9
10
|
import FlexibleCard from '../../FlexibleCard';
|
|
@@ -14,6 +15,7 @@ const titleBlockCssOld = null;
|
|
|
14
15
|
const titleBlockCss = null;
|
|
15
16
|
const footerBlockCssOld = null;
|
|
16
17
|
const footerBlockCss = null;
|
|
18
|
+
const footerBlockSafariStyles = null;
|
|
17
19
|
const metadataBlockCssOld = null;
|
|
18
20
|
|
|
19
21
|
/**
|
|
@@ -31,6 +33,11 @@ const ResolvedView = ({
|
|
|
31
33
|
url
|
|
32
34
|
}) => {
|
|
33
35
|
const [isPreviewBlockErrored, setIsPreviewBlockErrored] = useState(false);
|
|
36
|
+
const {
|
|
37
|
+
safari = false
|
|
38
|
+
} = fg('platform-linking-visual-refresh-v2') ?
|
|
39
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
40
|
+
useMemo(() => browser(), []) : {};
|
|
34
41
|
useEffect(() => {
|
|
35
42
|
setIsPreviewBlockErrored(false);
|
|
36
43
|
}, [url, cardState]);
|
|
@@ -87,7 +94,7 @@ const ResolvedView = ({
|
|
|
87
94
|
})) : null, /*#__PURE__*/React.createElement(FooterBlock, {
|
|
88
95
|
actions: footerActions,
|
|
89
96
|
status: SmartLinkStatus.Resolved,
|
|
90
|
-
className: ax([fg('platform-linking-visual-refresh-v1') ? "_4t3i1k8s _1e0c1txw _1bah1yb4 _4cvresu3 _1wpz1fhb" : "_4t3i1k8s _g0eioxwj _1qryoxwj _sxbroxwj _1gyioxwj"])
|
|
97
|
+
className: ax([fg('platform-linking-visual-refresh-v1') ? "_4t3i1k8s _1e0c1txw _1bah1yb4 _4cvresu3 _1wpz1fhb" : "_4t3i1k8s _g0eioxwj _1qryoxwj _sxbroxwj _1gyioxwj", safari && fg('platform-linking-visual-refresh-v2') && "_4t3i1osq"])
|
|
91
98
|
}));
|
|
92
99
|
};
|
|
93
100
|
export default withFlexibleUIBlockCardStyle(ResolvedView);
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
._4cvr1y6m{align-items:flex-start}
|
|
10
10
|
._4cvresu3{align-items:flex-end}
|
|
11
11
|
._4t3i1k8s{height:1.5rem}
|
|
12
|
+
._4t3i1osq{height:100%}
|
|
12
13
|
._7yjtidpf >div{margin-top:0}
|
|
13
14
|
._g0eioxwj .actions-button-group button, ._1qryoxwj .actions-button-group button:active, ._sxbroxwj .actions-button-group button:focus, ._1gyioxwj .actions-button-group button:hover{font-size:.875rem}
|
|
14
15
|
._ngc01fxt >div{color:var(--ds-text,#172b4d)}
|
|
@@ -3,6 +3,8 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
import "./index.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
|
+
import { useMemo } from 'react';
|
|
7
|
+
import { browser } from '@atlaskit/linking-common/user-agent';
|
|
6
8
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
9
|
import FlexibleCard from '../../../FlexibleCard';
|
|
8
10
|
import { CustomBlock, InternalFooterBlock, PreviewBlock, TitleBlock } from '../../../FlexibleCard/components/blocks';
|
|
@@ -13,6 +15,7 @@ const titleBlockCssOld = null;
|
|
|
13
15
|
const titleBlockCss = null;
|
|
14
16
|
const footerBlockCssOld = null;
|
|
15
17
|
const footerBlockCss = null;
|
|
18
|
+
const footerBlockSafariStyles = null;
|
|
16
19
|
const UnresolvedView = ({
|
|
17
20
|
actions,
|
|
18
21
|
cardState,
|
|
@@ -24,30 +27,37 @@ const UnresolvedView = ({
|
|
|
24
27
|
testId,
|
|
25
28
|
title,
|
|
26
29
|
url
|
|
27
|
-
}) =>
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
30
|
+
}) => {
|
|
31
|
+
const {
|
|
32
|
+
safari = false
|
|
33
|
+
} = fg('platform-linking-visual-refresh-v2') ?
|
|
34
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
35
|
+
useMemo(() => browser(), []) : {};
|
|
36
|
+
return /*#__PURE__*/React.createElement(FlexibleCard, {
|
|
37
|
+
appearance: "block",
|
|
38
|
+
cardState: cardState,
|
|
39
|
+
onAuthorize: onAuthorize,
|
|
40
|
+
onClick: onClick,
|
|
41
|
+
onError: onError,
|
|
42
|
+
origin: "smartLinkCard",
|
|
43
|
+
testId: testId,
|
|
44
|
+
ui: FlexibleCardUiOptions,
|
|
45
|
+
url: url
|
|
46
|
+
}, /*#__PURE__*/React.createElement(TitleBlock, _extends({}, titleBlockOptions, {
|
|
47
|
+
hideIcon: !!title,
|
|
48
|
+
text: title,
|
|
49
|
+
status: cardState.status,
|
|
50
|
+
className: ax([fg('platform-linking-visual-refresh-v1') ? "_zulpu2gc _13mh1pd9 _2yhz14q2" : "_zulp1f3t _13mh1pd9"])
|
|
51
|
+
})), /*#__PURE__*/React.createElement(CustomBlock, {
|
|
52
|
+
status: cardState.status,
|
|
53
|
+
className: ax([fg('platform-linking-visual-refresh-v1') ? "_zulp1b66 _1e0c1txw _4cvr1y6m _1wpz1fhb _7yjtidpf _ngc01fxt" : "_4cvr1y6m"])
|
|
54
|
+
}, children), showPreview && /*#__PURE__*/React.createElement(PreviewBlock, _extends({}, PreviewBlockOptions, {
|
|
55
|
+
status: cardState.status
|
|
56
|
+
})), /*#__PURE__*/React.createElement(InternalFooterBlock, {
|
|
57
|
+
actions: actions,
|
|
58
|
+
testId: "smart-block-card-footer",
|
|
59
|
+
status: cardState.status,
|
|
60
|
+
className: ax([fg('platform-linking-visual-refresh-v1') ? "_4t3i1k8s _1e0c1txw _1bah1yb4 _4cvresu3 _1wpz1fhb" : "_4t3i1k8s _g0eioxwj _1qryoxwj _sxbroxwj _1gyioxwj", safari && fg('platform-linking-visual-refresh-v2') && "_4t3i1osq"])
|
|
61
|
+
}));
|
|
62
|
+
};
|
|
53
63
|
export default UnresolvedView;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/* index.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
|
+
import "./index.compiled.css";
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
6
|
import { useCallback, useMemo } from 'react';
|
|
7
|
+
import { browser } from '@atlaskit/linking-common/user-agent';
|
|
6
8
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
9
|
import { SmartLinkAlignment, SmartLinkDirection, SmartLinkSize, SmartLinkWidth } from '../../../../../../constants';
|
|
8
10
|
import { useFlexibleUiContext } from '../../../../../../state/flexible-ui-context';
|
|
@@ -13,6 +15,7 @@ import ElementGroup from '../../element-group';
|
|
|
13
15
|
import { filterActionItems } from '../../utils';
|
|
14
16
|
const actionGroupStylesOld = null;
|
|
15
17
|
const actionGroupStyles = null;
|
|
18
|
+
const safariStyles = null;
|
|
16
19
|
const FooterBlockResolvedView = props => {
|
|
17
20
|
const {
|
|
18
21
|
actions,
|
|
@@ -26,6 +29,11 @@ const FooterBlockResolvedView = props => {
|
|
|
26
29
|
var _filterActionItems;
|
|
27
30
|
return ((_filterActionItems = filterActionItems(actions, context)) === null || _filterActionItems === void 0 ? void 0 : _filterActionItems.length) > 0;
|
|
28
31
|
}, [actions, context]);
|
|
32
|
+
const {
|
|
33
|
+
safari = false
|
|
34
|
+
} = fg('platform-linking-visual-refresh-v2') ?
|
|
35
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
36
|
+
useMemo(() => browser(), []) : {};
|
|
29
37
|
const onDropdownOpenChange = useCallback(isOpen => {
|
|
30
38
|
if (onActionMenuOpenChange) {
|
|
31
39
|
onActionMenuOpenChange({
|
|
@@ -39,17 +47,13 @@ const FooterBlockResolvedView = props => {
|
|
|
39
47
|
appearance: 'subtle'
|
|
40
48
|
} : {}, {
|
|
41
49
|
testId: `${testId}-provider`
|
|
42
|
-
})), actions && hasActions ? /*#__PURE__*/React.createElement(ElementGroup,
|
|
50
|
+
})), actions && hasActions ? /*#__PURE__*/React.createElement(ElementGroup, {
|
|
43
51
|
testId: "smart-element-group-actions",
|
|
44
52
|
align: SmartLinkAlignment.Right,
|
|
45
|
-
direction: SmartLinkDirection.Horizontal
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
css: size === SmartLinkSize.XLarge && actionGroupStylesOld
|
|
50
|
-
}, {
|
|
51
|
-
width: SmartLinkWidth.Flexible
|
|
52
|
-
}), /*#__PURE__*/React.createElement(ActionGroup, {
|
|
53
|
+
direction: SmartLinkDirection.Horizontal,
|
|
54
|
+
width: SmartLinkWidth.Flexible,
|
|
55
|
+
className: ax([size === SmartLinkSize.XLarge && fg('platform-linking-visual-refresh-v1') && "_c71lxy5q", size === SmartLinkSize.XLarge && !fg('platform-linking-visual-refresh-v1') && "_c71lviql", safari && "_4t3i1osq"])
|
|
56
|
+
}, /*#__PURE__*/React.createElement(ActionGroup, {
|
|
53
57
|
onDropdownOpenChange: onDropdownOpenChange,
|
|
54
58
|
items: actions,
|
|
55
59
|
appearance: "default",
|
|
@@ -14,13 +14,15 @@ import { N500 } from '@atlaskit/theme/colors';
|
|
|
14
14
|
import { messages } from '../../../messages';
|
|
15
15
|
import { HoverCard } from '../../HoverCard';
|
|
16
16
|
import { ActionButton } from '../common/action-button';
|
|
17
|
+
import InlineLozenge from '../common/inline-lozenge';
|
|
17
18
|
import { Frame } from '../Frame';
|
|
18
19
|
import { IconAndTitleLayout, LozengeWrapper } from '../IconAndTitleLayout';
|
|
19
20
|
import { IconStyledButtonOldVisualRefresh } from '../styled';
|
|
20
21
|
import withFrameStyleControl from '../utils/withFrameStyleControl';
|
|
21
22
|
const styles = {
|
|
22
23
|
iconWrapper: "_2hwx1i6y _1e0cbu77",
|
|
23
|
-
|
|
24
|
+
actionButtonLozengeStyleOld: "_2rkogqwt _bfhksm61 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t",
|
|
25
|
+
actionButtonLozengeStyleNew: "_2rkogqwt _bfhksm61 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _p12f1osq"
|
|
24
26
|
};
|
|
25
27
|
const fallbackForbiddenIcon = () => {
|
|
26
28
|
if (fg('platform-linking-visual-refresh-v1')) {
|
|
@@ -103,8 +105,22 @@ export const InlineCardForbiddenView = ({
|
|
|
103
105
|
}
|
|
104
106
|
if (onAuthorise) {
|
|
105
107
|
if (fg('platform-linking-visual-refresh-v1')) {
|
|
108
|
+
if (fg('platform-linking-visual-refresh-inline-lozenge')) {
|
|
109
|
+
return /*#__PURE__*/React.createElement(Pressable, {
|
|
110
|
+
xcss: styles.actionButtonLozengeStyleNew,
|
|
111
|
+
onClick: handleRetry,
|
|
112
|
+
style: {
|
|
113
|
+
font: `inherit`
|
|
114
|
+
},
|
|
115
|
+
testId: "button-connect-other-account"
|
|
116
|
+
}, /*#__PURE__*/React.createElement(InlineLozenge, _extends({
|
|
117
|
+
appearance: "moved"
|
|
118
|
+
}, fg('platform-component-visual-refresh') ? {
|
|
119
|
+
isBold: true
|
|
120
|
+
} : undefined), renderForbiddenAccessMessage()));
|
|
121
|
+
}
|
|
106
122
|
return /*#__PURE__*/React.createElement(LozengeWrapper, null, /*#__PURE__*/React.createElement(Pressable, {
|
|
107
|
-
xcss: styles.
|
|
123
|
+
xcss: styles.actionButtonLozengeStyleOld,
|
|
108
124
|
onClick: handleRetry,
|
|
109
125
|
testId: "button-connect-other-account"
|
|
110
126
|
}, /*#__PURE__*/React.createElement(Lozenge, _extends({
|
|
@@ -265,6 +265,8 @@ const LozengeWrapperOldVisualRefresh = forwardRef(({
|
|
|
265
265
|
className: ax(["_1e0c1o8l _s7n4t94y _19pkidpf _2hwx1b66 _otyridpf _18u0v77o", __cmplp.className])
|
|
266
266
|
}));
|
|
267
267
|
});
|
|
268
|
+
|
|
269
|
+
// Remove on platform-linking-visual-refresh-inline-lozenge cleanup
|
|
268
270
|
if (process.env.NODE_ENV !== 'production') {
|
|
269
271
|
LozengeWrapperOldVisualRefresh.displayName = 'LozengeWrapperOldVisualRefresh';
|
|
270
272
|
}
|
|
@@ -3,6 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import Lozenge from '@atlaskit/lozenge';
|
|
4
4
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
5
|
import { HoverCard } from '../../HoverCard';
|
|
6
|
+
import InlineLozenge from '../common/inline-lozenge';
|
|
6
7
|
import { Frame } from '../Frame';
|
|
7
8
|
import { IconAndTitleLayout, LozengeWrapper } from '../IconAndTitleLayout';
|
|
8
9
|
export class InlineCardResolvedView extends React.Component {
|
|
@@ -14,6 +15,18 @@ export class InlineCardResolvedView extends React.Component {
|
|
|
14
15
|
return null;
|
|
15
16
|
}
|
|
16
17
|
const appearance = lozenge.appearance || 'default';
|
|
18
|
+
if (fg('platform-linking-visual-refresh-inline-lozenge')) {
|
|
19
|
+
var _lozenge$style, _lozenge$style2;
|
|
20
|
+
return /*#__PURE__*/React.createElement(InlineLozenge, {
|
|
21
|
+
testId: "inline-card-resolved-view-lozenge",
|
|
22
|
+
appearance: appearance,
|
|
23
|
+
style: {
|
|
24
|
+
backgroundColor: lozenge === null || lozenge === void 0 ? void 0 : (_lozenge$style = lozenge.style) === null || _lozenge$style === void 0 ? void 0 : _lozenge$style.backgroundColor,
|
|
25
|
+
color: lozenge === null || lozenge === void 0 ? void 0 : (_lozenge$style2 = lozenge.style) === null || _lozenge$style2 === void 0 ? void 0 : _lozenge$style2.color
|
|
26
|
+
},
|
|
27
|
+
isBold: fg('platform-component-visual-refresh') ? lozenge.isBold !== false : lozenge.isBold
|
|
28
|
+
}, lozenge.text);
|
|
29
|
+
}
|
|
17
30
|
return /*#__PURE__*/React.createElement(LozengeWrapper, null, /*#__PURE__*/React.createElement(Lozenge, {
|
|
18
31
|
testId: "inline-card-resolved-view-lozenge",
|
|
19
32
|
appearance: appearance
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
|
+
import "./index.compiled.css";
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
+
import Lozenge from '@atlaskit/lozenge';
|
|
6
|
+
const wrapperStyles = null;
|
|
7
|
+
const InlineLozenge = props => /*#__PURE__*/React.createElement("span", {
|
|
8
|
+
className: ax(["_1e0c1o8l _s7n4t94y _19pkidpf _2hwx1b66 _otyridpf _18u0v77o _p12f1osq"])
|
|
9
|
+
}, /*#__PURE__*/React.createElement(Lozenge, props));
|
|
10
|
+
export default InlineLozenge;
|
|
@@ -10,7 +10,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
10
10
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
11
11
|
const PACKAGE_DATA = {
|
|
12
12
|
packageName: "@atlaskit/smart-card",
|
|
13
|
-
packageVersion: "36.15.
|
|
13
|
+
packageVersion: "36.15.2",
|
|
14
14
|
componentName: 'linkUrl'
|
|
15
15
|
};
|
|
16
16
|
const Anchor = withLinkClickedEvent('a');
|
|
@@ -4,7 +4,7 @@ export var ANALYTICS_CHANNEL = 'media';
|
|
|
4
4
|
export var context = {
|
|
5
5
|
componentName: 'smart-cards',
|
|
6
6
|
packageName: "@atlaskit/smart-card",
|
|
7
|
-
packageVersion: "36.15.
|
|
7
|
+
packageVersion: "36.15.2"
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
._2yhz14q2 [data-smart-element=Title]{color:var(--ds-link,#0c66e4)}
|
|
9
9
|
._4cvresu3{align-items:flex-end}
|
|
10
10
|
._4t3i1k8s{height:1.5rem}
|
|
11
|
+
._4t3i1osq{height:100%}
|
|
11
12
|
._g0eioxwj .actions-button-group button, ._1qryoxwj .actions-button-group button:active, ._sxbroxwj .actions-button-group button:focus, ._1gyioxwj .actions-button-group button:hover{font-size:.875rem}
|
|
12
13
|
._i8d01j6v [data-smart-element-group]{line-height:1rem}
|
|
13
14
|
._wwyvidpf span[data-smart-element-avatar-group]>ul{padding-left:0}
|
|
@@ -5,6 +5,7 @@ import "./ResolvedView.compiled.css";
|
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { ax, ix } from "@compiled/react/runtime";
|
|
7
7
|
import { useEffect, useMemo, useState } from 'react';
|
|
8
|
+
import { browser } from '@atlaskit/linking-common/user-agent';
|
|
8
9
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
10
|
import { ActionName, ElementName, SmartLinkPosition, SmartLinkStatus } from '../../../constants';
|
|
10
11
|
import FlexibleCard from '../../FlexibleCard';
|
|
@@ -15,6 +16,7 @@ var titleBlockCssOld = null;
|
|
|
15
16
|
var titleBlockCss = null;
|
|
16
17
|
var footerBlockCssOld = null;
|
|
17
18
|
var footerBlockCss = null;
|
|
19
|
+
var footerBlockSafariStyles = null;
|
|
18
20
|
var metadataBlockCssOld = null;
|
|
19
21
|
|
|
20
22
|
/**
|
|
@@ -35,6 +37,13 @@ var ResolvedView = function ResolvedView(_ref) {
|
|
|
35
37
|
_useState2 = _slicedToArray(_useState, 2),
|
|
36
38
|
isPreviewBlockErrored = _useState2[0],
|
|
37
39
|
setIsPreviewBlockErrored = _useState2[1];
|
|
40
|
+
var _ref2 = fg('platform-linking-visual-refresh-v2') ?
|
|
41
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
42
|
+
useMemo(function () {
|
|
43
|
+
return browser();
|
|
44
|
+
}, []) : {},
|
|
45
|
+
_ref2$safari = _ref2.safari,
|
|
46
|
+
safari = _ref2$safari === void 0 ? false : _ref2$safari;
|
|
38
47
|
useEffect(function () {
|
|
39
48
|
setIsPreviewBlockErrored(false);
|
|
40
49
|
}, [url, cardState]);
|
|
@@ -92,7 +101,7 @@ var ResolvedView = function ResolvedView(_ref) {
|
|
|
92
101
|
})) : null, /*#__PURE__*/React.createElement(FooterBlock, {
|
|
93
102
|
actions: footerActions,
|
|
94
103
|
status: SmartLinkStatus.Resolved,
|
|
95
|
-
className: ax([fg('platform-linking-visual-refresh-v1') ? "_4t3i1k8s _1e0c1txw _1bah1yb4 _4cvresu3 _1wpz1fhb" : "_4t3i1k8s _g0eioxwj _1qryoxwj _sxbroxwj _1gyioxwj"])
|
|
104
|
+
className: ax([fg('platform-linking-visual-refresh-v1') ? "_4t3i1k8s _1e0c1txw _1bah1yb4 _4cvresu3 _1wpz1fhb" : "_4t3i1k8s _g0eioxwj _1qryoxwj _sxbroxwj _1gyioxwj", safari && fg('platform-linking-visual-refresh-v2') && "_4t3i1osq"])
|
|
96
105
|
}));
|
|
97
106
|
};
|
|
98
107
|
export default withFlexibleUIBlockCardStyle(ResolvedView);
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
._4cvr1y6m{align-items:flex-start}
|
|
10
10
|
._4cvresu3{align-items:flex-end}
|
|
11
11
|
._4t3i1k8s{height:1.5rem}
|
|
12
|
+
._4t3i1osq{height:100%}
|
|
12
13
|
._7yjtidpf >div{margin-top:0}
|
|
13
14
|
._g0eioxwj .actions-button-group button, ._1qryoxwj .actions-button-group button:active, ._sxbroxwj .actions-button-group button:focus, ._1gyioxwj .actions-button-group button:hover{font-size:.875rem}
|
|
14
15
|
._ngc01fxt >div{color:var(--ds-text,#172b4d)}
|
|
@@ -3,6 +3,8 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
import "./index.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
|
+
import { useMemo } from 'react';
|
|
7
|
+
import { browser } from '@atlaskit/linking-common/user-agent';
|
|
6
8
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
9
|
import FlexibleCard from '../../../FlexibleCard';
|
|
8
10
|
import { CustomBlock, InternalFooterBlock, PreviewBlock, TitleBlock } from '../../../FlexibleCard/components/blocks';
|
|
@@ -13,6 +15,7 @@ var titleBlockCssOld = null;
|
|
|
13
15
|
var titleBlockCss = null;
|
|
14
16
|
var footerBlockCssOld = null;
|
|
15
17
|
var footerBlockCss = null;
|
|
18
|
+
var footerBlockSafariStyles = null;
|
|
16
19
|
var UnresolvedView = function UnresolvedView(_ref) {
|
|
17
20
|
var actions = _ref.actions,
|
|
18
21
|
cardState = _ref.cardState,
|
|
@@ -25,6 +28,13 @@ var UnresolvedView = function UnresolvedView(_ref) {
|
|
|
25
28
|
testId = _ref.testId,
|
|
26
29
|
title = _ref.title,
|
|
27
30
|
url = _ref.url;
|
|
31
|
+
var _ref2 = fg('platform-linking-visual-refresh-v2') ?
|
|
32
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
33
|
+
useMemo(function () {
|
|
34
|
+
return browser();
|
|
35
|
+
}, []) : {},
|
|
36
|
+
_ref2$safari = _ref2.safari,
|
|
37
|
+
safari = _ref2$safari === void 0 ? false : _ref2$safari;
|
|
28
38
|
return /*#__PURE__*/React.createElement(FlexibleCard, {
|
|
29
39
|
appearance: "block",
|
|
30
40
|
cardState: cardState,
|
|
@@ -49,7 +59,7 @@ var UnresolvedView = function UnresolvedView(_ref) {
|
|
|
49
59
|
actions: actions,
|
|
50
60
|
testId: "smart-block-card-footer",
|
|
51
61
|
status: cardState.status,
|
|
52
|
-
className: ax([fg('platform-linking-visual-refresh-v1') ? "_4t3i1k8s _1e0c1txw _1bah1yb4 _4cvresu3 _1wpz1fhb" : "_4t3i1k8s _g0eioxwj _1qryoxwj _sxbroxwj _1gyioxwj"])
|
|
62
|
+
className: ax([fg('platform-linking-visual-refresh-v1') ? "_4t3i1k8s _1e0c1txw _1bah1yb4 _4cvresu3 _1wpz1fhb" : "_4t3i1k8s _g0eioxwj _1qryoxwj _sxbroxwj _1gyioxwj", safari && fg('platform-linking-visual-refresh-v2') && "_4t3i1osq"])
|
|
53
63
|
}));
|
|
54
64
|
};
|
|
55
65
|
export default UnresolvedView;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/* index.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
|
+
import "./index.compiled.css";
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
6
|
import { useCallback, useMemo } from 'react';
|
|
7
|
+
import { browser } from '@atlaskit/linking-common/user-agent';
|
|
6
8
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
9
|
import { SmartLinkAlignment, SmartLinkDirection, SmartLinkSize, SmartLinkWidth } from '../../../../../../constants';
|
|
8
10
|
import { useFlexibleUiContext } from '../../../../../../state/flexible-ui-context';
|
|
@@ -13,6 +15,7 @@ import ElementGroup from '../../element-group';
|
|
|
13
15
|
import { filterActionItems } from '../../utils';
|
|
14
16
|
var actionGroupStylesOld = null;
|
|
15
17
|
var actionGroupStyles = null;
|
|
18
|
+
var safariStyles = null;
|
|
16
19
|
var FooterBlockResolvedView = function FooterBlockResolvedView(props) {
|
|
17
20
|
var actions = props.actions,
|
|
18
21
|
testId = props.testId,
|
|
@@ -25,6 +28,13 @@ var FooterBlockResolvedView = function FooterBlockResolvedView(props) {
|
|
|
25
28
|
var _filterActionItems;
|
|
26
29
|
return ((_filterActionItems = filterActionItems(actions, context)) === null || _filterActionItems === void 0 ? void 0 : _filterActionItems.length) > 0;
|
|
27
30
|
}, [actions, context]);
|
|
31
|
+
var _ref = fg('platform-linking-visual-refresh-v2') ?
|
|
32
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
33
|
+
useMemo(function () {
|
|
34
|
+
return browser();
|
|
35
|
+
}, []) : {},
|
|
36
|
+
_ref$safari = _ref.safari,
|
|
37
|
+
safari = _ref$safari === void 0 ? false : _ref$safari;
|
|
28
38
|
var onDropdownOpenChange = useCallback(function (isOpen) {
|
|
29
39
|
if (onActionMenuOpenChange) {
|
|
30
40
|
onActionMenuOpenChange({
|
|
@@ -38,17 +48,13 @@ var FooterBlockResolvedView = function FooterBlockResolvedView(props) {
|
|
|
38
48
|
appearance: 'subtle'
|
|
39
49
|
} : {}, {
|
|
40
50
|
testId: "".concat(testId, "-provider")
|
|
41
|
-
})), actions && hasActions ? /*#__PURE__*/React.createElement(ElementGroup,
|
|
51
|
+
})), actions && hasActions ? /*#__PURE__*/React.createElement(ElementGroup, {
|
|
42
52
|
testId: "smart-element-group-actions",
|
|
43
53
|
align: SmartLinkAlignment.Right,
|
|
44
|
-
direction: SmartLinkDirection.Horizontal
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
css: size === SmartLinkSize.XLarge && actionGroupStylesOld
|
|
49
|
-
}, {
|
|
50
|
-
width: SmartLinkWidth.Flexible
|
|
51
|
-
}), /*#__PURE__*/React.createElement(ActionGroup, {
|
|
54
|
+
direction: SmartLinkDirection.Horizontal,
|
|
55
|
+
width: SmartLinkWidth.Flexible,
|
|
56
|
+
className: ax([size === SmartLinkSize.XLarge && fg('platform-linking-visual-refresh-v1') && "_c71lxy5q", size === SmartLinkSize.XLarge && !fg('platform-linking-visual-refresh-v1') && "_c71lviql", safari && "_4t3i1osq"])
|
|
57
|
+
}, /*#__PURE__*/React.createElement(ActionGroup, {
|
|
52
58
|
onDropdownOpenChange: onDropdownOpenChange,
|
|
53
59
|
items: actions,
|
|
54
60
|
appearance: "default",
|
|
@@ -15,13 +15,15 @@ import { N500 } from '@atlaskit/theme/colors';
|
|
|
15
15
|
import { messages } from '../../../messages';
|
|
16
16
|
import { HoverCard } from '../../HoverCard';
|
|
17
17
|
import { ActionButton } from '../common/action-button';
|
|
18
|
+
import InlineLozenge from '../common/inline-lozenge';
|
|
18
19
|
import { Frame } from '../Frame';
|
|
19
20
|
import { IconAndTitleLayout, LozengeWrapper } from '../IconAndTitleLayout';
|
|
20
21
|
import { IconStyledButtonOldVisualRefresh } from '../styled';
|
|
21
22
|
import withFrameStyleControl from '../utils/withFrameStyleControl';
|
|
22
23
|
var styles = {
|
|
23
24
|
iconWrapper: "_2hwx1i6y _1e0cbu77",
|
|
24
|
-
|
|
25
|
+
actionButtonLozengeStyleOld: "_2rkogqwt _bfhksm61 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t",
|
|
26
|
+
actionButtonLozengeStyleNew: "_2rkogqwt _bfhksm61 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _p12f1osq"
|
|
25
27
|
};
|
|
26
28
|
var fallbackForbiddenIcon = function fallbackForbiddenIcon() {
|
|
27
29
|
if (fg('platform-linking-visual-refresh-v1')) {
|
|
@@ -106,8 +108,22 @@ export var InlineCardForbiddenView = function InlineCardForbiddenView(_ref) {
|
|
|
106
108
|
}
|
|
107
109
|
if (onAuthorise) {
|
|
108
110
|
if (fg('platform-linking-visual-refresh-v1')) {
|
|
111
|
+
if (fg('platform-linking-visual-refresh-inline-lozenge')) {
|
|
112
|
+
return /*#__PURE__*/React.createElement(Pressable, {
|
|
113
|
+
xcss: styles.actionButtonLozengeStyleNew,
|
|
114
|
+
onClick: handleRetry,
|
|
115
|
+
style: {
|
|
116
|
+
font: "inherit"
|
|
117
|
+
},
|
|
118
|
+
testId: "button-connect-other-account"
|
|
119
|
+
}, /*#__PURE__*/React.createElement(InlineLozenge, _extends({
|
|
120
|
+
appearance: "moved"
|
|
121
|
+
}, fg('platform-component-visual-refresh') ? {
|
|
122
|
+
isBold: true
|
|
123
|
+
} : undefined), renderForbiddenAccessMessage()));
|
|
124
|
+
}
|
|
109
125
|
return /*#__PURE__*/React.createElement(LozengeWrapper, null, /*#__PURE__*/React.createElement(Pressable, {
|
|
110
|
-
xcss: styles.
|
|
126
|
+
xcss: styles.actionButtonLozengeStyleOld,
|
|
111
127
|
onClick: handleRetry,
|
|
112
128
|
testId: "button-connect-other-account"
|
|
113
129
|
}, /*#__PURE__*/React.createElement(Lozenge, _extends({
|
|
@@ -270,6 +270,8 @@ var LozengeWrapperOldVisualRefresh = forwardRef(function (_ref5, __cmplr) {
|
|
|
270
270
|
className: ax(["_1e0c1o8l _s7n4t94y _19pkidpf _2hwx1b66 _otyridpf _18u0v77o", __cmplp.className])
|
|
271
271
|
}));
|
|
272
272
|
});
|
|
273
|
+
|
|
274
|
+
// Remove on platform-linking-visual-refresh-inline-lozenge cleanup
|
|
273
275
|
if (process.env.NODE_ENV !== 'production') {
|
|
274
276
|
LozengeWrapperOldVisualRefresh.displayName = 'LozengeWrapperOldVisualRefresh';
|
|
275
277
|
}
|
|
@@ -10,6 +10,7 @@ import React from 'react';
|
|
|
10
10
|
import Lozenge from '@atlaskit/lozenge';
|
|
11
11
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
12
|
import { HoverCard } from '../../HoverCard';
|
|
13
|
+
import InlineLozenge from '../common/inline-lozenge';
|
|
13
14
|
import { Frame } from '../Frame';
|
|
14
15
|
import { IconAndTitleLayout, LozengeWrapper } from '../IconAndTitleLayout';
|
|
15
16
|
export var InlineCardResolvedView = /*#__PURE__*/function (_React$Component) {
|
|
@@ -26,6 +27,18 @@ export var InlineCardResolvedView = /*#__PURE__*/function (_React$Component) {
|
|
|
26
27
|
return null;
|
|
27
28
|
}
|
|
28
29
|
var appearance = lozenge.appearance || 'default';
|
|
30
|
+
if (fg('platform-linking-visual-refresh-inline-lozenge')) {
|
|
31
|
+
var _lozenge$style, _lozenge$style2;
|
|
32
|
+
return /*#__PURE__*/React.createElement(InlineLozenge, {
|
|
33
|
+
testId: "inline-card-resolved-view-lozenge",
|
|
34
|
+
appearance: appearance,
|
|
35
|
+
style: {
|
|
36
|
+
backgroundColor: lozenge === null || lozenge === void 0 || (_lozenge$style = lozenge.style) === null || _lozenge$style === void 0 ? void 0 : _lozenge$style.backgroundColor,
|
|
37
|
+
color: lozenge === null || lozenge === void 0 || (_lozenge$style2 = lozenge.style) === null || _lozenge$style2 === void 0 ? void 0 : _lozenge$style2.color
|
|
38
|
+
},
|
|
39
|
+
isBold: fg('platform-component-visual-refresh') ? lozenge.isBold !== false : lozenge.isBold
|
|
40
|
+
}, lozenge.text);
|
|
41
|
+
}
|
|
29
42
|
return /*#__PURE__*/React.createElement(LozengeWrapper, null, /*#__PURE__*/React.createElement(Lozenge, {
|
|
30
43
|
testId: "inline-card-resolved-view-lozenge",
|
|
31
44
|
appearance: appearance
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
|
+
import "./index.compiled.css";
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
+
import Lozenge from '@atlaskit/lozenge';
|
|
6
|
+
var wrapperStyles = null;
|
|
7
|
+
var InlineLozenge = function InlineLozenge(props) {
|
|
8
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
9
|
+
className: ax(["_1e0c1o8l _s7n4t94y _19pkidpf _2hwx1b66 _otyridpf _18u0v77o _p12f1osq"])
|
|
10
|
+
}, /*#__PURE__*/React.createElement(Lozenge, props));
|
|
11
|
+
};
|
|
12
|
+
export default InlineLozenge;
|
|
@@ -13,7 +13,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
13
13
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
14
14
|
var PACKAGE_DATA = {
|
|
15
15
|
packageName: "@atlaskit/smart-card",
|
|
16
|
-
packageVersion: "36.15.
|
|
16
|
+
packageVersion: "36.15.2",
|
|
17
17
|
componentName: 'linkUrl'
|
|
18
18
|
};
|
|
19
19
|
var Anchor = withLinkClickedEvent('a');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "36.15.
|
|
3
|
+
"version": "36.15.2",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"@atlaskit/form": "^12.0.0",
|
|
40
40
|
"@atlaskit/frontend-utilities": "^3.0.0",
|
|
41
41
|
"@atlaskit/heading": "^5.2.0",
|
|
42
|
-
"@atlaskit/icon": "^25.
|
|
42
|
+
"@atlaskit/icon": "^25.7.0",
|
|
43
43
|
"@atlaskit/icon-file-type": "^7.0.0",
|
|
44
|
-
"@atlaskit/icon-lab": "^4.
|
|
44
|
+
"@atlaskit/icon-lab": "^4.11.0",
|
|
45
45
|
"@atlaskit/icon-object": "^7.1.0",
|
|
46
46
|
"@atlaskit/icon-priority": "^6.3.0",
|
|
47
47
|
"@atlaskit/image": "^3.0.0",
|
|
@@ -97,12 +97,12 @@
|
|
|
97
97
|
"@atlaskit/css-reset": "^7.2.0",
|
|
98
98
|
"@atlaskit/link-test-helpers": "^8.0.0",
|
|
99
99
|
"@atlaskit/media-test-helpers": "^36.0.0",
|
|
100
|
-
"@atlaskit/react-ufo": "^3.
|
|
100
|
+
"@atlaskit/react-ufo": "^3.10.0",
|
|
101
101
|
"@atlaskit/ssr": "workspace:^",
|
|
102
102
|
"@atlaskit/visual-regression": "workspace:^",
|
|
103
103
|
"@atlassian/analytics-tooling": "^0.5.0",
|
|
104
104
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|
|
105
|
-
"@atlassian/gemini": "^1.
|
|
105
|
+
"@atlassian/gemini": "^1.18.0",
|
|
106
106
|
"@testing-library/dom": "^10.1.0",
|
|
107
107
|
"@testing-library/jest-dom": "^6.4.5",
|
|
108
108
|
"@testing-library/react": "^13.4.0",
|
|
@@ -221,6 +221,9 @@
|
|
|
221
221
|
"platform-linking-visual-refresh-v2": {
|
|
222
222
|
"type": "boolean"
|
|
223
223
|
},
|
|
224
|
+
"platform-linking-visual-refresh-inline-lozenge": {
|
|
225
|
+
"type": "boolean"
|
|
226
|
+
},
|
|
224
227
|
"platform-linking-flexible-card-openness": {
|
|
225
228
|
"type": "boolean"
|
|
226
229
|
},
|