@atlaskit/smart-card 27.8.3 → 27.8.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 +8 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/BlockCard/views/flexible/styled.js +4 -4
- package/dist/cjs/view/EmbedModal/components/link-info/styled.js +4 -4
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +16 -12
- package/dist/cjs/view/FlexibleCard/components/actions/action/index.js +3 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-indicator-tooltip.js +7 -3
- package/dist/cjs/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/resolved-result-stack/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/utils.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/styled.js +3 -3
- package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/styled.js +3 -3
- package/dist/cjs/view/HoverCard/components/views/forbidden/styled.js +3 -3
- package/dist/cjs/view/HoverCard/components/views/resolved/styled.js +3 -3
- package/dist/cjs/view/HoverCard/components/views/resolving/styled.js +3 -3
- package/dist/cjs/view/HoverCard/components/views/unauthorised/styled.js +3 -3
- package/dist/cjs/view/HoverCard/styled.js +4 -4
- package/dist/cjs/view/LinkUrl/LinkWarningModal/styled.js +1 -1
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/RelatedLinksModal/components/related-links-list/index.js +2 -2
- package/dist/cjs/view/common/ai-icon/index.js +24 -26
- package/dist/cjs/view/common/ai-prism/ai-glowing-border/index.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/BlockCard/views/flexible/styled.js +4 -4
- package/dist/es2019/view/EmbedModal/components/link-info/styled.js +4 -4
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +16 -12
- package/dist/es2019/view/FlexibleCard/components/actions/action/index.js +3 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-indicator-tooltip.js +4 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/resolved-result-stack/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/utils.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/styled.js +3 -3
- package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/styled.js +3 -3
- package/dist/es2019/view/HoverCard/components/views/forbidden/styled.js +3 -3
- package/dist/es2019/view/HoverCard/components/views/resolved/styled.js +3 -3
- package/dist/es2019/view/HoverCard/components/views/resolving/styled.js +3 -3
- package/dist/es2019/view/HoverCard/components/views/unauthorised/styled.js +3 -3
- package/dist/es2019/view/HoverCard/styled.js +4 -4
- package/dist/es2019/view/LinkUrl/LinkWarningModal/styled.js +1 -1
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/RelatedLinksModal/components/related-links-list/index.js +2 -2
- package/dist/es2019/view/common/ai-icon/index.js +100 -104
- package/dist/es2019/view/common/ai-prism/ai-glowing-border/index.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/BlockCard/views/flexible/styled.js +4 -4
- package/dist/esm/view/EmbedModal/components/link-info/styled.js +4 -4
- package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +16 -12
- package/dist/esm/view/FlexibleCard/components/actions/action/index.js +3 -1
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-indicator-tooltip.js +7 -3
- package/dist/esm/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/resolved-result-stack/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/utils.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/styled.js +3 -3
- package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/styled.js +3 -3
- package/dist/esm/view/HoverCard/components/views/forbidden/styled.js +3 -3
- package/dist/esm/view/HoverCard/components/views/resolved/styled.js +3 -3
- package/dist/esm/view/HoverCard/components/views/resolving/styled.js +3 -3
- package/dist/esm/view/HoverCard/components/views/unauthorised/styled.js +3 -3
- package/dist/esm/view/HoverCard/styled.js +4 -4
- package/dist/esm/view/LinkUrl/LinkWarningModal/styled.js +1 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/RelatedLinksModal/components/related-links-list/index.js +2 -2
- package/dist/esm/view/common/ai-icon/index.js +25 -27
- package/dist/esm/view/common/ai-prism/ai-glowing-border/index.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 27.8.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#117063](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117063)
|
|
8
|
+
[`5b862e8b58b77`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5b862e8b58b77) -
|
|
9
|
+
Fix AI summary icon partly showing blue colour when redesign feature flag is enabled
|
|
10
|
+
|
|
3
11
|
## 27.8.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -22,7 +22,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
|
|
|
22
22
|
var context = exports.context = {
|
|
23
23
|
componentName: 'smart-cards',
|
|
24
24
|
packageName: "@atlaskit/smart-card",
|
|
25
|
-
packageVersion: "27.8.
|
|
25
|
+
packageVersion: "27.8.4"
|
|
26
26
|
};
|
|
27
27
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
28
28
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -10,7 +10,7 @@ var _colors = require("@atlaskit/theme/colors");
|
|
|
10
10
|
|
|
11
11
|
// in editor prosemirror adds padding-left so we need to overwrite it
|
|
12
12
|
// renderer overwrites the margin-right so we need to add it here
|
|
13
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
14
14
|
var metadataBlockCss = exports.metadataBlockCss = (0, _react.css)({
|
|
15
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
16
16
|
'span[data-smart-element-avatar-group]': {
|
|
@@ -25,7 +25,7 @@ var metadataBlockCss = exports.metadataBlockCss = (0, _react.css)({
|
|
|
25
25
|
lineHeight: '1rem'
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
29
29
|
var titleBlockCss = exports.titleBlockCss = (0, _react.css)({
|
|
30
30
|
gap: "var(--ds-space-100, 0.5em)",
|
|
31
31
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -34,7 +34,7 @@ var titleBlockCss = exports.titleBlockCss = (0, _react.css)({
|
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
37
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
38
38
|
var footerBlockCss = exports.footerBlockCss = (0, _react.css)({
|
|
39
39
|
height: '1.5rem',
|
|
40
40
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -46,7 +46,7 @@ var footerBlockCss = exports.footerBlockCss = (0, _react.css)({
|
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
49
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
50
50
|
var flexibleBlockCardStyle = exports.flexibleBlockCardStyle = (0, _react.css)({
|
|
51
51
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
52
52
|
'& > div': {
|
|
@@ -7,7 +7,7 @@ exports.titleCss = exports.iconCss = exports.containerStyles = exports.actionCss
|
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
11
11
|
var containerStyles = exports.containerStyles = (0, _react.css)({
|
|
12
12
|
alignItems: 'center',
|
|
13
13
|
display: 'flex',
|
|
@@ -22,7 +22,7 @@ var iconSize = '24px';
|
|
|
22
22
|
// EDM-7328: CSS Specificity
|
|
23
23
|
// An embed modal icon css for img, span, svg has specificity weight of 0-1-1.
|
|
24
24
|
// Specify flex ui icon selector to increase specificity weight to 0-2-1.
|
|
25
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
25
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
26
26
|
var iconCss = exports.iconCss = (0, _react.css)({
|
|
27
27
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
28
28
|
'&, [data-smart-element-icon] img, [data-smart-element-icon] span, [data-smart-element-icon] svg, img, span, svg': {
|
|
@@ -35,7 +35,7 @@ var iconCss = exports.iconCss = (0, _react.css)({
|
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
37
|
var height = '20px';
|
|
38
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
38
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
39
39
|
var titleCss = exports.titleCss = (0, _react.css)({
|
|
40
40
|
flex: '1 1 auto',
|
|
41
41
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -57,7 +57,7 @@ var titleCss = exports.titleCss = (0, _react.css)({
|
|
|
57
57
|
}
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
60
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
61
61
|
var actionCss = exports.actionCss = (0, _react.css)({
|
|
62
62
|
display: 'flex',
|
|
63
63
|
flex: '0 0 auto',
|
package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js
CHANGED
|
@@ -58,17 +58,21 @@ var ActionButton = function ActionButton(_ref) {
|
|
|
58
58
|
}),
|
|
59
59
|
size: size
|
|
60
60
|
}) : iconOption;
|
|
61
|
-
return
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
61
|
+
return (
|
|
62
|
+
/*#__PURE__*/
|
|
63
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
64
|
+
_react.default.createElement(_primitives.Pressable, (0, _extends2.default)({
|
|
65
|
+
xcss: [buttonStyles, xcss]
|
|
66
|
+
}, tooltipProps, {
|
|
67
|
+
onClick: onClick,
|
|
68
|
+
testId: testId
|
|
69
|
+
}), /*#__PURE__*/_react.default.createElement(_primitives.Inline, {
|
|
70
|
+
alignBlock: "center",
|
|
71
|
+
grow: "fill",
|
|
72
|
+
space: space
|
|
73
|
+
}, icon, /*#__PURE__*/_react.default.createElement(_primitives.Box, {
|
|
74
|
+
xcss: contentStyles
|
|
75
|
+
}, content)))
|
|
76
|
+
);
|
|
73
77
|
};
|
|
74
78
|
var _default = exports.default = ActionButton;
|
|
@@ -71,7 +71,9 @@ var Action = function Action(_ref) {
|
|
|
71
71
|
onClick: onClick,
|
|
72
72
|
size: size,
|
|
73
73
|
testId: testId,
|
|
74
|
-
tooltipMessage: tooltipMessage || content
|
|
74
|
+
tooltipMessage: tooltipMessage || content
|
|
75
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
76
|
+
,
|
|
75
77
|
xcss: xcss,
|
|
76
78
|
tooltipOnHide: tooltipOnHide,
|
|
77
79
|
hideTooltipOnMouseDown: hideTooltipOnMouseDown,
|
|
@@ -90,7 +90,7 @@ var ActionBlock = function ActionBlock(_ref) {
|
|
|
90
90
|
onError: onError,
|
|
91
91
|
onLoadingChange: onLoadingChange,
|
|
92
92
|
size: size
|
|
93
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
93
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
94
94
|
,
|
|
95
95
|
xcss: (0, _primitives.xcss)({
|
|
96
96
|
paddingInline: padding
|
|
@@ -36,9 +36,13 @@ var AIIndicatorTooltip = function AIIndicatorTooltip(_ref) {
|
|
|
36
36
|
content: content,
|
|
37
37
|
tag: "span"
|
|
38
38
|
}, function (tooltipProps) {
|
|
39
|
-
return
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
return (
|
|
40
|
+
/*#__PURE__*/
|
|
41
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
42
|
+
_react.default.createElement(_primitives.Box, (0, _extends2.default)({
|
|
43
|
+
xcss: [triggerStyles, overrideXcss]
|
|
44
|
+
}, tooltipProps), trigger)
|
|
45
|
+
);
|
|
42
46
|
});
|
|
43
47
|
};
|
|
44
48
|
var _default = exports.default = AIIndicatorTooltip;
|
|
@@ -38,7 +38,7 @@ var RelatedUrlList = function RelatedUrlList(_ref) {
|
|
|
38
38
|
var intl = (0, _reactIntlNext.useIntl)();
|
|
39
39
|
return resolvedResults.length > 0 ?
|
|
40
40
|
/*#__PURE__*/
|
|
41
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
41
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
42
42
|
_react.default.createElement(_primitives.Stack, {
|
|
43
43
|
testId: testId,
|
|
44
44
|
xcss: (0, _primitives.xcss)({
|
|
@@ -29,7 +29,7 @@ var ResolvedResultsStack = function ResolvedResultsStack(_ref) {
|
|
|
29
29
|
space: "space.050",
|
|
30
30
|
testId: "".concat(testId, "-items-wrapper"),
|
|
31
31
|
as: "ul"
|
|
32
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
32
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
33
33
|
,
|
|
34
34
|
xcss: (0, _primitives.xcss)({
|
|
35
35
|
paddingLeft: 'space.0',
|
|
@@ -85,7 +85,7 @@ var getBaseStyles = exports.getBaseStyles = function getBaseStyles(direction, si
|
|
|
85
85
|
});
|
|
86
86
|
};
|
|
87
87
|
|
|
88
|
-
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles
|
|
88
|
+
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
89
89
|
var highlightRemoveStyles = exports.highlightRemoveStyles = (0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\toutline: none !important;\n\toutline-color: inherit;\n\tcolor: inherit;\n\t-webkit-tap-highlight-color: transparent;\n\t-webkit-touch-callout: none;\n\t-webkit-user-select: none;\n\t-moz-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none;\n"])));
|
|
90
90
|
var isActionGroup = function isActionGroup(node) {
|
|
91
91
|
return /*#__PURE__*/_react.default.isValidElement(node) && node.type === _actionGroup.default;
|
|
@@ -9,7 +9,7 @@ var _colors = require("@atlaskit/theme/colors");
|
|
|
9
9
|
var _utils = require("../../../../utils");
|
|
10
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
11
|
|
|
12
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
12
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
13
13
|
var dropdownItemGroupStyles = exports.dropdownItemGroupStyles = (0, _react.css)({
|
|
14
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
15
15
|
button: {
|
|
@@ -30,7 +30,7 @@ var sharedBlockStyles = (0, _react.css)({
|
|
|
30
30
|
alignItems: 'center'
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/
|
|
33
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
34
34
|
var contentStyles = exports.contentStyles = (0, _react.css)(sharedBlockStyles, {
|
|
35
35
|
marginTop: "var(--ds-space-025, 2px)",
|
|
36
36
|
alignItems: 'flex-start',
|
|
@@ -42,7 +42,7 @@ var contentStyles = exports.contentStyles = (0, _react.css)(sharedBlockStyles, {
|
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
|
|
45
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/
|
|
45
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
46
46
|
var linkStyles = exports.linkStyles = (0, _react.css)(sharedBlockStyles, {
|
|
47
47
|
cursor: 'pointer',
|
|
48
48
|
fontSize: '0.875rem',
|
|
@@ -7,7 +7,7 @@ exports.triggerLozengeStyles = exports.triggerButtonStyles = exports.dropdownIte
|
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
11
11
|
var triggerButtonStyles = exports.triggerButtonStyles = (0, _react.css)({
|
|
12
12
|
all: 'unset',
|
|
13
13
|
backgroundColor: 'transparent',
|
|
@@ -31,7 +31,7 @@ var triggerButtonStyles = exports.triggerButtonStyles = (0, _react.css)({
|
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
33
|
|
|
34
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-exported-styles
|
|
34
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
35
35
|
var triggerLozengeStyles = exports.triggerLozengeStyles = (0, _react.css)({
|
|
36
36
|
alignItems: 'center',
|
|
37
37
|
display: 'flex',
|
|
@@ -41,7 +41,7 @@ var triggerLozengeStyles = exports.triggerLozengeStyles = (0, _react.css)({
|
|
|
41
41
|
}
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
44
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
45
45
|
var dropdownItemGroupStyles = exports.dropdownItemGroupStyles = (0, _react.css)({
|
|
46
46
|
maxHeight: '300px',
|
|
47
47
|
overflowY: 'auto',
|
|
@@ -9,14 +9,14 @@ var _react = require("@emotion/react");
|
|
|
9
9
|
|
|
10
10
|
var titleFontWeight = '600';
|
|
11
11
|
|
|
12
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
12
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
13
13
|
var titleBlockStyles = exports.titleBlockStyles = (0, _react.css)({
|
|
14
14
|
justifyContent: 'center',
|
|
15
15
|
fontWeight: titleFontWeight,
|
|
16
16
|
marginTop: "var(--ds-space-100, 8px)"
|
|
17
17
|
});
|
|
18
18
|
|
|
19
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
19
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
20
20
|
var mainTextStyles = exports.mainTextStyles = (0, _react.css)({
|
|
21
21
|
display: 'inline',
|
|
22
22
|
justifyContent: 'center',
|
|
@@ -25,7 +25,7 @@ var mainTextStyles = exports.mainTextStyles = (0, _react.css)({
|
|
|
25
25
|
textAlign: 'center'
|
|
26
26
|
});
|
|
27
27
|
|
|
28
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
29
29
|
var connectButtonStyles = exports.connectButtonStyles = (0, _react.css)({
|
|
30
30
|
justifyContent: 'center',
|
|
31
31
|
marginTop: "var(--ds-space-100, 8px)"
|
|
@@ -11,15 +11,15 @@ var _styled = require("../../../styled");
|
|
|
11
11
|
var _templateObject; // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
12
|
var elementGap = '0.5rem';
|
|
13
13
|
|
|
14
|
-
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles
|
|
14
|
+
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
15
15
|
var metadataBlockCss = exports.metadataBlockCss = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tgap: 0px;\n\t/* primary element group */\n\t[data-smart-element-group]:nth-of-type(1) {\n\t\tflex-grow: 7;\n\n\t\t// a separator between text-based element\n\t\t", "\n\n\t\t/* horizontal spacing between elements in group */\n > span {\n\t\t\tmargin-right: ", ";\n\t\t}\n\t}\n\t/* secondary element group */\n\t[data-smart-element-group]:nth-of-type(2) {\n\t\tflex-grow: 3;\n\t\t/* horizontal spacing between elements in group */\n\t\t> span {\n\t\t\tmargin-left: ", ";\n\t\t}\n\t}\n\n\t[data-smart-element-group] {\n\t\tline-height: 1rem;\n\t}\n"])), _styled.separatorCss, elementGap, elementGap);
|
|
16
16
|
|
|
17
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
18
18
|
var footerBlockCss = exports.footerBlockCss = (0, _react.css)({
|
|
19
19
|
height: '1.5rem'
|
|
20
20
|
});
|
|
21
21
|
|
|
22
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
23
23
|
var hiddenSnippetStyles = exports.hiddenSnippetStyles = (0, _react.css)({
|
|
24
24
|
visibility: 'hidden',
|
|
25
25
|
position: 'absolute'
|
|
@@ -7,14 +7,14 @@ exports.titleBlockStyles = exports.skeletonContainer = exports.loadingViewContai
|
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
11
11
|
var loadingViewContainer = exports.loadingViewContainer = (0, _react.css)({
|
|
12
12
|
display: 'flex',
|
|
13
13
|
flexDirection: 'column',
|
|
14
14
|
padding: "var(--ds-space-200, 1rem)"
|
|
15
15
|
});
|
|
16
16
|
|
|
17
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
18
18
|
var skeletonContainer = exports.skeletonContainer = (0, _react.css)({
|
|
19
19
|
display: 'flex',
|
|
20
20
|
flexDirection: 'column',
|
|
@@ -34,7 +34,7 @@ var getTitleStyles = exports.getTitleStyles = function getTitleStyles(height) {
|
|
|
34
34
|
});
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
37
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
38
38
|
var titleBlockStyles = exports.titleBlockStyles = (0, _react.css)({
|
|
39
39
|
width: '100%',
|
|
40
40
|
gap: "var(--ds-space-100, 0.5rem)"
|
|
@@ -11,13 +11,13 @@ var blockGap = '0.5rem';
|
|
|
11
11
|
var iconGap = '0.5rem';
|
|
12
12
|
var titleFontWeight = '500';
|
|
13
13
|
|
|
14
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
15
15
|
var connectButtonStyles = exports.connectButtonStyles = (0, _react.css)({
|
|
16
16
|
justifyContent: 'flex-end',
|
|
17
17
|
marginTop: blockGap
|
|
18
18
|
});
|
|
19
19
|
|
|
20
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
20
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
21
21
|
var titleBlockStyles = exports.titleBlockStyles = (0, _react.css)({
|
|
22
22
|
gap: "".concat(blockGap, " ").concat(iconGap),
|
|
23
23
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -26,7 +26,7 @@ var titleBlockStyles = exports.titleBlockStyles = (0, _react.css)({
|
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
|
|
29
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
29
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
30
30
|
var mainTextStyles = exports.mainTextStyles = (0, _react.css)({
|
|
31
31
|
marginTop: blockGap,
|
|
32
32
|
fontSize: '0.75rem'
|
|
@@ -28,7 +28,7 @@ var CARD_GAP_PX = exports.CARD_GAP_PX = 10;
|
|
|
28
28
|
var blockGap = '0.5rem';
|
|
29
29
|
var elementGap = '0.5rem';
|
|
30
30
|
|
|
31
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
32
32
|
var separatorCss = exports.separatorCss = (0, _react.css)({
|
|
33
33
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
34
34
|
'[data-separator] + [data-separator]:before': {
|
|
@@ -36,10 +36,10 @@ var separatorCss = exports.separatorCss = (0, _react.css)({
|
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
|
|
39
|
-
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles
|
|
39
|
+
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
40
40
|
var HoverCardContainer = exports.HoverCardContainer = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tbackground: none;\n\tborder-width: 0;\n\tbox-sizing: border-box;\n\twidth: ", "rem;\n\n\t.", " {\n\t\tdisplay: none;\n\t}\n"])), (0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.smart-card.hover-card-ai-summaries') ? NEW_CARD_WIDTH_REM : CARD_WIDTH_REM, _index.loadingPlaceholderClassName);
|
|
41
41
|
|
|
42
|
-
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles
|
|
42
|
+
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
43
43
|
var titleBlockCss = exports.titleBlockCss = (0, _react.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n\tgap: ", ";\n\n\t", "\n\n\t// title and subtitle element group\n [data-smart-element-group] {\n\t\t// gap between title and subtitle\n\t\tgap: 0.06rem;\n\t\tdisplay: flex;\n\t\t/* subtitle element group */\n\t\t> [data-smart-element-group] {\n\t\t\t> span {\n\t\t\t\tmargin-right: ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t[data-smart-element='Title'] {\n\t\tfont-weight: 600;\n\t}\n"])), blockGap, separatorCss, elementGap);
|
|
44
44
|
var getTransitionStyles = exports.getTransitionStyles = function getTransitionStyles(snippetHeight) {
|
|
45
45
|
return (0, _react.css)({
|
|
@@ -49,7 +49,7 @@ var getTransitionStyles = exports.getTransitionStyles = function getTransitionSt
|
|
|
49
49
|
});
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
52
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
53
53
|
var popupContainerStyles = exports.popupContainerStyles = (0, _react.css)({
|
|
54
54
|
borderRadius: "var(--ds-border-radius-200, 8px)",
|
|
55
55
|
backgroundColor: "var(--ds-surface-overlay, white)",
|
|
@@ -7,7 +7,7 @@ exports.breakWordsCss = void 0;
|
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
11
11
|
var breakWordsCss = exports.breakWordsCss = (0, _react.css)({
|
|
12
12
|
whiteSpace: 'pre-line',
|
|
13
13
|
wordBreak: 'break-all'
|
|
@@ -17,7 +17,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId"],
|
|
|
17
17
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
18
18
|
var PACKAGE_DATA = {
|
|
19
19
|
packageName: "@atlaskit/smart-card",
|
|
20
|
-
packageVersion: "27.8.
|
|
20
|
+
packageVersion: "27.8.4",
|
|
21
21
|
componentName: 'linkUrl'
|
|
22
22
|
};
|
|
23
23
|
var Link = (0, _click.withLinkClickedEvent)('a');
|
|
@@ -22,7 +22,7 @@ var RelatedLinksList = function RelatedLinksList(_ref) {
|
|
|
22
22
|
testId: testId
|
|
23
23
|
}, (0, _react.jsx)(_primitives.Box, {
|
|
24
24
|
paddingBlockStart: "space.050"
|
|
25
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
25
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
26
26
|
,
|
|
27
27
|
xcss: (0, _primitives.xcss)({
|
|
28
28
|
font: "var(--ds-font-heading-xxsmall, normal 600 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
@@ -36,7 +36,7 @@ var RelatedLinksList = function RelatedLinksList(_ref) {
|
|
|
36
36
|
testId: "".concat(testId, "-item-").concat(idx)
|
|
37
37
|
}));
|
|
38
38
|
})), urls.length === 0 &&
|
|
39
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
40
40
|
(0, _react.jsx)(_primitives.Box, {
|
|
41
41
|
paddingBlock: "space.100",
|
|
42
42
|
xcss: (0, _primitives.xcss)({
|
|
@@ -15,8 +15,6 @@ var _colors = require("@atlaskit/theme/colors");
|
|
|
15
15
|
* with modifications
|
|
16
16
|
*/
|
|
17
17
|
var AiIcon = function AiIcon(props) {
|
|
18
|
-
var iconColor = (0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.smart-card.hover-card-action-redesign') ? "var(--ds-icon, #44546F)" : "var(--ds-icon-accent-blue, ".concat(_colors.B200, ")");
|
|
19
|
-
var textColor = (0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.smart-card.hover-card-action-redesign') ? "var(--ds-icon, #44546F)" : "var(--ds-text-accent-blue, ".concat(_colors.B400, ")");
|
|
20
18
|
return /*#__PURE__*/_react.default.createElement(_svg.default, props, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
|
|
21
19
|
id: "ai_icon_lg0",
|
|
22
20
|
x1: "21",
|
|
@@ -26,12 +24,12 @@ var AiIcon = function AiIcon(props) {
|
|
|
26
24
|
gradientUnits: "userSpaceOnUse"
|
|
27
25
|
}, /*#__PURE__*/_react.default.createElement("stop", {
|
|
28
26
|
offset: "0.270833",
|
|
29
|
-
stopColor:
|
|
30
|
-
color:
|
|
27
|
+
stopColor: "var(--ds-icon-accent-blue, ".concat(_colors.B200, ")"),
|
|
28
|
+
color: "var(--ds-icon-accent-blue, ".concat(_colors.B200, ")")
|
|
31
29
|
}), /*#__PURE__*/_react.default.createElement("stop", {
|
|
32
30
|
offset: "1",
|
|
33
|
-
stopColor:
|
|
34
|
-
color:
|
|
31
|
+
stopColor: "var(--ds-text-accent-blue, ".concat(_colors.B400, ")"),
|
|
32
|
+
color: "var(--ds-text-accent-blue, ".concat(_colors.B400, ")")
|
|
35
33
|
})), /*#__PURE__*/_react.default.createElement("linearGradient", {
|
|
36
34
|
id: "ai_icon_lg1",
|
|
37
35
|
x1: "12.5",
|
|
@@ -41,12 +39,12 @@ var AiIcon = function AiIcon(props) {
|
|
|
41
39
|
gradientUnits: "userSpaceOnUse"
|
|
42
40
|
}, /*#__PURE__*/_react.default.createElement("stop", {
|
|
43
41
|
offset: "0.1875",
|
|
44
|
-
stopColor:
|
|
45
|
-
color:
|
|
42
|
+
stopColor: "var(--ds-icon-accent-blue, ".concat(_colors.B200, ")"),
|
|
43
|
+
color: "var(--ds-icon-accent-blue, ".concat(_colors.B200, ")")
|
|
46
44
|
}), /*#__PURE__*/_react.default.createElement("stop", {
|
|
47
45
|
offset: "1",
|
|
48
|
-
stopColor:
|
|
49
|
-
color:
|
|
46
|
+
stopColor: "var(--ds-text-accent-blue, ".concat(_colors.B400, ")"),
|
|
47
|
+
color: "var(--ds-text-accent-blue, ".concat(_colors.B400, ")")
|
|
50
48
|
})), /*#__PURE__*/_react.default.createElement("linearGradient", {
|
|
51
49
|
id: "ai_icon_lg2",
|
|
52
50
|
x1: "6.82996",
|
|
@@ -55,12 +53,12 @@ var AiIcon = function AiIcon(props) {
|
|
|
55
53
|
y2: "12",
|
|
56
54
|
gradientUnits: "userSpaceOnUse"
|
|
57
55
|
}, /*#__PURE__*/_react.default.createElement("stop", {
|
|
58
|
-
stopColor:
|
|
59
|
-
color:
|
|
56
|
+
stopColor: "var(--ds-text-accent-blue, ".concat(_colors.B400, ")"),
|
|
57
|
+
color: "var(--ds-text-accent-blue, ".concat(_colors.B400, ")")
|
|
60
58
|
}), /*#__PURE__*/_react.default.createElement("stop", {
|
|
61
59
|
offset: "0.791667",
|
|
62
|
-
stopColor:
|
|
63
|
-
color:
|
|
60
|
+
stopColor: "var(--ds-icon-accent-blue, ".concat(_colors.B200, ")"),
|
|
61
|
+
color: "var(--ds-icon-accent-blue, ".concat(_colors.B200, ")")
|
|
64
62
|
})), /*#__PURE__*/_react.default.createElement("linearGradient", {
|
|
65
63
|
id: "ai_icon_lg3",
|
|
66
64
|
x1: "12.5",
|
|
@@ -69,52 +67,52 @@ var AiIcon = function AiIcon(props) {
|
|
|
69
67
|
y2: "21",
|
|
70
68
|
gradientUnits: "userSpaceOnUse"
|
|
71
69
|
}, /*#__PURE__*/_react.default.createElement("stop", {
|
|
72
|
-
stopColor:
|
|
73
|
-
color:
|
|
70
|
+
stopColor: "var(--ds-text-accent-blue, ".concat(_colors.B400, ")"),
|
|
71
|
+
color: "var(--ds-text-accent-blue, ".concat(_colors.B400, ")")
|
|
74
72
|
}), /*#__PURE__*/_react.default.createElement("stop", {
|
|
75
73
|
offset: "0.802083",
|
|
76
|
-
stopColor:
|
|
77
|
-
color:
|
|
74
|
+
stopColor: "var(--ds-icon-accent-blue, ".concat(_colors.B200, ")"),
|
|
75
|
+
color: "var(--ds-icon-accent-blue, ".concat(_colors.B200, ")")
|
|
78
76
|
}))), /*#__PURE__*/_react.default.createElement("g", null, /*#__PURE__*/_react.default.createElement("path", {
|
|
79
77
|
fillRule: "evenodd",
|
|
80
78
|
clipRule: "evenodd",
|
|
81
79
|
d: "M17.17 12C17.17 11.4477 17.6177 11 18.17 11H20C20.5523 11 21 11.4477 21 12C21 12.5523 20.5523 13 20 13H18.17C17.6177 13 17.17 12.5523 17.17 12Z",
|
|
82
|
-
fill: "url(#ai_icon_lg0)
|
|
80
|
+
fill: (0, _platformFeatureFlags.fg)('platform.linking-platform.smart-card.hover-card-action-redesign') ? "var(--ds-icon, #44546F)" : 'url(#ai_icon_lg0)'
|
|
83
81
|
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
84
82
|
fillRule: "evenodd",
|
|
85
83
|
clipRule: "evenodd",
|
|
86
84
|
d: "M12 3C12.5523 3 13 3.44772 13 4V5.83C13 6.38228 12.5523 6.83 12 6.83C11.4477 6.83 11 6.38228 11 5.83V4C11 3.44772 11.4477 3 12 3Z",
|
|
87
|
-
fill: "url(#ai_icon_lg1)
|
|
85
|
+
fill: (0, _platformFeatureFlags.fg)('platform.linking-platform.smart-card.hover-card-action-redesign') ? "var(--ds-icon, #44546F)" : 'url(#ai_icon_lg1)'
|
|
88
86
|
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
89
87
|
fillRule: "evenodd",
|
|
90
88
|
clipRule: "evenodd",
|
|
91
89
|
d: "M3 12C3 11.4477 3.44772 11 4 11H5.83C6.38228 11 6.83 11.4477 6.83 12C6.83 12.5523 6.38228 13 5.83 13H4C3.44772 13 3 12.5523 3 12Z",
|
|
92
|
-
fill: "url(#ai_icon_lg2)
|
|
90
|
+
fill: (0, _platformFeatureFlags.fg)('platform.linking-platform.smart-card.hover-card-action-redesign') ? "var(--ds-icon, #44546F)" : 'url(#ai_icon_lg2)'
|
|
93
91
|
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
94
92
|
fillRule: "evenodd",
|
|
95
93
|
clipRule: "evenodd",
|
|
96
94
|
d: "M12 17.17C12.5523 17.17 13 17.6177 13 18.17V20C13 20.5523 12.5523 21 12 21C11.4477 21 11 20.5523 11 20V18.17C11 17.6177 11.4477 17.17 12 17.17Z",
|
|
97
|
-
fill: "url(#ai_icon_lg3)
|
|
95
|
+
fill: (0, _platformFeatureFlags.fg)('platform.linking-platform.smart-card.hover-card-action-redesign') ? "var(--ds-icon, #44546F)" : 'url(#ai_icon_lg3)'
|
|
98
96
|
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
99
97
|
fillRule: "evenodd",
|
|
100
98
|
clipRule: "evenodd",
|
|
101
99
|
d: "M14.2929 14.2929C14.6835 13.9024 15.3166 13.9024 15.7071 14.2929L19.7071 18.2929C20.0977 18.6834 20.0977 19.3166 19.7071 19.7071C19.3166 20.0976 18.6835 20.0976 18.2929 19.7071L14.2929 15.7071C13.9024 15.3166 13.9024 14.6834 14.2929 14.2929Z",
|
|
102
|
-
fill:
|
|
100
|
+
fill: (0, _platformFeatureFlags.fg)('platform.linking-platform.smart-card.hover-card-action-redesign') ? "var(--ds-icon, #44546F)" : "var(--ds-icon-accent-blue, ".concat(_colors.B200, ")")
|
|
103
101
|
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
104
102
|
fillRule: "evenodd",
|
|
105
103
|
clipRule: "evenodd",
|
|
106
104
|
d: "M19.7071 4.29289C20.0977 4.68342 20.0977 5.31658 19.7071 5.70711L15.7071 9.70711C15.3166 10.0976 14.6835 10.0976 14.2929 9.70711C13.9024 9.31658 13.9024 8.68342 14.2929 8.29289L18.2929 4.29289C18.6835 3.90237 19.3166 3.90237 19.7071 4.29289Z",
|
|
107
|
-
fill:
|
|
105
|
+
fill: (0, _platformFeatureFlags.fg)('platform.linking-platform.smart-card.hover-card-action-redesign') ? "var(--ds-icon, #44546F)" : "var(--ds-icon-accent-blue, ".concat(_colors.B200, ")")
|
|
108
106
|
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
109
107
|
fillRule: "evenodd",
|
|
110
108
|
clipRule: "evenodd",
|
|
111
109
|
d: "M4.29289 4.29289C4.68342 3.90237 5.31658 3.90237 5.70711 4.29289L9.70711 8.29289C10.0976 8.68342 10.0976 9.31658 9.70711 9.70711C9.31658 10.0976 8.68342 10.0976 8.29289 9.70711L4.29289 5.70711C3.90237 5.31658 3.90237 4.68342 4.29289 4.29289Z",
|
|
112
|
-
fill:
|
|
110
|
+
fill: (0, _platformFeatureFlags.fg)('platform.linking-platform.smart-card.hover-card-action-redesign') ? "var(--ds-icon, #44546F)" : "var(--ds-icon-accent-blue, ".concat(_colors.B200, ")")
|
|
113
111
|
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
114
112
|
fillRule: "evenodd",
|
|
115
113
|
clipRule: "evenodd",
|
|
116
114
|
d: "M9.70711 14.2929C10.0976 14.6834 10.0976 15.3166 9.70711 15.7071L5.70711 19.7071C5.31658 20.0976 4.68342 20.0976 4.29289 19.7071C3.90237 19.3166 3.90237 18.6834 4.29289 18.2929L8.29289 14.2929C8.68342 13.9024 9.31658 13.9024 9.70711 14.2929Z",
|
|
117
|
-
fill:
|
|
115
|
+
fill: (0, _platformFeatureFlags.fg)('platform.linking-platform.smart-card.hover-card-action-redesign') ? "var(--ds-icon, #44546F)" : "var(--ds-icon-accent-blue, ".concat(_colors.B200, ")")
|
|
118
116
|
})));
|
|
119
117
|
};
|
|
120
118
|
var _default = exports.default = AiIcon;
|
|
@@ -19,7 +19,7 @@ var borderContainerStyles = (0, _react.css)({
|
|
|
19
19
|
width: 'fit-content'
|
|
20
20
|
});
|
|
21
21
|
|
|
22
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
23
23
|
var borderContentStyles = exports.borderContentStyles = (0, _react.css)({
|
|
24
24
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
25
25
|
borderRadius: _constants.INNER_BORDER_RADIUS,
|
|
@@ -4,7 +4,7 @@ export const ANALYTICS_CHANNEL = 'media';
|
|
|
4
4
|
export const context = {
|
|
5
5
|
componentName: 'smart-cards',
|
|
6
6
|
packageName: "@atlaskit/smart-card",
|
|
7
|
-
packageVersion: "27.8.
|
|
7
|
+
packageVersion: "27.8.4"
|
|
8
8
|
};
|
|
9
9
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -4,7 +4,7 @@ import { N40 } from '@atlaskit/theme/colors';
|
|
|
4
4
|
|
|
5
5
|
// in editor prosemirror adds padding-left so we need to overwrite it
|
|
6
6
|
// renderer overwrites the margin-right so we need to add it here
|
|
7
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
8
8
|
export const metadataBlockCss = css({
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
10
10
|
'span[data-smart-element-avatar-group]': {
|
|
@@ -19,7 +19,7 @@ export const metadataBlockCss = css({
|
|
|
19
19
|
lineHeight: '1rem'
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
23
23
|
export const titleBlockCss = css({
|
|
24
24
|
gap: "var(--ds-space-100, 0.5em)",
|
|
25
25
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -28,7 +28,7 @@ export const titleBlockCss = css({
|
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
32
32
|
export const footerBlockCss = css({
|
|
33
33
|
height: '1.5rem',
|
|
34
34
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -40,7 +40,7 @@ export const footerBlockCss = css({
|
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
43
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
44
44
|
export const flexibleBlockCardStyle = css({
|
|
45
45
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
46
46
|
'& > div': {
|