@atlaskit/smart-card 43.28.2 → 43.28.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 +14 -0
- package/dist/cjs/extractors/common/lozenge/extractState.js +9 -9
- package/dist/cjs/extractors/common/primitives/extractTitleTextColor.js +1 -2
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/BlockCard/views/utils/withFlexibleUIBlockCardStyle.compiled.css +1 -1
- package/dist/cjs/view/BlockCard/views/utils/withFlexibleUIBlockCardStyle.js +1 -5
- package/dist/cjs/view/EmbedCard/components/ErrorFrame.compiled.css +4 -4
- package/dist/cjs/view/EmbedCard/components/ErrorFrame.js +3 -14
- package/dist/cjs/view/EmbedCard/components/styled.compiled.css +1 -1
- package/dist/cjs/view/EmbedCard/components/styled.js +3 -3
- package/dist/cjs/view/EmbedCard/views/ErroredView.js +1 -2
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-button/index.compiled.css +25 -25
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-button/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/main.compiled.css +2 -2
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/main.js +1 -6
- package/dist/cjs/view/FlexibleCard/components/actions/follow-action/goal-icon/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/actions/follow-action/projects-icon/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/action-footer/index.compiled.css +1 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.compiled.css +1 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/common/loading-skeleton/index.compiled.css +2 -2
- package/dist/cjs/view/FlexibleCard/components/common/loading-skeleton/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-link-element/index.compiled.css +14 -14
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-link-element/index.js +4 -4
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/index.compiled.css +2 -2
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/index.js +2 -3
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-items-group/index.compiled.css +4 -4
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-items-group/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.compiled.css +3 -3
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.js +1 -1
- package/dist/cjs/view/HoverCard/components/ContentContainer.compiled.css +1 -1
- package/dist/cjs/view/HoverCard/components/ContentContainer.js +1 -1
- package/dist/cjs/view/HoverCard/components/views/resolving/index.compiled.css +5 -5
- package/dist/cjs/view/HoverCard/components/views/resolving/index.js +2 -2
- package/dist/cjs/view/InlineCard/ForbiddenView/index.js +1 -2
- package/dist/cjs/view/InlineCard/Frame/styled.compiled.css +8 -8
- package/dist/cjs/view/InlineCard/Frame/styled.js +2 -3
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.compiled.css +1 -1
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.js +1 -2
- package/dist/cjs/view/InlineCard/UnauthorisedView/index.js +1 -2
- package/dist/cjs/view/InlineCard/utils/withFrameStyleControl.js +1 -2
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/common/ai-prism/index.compiled.css +2 -2
- package/dist/cjs/view/common/ai-prism/index.js +1 -1
- package/dist/es2019/extractors/common/lozenge/extractState.js +9 -9
- package/dist/es2019/extractors/common/primitives/extractTitleTextColor.js +1 -2
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/BlockCard/views/utils/withFlexibleUIBlockCardStyle.compiled.css +1 -1
- package/dist/es2019/view/BlockCard/views/utils/withFlexibleUIBlockCardStyle.js +1 -2
- package/dist/es2019/view/EmbedCard/components/ErrorFrame.compiled.css +5 -5
- package/dist/es2019/view/EmbedCard/components/ErrorFrame.js +2 -3
- package/dist/es2019/view/EmbedCard/components/styled.compiled.css +1 -1
- package/dist/es2019/view/EmbedCard/components/styled.js +1 -2
- package/dist/es2019/view/EmbedCard/views/ErroredView.js +1 -2
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-button/index.compiled.css +25 -25
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-button/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/main.compiled.css +2 -2
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/main.js +1 -2
- package/dist/es2019/view/FlexibleCard/components/actions/follow-action/goal-icon/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/follow-action/projects-icon/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/action-footer/index.compiled.css +1 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.compiled.css +1 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/common/loading-skeleton/index.compiled.css +2 -2
- package/dist/es2019/view/FlexibleCard/components/common/loading-skeleton/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-link-element/index.compiled.css +14 -14
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-link-element/index.js +4 -4
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/index.compiled.css +2 -2
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/index.js +2 -3
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-items-group/index.compiled.css +4 -4
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-items-group/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.compiled.css +3 -3
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.js +1 -1
- package/dist/es2019/view/HoverCard/components/ContentContainer.compiled.css +1 -1
- package/dist/es2019/view/HoverCard/components/ContentContainer.js +1 -1
- package/dist/es2019/view/HoverCard/components/views/resolving/index.compiled.css +5 -5
- package/dist/es2019/view/HoverCard/components/views/resolving/index.js +2 -2
- package/dist/es2019/view/InlineCard/ForbiddenView/index.js +1 -2
- package/dist/es2019/view/InlineCard/Frame/styled.compiled.css +8 -8
- package/dist/es2019/view/InlineCard/Frame/styled.js +2 -3
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.compiled.css +1 -1
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.js +1 -2
- package/dist/es2019/view/InlineCard/UnauthorisedView/index.js +1 -2
- package/dist/es2019/view/InlineCard/utils/withFrameStyleControl.js +1 -2
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/common/ai-prism/index.compiled.css +2 -2
- package/dist/es2019/view/common/ai-prism/index.js +1 -1
- package/dist/esm/extractors/common/lozenge/extractState.js +9 -9
- package/dist/esm/extractors/common/primitives/extractTitleTextColor.js +1 -2
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/BlockCard/views/utils/withFlexibleUIBlockCardStyle.compiled.css +1 -1
- package/dist/esm/view/BlockCard/views/utils/withFlexibleUIBlockCardStyle.js +1 -5
- package/dist/esm/view/EmbedCard/components/ErrorFrame.compiled.css +4 -4
- package/dist/esm/view/EmbedCard/components/ErrorFrame.js +3 -14
- package/dist/esm/view/EmbedCard/components/styled.compiled.css +1 -1
- package/dist/esm/view/EmbedCard/components/styled.js +1 -2
- package/dist/esm/view/EmbedCard/views/ErroredView.js +1 -2
- package/dist/esm/view/FlexibleCard/components/actions/action/action-button/index.compiled.css +25 -25
- package/dist/esm/view/FlexibleCard/components/actions/action/action-button/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/main.compiled.css +2 -2
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/main.js +1 -6
- package/dist/esm/view/FlexibleCard/components/actions/follow-action/goal-icon/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/follow-action/projects-icon/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/action-footer/index.compiled.css +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.compiled.css +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/ai-summary-block/feature-discovery/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/common/loading-skeleton/index.compiled.css +2 -2
- package/dist/esm/view/FlexibleCard/components/common/loading-skeleton/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/common/base-link-element/index.compiled.css +14 -14
- package/dist/esm/view/FlexibleCard/components/elements/common/base-link-element/index.js +4 -4
- package/dist/esm/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/index.compiled.css +2 -2
- package/dist/esm/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/index.js +2 -3
- package/dist/esm/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-items-group/index.compiled.css +4 -4
- package/dist/esm/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-items-group/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.compiled.css +3 -3
- package/dist/esm/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.js +1 -1
- package/dist/esm/view/HoverCard/components/ContentContainer.compiled.css +1 -1
- package/dist/esm/view/HoverCard/components/ContentContainer.js +1 -1
- package/dist/esm/view/HoverCard/components/views/resolving/index.compiled.css +5 -5
- package/dist/esm/view/HoverCard/components/views/resolving/index.js +2 -2
- package/dist/esm/view/InlineCard/ForbiddenView/index.js +1 -2
- package/dist/esm/view/InlineCard/Frame/styled.compiled.css +8 -8
- package/dist/esm/view/InlineCard/Frame/styled.js +2 -3
- package/dist/esm/view/InlineCard/IconAndTitleLayout/index.compiled.css +1 -1
- package/dist/esm/view/InlineCard/IconAndTitleLayout/index.js +1 -2
- package/dist/esm/view/InlineCard/UnauthorisedView/index.js +1 -2
- package/dist/esm/view/InlineCard/utils/withFrameStyleControl.js +1 -2
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/common/ai-prism/index.compiled.css +2 -2
- package/dist/esm/view/common/ai-prism/index.js +1 -1
- package/package.json +8 -8
|
@@ -21,7 +21,7 @@ var LozengeActionItemsGroup = function LozengeActionItemsGroup(_ref) {
|
|
|
21
21
|
onClick = _ref.onClick;
|
|
22
22
|
return /*#__PURE__*/React.createElement("span", {
|
|
23
23
|
"data-testid": "".concat(testId, "-item-group"),
|
|
24
|
-
className: (0, _runtime.ax)(["_c71l1mjv _18m91wug _1pv01r31 _1m1b1r31 _qh55glyw _lt2aglyw _ph3k1o36 _1twe1o36
|
|
24
|
+
className: (0, _runtime.ax)(["_c71l1mjv _18m91wug _1pv01r31 _1m1b1r31 _qh55glyw _lt2aglyw _ph3k1o36 _1twe1o36 _1ll71dpa _qprf1dpa _n6y8usvi _109gusvi _z29h1x9r _wlxp1x9r _1gfl12x7 _yhjmutpp _1gqn12x7 _11lvutpp _d4lf1f4h _14hp1wdt _6pup1kw7"])
|
|
25
25
|
}, /*#__PURE__*/React.createElement(_dropdownMenu.DropdownItemGroup, null, items.map(function (item, idx) {
|
|
26
26
|
return /*#__PURE__*/React.createElement(_lozengeActionItem.default, (0, _extends2.default)({}, item, {
|
|
27
27
|
key: idx,
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
._2hwxv77o{margin-right:var(--ds-space-025,2px)}
|
|
23
23
|
._4cvr1h6o{align-items:center}
|
|
24
24
|
._4t3i7vkz{height:1pc}
|
|
25
|
-
.
|
|
25
|
+
._6ssh1y54[aria-expanded=true]{box-shadow:0 0 0 2px var(--ds-border-focused,#4688ec)}
|
|
26
26
|
._80omtlke{cursor:pointer}
|
|
27
27
|
._bfhk1j28{background-color:transparent}
|
|
28
28
|
._ca0qidpf{padding-top:0}
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
._zg8ln7od{font-style:unset}
|
|
40
40
|
._19h61qi0:focus-within{border-radius:var(--ds-radius-medium,6px)}._11ow1o36:focus-within{outline-width:medium}
|
|
41
41
|
._1guj1r31:focus-within{outline-color:currentColor}
|
|
42
|
-
.
|
|
42
|
+
._1u6l1y54:focus-within{box-shadow:0 0 0 2px var(--ds-border-focused,#4688ec)}
|
|
43
43
|
._pbhaglyw:focus-within{outline-style:none}
|
|
44
44
|
._1bas1qi0:focus-visible{border-radius:var(--ds-radius-medium,6px)}
|
|
45
45
|
._128m1o36:focus-visible{outline-width:medium}
|
|
46
|
-
.
|
|
46
|
+
._1ejj1y54:focus-visible{box-shadow:0 0 0 2px var(--ds-border-focused,#4688ec)}
|
|
47
47
|
._mizu1r31:focus-visible{outline-color:currentColor}
|
|
48
48
|
._ra3xglyw:focus-visible{outline-style:none}
|
|
@@ -115,7 +115,7 @@ var LozengeActionTrigger = function LozengeActionTrigger(_ref) {
|
|
|
115
115
|
"aria-label": (0, _platformFeatureFlags.fg)('platform_navx_flex_card_status_dropdown_a11y_fix') ? intl.formatMessage(_messages.messages.change_status, {
|
|
116
116
|
status: text
|
|
117
117
|
}) : undefined,
|
|
118
|
-
className: (0, _runtime.ax)(["_kkk2n7od _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _15vhn7od _1dqonqa1 _189e1dm9 _1h6d1j28 _bfhk1j28 _syazn7od _80omtlke _ect4n7od _1wybn7od _zg8ln7od _k48pn7od _vwz4idpf _1p1dn7od _19pkv77o _2hwxv77o _otyrv77o _18u0v77o _mizu1r31 _1guj1r31 _p8tl1r31 _ra3xglyw _pbhaglyw _1q2vglyw _128m1o36 _11ow1o36 _j8b81o36 _1bas1qi0 _19h61qi0 _1d391qi0
|
|
118
|
+
className: (0, _runtime.ax)(["_kkk2n7od _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _15vhn7od _1dqonqa1 _189e1dm9 _1h6d1j28 _bfhk1j28 _syazn7od _80omtlke _ect4n7od _1wybn7od _zg8ln7od _k48pn7od _vwz4idpf _1p1dn7od _19pkv77o _2hwxv77o _otyrv77o _18u0v77o _mizu1r31 _1guj1r31 _p8tl1r31 _ra3xglyw _pbhaglyw _1q2vglyw _128m1o36 _11ow1o36 _j8b81o36 _1bas1qi0 _19h61qi0 _1d391qi0 _1ejj1y54 _1u6l1y54 _6ssh1y54"])
|
|
119
119
|
}), lozenge);
|
|
120
120
|
};
|
|
121
121
|
var _default = exports.default = LozengeActionTrigger;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
._11q7glyw{background:none}
|
|
2
2
|
._2rko1mok{border-radius:var(--ds-radius-large,8px)}
|
|
3
3
|
._189eidpf{border-width:0}
|
|
4
|
-
.
|
|
4
|
+
._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
|
|
5
5
|
._1bsby0ve{width:var(--_1rzblqv)}
|
|
6
6
|
._9spsglyw .smart-link-loading-placeholder{display:none}
|
|
7
7
|
._bfhk1bhr{background-color:var(--ds-surface-overlay,#fff)}
|
|
@@ -42,7 +42,7 @@ var ConnectedAIPrismContainer = function ConnectedAIPrismContainer(_ref) {
|
|
|
42
42
|
}, [status]);
|
|
43
43
|
var container = /*#__PURE__*/React.createElement("div", (0, _extends2.default)({
|
|
44
44
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
45
|
-
className: (0, _runtime.ax)(["_11q7glyw _189eidpf _vchhusvi _1bsby0ve _9spsglyw", !isAIEnabled && "_2rko1mok _bfhk1bhr
|
|
45
|
+
className: (0, _runtime.ax)(["_11q7glyw _189eidpf _vchhusvi _1bsby0ve _9spsglyw", !isAIEnabled && "_2rko1mok _bfhk1bhr _16qs130s", _HoverCardContent.hoverCardClassName]),
|
|
46
46
|
"data-testid": testId
|
|
47
47
|
}, props, {
|
|
48
48
|
style: {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
2
|
+
._zulpu2gc{gap:var(--ds-space-100,8px)}
|
|
3
3
|
._zulpud5o{gap:.625rem}._16jlkb7n{flex-grow:1}
|
|
4
|
-
.
|
|
4
|
+
._19bvpxbi{padding-left:var(--ds-space-200,1pc)}
|
|
5
5
|
._1bsb1osq{width:100%}
|
|
6
6
|
._1e0c1txw{display:flex}
|
|
7
7
|
._1o9zidpf{flex-shrink:0}
|
|
8
8
|
._2lx21bp4{flex-direction:column}
|
|
9
9
|
._4cvr1h6o{align-items:center}
|
|
10
10
|
._4t3i1k92{height:1.25rem}
|
|
11
|
-
.
|
|
11
|
+
._ca0qpxbi{padding-top:var(--ds-space-200,1pc)}
|
|
12
12
|
._e2oo1osq span{width:100%}
|
|
13
13
|
._i0dl1wug{flex-basis:auto}
|
|
14
|
-
.
|
|
15
|
-
.
|
|
14
|
+
._n3tdpxbi{padding-bottom:var(--ds-space-200,1pc)}
|
|
15
|
+
._u5f3pxbi{padding-right:var(--ds-space-200,1pc)}
|
|
@@ -32,12 +32,12 @@ var HoverCardLoadingView = function HoverCardLoadingView(_ref) {
|
|
|
32
32
|
});
|
|
33
33
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
34
34
|
"data-testid": testId,
|
|
35
|
-
className: (0, _runtime.ax)(["_1e0c1txw _2lx21bp4
|
|
35
|
+
className: (0, _runtime.ax)(["_1e0c1txw _2lx21bp4 _ca0qpxbi _u5f3pxbi _n3tdpxbi _19bvpxbi"])
|
|
36
36
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
37
37
|
className: (0, _runtime.ax)(["_zulpud5o _1e0c1txw _2lx21bp4 _4cvr1h6o"])
|
|
38
38
|
}, /*#__PURE__*/_react.default.createElement(_blocks.CustomBlock, (0, _extends2.default)({}, titleBlockProps, {
|
|
39
39
|
testId: "".concat(testId, "-title-block"),
|
|
40
|
-
className: (0, _runtime.ax)(["
|
|
40
|
+
className: (0, _runtime.ax)(["_zulpu2gc _1bsb1osq"])
|
|
41
41
|
}), /*#__PURE__*/_react.default.createElement(_common.BaseIconElement, {
|
|
42
42
|
render: function render() {
|
|
43
43
|
return /*#__PURE__*/_react.default.createElement(_loadingSkeleton.LoadingSkeleton, null);
|
|
@@ -14,7 +14,6 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
14
14
|
var _reactIntlNext = require("react-intl-next");
|
|
15
15
|
var _lockLocked = _interopRequireDefault(require("@atlaskit/icon/core/lock-locked"));
|
|
16
16
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
17
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
18
17
|
var _messages = require("../../../messages");
|
|
19
18
|
var _HoverCard = require("../../HoverCard");
|
|
20
19
|
var _actionButton = require("../common/action-button");
|
|
@@ -105,7 +104,7 @@ var InlineCardForbiddenView = exports.InlineCardForbiddenView = function InlineC
|
|
|
105
104
|
link: url,
|
|
106
105
|
title: url,
|
|
107
106
|
onClick: onClick,
|
|
108
|
-
titleColor: "var(--ds-text-subtle,
|
|
107
|
+
titleColor: "var(--ds-text-subtle, #505258)"
|
|
109
108
|
}), renderActionButton());
|
|
110
109
|
if (showHoverPreview) {
|
|
111
110
|
return /*#__PURE__*/_react.default.createElement(_HoverCard.HoverCard, {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
2
|
+
._19itia51{border:var(--ds-border-width,1px) solid var(--ds-border,#0b120e24)}
|
|
3
3
|
._1yt4x7n9{padding:var(--ds-space-025,2px) 0}
|
|
4
4
|
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
5
5
|
._v56415x0{transition:all .1s ease-in-out}
|
|
6
|
-
.
|
|
6
|
+
._1h6d1w55{border-color:var(--ds-border-accent-blue,#357de8)}._12ji1r31{outline-color:currentColor}
|
|
7
7
|
._12y31o36{outline-width:medium}
|
|
8
8
|
._16d9qvcn{-webkit-box-decoration-break:clone;box-decoration-break:clone}
|
|
9
|
-
.
|
|
9
|
+
._16qsw5lj{box-shadow:0 0 0 2px var(--ds-border-selected,#1868db)}
|
|
10
10
|
._18m915vq{overflow-y:hidden}
|
|
11
11
|
._18u01i6y{margin-left:var(--ds-space-negative-025,-2px)}
|
|
12
12
|
._19bvidpf{padding-left:0}
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
._ca0qidpf{padding-top:0}
|
|
28
28
|
._n3tdidpf{padding-bottom:0}
|
|
29
29
|
._sudp1e54{-webkit-box-orient:vertical}
|
|
30
|
+
._syaz13af{color:var(--ds-link,#1868db)}
|
|
30
31
|
._syaz15cr{color:var(--ds-text-inverse,#fff)}
|
|
31
|
-
._syaz1y58{color:var(--ds-link,#0052cc)}
|
|
32
32
|
._u5f3idpf{padding-right:0}
|
|
33
33
|
._uizt1kdv{-webkit-user-select:text;-ms-user-select:text;user-select:text}
|
|
34
34
|
._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
._49pcglyw:focus{outline-style:none}
|
|
40
40
|
._4fprglyw:focus{text-decoration-line:none}
|
|
41
41
|
._5goinqa1:focus{text-decoration-style:solid}
|
|
42
|
-
.
|
|
42
|
+
._7ehiw5lj:focus{box-shadow:0 0 0 2px var(--ds-border-selected,#1868db)}
|
|
43
43
|
._nt751r31:focus{outline-color:currentColor}
|
|
44
|
-
.
|
|
45
|
-
.
|
|
44
|
+
._bfw7ia51:hover{border:var(--ds-border-width,1px) solid var(--ds-border,#0b120e24)}
|
|
45
|
+
._4cvx1w55:hover{border-color:var(--ds-border-accent-blue,#357de8)}
|
|
46
46
|
._1bnxglyw:hover{text-decoration-line:none}
|
|
47
47
|
._9oik1r31:hover{text-decoration-color:currentColor}
|
|
48
48
|
._jf4cnqa1:hover{text-decoration-style:solid}
|
|
49
|
-
.
|
|
49
|
+
._1di615s3:active{background-color:var(--ds-background-selected,#e9f2fe)}
|
|
50
50
|
._1iohnqa1:active{text-decoration-style:solid}
|
|
51
51
|
._1nrm1r31:active{text-decoration-color:currentColor}
|
|
52
52
|
._c2waglyw:active{text-decoration-line:none}
|
|
@@ -12,7 +12,6 @@ var _runtime = require("@compiled/react/runtime");
|
|
|
12
12
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
13
13
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
14
14
|
var _react = _interopRequireWildcard(require("react"));
|
|
15
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
16
15
|
var _excluded = ["truncateInline", "withoutBackground", "isHovered", "isInteractive", "isSelected", "viewType"],
|
|
17
16
|
_excluded2 = ["truncateInline", "withoutBackground", "isHovered", "isInteractive", "isSelected", "href", "viewType"];
|
|
18
17
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
@@ -27,7 +26,7 @@ var WrapperSpan = exports.WrapperSpan = /*#__PURE__*/(0, _react.forwardRef)(func
|
|
|
27
26
|
return /*#__PURE__*/_react.default.createElement("span", (0, _extends2.default)({
|
|
28
27
|
ref: ref
|
|
29
28
|
}, props, {
|
|
30
|
-
className: (0, _runtime.ax)(["_1yt4x7n9 _2rko12b0 _v56415x0 _1e0c1nu9 _16d9qvcn
|
|
29
|
+
className: (0, _runtime.ax)(["_1yt4x7n9 _2rko12b0 _v56415x0 _1e0c1nu9 _16d9qvcn _syaz13af _1rkwglyw _4cvx1w55", truncateInline && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _1e0c1abx _1yyjkb7n _sudp1e54 _nr8z1o8l _1voyv77o _3kwxidpf _jqg5v77o _6vwiidpf", truncateInline && viewType === 'unauthorised' && "_syaz15cr", withoutBackground ? "_19bvidpf _18u01i6y" : "_19itia51 _bfhkhp5a _1a3b1r31 _4fprglyw _5goinqa1 _9oik1r31 _1bnxglyw _jf4cnqa1 _1nrm1r31 _c2waglyw _1iohnqa1", isHovered && "_1h6d1w55", isHovered && !withoutBackground && "_4bfu1r31 _1hmsglyw _ajmmnqa1", isSelected ? "_12ji1r31 _1qu2glyw _12y31o36 _80omtlke _16qsw5lj _uiztglyw _1a3b1r31 _4fprglyw _5goinqa1 _9oik1r31 _1bnxglyw _jf4cnqa1 _bfw7ia51 _1nrm1r31 _c2waglyw _1iohnqa1" : "_uizt1kdv"])
|
|
31
30
|
}), props.children);
|
|
32
31
|
});
|
|
33
32
|
var WrapperAnchor = exports.WrapperAnchor = /*#__PURE__*/(0, _react.forwardRef)(function (_ref2, ref) {
|
|
@@ -43,7 +42,7 @@ var WrapperAnchor = exports.WrapperAnchor = /*#__PURE__*/(0, _react.forwardRef)(
|
|
|
43
42
|
href: href,
|
|
44
43
|
ref: ref
|
|
45
44
|
}, props, {
|
|
46
|
-
className: (0, _runtime.ax)(["_1yt4x7n9 _2rko12b0 _v56415x0 _1e0c1nu9 _16d9qvcn
|
|
45
|
+
className: (0, _runtime.ax)(["_1yt4x7n9 _2rko12b0 _v56415x0 _1e0c1nu9 _16d9qvcn _syaz13af _1rkwglyw _4cvx1w55", truncateInline && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _1e0c1abx _1yyjkb7n _sudp1e54 _nr8z1o8l _1voyv77o _3kwxidpf _jqg5v77o _6vwiidpf", truncateInline && viewType === 'unauthorised' && "_syaz15cr", withoutBackground ? "_19bvidpf _18u01i6y" : "_19itia51 _bfhkhp5a _1a3b1r31 _4fprglyw _5goinqa1 _9oik1r31 _1bnxglyw _jf4cnqa1 _1nrm1r31 _c2waglyw _1iohnqa1", isHovered && "_1h6d1w55", isHovered && !withoutBackground && "_4bfu1r31 _1hmsglyw _ajmmnqa1", isSelected ? "_12ji1r31 _1qu2glyw _12y31o36 _80omtlke _16qsw5lj _uiztglyw _1a3b1r31 _4fprglyw _5goinqa1 _9oik1r31 _1bnxglyw _jf4cnqa1 _bfw7ia51 _1nrm1r31 _c2waglyw _1iohnqa1" : "_uizt1kdv", isInteractive && "_nt751r31 _49pcglyw _1hvw1o36 _1372tlke _7ehiw5lj _1j5pglyw _1di615s3", viewType === 'errored' && "_4bfu1r31 _1hms8stv _ajmmnqa1 _9oik1r31 _1bnxglyw _jf4cnqa1"])
|
|
47
46
|
}), props.children);
|
|
48
47
|
});
|
|
49
48
|
var baseWrapperStyles = null;
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
._n3tdv77o{padding-bottom:var(--ds-space-025,2px)}
|
|
22
22
|
._o5721jtm{white-space:pre-wrap}
|
|
23
23
|
._p12f7vkz{max-width:1pc}
|
|
24
|
+
._syaz13af{color:var(--ds-link,#1868db)}
|
|
24
25
|
._syaz1rpy{color:var(--ds-text-subtlest,#6b6e76)}
|
|
25
|
-
._syaz1y58{color:var(--ds-link,#0052cc)}
|
|
26
26
|
._t9ec1ooe{transform:translate(-50%,-50%)}
|
|
27
27
|
._tzy4idpf{opacity:0}
|
|
28
28
|
._u5f31b66{padding-right:var(--ds-space-050,4px)}
|
|
@@ -17,7 +17,6 @@ var _reactMagneticDi = require("react-magnetic-di");
|
|
|
17
17
|
var _reactRenderImage = _interopRequireDefault(require("react-render-image"));
|
|
18
18
|
var _link = _interopRequireDefault(require("@atlaskit/icon/core/link"));
|
|
19
19
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
20
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
21
20
|
var _utils = require("../../../utils");
|
|
22
21
|
var _Icon = require("../Icon");
|
|
23
22
|
var _excluded = ["as", "style"];
|
|
@@ -41,7 +40,7 @@ var LinkAppearance = (0, _react.forwardRef)(function (_ref, __cmplr) {
|
|
|
41
40
|
return /*#__PURE__*/_react.default.createElement(C, (0, _extends2.default)({}, __cmplp, {
|
|
42
41
|
style: __cmpls,
|
|
43
42
|
ref: __cmplr,
|
|
44
|
-
className: (0, _runtime.ax)(["
|
|
43
|
+
className: (0, _runtime.ax)(["_syaz13af _9oik1r31 _1bnxglyw _jf4cnqa1", __cmplp.className])
|
|
45
44
|
}));
|
|
46
45
|
});
|
|
47
46
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -11,7 +11,6 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
var _react = _interopRequireDefault(require("react"));
|
|
12
12
|
var _reactIntlNext = require("react-intl-next");
|
|
13
13
|
var _lockLocked = _interopRequireDefault(require("@atlaskit/icon/core/lock-locked"));
|
|
14
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
15
14
|
var _useAnalyticsEvents2 = require("../../../common/analytics/generated/use-analytics-events");
|
|
16
15
|
var _messages = require("../../../messages");
|
|
17
16
|
var _HoverCard = require("../../HoverCard");
|
|
@@ -70,7 +69,7 @@ var InlineCardUnauthorizedView = exports.InlineCardUnauthorizedView = function I
|
|
|
70
69
|
title: url,
|
|
71
70
|
link: url,
|
|
72
71
|
onClick: onClick,
|
|
73
|
-
titleColor: "var(--ds-text-subtle,
|
|
72
|
+
titleColor: "var(--ds-text-subtle, #505258)"
|
|
74
73
|
}), onAuthorise && renderActionButton());
|
|
75
74
|
if (onAuthorise && showHoverPreview) {
|
|
76
75
|
return /*#__PURE__*/_react.default.createElement(_HoverCard.HoverCard, {
|
|
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
11
10
|
/**
|
|
12
11
|
* This HOC serves as a temporary workaround for controlling the style of a parent component.
|
|
13
12
|
* We do not want the Frame to have a hover state when hovering over the action button.
|
|
@@ -19,7 +18,7 @@ var _default = exports.default = function _default(Button, frameRef) {
|
|
|
19
18
|
var setBorderStyle = function setBorderStyle() {
|
|
20
19
|
var frameNode = frameRef.current;
|
|
21
20
|
if (frameNode) {
|
|
22
|
-
frameNode.style.borderColor = "
|
|
21
|
+
frameNode.style.borderColor = "var(--ds-border, #0B120E24)";
|
|
23
22
|
}
|
|
24
23
|
};
|
|
25
24
|
var removeBorderStyle = function removeBorderStyle() {
|
|
@@ -22,7 +22,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
|
|
|
22
22
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
23
23
|
var PACKAGE_DATA = {
|
|
24
24
|
packageName: "@atlaskit/smart-card",
|
|
25
|
-
packageVersion: "43.28.
|
|
25
|
+
packageVersion: "43.28.3",
|
|
26
26
|
componentName: 'linkUrl'
|
|
27
27
|
};
|
|
28
28
|
var Anchor = (0, _click.withLinkClickedEvent)('a');
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
._2rko1mok{border-radius:var(--ds-radius-large,8px)}
|
|
3
3
|
._v5649spz{transition:box-shadow .5s ease}
|
|
4
|
-
._v564fs5d{transition:opacity .5s ease}.
|
|
5
|
-
.
|
|
4
|
+
._v564fs5d{transition:opacity .5s ease}._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
|
|
5
|
+
._16qs1aef{box-shadow:0 8px 9pt rgba(9,30,66,0),0 0 1px rgba(9,30,66,0)}
|
|
6
6
|
._bfhk1bhr{background-color:var(--ds-surface-overlay,#fff)}
|
|
7
7
|
._tzy4idpf{opacity:0}
|
|
8
8
|
._tzy4kb7n{opacity:1}
|
|
@@ -40,7 +40,7 @@ var AIPrism = function AIPrism(_ref) {
|
|
|
40
40
|
testId: testId,
|
|
41
41
|
className: (0, _runtime.ax)([animatedSvgContainerStyles[isVisible ? 'true' : 'false']])
|
|
42
42
|
}, /*#__PURE__*/React.createElement("div", {
|
|
43
|
-
className: (0, _runtime.ax)(["_2rko1mok _bfhk1bhr
|
|
43
|
+
className: (0, _runtime.ax)(["_2rko1mok _bfhk1bhr _16qs130s", "_v5649spz", isVisible && "_16qs1aef"])
|
|
44
44
|
}, children));
|
|
45
45
|
};
|
|
46
46
|
var _default = exports.default = AIPrism;
|
|
@@ -3,12 +3,12 @@ import { OMIT_STATES, VALID_STATES } from './utils';
|
|
|
3
3
|
// Maps accent color short names to their corresponding background and text colors
|
|
4
4
|
const lozengeAccentStyles = {
|
|
5
5
|
blue: {
|
|
6
|
-
backgroundColor: "var(--ds-background-accent-blue-subtler, #
|
|
7
|
-
color: "var(--ds-text-accent-blue, #
|
|
6
|
+
backgroundColor: "var(--ds-background-accent-blue-subtler, #CFE1FD)",
|
|
7
|
+
color: "var(--ds-text-accent-blue, #1558BC)"
|
|
8
8
|
},
|
|
9
9
|
gray: {
|
|
10
|
-
backgroundColor: "var(--ds-background-accent-gray-subtler, #
|
|
11
|
-
color: "var(--ds-text-accent-gray, #
|
|
10
|
+
backgroundColor: "var(--ds-background-accent-gray-subtler, #DDDEE1)",
|
|
11
|
+
color: "var(--ds-text-accent-gray, #505258)"
|
|
12
12
|
},
|
|
13
13
|
green: {
|
|
14
14
|
backgroundColor: "var(--ds-background-accent-green-subtler, #BAF3DB)",
|
|
@@ -23,12 +23,12 @@ const lozengeAccentStyles = {
|
|
|
23
23
|
color: "var(--ds-text-accent-magenta, #943D73)"
|
|
24
24
|
},
|
|
25
25
|
orange: {
|
|
26
|
-
backgroundColor: "var(--ds-background-accent-orange-subtler, #
|
|
27
|
-
color: "var(--ds-text-accent-orange, #
|
|
26
|
+
backgroundColor: "var(--ds-background-accent-orange-subtler, #FCE4A6)",
|
|
27
|
+
color: "var(--ds-text-accent-orange, #9E4C00)"
|
|
28
28
|
},
|
|
29
29
|
purple: {
|
|
30
|
-
backgroundColor: "var(--ds-background-accent-purple-subtler, #
|
|
31
|
-
color: "var(--ds-text-accent-purple, #
|
|
30
|
+
backgroundColor: "var(--ds-background-accent-purple-subtler, #EED7FC)",
|
|
31
|
+
color: "var(--ds-text-accent-purple, #803FA5)"
|
|
32
32
|
},
|
|
33
33
|
red: {
|
|
34
34
|
backgroundColor: "var(--ds-background-accent-red-subtler, #FFD5D2)",
|
|
@@ -39,7 +39,7 @@ const lozengeAccentStyles = {
|
|
|
39
39
|
color: "var(--ds-text-accent-teal, #206A83)"
|
|
40
40
|
},
|
|
41
41
|
yellow: {
|
|
42
|
-
backgroundColor: "var(--ds-background-accent-yellow-subtler, #
|
|
42
|
+
backgroundColor: "var(--ds-background-accent-yellow-subtler, #F5E989)",
|
|
43
43
|
color: "var(--ds-text-accent-yellow, #7F5F01)"
|
|
44
44
|
}
|
|
45
45
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { R500 } from '@atlaskit/theme/colors';
|
|
2
1
|
import { extractorPriorityMap } from '../icon/priority';
|
|
3
2
|
export const extractTitleTextColor = jsonLd => {
|
|
4
3
|
const type = jsonLd['@type'];
|
|
@@ -6,7 +5,7 @@ export const extractTitleTextColor = jsonLd => {
|
|
|
6
5
|
const highestPriorityType = type.sort((a, b) => extractorPriorityMap[b] - extractorPriorityMap[a])[0];
|
|
7
6
|
switch (highestPriorityType) {
|
|
8
7
|
case 'atlassian:UndefinedLink':
|
|
9
|
-
return
|
|
8
|
+
return "var(--ds-text-danger, #AE2E24)";
|
|
10
9
|
default:
|
|
11
10
|
return undefined;
|
|
12
11
|
}
|
|
@@ -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: "43.28.
|
|
5
|
+
packageVersion: "43.28.3"
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
._1g961mok>div{border-radius:var(--ds-radius-large,8px)}
|
|
2
|
-
.
|
|
2
|
+
._1qo3ia51>div{border:var(--ds-border-width,1px) solid var(--ds-border,#0b120e24)}
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
import "./withFlexibleUIBlockCardStyle.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
-
import { N40 } from '@atlaskit/theme/colors';
|
|
6
5
|
const flexibleBlockCardStyle = null;
|
|
7
6
|
export const withFlexibleUIBlockCardStyle = FlexibleBlockCardView => props => {
|
|
8
7
|
return /*#__PURE__*/React.createElement("div", {
|
|
9
|
-
className: ax(["_1g961mok
|
|
8
|
+
className: ax(["_1g961mok _1qo3ia51"])
|
|
10
9
|
}, /*#__PURE__*/React.createElement(FlexibleBlockCardView, props));
|
|
11
10
|
};
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
._2rkolb4i{border-radius:var(--ds-radius-xsmall,2px)}
|
|
4
4
|
._189e1dm9{border-width:var(--ds-border-width-selected,2px)}
|
|
5
5
|
._1dqonqa1{border-style:solid}
|
|
6
|
-
.
|
|
7
|
-
.
|
|
6
|
+
._1h6d1j28{border-color:transparent}
|
|
7
|
+
._1h6dq98m{border-color:var(--ds-border-selected,#1868db)}._16qst7xp{box-shadow:var(--ds-shadow-raised,0 1px 1px #1e1f2140,0 0 1px #1e1f214f)}
|
|
8
8
|
._18m915vq{overflow-y:hidden}
|
|
9
9
|
._19bvidpf{padding-left:0}
|
|
10
10
|
._1bah1h6o{justify-content:center}
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
._4cvr1h6o{align-items:center}
|
|
18
18
|
._4t3i1osq{height:100%}
|
|
19
19
|
._4t3i1ylp{height:40px}
|
|
20
|
-
._bfhk1j54{background-color:var(--ds-background-neutral,rgba(9,30,66,.04))}
|
|
21
20
|
._bfhkhp5a{background-color:var(--ds-surface-raised,#fff)}
|
|
21
|
+
._bfhki8nm{background-color:var(--ds-background-neutral,#0515240f)}
|
|
22
22
|
._ca0qidpf{padding-top:0}
|
|
23
23
|
._n3tdidpf{padding-bottom:0}
|
|
24
24
|
._p12fukw8{max-width:760px}
|
|
25
25
|
._u5f3idpf{padding-right:0}
|
|
26
26
|
._d0altlke:hover{cursor:pointer}
|
|
27
|
-
.
|
|
28
|
-
.
|
|
27
|
+
._irr31dpa:hover{background-color:var(--ds-background-neutral-subtle-hovered,#0515240f)}
|
|
28
|
+
._irr3plhp:hover{background-color:var(--ds-background-neutral-hovered,#0b120e24)}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import "./ErrorFrame.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { B200, N20A, N30A, N40A, N50A } from '@atlaskit/theme/colors';
|
|
6
5
|
export const Frame = (props = {
|
|
7
6
|
isSelected: false,
|
|
8
7
|
isHoverable: false,
|
|
@@ -28,7 +27,7 @@ export const ExpandedFrame = ({
|
|
|
28
27
|
"data-testid": testId
|
|
29
28
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
30
29
|
,
|
|
31
|
-
className: ax(["_1bsb1osq _1e0c1txw", "_p12fukw8 _bfhkhp5a", isHoverable && "
|
|
30
|
+
className: ax(["_1bsb1osq _1e0c1txw", "_p12fukw8 _bfhkhp5a", isHoverable && "_irr31dpa _d0altlke", isFluidHeight ? "_1tkeidpf" : "_1tke68cl", isSelected ? "_2rkofajl _1h6dq98m _1dqonqa1 _189e1dm9" : "_2rkolb4i _1h6d1j28 _1dqonqa1 _189e1dm9", "_1reo15vq _18m915vq _1bah1yb4 _16qst7xp", className]),
|
|
32
31
|
"data-trello-do-not-use-override": testId
|
|
33
32
|
}, children);
|
|
34
33
|
};
|
|
@@ -50,6 +49,6 @@ export const CompactFrame = ({
|
|
|
50
49
|
"data-testid": testId
|
|
51
50
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
52
51
|
,
|
|
53
|
-
className: ax(["_1bsb1osq _1e0c1txw", "_p12fukw8 _bfhkhp5a", isHoverable && "
|
|
52
|
+
className: ax(["_1bsb1osq _1e0c1txw", "_p12fukw8 _bfhkhp5a", isHoverable && "_irr3plhp", isSelected && "_2rkofajl _1h6dq98m _1dqonqa1 _189e1dm9", !isSelected && "_2rkolb4i", "_1bah1h6o _4cvr1h6o _bfhki8nm", inheritDimensions ? "_4t3i1osq" : "_4t3i1ylp", "_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bsb1osq", className])
|
|
54
53
|
}, children);
|
|
55
54
|
};
|
|
@@ -6,7 +6,6 @@ import * as React from 'react';
|
|
|
6
6
|
import { ax, ix } from "@compiled/react/runtime";
|
|
7
7
|
/* eslint-disable @atlaskit/ui-styling-standard/no-dynamic-styles */
|
|
8
8
|
|
|
9
|
-
import { N30 } from '@atlaskit/theme/colors';
|
|
10
9
|
export const className = 'media-card-frame';
|
|
11
10
|
export const embedHeaderHeight = 32;
|
|
12
11
|
const getSizeWithUnit = (value = '100%') => {
|
|
@@ -45,7 +44,7 @@ export const Thumbnail = forwardRef(({
|
|
|
45
44
|
"--_13orr8u": ix(`url(${__cmplp.src})`)
|
|
46
45
|
},
|
|
47
46
|
ref: __cmplr,
|
|
48
|
-
className: ax(["_2rkofajl _1bsbckbl _4t3ickbl _1aaxusic _19pk1b66 _2hwxidpf _otyrutpp _18u0utpp
|
|
47
|
+
className: ax(["_2rkofajl _1bsbckbl _4t3ickbl _1aaxusic _19pk1b66 _2hwxidpf _otyrutpp _18u0utpp _bfhkizff _1lrw1dfr _1itk2pcs", __cmplp.className])
|
|
49
48
|
}));
|
|
50
49
|
});
|
|
51
50
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -6,7 +6,6 @@ import { FormattedMessage } from 'react-intl-next';
|
|
|
6
6
|
import Button from '@atlaskit/button/new';
|
|
7
7
|
import ErrorIcon from '@atlaskit/icon/core/status-error';
|
|
8
8
|
import { Box, Inline } from '@atlaskit/primitives/compiled';
|
|
9
|
-
import { R300 } from '@atlaskit/theme/colors';
|
|
10
9
|
import { messages } from '../../../messages';
|
|
11
10
|
import { Frame } from '../components/ErrorFrame';
|
|
12
11
|
const styles = {
|
|
@@ -23,7 +22,7 @@ export const EmbedCardErroredView = ({
|
|
|
23
22
|
isSelected: isSelected,
|
|
24
23
|
testId: testId
|
|
25
24
|
}, /*#__PURE__*/React.createElement(ErrorIcon, {
|
|
26
|
-
color:
|
|
25
|
+
color: "var(--ds-icon-danger, #C9372C)",
|
|
27
26
|
label: "error-icon"
|
|
28
27
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
29
28
|
xcss: styles.boxStyles
|
package/dist/es2019/view/FlexibleCard/components/actions/action/action-button/index.compiled.css
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
._11c8wadc{font:var(--ds-font-body-small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
-
.
|
|
2
|
+
._11lv1b66 button{padding-left:var(--ds-space-050,4px)}
|
|
3
3
|
._11lvidpf button{padding-left:0}
|
|
4
|
-
.
|
|
4
|
+
._11lvv77o button{padding-left:var(--ds-space-025,2px)}
|
|
5
5
|
._13gwidpf button:focus>span{margin-top:0}
|
|
6
6
|
._1ad8idpf button>span{margin-left:0}
|
|
7
7
|
._1bnaidpf button>span{margin-right:0}
|
|
8
8
|
._1e1oidpf button>span{margin-bottom:0}
|
|
9
|
-
._1gfl1xvx button{padding-top:var(--ds-space-025,.125rem)}
|
|
10
9
|
._1gflidpf button{padding-top:0}
|
|
11
|
-
.
|
|
10
|
+
._1gflv77o button{padding-top:var(--ds-space-025,2px)}
|
|
12
11
|
._1gqnidpf button{padding-bottom:0}
|
|
12
|
+
._1gqnv77o button{padding-bottom:var(--ds-space-025,2px)}
|
|
13
13
|
._1i3bidpf button:active>span{margin-top:0}
|
|
14
14
|
._1l0qidpf button:hover>span{margin-right:0}
|
|
15
15
|
._1vtwidpf button:active>span{margin-left:0}
|
|
@@ -23,36 +23,36 @@
|
|
|
23
23
|
._rehaidpf button>span{margin-top:0}
|
|
24
24
|
._ro8midpf button:focus>span{margin-right:0}
|
|
25
25
|
._tpwpidpf button:hover>span{margin-left:0}
|
|
26
|
-
.
|
|
26
|
+
._yhjm1b66 button{padding-right:var(--ds-space-050,4px)}
|
|
27
27
|
._yhjmidpf button{padding-right:0}
|
|
28
|
-
.
|
|
29
|
-
._1ddv1xvx button:focus{padding-top:var(--ds-space-025,.125rem)}
|
|
28
|
+
._yhjmv77o button{padding-right:var(--ds-space-025,2px)}
|
|
30
29
|
._1ddvidpf button:focus{padding-top:0}
|
|
31
|
-
.
|
|
30
|
+
._1ddvv77o button:focus{padding-top:var(--ds-space-025,2px)}
|
|
31
|
+
._1fst1b66 button:focus{padding-right:var(--ds-space-050,4px)}
|
|
32
32
|
._1fstidpf button:focus{padding-right:0}
|
|
33
|
-
.
|
|
34
|
-
._df2r1xvx button:focus{padding-bottom:var(--ds-space-025,.125rem)}
|
|
33
|
+
._1fstv77o button:focus{padding-right:var(--ds-space-025,2px)}
|
|
35
34
|
._df2ridpf button:focus{padding-bottom:0}
|
|
36
|
-
.
|
|
35
|
+
._df2rv77o button:focus{padding-bottom:var(--ds-space-025,2px)}
|
|
36
|
+
._vbn71b66 button:focus{padding-left:var(--ds-space-050,4px)}
|
|
37
37
|
._vbn7idpf button:focus{padding-left:0}
|
|
38
|
-
.
|
|
39
|
-
._1hha1xvx button:hover{padding-top:var(--ds-space-025,.125rem)}
|
|
38
|
+
._vbn7v77o button:focus{padding-left:var(--ds-space-025,2px)}
|
|
40
39
|
._1hhaidpf button:hover{padding-top:0}
|
|
41
|
-
.
|
|
40
|
+
._1hhav77o button:hover{padding-top:var(--ds-space-025,2px)}
|
|
41
|
+
._1xce1b66 button:hover{padding-right:var(--ds-space-050,4px)}
|
|
42
42
|
._1xceidpf button:hover{padding-right:0}
|
|
43
|
-
.
|
|
44
|
-
._j1tw1xvx button:hover{padding-bottom:var(--ds-space-025,.125rem)}
|
|
43
|
+
._1xcev77o button:hover{padding-right:var(--ds-space-025,2px)}
|
|
45
44
|
._j1twidpf button:hover{padding-bottom:0}
|
|
46
|
-
.
|
|
45
|
+
._j1twv77o button:hover{padding-bottom:var(--ds-space-025,2px)}
|
|
46
|
+
._wfu31b66 button:hover{padding-left:var(--ds-space-050,4px)}
|
|
47
47
|
._wfu3idpf button:hover{padding-left:0}
|
|
48
|
-
.
|
|
49
|
-
.
|
|
48
|
+
._wfu3v77o button:hover{padding-left:var(--ds-space-025,2px)}
|
|
49
|
+
._192b1b66 button:active{padding-left:var(--ds-space-050,4px)}
|
|
50
50
|
._192bidpf button:active{padding-left:0}
|
|
51
|
-
.
|
|
52
|
-
._1qdm1xvx button:active{padding-bottom:var(--ds-space-025,.125rem)}
|
|
51
|
+
._192bv77o button:active{padding-left:var(--ds-space-025,2px)}
|
|
53
52
|
._1qdmidpf button:active{padding-bottom:0}
|
|
54
|
-
.
|
|
53
|
+
._1qdmv77o button:active{padding-bottom:var(--ds-space-025,2px)}
|
|
54
|
+
._1trn1b66 button:active{padding-right:var(--ds-space-050,4px)}
|
|
55
55
|
._1trnidpf button:active{padding-right:0}
|
|
56
|
-
.
|
|
57
|
-
.
|
|
58
|
-
.
|
|
56
|
+
._1trnv77o button:active{padding-right:var(--ds-space-025,2px)}
|
|
57
|
+
._or3fidpf button:active{padding-top:0}
|
|
58
|
+
._or3fv77o button:active{padding-top:var(--ds-space-025,2px)}
|
|
@@ -150,7 +150,7 @@ const ActionButtonNew = ({
|
|
|
150
150
|
}, []);
|
|
151
151
|
return /*#__PURE__*/React.createElement("div", {
|
|
152
152
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
153
|
-
className: ax([size === SmartLinkSize.Large && iconOnly && "_1gflidpf _or3fidpf _1ddvidpf _1hhaidpf _yhjmidpf _1trnidpf _1fstidpf _1xceidpf _1gqnidpf _1qdmidpf _df2ridpf _j1twidpf _11lvidpf _192bidpf _vbn7idpf _wfu3idpf _1i3bidpf _13gwidpf _4wlcidpf _rehaidpf _mp2fidpf _ro8midpf _1l0qidpf _1bnaidpf _3kh9idpf _i2vxidpf _8pvjidpf _1e1oidpf _1vtwidpf _ijvwidpf _tpwpidpf _1ad8idpf", size === SmartLinkSize.Small && "_11c8wadc _k48p1wq8", size === SmartLinkSize.Small && iconOnly && "
|
|
153
|
+
className: ax([size === SmartLinkSize.Large && iconOnly && "_1gflidpf _or3fidpf _1ddvidpf _1hhaidpf _yhjmidpf _1trnidpf _1fstidpf _1xceidpf _1gqnidpf _1qdmidpf _df2ridpf _j1twidpf _11lvidpf _192bidpf _vbn7idpf _wfu3idpf _1i3bidpf _13gwidpf _4wlcidpf _rehaidpf _mp2fidpf _ro8midpf _1l0qidpf _1bnaidpf _3kh9idpf _i2vxidpf _8pvjidpf _1e1oidpf _1vtwidpf _ijvwidpf _tpwpidpf _1ad8idpf", size === SmartLinkSize.Small && "_11c8wadc _k48p1wq8", size === SmartLinkSize.Small && iconOnly && "_1gflv77o _or3fv77o _1ddvv77o _1hhav77o _yhjmv77o _1trnv77o _1fstv77o _1xcev77o _1gqnv77o _1qdmv77o _df2rv77o _j1twv77o _11lvv77o _192bv77o _vbn7v77o _wfu3v77o", size === SmartLinkSize.Small && !iconOnly && "_11lv1b66 _192b1b66 _vbn71b66 _wfu31b66 _yhjm1b66 _1trn1b66 _1fst1b66 _1xce1b66", className]),
|
|
154
154
|
"data-testid": `${testId}-button-wrapper`
|
|
155
155
|
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
156
156
|
content: tooltipMessage,
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
._1bsbpxbi{width:var(--ds-space-200,1pc)}
|
|
13
13
|
._1e0c1o8l{display:inline-block}
|
|
14
14
|
._1e0c1txw{display:flex}
|
|
15
|
-
.
|
|
15
|
+
._1itkx7de{background-image:linear-gradient(to right,var(--ds-skeleton,#0515240f) 10%,var(--ds-skeleton-subtle,#17171708) 30%,var(--ds-skeleton,#0515240f) 50%)}
|
|
16
16
|
._1o51q7pw{animation-fill-mode:forwards}
|
|
17
17
|
._1pglp3kn{animation-timing-function:linear}
|
|
18
18
|
._4cvr1h6o{align-items:center}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
._4t3ipxbi{height:var(--ds-space-200,1pc)}
|
|
21
21
|
._5sag9cwz{animation-duration:1s}
|
|
22
22
|
._bfhk1r31{background-color:currentColor}
|
|
23
|
-
.
|
|
23
|
+
._bfhkizff{background-color:var(--ds-skeleton,#0515240f)}
|
|
24
24
|
._j7hq1nls{animation-name:k1a7rfge}
|
|
25
25
|
._tip812c5{animation-iteration-count:infinite}
|
|
26
26
|
._tzy4nh7s{opacity:.15}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import "./main.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
-
import { N20, N30 } from '@atlaskit/theme/colors';
|
|
6
5
|
const AutomationSkeletonContainer = null;
|
|
7
6
|
const SkeletonContainer = null;
|
|
8
7
|
const SkeletonIcon = null;
|
|
@@ -16,7 +15,7 @@ const SkeletonLine = () => /*#__PURE__*/React.createElement("div", {
|
|
|
16
15
|
}, /*#__PURE__*/React.createElement("div", {
|
|
17
16
|
className: ax(["_2rkov77o _19it5u6v _1bsbpxbi _4t3ipxbi _1e0c1o8l _bfhk1r31 _tzy4nh7s"])
|
|
18
17
|
})), /*#__PURE__*/React.createElement("div", {
|
|
19
|
-
className: ax(["_1bsb13sl _4t3ipxbi _19pk1b66 _18u0utpp _5sag9cwz _1o51q7pw _tip812c5 _j7hq1nls _1pglp3kn
|
|
18
|
+
className: ax(["_1bsb13sl _4t3ipxbi _19pk1b66 _18u0utpp _5sag9cwz _1o51q7pw _tip812c5 _j7hq1nls _1pglp3kn _bfhkizff _1itkx7de _12vemgnk"])
|
|
20
19
|
}));
|
|
21
20
|
const getSkeletonLines = lineCount => {
|
|
22
21
|
const skeletonLines = [];
|