@atlaskit/smart-card 27.8.3 → 27.9.0
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/flexible/styled.js +4 -4
- package/dist/cjs/view/CardWithUrl/component.js +3 -0
- package/dist/cjs/view/CardWithUrl/loader.js +2 -0
- 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/container/hover-card-control/index.js +4 -2
- package/dist/cjs/view/FlexibleCard/components/container/index.js +3 -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/FlexibleCard/index.js +2 -0
- package/dist/cjs/view/HoverCard/components/HoverCardComponent.js +6 -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/InlineCard/ResolvedView/index.js +3 -1
- package/dist/cjs/view/InlineCard/index.js +2 -0
- 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/CardWithUrl/component.js +3 -0
- package/dist/es2019/view/CardWithUrl/loader.js +2 -0
- 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/container/hover-card-control/index.js +4 -2
- package/dist/es2019/view/FlexibleCard/components/container/index.js +3 -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/FlexibleCard/index.js +2 -0
- package/dist/es2019/view/HoverCard/components/HoverCardComponent.js +6 -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/InlineCard/ResolvedView/index.js +3 -1
- package/dist/es2019/view/InlineCard/index.js +2 -0
- 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/CardWithUrl/component.js +3 -0
- package/dist/esm/view/CardWithUrl/loader.js +2 -0
- 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/container/hover-card-control/index.js +4 -2
- package/dist/esm/view/FlexibleCard/components/container/index.js +3 -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/FlexibleCard/index.js +2 -0
- package/dist/esm/view/HoverCard/components/HoverCardComponent.js +6 -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/InlineCard/ResolvedView/index.js +3 -1
- package/dist/esm/view/InlineCard/index.js +2 -0
- 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/dist/types/view/Card/index.d.ts +1 -1
- package/dist/types/view/Card/types.d.ts +2 -0
- package/dist/types/view/CardWithUrl/types.d.ts +2 -0
- package/dist/types/view/FlexibleCard/components/container/hover-card-control/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/container/hover-card-control/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/container/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/container/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/types.d.ts +5 -0
- package/dist/types/view/HoverCard/types.d.ts +7 -0
- package/dist/types/view/InlineCard/ResolvedView/index.d.ts +2 -0
- package/dist/types/view/InlineCard/types.d.ts +2 -0
- package/dist/types-ts4.5/view/Card/index.d.ts +1 -1
- package/dist/types-ts4.5/view/Card/types.d.ts +2 -0
- package/dist/types-ts4.5/view/CardWithUrl/types.d.ts +2 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/container/hover-card-control/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/container/hover-card-control/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/container/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/container/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/types.d.ts +5 -0
- package/dist/types-ts4.5/view/HoverCard/types.d.ts +7 -0
- package/dist/types-ts4.5/view/InlineCard/ResolvedView/index.d.ts +2 -0
- package/dist/types-ts4.5/view/InlineCard/types.d.ts +2 -0
- package/package.json +12 -11
|
@@ -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.
|
|
7
|
+
packageVersion: "27.9.0"
|
|
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': {
|
|
@@ -39,6 +39,7 @@ function Component({
|
|
|
39
39
|
ui,
|
|
40
40
|
children,
|
|
41
41
|
showHoverPreview,
|
|
42
|
+
hoverPreviewOptions,
|
|
42
43
|
showAuthTooltip,
|
|
43
44
|
analyticsEvents,
|
|
44
45
|
useLegacyBlockCard
|
|
@@ -185,6 +186,7 @@ function Component({
|
|
|
185
186
|
renderers: renderers,
|
|
186
187
|
ui: ui,
|
|
187
188
|
showHoverPreview: showHoverPreview,
|
|
189
|
+
hoverPreviewOptions: hoverPreviewOptions,
|
|
188
190
|
showAuthTooltip: showAuthTooltip,
|
|
189
191
|
actionOptions: actionOptions,
|
|
190
192
|
url: url,
|
|
@@ -216,6 +218,7 @@ function Component({
|
|
|
216
218
|
testId: testId,
|
|
217
219
|
inlinePreloaderStyle: inlinePreloaderStyle,
|
|
218
220
|
showHoverPreview: showHoverPreview,
|
|
221
|
+
hoverPreviewOptions: hoverPreviewOptions,
|
|
219
222
|
showAuthTooltip: showAuthTooltip,
|
|
220
223
|
actionOptions: actionOptions
|
|
221
224
|
});
|
|
@@ -39,6 +39,7 @@ export function CardWithURLRenderer(props) {
|
|
|
39
39
|
children,
|
|
40
40
|
ui,
|
|
41
41
|
showHoverPreview,
|
|
42
|
+
hoverPreviewOptions,
|
|
42
43
|
showAuthTooltip,
|
|
43
44
|
analyticsEvents,
|
|
44
45
|
placeholder,
|
|
@@ -108,6 +109,7 @@ export function CardWithURLRenderer(props) {
|
|
|
108
109
|
inlinePreloaderStyle,
|
|
109
110
|
ui,
|
|
110
111
|
showHoverPreview,
|
|
112
|
+
hoverPreviewOptions,
|
|
111
113
|
showAuthTooltip,
|
|
112
114
|
analyticsEvents,
|
|
113
115
|
placeholder,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
4
4
|
export const containerStyles = css({
|
|
5
5
|
alignItems: 'center',
|
|
6
6
|
display: 'flex',
|
|
@@ -15,7 +15,7 @@ const iconSize = '24px';
|
|
|
15
15
|
// EDM-7328: CSS Specificity
|
|
16
16
|
// An embed modal icon css for img, span, svg has specificity weight of 0-1-1.
|
|
17
17
|
// Specify flex ui icon selector to increase specificity weight to 0-2-1.
|
|
18
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
19
19
|
export const iconCss = css({
|
|
20
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
21
21
|
'&, [data-smart-element-icon] img, [data-smart-element-icon] span, [data-smart-element-icon] svg, img, span, svg': {
|
|
@@ -28,7 +28,7 @@ export const iconCss = css({
|
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
const height = '20px';
|
|
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 titleCss = css({
|
|
33
33
|
flex: '1 1 auto',
|
|
34
34
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -50,7 +50,7 @@ export const titleCss = css({
|
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
53
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
54
54
|
export const actionCss = css({
|
|
55
55
|
display: 'flex',
|
|
56
56
|
flex: '0 0 auto',
|
package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js
CHANGED
|
@@ -50,17 +50,21 @@ const ActionButton = ({
|
|
|
50
50
|
}),
|
|
51
51
|
size: size
|
|
52
52
|
}) : iconOption;
|
|
53
|
-
return
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
53
|
+
return (
|
|
54
|
+
/*#__PURE__*/
|
|
55
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
56
|
+
React.createElement(Pressable, _extends({
|
|
57
|
+
xcss: [buttonStyles, xcss]
|
|
58
|
+
}, tooltipProps, {
|
|
59
|
+
onClick: onClick,
|
|
60
|
+
testId: testId
|
|
61
|
+
}), /*#__PURE__*/React.createElement(Inline, {
|
|
62
|
+
alignBlock: "center",
|
|
63
|
+
grow: "fill",
|
|
64
|
+
space: space
|
|
65
|
+
}, icon, /*#__PURE__*/React.createElement(Box, {
|
|
66
|
+
xcss: contentStyles
|
|
67
|
+
}, content)))
|
|
68
|
+
);
|
|
65
69
|
};
|
|
66
70
|
export default ActionButton;
|
|
@@ -60,7 +60,9 @@ const Action = ({
|
|
|
60
60
|
onClick: onClick,
|
|
61
61
|
size: size,
|
|
62
62
|
testId: testId,
|
|
63
|
-
tooltipMessage: tooltipMessage || content
|
|
63
|
+
tooltipMessage: tooltipMessage || content
|
|
64
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
65
|
+
,
|
|
64
66
|
xcss: xcss,
|
|
65
67
|
tooltipOnHide: tooltipOnHide,
|
|
66
68
|
hideTooltipOnMouseDown: hideTooltipOnMouseDown,
|
|
@@ -70,7 +70,7 @@ const ActionBlock = ({
|
|
|
70
70
|
onError: onError,
|
|
71
71
|
onLoadingChange: onLoadingChange,
|
|
72
72
|
size: size
|
|
73
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
73
|
+
// 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
|
|
74
74
|
,
|
|
75
75
|
xcss: xcss({
|
|
76
76
|
paddingInline: padding
|
|
@@ -25,7 +25,10 @@ const AIIndicatorTooltip = ({
|
|
|
25
25
|
component: AIIndicatorTooltipPrimitive,
|
|
26
26
|
content: content,
|
|
27
27
|
tag: "span"
|
|
28
|
-
}, tooltipProps =>
|
|
28
|
+
}, tooltipProps =>
|
|
29
|
+
/*#__PURE__*/
|
|
30
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
31
|
+
React.createElement(Box, _extends({
|
|
29
32
|
xcss: [triggerStyles, overrideXcss]
|
|
30
33
|
}, tooltipProps), trigger));
|
|
31
34
|
};
|
|
@@ -22,7 +22,7 @@ const RelatedUrlList = ({
|
|
|
22
22
|
const intl = useIntl();
|
|
23
23
|
return resolvedResults.length > 0 ?
|
|
24
24
|
/*#__PURE__*/
|
|
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
|
React.createElement(Stack, {
|
|
27
27
|
testId: testId,
|
|
28
28
|
xcss: xcss({
|
|
@@ -21,7 +21,7 @@ const ResolvedResultsStack = ({
|
|
|
21
21
|
space: "space.050",
|
|
22
22
|
testId: `${testId}-items-wrapper`,
|
|
23
23
|
as: "ul"
|
|
24
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
24
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
25
25
|
,
|
|
26
26
|
xcss: xcss({
|
|
27
27
|
paddingLeft: 'space.0',
|
|
@@ -104,7 +104,7 @@ getDirectionStyles(direction), {
|
|
|
104
104
|
}
|
|
105
105
|
});
|
|
106
106
|
|
|
107
|
-
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles
|
|
107
|
+
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
108
108
|
export const highlightRemoveStyles = css`
|
|
109
109
|
outline: none !important;
|
|
110
110
|
outline-color: inherit;
|
|
@@ -10,7 +10,8 @@ const HoverCardControl = ({
|
|
|
10
10
|
actionOptions,
|
|
11
11
|
testId,
|
|
12
12
|
url,
|
|
13
|
-
delay = FLEXIBLE_HOVER_CARD_CAN_OPEN_DELAY
|
|
13
|
+
delay = FLEXIBLE_HOVER_CARD_CAN_OPEN_DELAY,
|
|
14
|
+
hoverPreviewOptions
|
|
14
15
|
}) => {
|
|
15
16
|
const [canOpen, setCanOpen] = useState(true);
|
|
16
17
|
const mouseStopTimer = useRef();
|
|
@@ -55,7 +56,8 @@ const HoverCardControl = ({
|
|
|
55
56
|
closeOnChildClick: true,
|
|
56
57
|
hidePreviewButton: hideHoverCardPreviewButton,
|
|
57
58
|
actionOptions: actionOptions,
|
|
58
|
-
url: url
|
|
59
|
+
url: url,
|
|
60
|
+
hoverPreviewOptions: hoverPreviewOptions
|
|
59
61
|
}, /*#__PURE__*/React.createElement("span", {
|
|
60
62
|
onMouseLeave: onMouseLeave,
|
|
61
63
|
onMouseMove: onMouseMove,
|
|
@@ -189,6 +189,7 @@ const Container = ({
|
|
|
189
189
|
retry,
|
|
190
190
|
showAuthTooltip = false,
|
|
191
191
|
showHoverPreview = false,
|
|
192
|
+
hoverPreviewOptions,
|
|
192
193
|
actionOptions,
|
|
193
194
|
size = SmartLinkSize.Medium,
|
|
194
195
|
status,
|
|
@@ -214,7 +215,8 @@ const Container = ({
|
|
|
214
215
|
isAuthTooltip: canShowAuthTooltip,
|
|
215
216
|
actionOptions: actionOptions,
|
|
216
217
|
testId: testId,
|
|
217
|
-
url: context.url
|
|
218
|
+
url: context.url,
|
|
219
|
+
hoverPreviewOptions: hoverPreviewOptions
|
|
218
220
|
}, container);
|
|
219
221
|
}
|
|
220
222
|
return container;
|
|
@@ -3,7 +3,7 @@ import { css } from '@emotion/react';
|
|
|
3
3
|
import { N800 } from '@atlaskit/theme/colors';
|
|
4
4
|
import { getTruncateStyles } from '../../../../utils';
|
|
5
5
|
|
|
6
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
7
7
|
export const dropdownItemGroupStyles = css({
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
9
9
|
button: {
|
|
@@ -24,7 +24,7 @@ const sharedBlockStyles = css({
|
|
|
24
24
|
alignItems: 'center'
|
|
25
25
|
});
|
|
26
26
|
|
|
27
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
28
28
|
export const contentStyles = css(sharedBlockStyles, {
|
|
29
29
|
marginTop: "var(--ds-space-025, 2px)",
|
|
30
30
|
alignItems: 'flex-start',
|
|
@@ -36,7 +36,7 @@ export const contentStyles = css(sharedBlockStyles, {
|
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
|
|
39
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
40
40
|
export const linkStyles = css(sharedBlockStyles, {
|
|
41
41
|
cursor: 'pointer',
|
|
42
42
|
fontSize: '0.875rem',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
4
4
|
export const triggerButtonStyles = css({
|
|
5
5
|
all: 'unset',
|
|
6
6
|
backgroundColor: 'transparent',
|
|
@@ -24,7 +24,7 @@ export const triggerButtonStyles = css({
|
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
|
|
27
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-exported-styles
|
|
27
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
28
28
|
export const triggerLozengeStyles = css({
|
|
29
29
|
alignItems: 'center',
|
|
30
30
|
display: 'flex',
|
|
@@ -34,7 +34,7 @@ export const triggerLozengeStyles = 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
|
export const dropdownItemGroupStyles = css({
|
|
39
39
|
maxHeight: '300px',
|
|
40
40
|
overflowY: 'auto',
|
|
@@ -25,6 +25,7 @@ const FlexibleCard = ({
|
|
|
25
25
|
renderers,
|
|
26
26
|
showAuthTooltip,
|
|
27
27
|
showHoverPreview,
|
|
28
|
+
hoverPreviewOptions,
|
|
28
29
|
actionOptions,
|
|
29
30
|
testId,
|
|
30
31
|
ui,
|
|
@@ -94,6 +95,7 @@ const FlexibleCard = ({
|
|
|
94
95
|
onClick: onClick,
|
|
95
96
|
retry: retry,
|
|
96
97
|
showHoverPreview: showHoverPreview,
|
|
98
|
+
hoverPreviewOptions: hoverPreviewOptions,
|
|
97
99
|
actionOptions: actionOptions,
|
|
98
100
|
showAuthTooltip: showAuthTooltip,
|
|
99
101
|
status: status
|
|
@@ -31,8 +31,11 @@ export const HoverCardComponent = ({
|
|
|
31
31
|
actionOptions: actionOptionsProp,
|
|
32
32
|
allowEventPropagation = false,
|
|
33
33
|
zIndex = HOVER_CARD_Z_INDEX,
|
|
34
|
-
noFadeDelay = false
|
|
34
|
+
noFadeDelay = false,
|
|
35
|
+
hoverPreviewOptions
|
|
35
36
|
}) => {
|
|
37
|
+
var _hoverPreviewOptions$;
|
|
38
|
+
const fadeInDelay = (_hoverPreviewOptions$ = hoverPreviewOptions === null || hoverPreviewOptions === void 0 ? void 0 : hoverPreviewOptions.fadeInDelay) !== null && _hoverPreviewOptions$ !== void 0 ? _hoverPreviewOptions$ : FADE_IN_DELAY;
|
|
36
39
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
37
40
|
const fadeOutTimeoutId = useRef();
|
|
38
41
|
const fadeInTimeoutId = useRef();
|
|
@@ -139,10 +142,10 @@ export const HoverCardComponent = ({
|
|
|
139
142
|
} else {
|
|
140
143
|
fadeInTimeoutId.current = setTimeout(() => {
|
|
141
144
|
setIsOpen(true);
|
|
142
|
-
},
|
|
145
|
+
}, fadeInDelay);
|
|
143
146
|
}
|
|
144
147
|
}
|
|
145
|
-
}, [initResolve, isOpen, setMousePosition, noFadeDelay]);
|
|
148
|
+
}, [initResolve, isOpen, setMousePosition, noFadeDelay, fadeInDelay]);
|
|
146
149
|
const linkActions = useSmartLinkActions({
|
|
147
150
|
url,
|
|
148
151
|
appearance: CardDisplay.HoverCardPreview,
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
3
|
const titleFontWeight = '600';
|
|
4
4
|
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
6
6
|
export const titleBlockStyles = css({
|
|
7
7
|
justifyContent: 'center',
|
|
8
8
|
fontWeight: titleFontWeight,
|
|
9
9
|
marginTop: "var(--ds-space-100, 8px)"
|
|
10
10
|
});
|
|
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
|
export const mainTextStyles = css({
|
|
14
14
|
display: 'inline',
|
|
15
15
|
justifyContent: 'center',
|
|
@@ -18,7 +18,7 @@ export const mainTextStyles = css({
|
|
|
18
18
|
textAlign: 'center'
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
22
22
|
export const connectButtonStyles = css({
|
|
23
23
|
justifyContent: 'center',
|
|
24
24
|
marginTop: "var(--ds-space-100, 8px)"
|
|
@@ -3,7 +3,7 @@ import { css } from '@emotion/react';
|
|
|
3
3
|
import { separatorCss } from '../../../styled';
|
|
4
4
|
const elementGap = '0.5rem';
|
|
5
5
|
|
|
6
|
-
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles
|
|
6
|
+
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
7
7
|
export const metadataBlockCss = css`
|
|
8
8
|
gap: 0px;
|
|
9
9
|
/* primary element group */
|
|
@@ -32,12 +32,12 @@ export const metadataBlockCss = css`
|
|
|
32
32
|
}
|
|
33
33
|
`;
|
|
34
34
|
|
|
35
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
35
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
36
36
|
export const footerBlockCss = css({
|
|
37
37
|
height: '1.5rem'
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
40
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
41
41
|
export const hiddenSnippetStyles = css({
|
|
42
42
|
visibility: 'hidden',
|
|
43
43
|
position: 'absolute'
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
3
|
|
|
4
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
5
5
|
export const loadingViewContainer = css({
|
|
6
6
|
display: 'flex',
|
|
7
7
|
flexDirection: 'column',
|
|
8
8
|
padding: "var(--ds-space-200, 1rem)"
|
|
9
9
|
});
|
|
10
10
|
|
|
11
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
12
12
|
export const skeletonContainer = css({
|
|
13
13
|
display: 'flex',
|
|
14
14
|
flexDirection: 'column',
|
|
@@ -28,7 +28,7 @@ export const getTitleStyles = height => {
|
|
|
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 titleBlockStyles = css({
|
|
33
33
|
width: '100%',
|
|
34
34
|
gap: "var(--ds-space-100, 0.5rem)"
|
|
@@ -4,13 +4,13 @@ const blockGap = '0.5rem';
|
|
|
4
4
|
const iconGap = '0.5rem';
|
|
5
5
|
const titleFontWeight = '500';
|
|
6
6
|
|
|
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 connectButtonStyles = css({
|
|
9
9
|
justifyContent: 'flex-end',
|
|
10
10
|
marginTop: blockGap
|
|
11
11
|
});
|
|
12
12
|
|
|
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
|
export const titleBlockStyles = css({
|
|
15
15
|
gap: `${blockGap} ${iconGap}`,
|
|
16
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -19,7 +19,7 @@ export const titleBlockStyles = css({
|
|
|
19
19
|
}
|
|
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 mainTextStyles = css({
|
|
24
24
|
marginTop: blockGap,
|
|
25
25
|
fontSize: '0.75rem'
|