@atlaskit/smart-card 34.0.1 → 34.1.1
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/FlexibleCard/components/actions/action/ActionOld.js +112 -0
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-button/ActionButtonOld.js +95 -0
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-button/index.compiled.css +16 -0
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-button/index.js +20 -45
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-icon/ActionIconOld.js +67 -0
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-icon/index.compiled.css +50 -0
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-icon/index.js +32 -39
- package/dist/cjs/view/FlexibleCard/components/actions/action/index.js +25 -16
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/SkeletonOld.js +90 -0
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/main.compiled.css +27 -0
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/main.js +39 -70
- package/dist/cjs/view/FlexibleCard/components/actions/view-related-links-action/index.js +9 -10
- package/dist/cjs/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/RelatedLinksActionIconOld.js +33 -0
- package/dist/cjs/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.compiled.css +2 -0
- package/dist/cjs/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.js +20 -15
- package/dist/cjs/view/FlexibleCard/components/common/image-icon/index.js +9 -11
- package/dist/cjs/view/FlexibleCard/components/common/loading-skeleton/LoadingSkeletonOld.js +52 -0
- package/dist/cjs/view/FlexibleCard/components/common/loading-skeleton/index.compiled.css +15 -0
- package/dist/cjs/view/FlexibleCard/components/common/loading-skeleton/index.js +27 -38
- package/dist/cjs/view/FlexibleCard/components/utils.js +8 -0
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/action/ActionOld.js +100 -0
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-button/ActionButtonOld.js +88 -0
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-button/index.compiled.css +16 -0
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-button/index.js +20 -49
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-icon/ActionIconOld.js +57 -0
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-icon/index.compiled.css +50 -0
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-icon/index.js +32 -38
- package/dist/es2019/view/FlexibleCard/components/actions/action/index.js +22 -15
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/SkeletonOld.js +82 -0
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/main.compiled.css +27 -0
- package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/main.js +28 -68
- package/dist/es2019/view/FlexibleCard/components/actions/view-related-links-action/index.js +7 -11
- package/dist/es2019/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/RelatedLinksActionIconOld.js +23 -0
- package/dist/es2019/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.compiled.css +2 -0
- package/dist/es2019/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.js +16 -13
- package/dist/es2019/view/FlexibleCard/components/common/image-icon/index.js +6 -10
- package/dist/es2019/view/FlexibleCard/components/common/loading-skeleton/LoadingSkeletonOld.js +46 -0
- package/dist/es2019/view/FlexibleCard/components/common/loading-skeleton/index.compiled.css +15 -0
- package/dist/es2019/view/FlexibleCard/components/common/loading-skeleton/index.js +22 -37
- package/dist/es2019/view/FlexibleCard/components/utils.js +8 -0
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/action/ActionOld.js +104 -0
- package/dist/esm/view/FlexibleCard/components/actions/action/action-button/ActionButtonOld.js +84 -0
- package/dist/esm/view/FlexibleCard/components/actions/action/action-button/index.compiled.css +16 -0
- package/dist/esm/view/FlexibleCard/components/actions/action/action-button/index.js +20 -44
- package/dist/esm/view/FlexibleCard/components/actions/action/action-icon/ActionIconOld.js +60 -0
- package/dist/esm/view/FlexibleCard/components/actions/action/action-icon/index.compiled.css +50 -0
- package/dist/esm/view/FlexibleCard/components/actions/action/action-icon/index.js +28 -38
- package/dist/esm/view/FlexibleCard/components/actions/action/index.js +22 -15
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/SkeletonOld.js +83 -0
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/main.compiled.css +27 -0
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/main.js +35 -68
- package/dist/esm/view/FlexibleCard/components/actions/view-related-links-action/index.js +7 -11
- package/dist/esm/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/RelatedLinksActionIconOld.js +25 -0
- package/dist/esm/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.compiled.css +2 -0
- package/dist/esm/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.js +17 -14
- package/dist/esm/view/FlexibleCard/components/common/image-icon/index.js +6 -10
- package/dist/esm/view/FlexibleCard/components/common/loading-skeleton/LoadingSkeletonOld.js +45 -0
- package/dist/esm/view/FlexibleCard/components/common/loading-skeleton/index.compiled.css +15 -0
- package/dist/esm/view/FlexibleCard/components/common/loading-skeleton/index.js +23 -37
- package/dist/esm/view/FlexibleCard/components/utils.js +8 -0
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/view/FlexibleCard/components/actions/action/ActionOld.d.ts +13 -0
- package/dist/types/view/FlexibleCard/components/actions/action/action-button/ActionButtonOld.d.ts +4 -0
- package/dist/types/view/FlexibleCard/components/actions/action/action-button/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/action/action-icon/ActionIconOld.d.ts +8 -0
- package/dist/types/view/FlexibleCard/components/actions/action/action-icon/index.d.ts +2 -6
- package/dist/types/view/FlexibleCard/components/actions/action/index.d.ts +2 -11
- package/dist/types/view/FlexibleCard/components/actions/action/types.d.ts +7 -0
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/SkeletonOld.d.ts +10 -0
- package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/main.d.ts +3 -6
- package/dist/types/view/FlexibleCard/components/actions/view-related-links-action/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/RelatedLinksActionIconOld.d.ts +10 -0
- package/dist/types/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.d.ts +2 -9
- package/dist/types/view/FlexibleCard/components/common/image-icon/index.d.ts +2 -6
- package/dist/types/view/FlexibleCard/components/common/loading-skeleton/LoadingSkeletonOld.d.ts +8 -0
- package/dist/types/view/FlexibleCard/components/common/loading-skeleton/index.d.ts +2 -6
- package/dist/types/view/FlexibleCard/components/utils.d.ts +3 -0
- package/dist/types/view/HoverCard/components/CustomPopupContainer.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/ActionOld.d.ts +13 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-button/ActionButtonOld.d.ts +4 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-button/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-icon/ActionIconOld.d.ts +8 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-icon/index.d.ts +2 -6
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/index.d.ts +2 -11
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/types.d.ts +7 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/SkeletonOld.d.ts +10 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/skeleton/main.d.ts +3 -6
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/view-related-links-action/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/RelatedLinksActionIconOld.d.ts +10 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/view-related-links-action/related-links-action-icon/index.d.ts +2 -9
- package/dist/types-ts4.5/view/FlexibleCard/components/common/image-icon/index.d.ts +2 -6
- package/dist/types-ts4.5/view/FlexibleCard/components/common/loading-skeleton/LoadingSkeletonOld.d.ts +8 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/common/loading-skeleton/index.d.ts +2 -6
- package/dist/types-ts4.5/view/FlexibleCard/components/utils.d.ts +3 -0
- package/dist/types-ts4.5/view/HoverCard/components/CustomPopupContainer.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
|
+
import { css, jsx, keyframes } from '@emotion/react';
|
|
7
|
+
import { N20, N30 } from '@atlaskit/theme/colors';
|
|
8
|
+
var AutomationSkeletonContainer = css({
|
|
9
|
+
paddingBlock: "var(--ds-space-025, 2px)"
|
|
10
|
+
});
|
|
11
|
+
var SkeletonContainer = css({
|
|
12
|
+
marginBlock: "var(--ds-space-100, 8px)",
|
|
13
|
+
marginInline: "var(--ds-space-250, 20px)",
|
|
14
|
+
display: 'flex'
|
|
15
|
+
});
|
|
16
|
+
var SkeletonIcon = css({
|
|
17
|
+
width: "var(--ds-space-200, 16px)",
|
|
18
|
+
height: "var(--ds-space-200, 16px)",
|
|
19
|
+
display: 'inline-block',
|
|
20
|
+
borderRadius: "var(--ds-space-025, 2px)",
|
|
21
|
+
backgroundColor: 'currentColor',
|
|
22
|
+
border: "var(--ds-space-025, 2px)".concat(" solid transparent"),
|
|
23
|
+
opacity: 0.15
|
|
24
|
+
});
|
|
25
|
+
var MenuIcon = css({
|
|
26
|
+
width: '24px',
|
|
27
|
+
height: '24px',
|
|
28
|
+
display: 'flex',
|
|
29
|
+
justifyContent: 'center',
|
|
30
|
+
alignItems: 'center'
|
|
31
|
+
});
|
|
32
|
+
var shimmer = keyframes({
|
|
33
|
+
'0%': {
|
|
34
|
+
backgroundPosition: '-300px 0'
|
|
35
|
+
},
|
|
36
|
+
'100%': {
|
|
37
|
+
backgroundPosition: '2000px 0'
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
var SkeletonText = css({
|
|
41
|
+
width: '85%',
|
|
42
|
+
height: "var(--ds-space-200, 16px)",
|
|
43
|
+
marginTop: "var(--ds-space-050, 4px)",
|
|
44
|
+
marginLeft: "var(--ds-space-150, 12px)",
|
|
45
|
+
animationDuration: '1s',
|
|
46
|
+
animationFillMode: 'forwards',
|
|
47
|
+
animationIterationCount: 'infinite',
|
|
48
|
+
animationName: shimmer,
|
|
49
|
+
animationTimingFunction: 'linear',
|
|
50
|
+
backgroundColor: "var(--ds-skeleton, ".concat(N30, ")"),
|
|
51
|
+
backgroundImage: "linear-gradient(to right, ".concat("var(--ds-skeleton, ".concat(N30, ")"), " 10%, ", "var(--ds-skeleton-subtle, ".concat(N20, ")"), " 30%, ", "var(--ds-skeleton, ".concat(N30, ")"), " 50%)"),
|
|
52
|
+
backgroundRepeat: 'no-repeat'
|
|
53
|
+
});
|
|
54
|
+
var SkeletonLine = function SkeletonLine() {
|
|
55
|
+
return jsx("div", {
|
|
56
|
+
css: SkeletonContainer
|
|
57
|
+
}, jsx("div", {
|
|
58
|
+
css: MenuIcon
|
|
59
|
+
}, jsx("div", {
|
|
60
|
+
css: SkeletonIcon
|
|
61
|
+
})), jsx("div", {
|
|
62
|
+
css: SkeletonText
|
|
63
|
+
}));
|
|
64
|
+
};
|
|
65
|
+
var getSkeletonLines = function getSkeletonLines(lineCount) {
|
|
66
|
+
var skeletonLines = [];
|
|
67
|
+
for (var i = 0; i < lineCount; i++) {
|
|
68
|
+
skeletonLines.push(jsx(SkeletonLine, {
|
|
69
|
+
key: "skeleton-line-".concat(i)
|
|
70
|
+
}));
|
|
71
|
+
}
|
|
72
|
+
return skeletonLines;
|
|
73
|
+
};
|
|
74
|
+
export var SkeletonOld = function SkeletonOld(props) {
|
|
75
|
+
var _props$lineCount = props.lineCount,
|
|
76
|
+
lineCount = _props$lineCount === void 0 ? 5 : _props$lineCount;
|
|
77
|
+
return (
|
|
78
|
+
// eslint-disable-next-line @atlaskit/design-system/use-primitives
|
|
79
|
+
jsx("div", {
|
|
80
|
+
css: AutomationSkeletonContainer
|
|
81
|
+
}, getSkeletonLines(lineCount))
|
|
82
|
+
);
|
|
83
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
|
|
2
|
+
._19it1vjj{border:var(--_z2s59f)}
|
|
3
|
+
._2rkov77o{border-radius:var(--ds-space-025,2px)}
|
|
4
|
+
._195gv47k{margin-inline:var(--ds-space-250,20px)}
|
|
5
|
+
._1mouu2gc{margin-block:var(--ds-space-100,8px)}
|
|
6
|
+
._1rjcv77o{padding-block:var(--ds-space-025,2px)}._12vemgnk{background-repeat:no-repeat}
|
|
7
|
+
._18u0utpp{margin-left:var(--ds-space-150,9pt)}
|
|
8
|
+
._19pk1b66{margin-top:var(--ds-space-050,4px)}
|
|
9
|
+
._1bah1h6o{justify-content:center}
|
|
10
|
+
._1bsb13sl{width:85%}
|
|
11
|
+
._1bsb1tcg{width:24px}
|
|
12
|
+
._1bsbpxbi{width:var(--ds-space-200,1pc)}
|
|
13
|
+
._1e0c1o8l{display:inline-block}
|
|
14
|
+
._1e0c1txw{display:flex}
|
|
15
|
+
._1itk8aai{background-image:var(--_w76hiz)}
|
|
16
|
+
._1o51q7pw{animation-fill-mode:forwards}
|
|
17
|
+
._1pglp3kn{animation-timing-function:linear}
|
|
18
|
+
._4cvr1h6o{align-items:center}
|
|
19
|
+
._4t3i1tcg{height:24px}
|
|
20
|
+
._4t3ipxbi{height:var(--ds-space-200,1pc)}
|
|
21
|
+
._5sag9cwz{animation-duration:1s}
|
|
22
|
+
._bfhk1r31{background-color:currentColor}
|
|
23
|
+
._bfhk1uqo{background-color:var(--_1vab7it)}
|
|
24
|
+
._j7hq1nls{animation-name:k1a7rfge}
|
|
25
|
+
._tip812c5{animation-iteration-count:infinite}
|
|
26
|
+
._tzy4nh7s{opacity:.15}
|
|
27
|
+
@keyframes k1a7rfge{0%{background-position:-300px 0}to{background-position:125pc 0}}
|
|
@@ -1,83 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { css, jsx, keyframes } from '@emotion/react';
|
|
1
|
+
/* main.tsx generated by @compiled/babel-plugin v0.35.0 */
|
|
2
|
+
import "./main.compiled.css";
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
6
|
import { N20, N30 } from '@atlaskit/theme/colors';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
});
|
|
16
|
-
var SkeletonIcon = css({
|
|
17
|
-
width: "var(--ds-space-200, 16px)",
|
|
18
|
-
height: "var(--ds-space-200, 16px)",
|
|
19
|
-
display: 'inline-block',
|
|
20
|
-
borderRadius: "var(--ds-space-025, 2px)",
|
|
21
|
-
backgroundColor: 'currentColor',
|
|
22
|
-
border: "var(--ds-space-025, 2px)".concat(" solid transparent"),
|
|
23
|
-
opacity: 0.15
|
|
24
|
-
});
|
|
25
|
-
var MenuIcon = css({
|
|
26
|
-
width: '24px',
|
|
27
|
-
height: '24px',
|
|
28
|
-
display: 'flex',
|
|
29
|
-
justifyContent: 'center',
|
|
30
|
-
alignItems: 'center'
|
|
31
|
-
});
|
|
32
|
-
var shimmer = keyframes({
|
|
33
|
-
'0%': {
|
|
34
|
-
backgroundPosition: '-300px 0'
|
|
35
|
-
},
|
|
36
|
-
'100%': {
|
|
37
|
-
backgroundPosition: '2000px 0'
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
var SkeletonText = css({
|
|
41
|
-
width: '85%',
|
|
42
|
-
height: "var(--ds-space-200, 16px)",
|
|
43
|
-
marginTop: "var(--ds-space-050, 4px)",
|
|
44
|
-
marginLeft: "var(--ds-space-150, 12px)",
|
|
45
|
-
animationDuration: '1s',
|
|
46
|
-
animationFillMode: 'forwards',
|
|
47
|
-
animationIterationCount: 'infinite',
|
|
48
|
-
animationName: shimmer,
|
|
49
|
-
animationTimingFunction: 'linear',
|
|
50
|
-
backgroundColor: "var(--ds-skeleton, ".concat(N30, ")"),
|
|
51
|
-
backgroundImage: "linear-gradient(to right, ".concat("var(--ds-skeleton, ".concat(N30, ")"), " 10%, ", "var(--ds-skeleton-subtle, ".concat(N20, ")"), " 30%, ", "var(--ds-skeleton, ".concat(N30, ")"), " 50%)"),
|
|
52
|
-
backgroundRepeat: 'no-repeat'
|
|
53
|
-
});
|
|
7
|
+
import { SkeletonOld } from './SkeletonOld';
|
|
8
|
+
var AutomationSkeletonContainer = null;
|
|
9
|
+
var SkeletonContainer = null;
|
|
10
|
+
var SkeletonIcon = null;
|
|
11
|
+
var MenuIcon = null;
|
|
12
|
+
var shimmer = null;
|
|
13
|
+
var SkeletonText = null;
|
|
54
14
|
var SkeletonLine = function SkeletonLine() {
|
|
55
|
-
return
|
|
56
|
-
|
|
57
|
-
},
|
|
58
|
-
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
15
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
16
|
+
className: ax(["_1mouu2gc _195gv47k _1e0c1txw"])
|
|
17
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
18
|
+
className: ax(["_1bsb1tcg _4t3i1tcg _1e0c1txw _1bah1h6o _4cvr1h6o"])
|
|
19
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
20
|
+
className: ax(["_2rkov77o _19it1vjj _1bsbpxbi _4t3ipxbi _1e0c1o8l _bfhk1r31 _tzy4nh7s"]),
|
|
21
|
+
style: {
|
|
22
|
+
"--_z2s59f": ix("var(--ds-space-025, 2px)".concat(" solid transparent"))
|
|
23
|
+
}
|
|
24
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
25
|
+
className: ax(["_1bsb13sl _4t3ipxbi _19pk1b66 _18u0utpp _5sag9cwz _1o51q7pw _tip812c5 _j7hq1nls _1pglp3kn _bfhk1uqo _1itk8aai _12vemgnk"]),
|
|
26
|
+
style: {
|
|
27
|
+
"--_1vab7it": ix("var(--ds-skeleton, ".concat(N30, ")")),
|
|
28
|
+
"--_w76hiz": ix("linear-gradient(to right, ".concat("var(--ds-skeleton, ".concat(N30, ")"), " 10%, ", "var(--ds-skeleton-subtle, ".concat(N20, ")"), " 30%, ", "var(--ds-skeleton, ".concat(N30, ")"), " 50%)"))
|
|
29
|
+
}
|
|
63
30
|
}));
|
|
64
31
|
};
|
|
65
32
|
var getSkeletonLines = function getSkeletonLines(lineCount) {
|
|
66
33
|
var skeletonLines = [];
|
|
67
34
|
for (var i = 0; i < lineCount; i++) {
|
|
68
|
-
skeletonLines.push(
|
|
35
|
+
skeletonLines.push( /*#__PURE__*/React.createElement(SkeletonLine, {
|
|
69
36
|
key: "skeleton-line-".concat(i)
|
|
70
37
|
}));
|
|
71
38
|
}
|
|
72
39
|
return skeletonLines;
|
|
73
40
|
};
|
|
74
|
-
export var
|
|
41
|
+
export var SkeletonNew = function SkeletonNew(props) {
|
|
75
42
|
var _props$lineCount = props.lineCount,
|
|
76
43
|
lineCount = _props$lineCount === void 0 ? 5 : _props$lineCount;
|
|
77
|
-
return (
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
);
|
|
44
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
45
|
+
className: ax(["_1rjcv77o"])
|
|
46
|
+
}, getSkeletonLines(lineCount));
|
|
47
|
+
};
|
|
48
|
+
export var Skeleton = function Skeleton(props) {
|
|
49
|
+
return fg('bandicoots-compiled-migration-smartcard') ? /*#__PURE__*/React.createElement(SkeletonNew, props) : /*#__PURE__*/React.createElement(SkeletonOld, props);
|
|
83
50
|
};
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.35.0 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
4
|
var _excluded = ["onClick"];
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
* @jsx jsx
|
|
7
|
-
*/
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
8
7
|
import { lazy, useCallback } from 'react';
|
|
9
|
-
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
|
-
import { jsx } from '@emotion/react';
|
|
12
8
|
import { FormattedMessage } from 'react-intl-next';
|
|
13
9
|
import { useAnalyticsEvents } from '../../../../../common/analytics/generated/use-analytics-events';
|
|
14
10
|
import { messages } from '../../../../../messages';
|
|
@@ -31,7 +27,7 @@ var ViewRelatedLinksAction = function ViewRelatedLinksAction(_ref) {
|
|
|
31
27
|
var onClick = useCallback(function () {
|
|
32
28
|
var ari = actionData === null || actionData === void 0 ? void 0 : actionData.ari;
|
|
33
29
|
if (ari) {
|
|
34
|
-
modal.open(
|
|
30
|
+
modal.open( /*#__PURE__*/React.createElement(RelatedLinksModal, {
|
|
35
31
|
ari: ari,
|
|
36
32
|
showModal: true,
|
|
37
33
|
onClose: function onClose() {
|
|
@@ -42,9 +38,9 @@ var ViewRelatedLinksAction = function ViewRelatedLinksAction(_ref) {
|
|
|
42
38
|
fireEvent('ui.button.clicked.relatedLinks', {});
|
|
43
39
|
onClickCallback === null || onClickCallback === void 0 || onClickCallback();
|
|
44
40
|
}, [actionData === null || actionData === void 0 ? void 0 : actionData.ari, fireEvent, modal, onClickCallback]);
|
|
45
|
-
return actionData ?
|
|
46
|
-
content:
|
|
47
|
-
icon:
|
|
41
|
+
return actionData ? /*#__PURE__*/React.createElement(Action, _extends({
|
|
42
|
+
content: /*#__PURE__*/React.createElement(FormattedMessage, messages.related_links_view_related_urls),
|
|
43
|
+
icon: /*#__PURE__*/React.createElement(RelatedLinksActionIcon, null),
|
|
48
44
|
onClick: onClick,
|
|
49
45
|
testId: "smart-action-view-related-links-action",
|
|
50
46
|
ariaLabel: "View most recent pages or content types coming from or found on this link"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
|
+
import { css, jsx } from '@emotion/react';
|
|
7
|
+
import ChildIssuesIcon from '@atlaskit/icon/core/migration/child-issues';
|
|
8
|
+
var rotateSvg = css({
|
|
9
|
+
transform: 'rotate(180deg)',
|
|
10
|
+
display: 'inline-block'
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* ChildIssuesIcon but 180 degrees rotated
|
|
15
|
+
*/
|
|
16
|
+
var RelatedLinksActionIconOld = function RelatedLinksActionIconOld() {
|
|
17
|
+
return jsx("span", {
|
|
18
|
+
css: rotateSvg
|
|
19
|
+
}, jsx(ChildIssuesIcon, {
|
|
20
|
+
color: "currentColor",
|
|
21
|
+
spacing: "spacious",
|
|
22
|
+
label: "View recent links..."
|
|
23
|
+
}));
|
|
24
|
+
};
|
|
25
|
+
export default RelatedLinksActionIconOld;
|
|
@@ -1,25 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
|
-
import { css, jsx } from '@emotion/react';
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.35.0 */
|
|
2
|
+
import "./index.compiled.css";
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
7
5
|
import ChildIssuesIcon from '@atlaskit/icon/core/migration/child-issues';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
});
|
|
6
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
|
+
import RelatedLinksActionIconOld from './RelatedLinksActionIconOld';
|
|
8
|
+
var rotateSvg = null;
|
|
12
9
|
|
|
13
10
|
/**
|
|
14
11
|
* ChildIssuesIcon but 180 degrees rotated
|
|
15
12
|
*/
|
|
16
|
-
var
|
|
17
|
-
return
|
|
18
|
-
|
|
19
|
-
},
|
|
13
|
+
var RelatedLinksActionIconNew = function RelatedLinksActionIconNew() {
|
|
14
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
15
|
+
className: ax(["_t9ec1sub _1e0c1o8l"])
|
|
16
|
+
}, /*#__PURE__*/React.createElement(ChildIssuesIcon, {
|
|
20
17
|
color: "currentColor",
|
|
21
18
|
spacing: "spacious",
|
|
22
19
|
label: "View recent links..."
|
|
23
20
|
}));
|
|
24
21
|
};
|
|
22
|
+
var RelatedLinksActionIcon = function RelatedLinksActionIcon() {
|
|
23
|
+
if (fg('bandicoots-compiled-migration-smartcard')) {
|
|
24
|
+
return /*#__PURE__*/React.createElement(RelatedLinksActionIconNew, null);
|
|
25
|
+
}
|
|
26
|
+
return /*#__PURE__*/React.createElement(RelatedLinksActionIconOld, null);
|
|
27
|
+
};
|
|
25
28
|
export default RelatedLinksActionIcon;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
|
-
import { jsx } from '@emotion/react';
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.35.0 */
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
8
4
|
import ImageLoader from 'react-render-image';
|
|
9
5
|
import LoadingSkeleton from '../loading-skeleton';
|
|
10
6
|
var ImageIcon = function ImageIcon(_ref) {
|
|
@@ -13,14 +9,14 @@ var ImageIcon = function ImageIcon(_ref) {
|
|
|
13
9
|
url = _ref.url,
|
|
14
10
|
onError = _ref.onError,
|
|
15
11
|
onLoad = _ref.onLoad;
|
|
16
|
-
return
|
|
12
|
+
return /*#__PURE__*/React.createElement(ImageLoader, {
|
|
17
13
|
src: url,
|
|
18
|
-
loading:
|
|
14
|
+
loading: /*#__PURE__*/React.createElement(LoadingSkeleton, {
|
|
19
15
|
testId: "".concat(testId, "-loading")
|
|
20
16
|
})
|
|
21
17
|
// eslint-disable-next-line jsx-a11y/alt-text
|
|
22
18
|
,
|
|
23
|
-
loaded:
|
|
19
|
+
loaded: /*#__PURE__*/React.createElement("img", {
|
|
24
20
|
src: url,
|
|
25
21
|
"data-testid": "".concat(testId, "-image")
|
|
26
22
|
}),
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
|
+
import { css, jsx, keyframes } from '@emotion/react';
|
|
8
|
+
var LoadingSkeletonOld = function LoadingSkeletonOld(_ref) {
|
|
9
|
+
var testId = _ref.testId,
|
|
10
|
+
width = _ref.width,
|
|
11
|
+
height = _ref.height;
|
|
12
|
+
var animationNameStyles = keyframes({
|
|
13
|
+
'0%': {
|
|
14
|
+
backgroundPosition: '50% 0'
|
|
15
|
+
},
|
|
16
|
+
'100%': {
|
|
17
|
+
backgroundPosition: '-50% 0'
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
var styles = css({
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
22
|
+
width: "".concat(width, "rem"),
|
|
23
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
24
|
+
height: "".concat(height, "rem"),
|
|
25
|
+
borderRadius: '2px',
|
|
26
|
+
userSelect: 'none',
|
|
27
|
+
background: "var(--ds-skeleton-subtle, #f6f7f8)",
|
|
28
|
+
backgroundImage: "linear-gradient( to right, transparent 0%, ".concat("var(--ds-skeleton, #edeef1)", " 20%, transparent 40%, transparent 100% )"),
|
|
29
|
+
backgroundRepeat: 'no-repeat',
|
|
30
|
+
backgroundSize: '280% 100%',
|
|
31
|
+
display: 'inline-block',
|
|
32
|
+
animationDuration: '1s',
|
|
33
|
+
animationFillMode: 'forwards',
|
|
34
|
+
animationIterationCount: 'infinite',
|
|
35
|
+
animationName: animationNameStyles,
|
|
36
|
+
animationTimingFunction: 'linear'
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- needs dynamic css
|
|
40
|
+
return jsx("span", {
|
|
41
|
+
css: styles,
|
|
42
|
+
"data-testid": testId
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
export default LoadingSkeletonOld;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
._2rkoyh40{border-radius:2px}._12vemgnk{background-repeat:no-repeat}
|
|
3
|
+
._1bsb9a7u{width:var(--_uc2kr6)}
|
|
4
|
+
._1e0c1o8l{display:inline-block}
|
|
5
|
+
._1itkx3i8{background-image:var(--_16116mi)}
|
|
6
|
+
._1lrw6rms{background-size:280% 100%}
|
|
7
|
+
._1o51q7pw{animation-fill-mode:forwards}
|
|
8
|
+
._1pglp3kn{animation-timing-function:linear}
|
|
9
|
+
._4t3iaym7{height:var(--_1nl18gq)}
|
|
10
|
+
._5sag9cwz{animation-duration:1s}
|
|
11
|
+
._bfhk178v{background-color:var(--ds-skeleton-subtle,#f6f7f8)}
|
|
12
|
+
._j7hqqkar{animation-name:kc09ee}
|
|
13
|
+
._tip812c5{animation-iteration-count:infinite}
|
|
14
|
+
._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}
|
|
15
|
+
@keyframes kc09ee{0%{background-position:50% 0}to{background-position:-50% 0}}
|
|
@@ -1,45 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.35.0 */
|
|
2
|
+
import "./index.compiled.css";
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
|
+
import LoadingSkeletonOld from './LoadingSkeletonOld';
|
|
7
|
+
var animationNameStyles = null;
|
|
8
|
+
var LoadingSkeletonNew = function LoadingSkeletonNew(_ref) {
|
|
9
9
|
var testId = _ref.testId,
|
|
10
10
|
width = _ref.width,
|
|
11
11
|
height = _ref.height;
|
|
12
|
-
var
|
|
13
|
-
'0%': {
|
|
14
|
-
backgroundPosition: '50% 0'
|
|
15
|
-
},
|
|
16
|
-
'100%': {
|
|
17
|
-
backgroundPosition: '-50% 0'
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
var styles = css({
|
|
21
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
22
|
-
width: "".concat(width, "rem"),
|
|
23
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
24
|
-
height: "".concat(height, "rem"),
|
|
25
|
-
borderRadius: '2px',
|
|
26
|
-
userSelect: 'none',
|
|
27
|
-
background: "var(--ds-skeleton-subtle, #f6f7f8)",
|
|
28
|
-
backgroundImage: "linear-gradient( to right, transparent 0%, ".concat("var(--ds-skeleton, #edeef1)", " 20%, transparent 40%, transparent 100% )"),
|
|
29
|
-
backgroundRepeat: 'no-repeat',
|
|
30
|
-
backgroundSize: '280% 100%',
|
|
31
|
-
display: 'inline-block',
|
|
32
|
-
animationDuration: '1s',
|
|
33
|
-
animationFillMode: 'forwards',
|
|
34
|
-
animationIterationCount: 'infinite',
|
|
35
|
-
animationName: animationNameStyles,
|
|
36
|
-
animationTimingFunction: 'linear'
|
|
37
|
-
});
|
|
12
|
+
var styles = null;
|
|
38
13
|
|
|
39
14
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- needs dynamic css
|
|
40
|
-
return
|
|
41
|
-
|
|
42
|
-
"
|
|
15
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
16
|
+
"data-testid": testId,
|
|
17
|
+
className: ax(["_2rkoyh40 _1bsb9a7u _4t3iaym7 _uiztglyw _bfhk178v _1itkx3i8 _12vemgnk _1lrw6rms _1e0c1o8l _5sag9cwz _1o51q7pw _tip812c5 _j7hqqkar _1pglp3kn"]),
|
|
18
|
+
style: {
|
|
19
|
+
"--_uc2kr6": ix("".concat(width, "rem")),
|
|
20
|
+
"--_1nl18gq": ix("".concat(height, "rem")),
|
|
21
|
+
"--_16116mi": ix("linear-gradient( to right, transparent 0%, ".concat("var(--ds-skeleton, #edeef1)", " 20%, transparent 40%, transparent 100% )"))
|
|
22
|
+
}
|
|
43
23
|
});
|
|
44
24
|
};
|
|
25
|
+
var LoadingSkeleton = function LoadingSkeleton(props) {
|
|
26
|
+
if (fg('bandicoots-compiled-migration-smartcard')) {
|
|
27
|
+
return /*#__PURE__*/React.createElement(LoadingSkeletonNew, props);
|
|
28
|
+
}
|
|
29
|
+
return /*#__PURE__*/React.createElement(LoadingSkeletonOld, props);
|
|
30
|
+
};
|
|
45
31
|
export default LoadingSkeleton;
|
|
@@ -25,6 +25,10 @@ export var getFormattedMessageAsString = function getFormattedMessageAsString(in
|
|
|
25
25
|
context: context
|
|
26
26
|
}) : '';
|
|
27
27
|
};
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @deprecated remove on FF bandicoots-compiled-migration-smartcard clean up
|
|
31
|
+
*/
|
|
28
32
|
var getIconDimensionStyles = function getIconDimensionStyles(value) {
|
|
29
33
|
return css({
|
|
30
34
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -41,6 +45,10 @@ var getIconDimensionStyles = function getIconDimensionStyles(value) {
|
|
|
41
45
|
maxWidth: value
|
|
42
46
|
});
|
|
43
47
|
};
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @deprecated remove on FF bandicoots-compiled-migration-smartcard clean up
|
|
51
|
+
*/
|
|
44
52
|
export var getIconSizeStyles = function getIconSizeStyles(width) {
|
|
45
53
|
var sizeStyles = getIconDimensionStyles(width);
|
|
46
54
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation
|
|
@@ -13,7 +13,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
13
13
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
14
14
|
var PACKAGE_DATA = {
|
|
15
15
|
packageName: "@atlaskit/smart-card",
|
|
16
|
-
packageVersion: "34.
|
|
16
|
+
packageVersion: "34.1.1",
|
|
17
17
|
componentName: 'linkUrl'
|
|
18
18
|
};
|
|
19
19
|
var Anchor = withLinkClickedEvent('a');
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import { jsx } from '@emotion/react';
|
|
6
|
+
import { type ActionProps } from './types';
|
|
7
|
+
/**
|
|
8
|
+
* A base action that can be triggered with an on click.
|
|
9
|
+
* @internal
|
|
10
|
+
* @param {ActionProps} ActionProps - The props necessary for the Action.
|
|
11
|
+
*/
|
|
12
|
+
declare const ActionOld: ({ as, appearance, content, isLoading, onClick, size, testId, icon, iconPosition, spaceInline, tooltipMessage, tooltipOnHide, hideTooltip, hideTooltipOnMouseDown, xcss, asDropDownItem, overrideCss, isDisabled, href, ariaLabel, wrapper: Wrapper, }: ActionProps) => jsx.JSX.Element | null;
|
|
13
|
+
export default ActionOld;
|
package/dist/types/view/FlexibleCard/components/actions/action/action-button/ActionButtonOld.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { jsx } from '@emotion/react';
|
|
2
|
+
import { type ActionButtonProps } from './types';
|
|
3
|
+
declare const ActionButtonOld: ({ appearance, content, iconAfter, iconBefore, isLoading, onClick, overrideCss, size, testId, tooltipMessage, isDisabled, href, ariaLabel, }: ActionButtonProps) => jsx.JSX.Element;
|
|
4
|
+
export default ActionButtonOld;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { type ActionButtonProps } from './types';
|
|
3
|
-
declare const ActionButton: (
|
|
3
|
+
declare const ActionButton: (props: ActionButtonProps) => JSX.Element;
|
|
4
4
|
export default ActionButton;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import { jsx } from '@emotion/react';
|
|
6
|
+
import { type ActionIconProps } from './types';
|
|
7
|
+
declare const ActionIconOld: ({ size, testId, icon, isDisabled, asStackItemIcon }: ActionIconProps) => jsx.JSX.Element;
|
|
8
|
+
export default ActionIconOld;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { jsx } from '@emotion/react';
|
|
1
|
+
/// <reference types="react" />
|
|
6
2
|
import { type ActionIconProps } from './types';
|
|
7
|
-
declare const ActionIcon: (
|
|
3
|
+
declare const ActionIcon: (props: ActionIconProps) => JSX.Element;
|
|
8
4
|
export default ActionIcon;
|
|
@@ -1,13 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { jsx } from '@emotion/react';
|
|
1
|
+
/// <reference types="react" />
|
|
6
2
|
import { type ActionProps } from './types';
|
|
7
|
-
|
|
8
|
-
* A base action that can be triggered with an on click.
|
|
9
|
-
* @internal
|
|
10
|
-
* @param {ActionProps} ActionProps - The props necessary for the Action.
|
|
11
|
-
*/
|
|
12
|
-
declare const Action: ({ as, appearance, content, isLoading, onClick, size, testId, icon, iconPosition, spaceInline, tooltipMessage, tooltipOnHide, hideTooltip, hideTooltipOnMouseDown, xcss, asDropDownItem, overrideCss, isDisabled, href, ariaLabel, wrapper: Wrapper, }: ActionProps) => jsx.JSX.Element | null;
|
|
3
|
+
declare const Action: (props: ActionProps) => JSX.Element;
|
|
13
4
|
export default Action;
|
|
@@ -70,10 +70,17 @@ export type ActionProps = {
|
|
|
70
70
|
*/
|
|
71
71
|
asDropDownItem?: boolean;
|
|
72
72
|
/**
|
|
73
|
+
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-24430 Internal documentation for deprecation (no external access)}
|
|
73
74
|
* Additional CSS properties on the Action.
|
|
74
75
|
* Note: This should be replaced with xcss once component has migrate to use DS Primitives
|
|
76
|
+
*
|
|
77
|
+
* use compiled css instead
|
|
75
78
|
*/
|
|
76
79
|
overrideCss?: SerializedStyles;
|
|
80
|
+
/**
|
|
81
|
+
* For compiled css
|
|
82
|
+
*/
|
|
83
|
+
className?: string;
|
|
77
84
|
/**
|
|
78
85
|
* Used to add space along the inline axis in ActionStackItem.
|
|
79
86
|
*/
|