@atlaskit/smart-card 26.60.0 → 26.62.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.
Files changed (82) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/analytics.spec.yaml +6 -0
  3. package/dist/cjs/extractors/common/icon/extractIcon.js +19 -1
  4. package/dist/cjs/extractors/common/icon/index.js +7 -0
  5. package/dist/cjs/extractors/embed/index.js +26 -1
  6. package/dist/cjs/extractors/flexible/icon/extract-jsonld-data-icon.js +33 -4
  7. package/dist/cjs/messages.js +15 -0
  8. package/dist/cjs/utils/analytics/analytics.js +1 -1
  9. package/dist/cjs/view/FlexibleCard/components/actions/action/action-icon/index.js +4 -6
  10. package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/index.js +1 -1
  11. package/dist/cjs/view/FlexibleCard/components/actions/action/index.js +1 -1
  12. package/dist/cjs/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.js +59 -0
  13. package/dist/cjs/view/FlexibleCard/components/actions/ai-summary-action/ai-summary-action-component.js +20 -51
  14. package/dist/cjs/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.js +62 -0
  15. package/dist/cjs/view/FlexibleCard/components/actions/follow-action/goal-icon/index.js +1 -1
  16. package/dist/cjs/view/FlexibleCard/components/actions/follow-action/projects-icon/index.js +1 -1
  17. package/dist/cjs/view/LinkUrl/index.js +1 -1
  18. package/dist/cjs/view/common/ai-icon/index.js +23 -20
  19. package/dist/cjs/view/common/ai-summary/index.js +1 -0
  20. package/dist/es2019/extractors/common/icon/extractIcon.js +21 -1
  21. package/dist/es2019/extractors/common/icon/index.js +1 -0
  22. package/dist/es2019/extractors/embed/index.js +28 -2
  23. package/dist/es2019/extractors/flexible/icon/extract-jsonld-data-icon.js +34 -3
  24. package/dist/es2019/messages.js +15 -0
  25. package/dist/es2019/utils/analytics/analytics.js +1 -1
  26. package/dist/es2019/view/FlexibleCard/components/actions/action/action-icon/index.js +4 -6
  27. package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/index.js +1 -1
  28. package/dist/es2019/view/FlexibleCard/components/actions/action/index.js +1 -1
  29. package/dist/es2019/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.js +49 -0
  30. package/dist/es2019/view/FlexibleCard/components/actions/ai-summary-action/ai-summary-action-component.js +19 -45
  31. package/dist/es2019/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.js +36 -0
  32. package/dist/es2019/view/FlexibleCard/components/actions/follow-action/goal-icon/index.js +1 -1
  33. package/dist/es2019/view/FlexibleCard/components/actions/follow-action/projects-icon/index.js +1 -1
  34. package/dist/es2019/view/LinkUrl/index.js +1 -1
  35. package/dist/es2019/view/common/ai-icon/index.js +104 -99
  36. package/dist/es2019/view/common/ai-summary/index.js +1 -0
  37. package/dist/esm/extractors/common/icon/extractIcon.js +19 -1
  38. package/dist/esm/extractors/common/icon/index.js +1 -0
  39. package/dist/esm/extractors/embed/index.js +27 -2
  40. package/dist/esm/extractors/flexible/icon/extract-jsonld-data-icon.js +33 -3
  41. package/dist/esm/messages.js +15 -0
  42. package/dist/esm/utils/analytics/analytics.js +1 -1
  43. package/dist/esm/view/FlexibleCard/components/actions/action/action-icon/index.js +4 -6
  44. package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/index.js +1 -1
  45. package/dist/esm/view/FlexibleCard/components/actions/action/index.js +1 -1
  46. package/dist/esm/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.js +49 -0
  47. package/dist/esm/view/FlexibleCard/components/actions/ai-summary-action/ai-summary-action-component.js +20 -48
  48. package/dist/esm/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.js +52 -0
  49. package/dist/esm/view/FlexibleCard/components/actions/follow-action/goal-icon/index.js +1 -1
  50. package/dist/esm/view/FlexibleCard/components/actions/follow-action/projects-icon/index.js +1 -1
  51. package/dist/esm/view/LinkUrl/index.js +1 -1
  52. package/dist/esm/view/common/ai-icon/index.js +23 -20
  53. package/dist/esm/view/common/ai-summary/index.js +1 -0
  54. package/dist/types/common/analytics/generated/analytics.types.d.ts +5 -1
  55. package/dist/types/extractors/common/icon/index.d.ts +1 -0
  56. package/dist/types/extractors/embed/index.d.ts +3 -3
  57. package/dist/types/messages.d.ts +2 -2
  58. package/dist/types/view/FlexibleCard/components/actions/action/action-icon/index.d.ts +1 -1
  59. package/dist/types/view/FlexibleCard/components/actions/action/action-icon/types.d.ts +1 -1
  60. package/dist/types/view/FlexibleCard/components/actions/action/action-stack-item/index.d.ts +1 -1
  61. package/dist/types/view/FlexibleCard/components/actions/action/index.d.ts +1 -1
  62. package/dist/types/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.d.ts +8 -0
  63. package/dist/types/view/FlexibleCard/components/actions/ai-summary-action/ai-summary-action-component.d.ts +3 -3
  64. package/dist/types/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.d.ts +6 -0
  65. package/dist/types/view/FlexibleCard/components/actions/follow-action/goal-icon/index.d.ts +1 -1
  66. package/dist/types/view/FlexibleCard/components/actions/follow-action/projects-icon/index.d.ts +1 -1
  67. package/dist/types/view/common/ai-summary/index.d.ts +1 -1
  68. package/dist/types-ts4.5/common/analytics/generated/analytics.types.d.ts +5 -1
  69. package/dist/types-ts4.5/extractors/common/icon/index.d.ts +1 -0
  70. package/dist/types-ts4.5/extractors/embed/index.d.ts +3 -3
  71. package/dist/types-ts4.5/messages.d.ts +2 -2
  72. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-icon/index.d.ts +1 -1
  73. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-icon/types.d.ts +1 -1
  74. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-stack-item/index.d.ts +1 -1
  75. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/index.d.ts +1 -1
  76. package/dist/types-ts4.5/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.d.ts +8 -0
  77. package/dist/types-ts4.5/view/FlexibleCard/components/actions/ai-summary-action/ai-summary-action-component.d.ts +3 -3
  78. package/dist/types-ts4.5/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.d.ts +6 -0
  79. package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/goal-icon/index.d.ts +1 -1
  80. package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/projects-icon/index.d.ts +1 -1
  81. package/dist/types-ts4.5/view/common/ai-summary/index.d.ts +1 -1
  82. package/package.json +5 -5
@@ -0,0 +1,52 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
3
+ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
5
+ var _excluded = ["url", "ari", "product", "onClick", "testId", "content"];
6
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
7
+ import React, { useCallback, useState } from 'react';
8
+ import CopyIcon from '@atlaskit/icon/glyph/copy';
9
+ import { FormattedMessage } from 'react-intl-next';
10
+ import Action from '../action';
11
+ import { messages } from '../../../../../messages';
12
+ import { useAnalyticsEvents } from '../../../../../common/analytics/generated/use-analytics-events';
13
+ export function CopySummaryAction(_ref) {
14
+ var url = _ref.url,
15
+ ari = _ref.ari,
16
+ product = _ref.product,
17
+ onClickCallback = _ref.onClick,
18
+ testId = _ref.testId,
19
+ content = _ref.content,
20
+ props = _objectWithoutProperties(_ref, _excluded);
21
+ var _useAnalyticsEvents = useAnalyticsEvents(),
22
+ fireEvent = _useAnalyticsEvents.fireEvent;
23
+ var _useState = useState(messages.copy_summary_action),
24
+ _useState2 = _slicedToArray(_useState, 2),
25
+ tooltipMessage = _useState2[0],
26
+ setTooltipMessage = _useState2[1];
27
+ var handleCopySummaryClick = useCallback( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
28
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
29
+ while (1) switch (_context.prev = _context.next) {
30
+ case 0:
31
+ fireEvent('ui.button.clicked.copySummary', {});
32
+ _context.next = 3;
33
+ return navigator.clipboard.writeText(content !== null && content !== void 0 ? content : '');
34
+ case 3:
35
+ setTooltipMessage(messages.copied_summary_action_description);
36
+ onClickCallback === null || onClickCallback === void 0 || onClickCallback();
37
+ case 5:
38
+ case "end":
39
+ return _context.stop();
40
+ }
41
+ }, _callee);
42
+ })), [fireEvent, onClickCallback, content]);
43
+ return /*#__PURE__*/React.createElement(Action, _extends({
44
+ content: /*#__PURE__*/React.createElement(FormattedMessage, messages.copy_summary_action),
45
+ icon: /*#__PURE__*/React.createElement(CopyIcon, {
46
+ label: "Copy Summary"
47
+ }),
48
+ onClick: handleCopySummaryClick,
49
+ testId: "".concat(testId, "-copy-summary-action"),
50
+ tooltipMessage: /*#__PURE__*/React.createElement(FormattedMessage, tooltipMessage)
51
+ }, props));
52
+ }
@@ -12,7 +12,7 @@ var GoalGlyph = function GoalGlyph(props) {
12
12
  fillRule: "evenodd",
13
13
  clipRule: "evenodd",
14
14
  d: "M12.6667 8C12.6667 10.5773 10.5773 12.6667 8 12.6667C5.42267 12.6667 3.33333 10.5773 3.33333 8C3.33333 5.42267 5.42267 3.33333 8 3.33333C10.5773 3.33333 12.6667 5.42267 12.6667 8ZM14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8ZM9.33333 8C9.33333 8.73638 8.73638 9.33333 8 9.33333C7.26362 9.33333 6.66667 8.73638 6.66667 8C6.66667 7.26362 7.26362 6.66667 8 6.66667C8.73638 6.66667 9.33333 7.26362 9.33333 8ZM10.6667 8C10.6667 9.47276 9.47276 10.6667 8 10.6667C6.52724 10.6667 5.33333 9.47276 5.33333 8C5.33333 6.52724 6.52724 5.33333 8 5.33333C9.47276 5.33333 10.6667 6.52724 10.6667 8Z",
15
- fill: "#0C66E4"
15
+ fill: "var(--ds-icon, #44546F)"
16
16
  }));
17
17
  };
18
18
  export var GoalIcon = function GoalIcon(props) {
@@ -12,7 +12,7 @@ var ProjectsGlyph = function ProjectsGlyph(props) {
12
12
  fillRule: "evenodd",
13
13
  clipRule: "evenodd",
14
14
  d: "M9.88573 4.00002C9.70892 4.00002 9.53935 4.07026 9.41433 4.19528L6.97282 6.63678L4.20525 6.94429C4.05479 6.96101 3.91451 7.02844 3.80746 7.13548L3.60959 7.33335L4.35367 8.07743C4.6791 8.40287 4.6791 8.93051 4.35367 9.25594L3.47152 10.1381C3.21117 10.3984 2.78906 10.3984 2.52871 10.1381C2.26836 9.87774 2.26836 9.45563 2.52871 9.19528L3.0573 8.66669L2.43108 8.04046C2.04055 7.64993 2.04055 7.01677 2.43108 6.62625L2.86465 6.19267C3.18578 5.87154 3.60664 5.66927 4.05801 5.61911L6.36073 5.36326L8.47152 3.25247C8.84659 2.8774 9.3553 2.66669 9.88573 2.66669H12.0001C12.7365 2.66669 13.3334 3.26364 13.3334 4.00002V6.1144C13.3334 6.64483 13.1227 7.15354 12.7477 7.52862L10.6369 9.6394L10.381 11.9421C10.3309 12.3935 10.1286 12.8143 9.80746 13.1355L9.37389 13.5691C8.98336 13.9596 8.3502 13.9596 7.95967 13.5691L7.33345 12.9428L6.80485 13.4714C6.5445 13.7318 6.12239 13.7318 5.86204 13.4714C5.60169 13.2111 5.60169 12.789 5.86204 12.5286L6.74419 11.6465C7.06963 11.321 7.59726 11.321 7.9227 11.6465L8.66678 12.3905L8.86466 12.1927C8.9717 12.0856 9.03912 11.9453 9.05584 11.7949L9.36335 9.02731L11.8049 6.58581C11.9299 6.46078 12.0001 6.29121 12.0001 6.1144V4.00002H9.88573ZM5.80486 10.1953C6.06521 10.4556 6.06521 10.8777 5.80486 11.1381L3.80486 13.1381C3.54451 13.3984 3.1224 13.3984 2.86205 13.1381C2.6017 12.8777 2.6017 12.4556 2.86205 12.1953L4.86205 10.1953C5.1224 9.93493 5.54451 9.93493 5.80486 10.1953ZM10.0001 6.66669C10.3683 6.66669 10.6668 6.36821 10.6668 6.00002C10.6668 5.63183 10.3683 5.33335 10.0001 5.33335C9.63193 5.33335 9.33346 5.63183 9.33346 6.00002C9.33346 6.36821 9.63193 6.66669 10.0001 6.66669Z",
15
- fill: "#0C66E4"
15
+ fill: "var(--ds-icon, #44546F)"
16
16
  }));
17
17
  };
18
18
  export var ProjectsIcon = function ProjectsIcon(props) {
@@ -10,7 +10,7 @@ import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-m
10
10
  import LinkWarningModal from './LinkWarningModal';
11
11
  var PACKAGE_DATA = {
12
12
  packageName: "@atlaskit/smart-card",
13
- packageVersion: "26.60.0",
13
+ packageVersion: "26.62.0",
14
14
  componentName: 'linkUrl'
15
15
  };
16
16
  var Link = withLinkClickedEvent('a');
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import SVG from '@atlaskit/icon/svg';
3
+ import { getBooleanFF } from '@atlaskit/platform-feature-flags';
3
4
  import { B200, B400 } from '@atlaskit/theme/colors';
4
5
  /**
5
6
  * The bulk of this file is originally from
@@ -7,6 +8,8 @@ import { B200, B400 } from '@atlaskit/theme/colors';
7
8
  * with modifications
8
9
  */
9
10
  var AiIcon = function AiIcon(props) {
11
+ var iconColor = getBooleanFF('platform.linking-platform.smart-card.hover-card-action-redesign') ? "var(--ds-icon, #44546F)" : "var(--ds-icon-accent-blue, ".concat(B200, ")");
12
+ var textColor = getBooleanFF('platform.linking-platform.smart-card.hover-card-action-redesign') ? "var(--ds-icon, #44546F)" : "var(--ds-text-accent-blue, ".concat(B400, ")");
10
13
  return /*#__PURE__*/React.createElement(SVG, props, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
11
14
  id: "ai_icon_lg0",
12
15
  x1: "21",
@@ -16,12 +19,12 @@ var AiIcon = function AiIcon(props) {
16
19
  gradientUnits: "userSpaceOnUse"
17
20
  }, /*#__PURE__*/React.createElement("stop", {
18
21
  offset: "0.270833",
19
- stopColor: "var(--ds-icon-accent-blue, ".concat(B200, ")"),
20
- color: "var(--ds-icon-accent-blue, ".concat(B200, ")")
22
+ stopColor: iconColor,
23
+ color: iconColor
21
24
  }), /*#__PURE__*/React.createElement("stop", {
22
25
  offset: "1",
23
- stopColor: "var(--ds-text-accent-blue, ".concat(B400, ")"),
24
- color: "var(--ds-text-accent-blue, ".concat(B400, ")")
26
+ stopColor: textColor,
27
+ color: textColor
25
28
  })), /*#__PURE__*/React.createElement("linearGradient", {
26
29
  id: "ai_icon_lg1",
27
30
  x1: "12.5",
@@ -31,12 +34,12 @@ var AiIcon = function AiIcon(props) {
31
34
  gradientUnits: "userSpaceOnUse"
32
35
  }, /*#__PURE__*/React.createElement("stop", {
33
36
  offset: "0.1875",
34
- stopColor: "var(--ds-icon-accent-blue, ".concat(B200, ")"),
35
- color: "var(--ds-icon-accent-blue, ".concat(B200, ")")
37
+ stopColor: iconColor,
38
+ color: iconColor
36
39
  }), /*#__PURE__*/React.createElement("stop", {
37
40
  offset: "1",
38
- stopColor: "var(--ds-text-accent-blue, ".concat(B400, ")"),
39
- color: "var(--ds-text-accent-blue, ".concat(B400, ")")
41
+ stopColor: textColor,
42
+ color: textColor
40
43
  })), /*#__PURE__*/React.createElement("linearGradient", {
41
44
  id: "ai_icon_lg2",
42
45
  x1: "6.82996",
@@ -45,12 +48,12 @@ var AiIcon = function AiIcon(props) {
45
48
  y2: "12",
46
49
  gradientUnits: "userSpaceOnUse"
47
50
  }, /*#__PURE__*/React.createElement("stop", {
48
- stopColor: "var(--ds-text-accent-blue, ".concat(B400, ")"),
49
- color: "var(--ds-text-accent-blue, ".concat(B400, ")")
51
+ stopColor: textColor,
52
+ color: textColor
50
53
  }), /*#__PURE__*/React.createElement("stop", {
51
54
  offset: "0.791667",
52
- stopColor: "var(--ds-icon-accent-blue, ".concat(B200, ")"),
53
- color: "var(--ds-icon-accent-blue, ".concat(B200, ")")
55
+ stopColor: iconColor,
56
+ color: iconColor
54
57
  })), /*#__PURE__*/React.createElement("linearGradient", {
55
58
  id: "ai_icon_lg3",
56
59
  x1: "12.5",
@@ -59,12 +62,12 @@ var AiIcon = function AiIcon(props) {
59
62
  y2: "21",
60
63
  gradientUnits: "userSpaceOnUse"
61
64
  }, /*#__PURE__*/React.createElement("stop", {
62
- stopColor: "var(--ds-text-accent-blue, ".concat(B400, ")"),
63
- color: "var(--ds-text-accent-blue, ".concat(B400, ")")
65
+ stopColor: textColor,
66
+ color: textColor
64
67
  }), /*#__PURE__*/React.createElement("stop", {
65
68
  offset: "0.802083",
66
- stopColor: "var(--ds-icon-accent-blue, ".concat(B200, ")"),
67
- color: "var(--ds-icon-accent-blue, ".concat(B200, ")")
69
+ stopColor: iconColor,
70
+ color: iconColor
68
71
  }))), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
69
72
  fillRule: "evenodd",
70
73
  clipRule: "evenodd",
@@ -89,22 +92,22 @@ var AiIcon = function AiIcon(props) {
89
92
  fillRule: "evenodd",
90
93
  clipRule: "evenodd",
91
94
  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",
92
- fill: "var(--ds-icon-accent-blue, ".concat(B200, ")")
95
+ fill: iconColor
93
96
  }), /*#__PURE__*/React.createElement("path", {
94
97
  fillRule: "evenodd",
95
98
  clipRule: "evenodd",
96
99
  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",
97
- fill: "var(--ds-icon-accent-blue, ".concat(B200, ")")
100
+ fill: iconColor
98
101
  }), /*#__PURE__*/React.createElement("path", {
99
102
  fillRule: "evenodd",
100
103
  clipRule: "evenodd",
101
104
  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",
102
- fill: "var(--ds-icon-accent-blue, ".concat(B200, ")")
105
+ fill: iconColor
103
106
  }), /*#__PURE__*/React.createElement("path", {
104
107
  fillRule: "evenodd",
105
108
  clipRule: "evenodd",
106
109
  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",
107
- fill: "var(--ds-icon-accent-blue, ".concat(B200, ")")
110
+ fill: iconColor
108
111
  })));
109
112
  };
110
113
  export default AiIcon;
@@ -15,6 +15,7 @@ var AISummaryCSSStyles = css({
15
15
  fontSize: '0.75rem',
16
16
  lineHeight: '1rem',
17
17
  wordWrap: 'break-word',
18
+ wordBreak: 'break-word',
18
19
  whiteSpace: 'normal',
19
20
  WebkitUserSelect: 'text',
20
21
  MozUserSelect: 'text',
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Generates Typescript types for analytics events from analytics.spec.yaml
5
5
  *
6
- * @codegen <<SignedSource::c4023f0dc3ef442249a36d387b17308e>>
6
+ * @codegen <<SignedSource::334c6c6965226785c649b8d6b292227c>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen smart-card
8
8
  */
9
9
  export type PackageMetaDataType = {
@@ -25,6 +25,7 @@ export type ResolvedAttributesType = {
25
25
  canBeDatasource: boolean | null;
26
26
  };
27
27
  export type ButtonClickedAiSummaryAttributesType = {};
28
+ export type ButtonClickedCopySummaryAttributesType = {};
28
29
  export type SummaryViewedAttributesType = {
29
30
  fromCache: boolean | null;
30
31
  };
@@ -42,6 +43,9 @@ export type AnalyticsEventAttributes = {
42
43
  /**
43
44
  * fired when an ai summary is clicked */
44
45
  'ui.button.clicked.aiSummary': ButtonClickedAiSummaryAttributesType;
46
+ /**
47
+ * fired when the copy ai summary button is clicked */
48
+ 'ui.button.clicked.copySummary': ButtonClickedCopySummaryAttributesType;
45
49
  /**
46
50
  * fired when a summary is viewed */
47
51
  'ui.summary.viewed': SummaryViewedAttributesType;
@@ -1,4 +1,5 @@
1
1
  export { extractFileFormat } from './extractFileFormat';
2
+ export { prioritiseIcon } from './prioritiseIcon';
2
3
  export { extractIcon } from './extractIcon';
3
4
  export { extractIconFromDocument } from './extractIconFromDocument';
4
5
  export { extractIconFromTask } from './extractIconFromTask';
@@ -1,4 +1,4 @@
1
- import { JsonLd } from 'json-ld-types';
2
- import { CardPlatform, EmbedIframeUrlType } from '../../view/Card/types';
3
- import { EmbedCardResolvedViewProps } from '../../view/EmbedCard/views/ResolvedView';
1
+ import { type JsonLd } from 'json-ld-types';
2
+ import { type CardPlatform, type EmbedIframeUrlType } from '../../view/Card/types';
3
+ import { type EmbedCardResolvedViewProps } from '../../view/EmbedCard/views/ResolvedView';
4
4
  export declare const extractEmbedProps: (jsonLd: JsonLd.Data.BaseData, meta?: JsonLd.Meta.BaseMeta, platform?: CardPlatform, iframeUrlType?: EmbedIframeUrlType) => EmbedCardResolvedViewProps;
@@ -1,6 +1,6 @@
1
- import { MessageDescriptor } from 'react-intl-next';
1
+ import { type MessageDescriptor } from 'react-intl-next';
2
2
  export type RequestAccessMessageKey = 'click_to_join' | 'click_to_join_description' | 'forbidden_description' | 'request_access' | 'request_access_description' | 'request_access_pending' | 'request_access_pending_title' | 'request_access_pending_description' | 'request_denied_description' | 'default_no_access_title' | 'direct_access_title' | 'direct_access_description' | 'direct_access' | 'access_exists_description' | 'not_found_description' | 'not_found_title';
3
- export type MessageKey = 'assigned_to' | 'ai_summarize' | 'ai_summarized' | 'ai_summarized_abbreviation' | 'ai_summarized_info' | 'ai_summarizing' | 'ai_summary_error_generic' | 'ai_summary_error_acceptable_use_violation' | 'ai_summary_error_hipaa_content_detected' | 'ai_summary_action' | 'ai_summary_action_description' | 'beta' | 'cannot_find_link' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_unauthorised_account_action' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'preview_description' | 'preview_improved' | 'preview_close' | 'preview_max_size' | 'preview_min_size' | 'priority_blocker' | 'priority_critical' | 'priority_high' | 'priority_highest' | 'priority_low' | 'priority_lowest' | 'priority_major' | 'priority_medium' | 'priority_minor' | 'priority_trivial' | 'priority_undefined' | 'forbidden_access' | 'pending_request' | 'read_time' | 'restricted_link' | 'request_access_to_view' | 'request_denied' | 'sent_on_relative' | 'sent_on_absolute' | 'status_change_load_error' | 'status_change_permission_error' | 'status_change_update_error' | 'try_again' | 'try_another_account' | 'unauthorised_account_description' | 'unauthorised_account_description_no_provider' | 'unauthorised_account_name' | 'unauthorised_account_name_no_provider' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project' | 'unfollow_goal' | 'unfollow_goal_description' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related_work_items_not_found' | 'last_mentioned_in' | 'related' | 'generic_error_message';
3
+ export type MessageKey = 'assigned_to' | 'ai_summarize' | 'ai_summarized' | 'ai_summarized_abbreviation' | 'ai_summarized_info' | 'ai_summarizing' | 'ai_summary_error_generic' | 'ai_summary_error_acceptable_use_violation' | 'ai_summary_error_hipaa_content_detected' | 'ai_summary_action' | 'ai_summary_action_description' | 'copy_summary_action' | 'copy_summary_action_description' | 'copied_summary_action_description' | 'beta' | 'cannot_find_link' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_unauthorised_account_action' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'preview_description' | 'preview_improved' | 'preview_close' | 'preview_max_size' | 'preview_min_size' | 'priority_blocker' | 'priority_critical' | 'priority_high' | 'priority_highest' | 'priority_low' | 'priority_lowest' | 'priority_major' | 'priority_medium' | 'priority_minor' | 'priority_trivial' | 'priority_undefined' | 'forbidden_access' | 'pending_request' | 'read_time' | 'restricted_link' | 'request_access_to_view' | 'request_denied' | 'sent_on_relative' | 'sent_on_absolute' | 'status_change_load_error' | 'status_change_permission_error' | 'status_change_update_error' | 'try_again' | 'try_another_account' | 'unauthorised_account_description' | 'unauthorised_account_description_no_provider' | 'unauthorised_account_name' | 'unauthorised_account_name_no_provider' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project' | 'unfollow_goal' | 'unfollow_goal_description' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related_work_items_not_found' | 'last_mentioned_in' | 'related' | 'generic_error_message';
4
4
  type Messages = {
5
5
  [K in MessageKey]: MessageDescriptor;
6
6
  };
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
- import { ActionIconProps } from './types';
3
+ import { type ActionIconProps } from './types';
4
4
  declare const ActionIcon: React.FC<ActionIconProps>;
5
5
  export default ActionIcon;
@@ -1,9 +1,9 @@
1
1
  import type { ReactChild } from 'react';
2
2
  import type { SmartLinkSize } from '../../../../../../constants';
3
3
  export type ActionIconProps = {
4
+ asStackItemIcon?: boolean;
4
5
  size?: SmartLinkSize;
5
6
  icon?: ReactChild;
6
7
  isDisabled?: boolean;
7
- showBackground?: boolean;
8
8
  testId?: string;
9
9
  };
@@ -1,4 +1,4 @@
1
1
  import { type FC } from 'react';
2
- import { ActionStackItemProps } from './types';
2
+ import { type ActionStackItemProps } from './types';
3
3
  declare const ActionStackItem: FC<ActionStackItemProps>;
4
4
  export default ActionStackItem;
@@ -1,6 +1,6 @@
1
1
  /** @jsx jsx */
2
2
  import { type FC } from 'react';
3
- import { ActionProps } from './types';
3
+ import { type ActionProps } from './types';
4
4
  /**
5
5
  * A base action that can be triggered with an on click.
6
6
  * @internal
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import type { AISummaryState, AISummaryStatus } from '../../../../../state/hooks/use-ai-summary/ai-summary-service/types';
3
+ import type { AISummaryActionData } from '../../../../../state/flexible-ui-context/types';
4
+ import type { AISummaryActionProps } from './types';
5
+ export declare function AISummariseAction({ url, ari, product, onClick: onClickCallback, onError: onErrorCallback, testId, status, summariseUrl, ...props }: AISummaryActionProps & AISummaryActionData & {
6
+ status: AISummaryStatus;
7
+ summariseUrl: () => Promise<AISummaryState> | undefined;
8
+ }): JSX.Element;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { type AISummaryActionData } from '../../../../../state/flexible-ui-context/types';
3
- import { type AISummaryActionProps } from './types';
4
- export declare const AISummaryActionComponent: ({ onClick: onClickCallback, onError: onErrorCallback, url, ari, product, ...props }: AISummaryActionProps & AISummaryActionData) => JSX.Element | null;
2
+ import type { AISummaryActionData } from '../../../../../state/flexible-ui-context/types';
3
+ import type { AISummaryActionProps } from './types';
4
+ export declare const AISummaryActionComponent: (props: AISummaryActionProps & AISummaryActionData) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import type { AISummaryActionData } from '../../../../../state/flexible-ui-context/types';
3
+ import type { AISummaryActionProps } from './types';
4
+ export declare function CopySummaryAction({ url, ari, product, onClick: onClickCallback, testId, content, ...props }: AISummaryActionProps & AISummaryActionData & {
5
+ content: string;
6
+ }): JSX.Element;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { IconProps } from '@atlaskit/icon';
2
+ import { type IconProps } from '@atlaskit/icon';
3
3
  export declare const GoalIcon: (props: IconProps) => JSX.Element;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { IconProps } from '@atlaskit/icon';
2
+ import { type IconProps } from '@atlaskit/icon';
3
3
  export declare const ProjectsIcon: (props: IconProps) => JSX.Element;
@@ -1,7 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
3
  import { type MarkdownToJSX } from 'markdown-to-jsx';
4
- import { SerializedStyles } from '@emotion/react';
4
+ import { type SerializedStyles } from '@emotion/react';
5
5
  type AISummaryProps = {
6
6
  content?: string;
7
7
  showIcon?: boolean;
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Generates Typescript types for analytics events from analytics.spec.yaml
5
5
  *
6
- * @codegen <<SignedSource::c4023f0dc3ef442249a36d387b17308e>>
6
+ * @codegen <<SignedSource::334c6c6965226785c649b8d6b292227c>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen smart-card
8
8
  */
9
9
  export type PackageMetaDataType = {
@@ -25,6 +25,7 @@ export type ResolvedAttributesType = {
25
25
  canBeDatasource: boolean | null;
26
26
  };
27
27
  export type ButtonClickedAiSummaryAttributesType = {};
28
+ export type ButtonClickedCopySummaryAttributesType = {};
28
29
  export type SummaryViewedAttributesType = {
29
30
  fromCache: boolean | null;
30
31
  };
@@ -42,6 +43,9 @@ export type AnalyticsEventAttributes = {
42
43
  /**
43
44
  * fired when an ai summary is clicked */
44
45
  'ui.button.clicked.aiSummary': ButtonClickedAiSummaryAttributesType;
46
+ /**
47
+ * fired when the copy ai summary button is clicked */
48
+ 'ui.button.clicked.copySummary': ButtonClickedCopySummaryAttributesType;
45
49
  /**
46
50
  * fired when a summary is viewed */
47
51
  'ui.summary.viewed': SummaryViewedAttributesType;
@@ -1,4 +1,5 @@
1
1
  export { extractFileFormat } from './extractFileFormat';
2
+ export { prioritiseIcon } from './prioritiseIcon';
2
3
  export { extractIcon } from './extractIcon';
3
4
  export { extractIconFromDocument } from './extractIconFromDocument';
4
5
  export { extractIconFromTask } from './extractIconFromTask';
@@ -1,4 +1,4 @@
1
- import { JsonLd } from 'json-ld-types';
2
- import { CardPlatform, EmbedIframeUrlType } from '../../view/Card/types';
3
- import { EmbedCardResolvedViewProps } from '../../view/EmbedCard/views/ResolvedView';
1
+ import { type JsonLd } from 'json-ld-types';
2
+ import { type CardPlatform, type EmbedIframeUrlType } from '../../view/Card/types';
3
+ import { type EmbedCardResolvedViewProps } from '../../view/EmbedCard/views/ResolvedView';
4
4
  export declare const extractEmbedProps: (jsonLd: JsonLd.Data.BaseData, meta?: JsonLd.Meta.BaseMeta, platform?: CardPlatform, iframeUrlType?: EmbedIframeUrlType) => EmbedCardResolvedViewProps;
@@ -1,6 +1,6 @@
1
- import { MessageDescriptor } from 'react-intl-next';
1
+ import { type MessageDescriptor } from 'react-intl-next';
2
2
  export type RequestAccessMessageKey = 'click_to_join' | 'click_to_join_description' | 'forbidden_description' | 'request_access' | 'request_access_description' | 'request_access_pending' | 'request_access_pending_title' | 'request_access_pending_description' | 'request_denied_description' | 'default_no_access_title' | 'direct_access_title' | 'direct_access_description' | 'direct_access' | 'access_exists_description' | 'not_found_description' | 'not_found_title';
3
- export type MessageKey = 'assigned_to' | 'ai_summarize' | 'ai_summarized' | 'ai_summarized_abbreviation' | 'ai_summarized_info' | 'ai_summarizing' | 'ai_summary_error_generic' | 'ai_summary_error_acceptable_use_violation' | 'ai_summary_error_hipaa_content_detected' | 'ai_summary_action' | 'ai_summary_action_description' | 'beta' | 'cannot_find_link' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_unauthorised_account_action' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'preview_description' | 'preview_improved' | 'preview_close' | 'preview_max_size' | 'preview_min_size' | 'priority_blocker' | 'priority_critical' | 'priority_high' | 'priority_highest' | 'priority_low' | 'priority_lowest' | 'priority_major' | 'priority_medium' | 'priority_minor' | 'priority_trivial' | 'priority_undefined' | 'forbidden_access' | 'pending_request' | 'read_time' | 'restricted_link' | 'request_access_to_view' | 'request_denied' | 'sent_on_relative' | 'sent_on_absolute' | 'status_change_load_error' | 'status_change_permission_error' | 'status_change_update_error' | 'try_again' | 'try_another_account' | 'unauthorised_account_description' | 'unauthorised_account_description_no_provider' | 'unauthorised_account_name' | 'unauthorised_account_name_no_provider' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project' | 'unfollow_goal' | 'unfollow_goal_description' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related_work_items_not_found' | 'last_mentioned_in' | 'related' | 'generic_error_message';
3
+ export type MessageKey = 'assigned_to' | 'ai_summarize' | 'ai_summarized' | 'ai_summarized_abbreviation' | 'ai_summarized_info' | 'ai_summarizing' | 'ai_summary_error_generic' | 'ai_summary_error_acceptable_use_violation' | 'ai_summary_error_hipaa_content_detected' | 'ai_summary_action' | 'ai_summary_action_description' | 'copy_summary_action' | 'copy_summary_action_description' | 'copied_summary_action_description' | 'beta' | 'cannot_find_link' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_unauthorised_account_action' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'preview_description' | 'preview_improved' | 'preview_close' | 'preview_max_size' | 'preview_min_size' | 'priority_blocker' | 'priority_critical' | 'priority_high' | 'priority_highest' | 'priority_low' | 'priority_lowest' | 'priority_major' | 'priority_medium' | 'priority_minor' | 'priority_trivial' | 'priority_undefined' | 'forbidden_access' | 'pending_request' | 'read_time' | 'restricted_link' | 'request_access_to_view' | 'request_denied' | 'sent_on_relative' | 'sent_on_absolute' | 'status_change_load_error' | 'status_change_permission_error' | 'status_change_update_error' | 'try_again' | 'try_another_account' | 'unauthorised_account_description' | 'unauthorised_account_description_no_provider' | 'unauthorised_account_name' | 'unauthorised_account_name_no_provider' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project' | 'unfollow_goal' | 'unfollow_goal_description' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related_work_items_not_found' | 'last_mentioned_in' | 'related' | 'generic_error_message';
4
4
  type Messages = {
5
5
  [K in MessageKey]: MessageDescriptor;
6
6
  };
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
- import { ActionIconProps } from './types';
3
+ import { type ActionIconProps } from './types';
4
4
  declare const ActionIcon: React.FC<ActionIconProps>;
5
5
  export default ActionIcon;
@@ -1,9 +1,9 @@
1
1
  import type { ReactChild } from 'react';
2
2
  import type { SmartLinkSize } from '../../../../../../constants';
3
3
  export type ActionIconProps = {
4
+ asStackItemIcon?: boolean;
4
5
  size?: SmartLinkSize;
5
6
  icon?: ReactChild;
6
7
  isDisabled?: boolean;
7
- showBackground?: boolean;
8
8
  testId?: string;
9
9
  };
@@ -1,4 +1,4 @@
1
1
  import { type FC } from 'react';
2
- import { ActionStackItemProps } from './types';
2
+ import { type ActionStackItemProps } from './types';
3
3
  declare const ActionStackItem: FC<ActionStackItemProps>;
4
4
  export default ActionStackItem;
@@ -1,6 +1,6 @@
1
1
  /** @jsx jsx */
2
2
  import { type FC } from 'react';
3
- import { ActionProps } from './types';
3
+ import { type ActionProps } from './types';
4
4
  /**
5
5
  * A base action that can be triggered with an on click.
6
6
  * @internal
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import type { AISummaryState, AISummaryStatus } from '../../../../../state/hooks/use-ai-summary/ai-summary-service/types';
3
+ import type { AISummaryActionData } from '../../../../../state/flexible-ui-context/types';
4
+ import type { AISummaryActionProps } from './types';
5
+ export declare function AISummariseAction({ url, ari, product, onClick: onClickCallback, onError: onErrorCallback, testId, status, summariseUrl, ...props }: AISummaryActionProps & AISummaryActionData & {
6
+ status: AISummaryStatus;
7
+ summariseUrl: () => Promise<AISummaryState> | undefined;
8
+ }): JSX.Element;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { type AISummaryActionData } from '../../../../../state/flexible-ui-context/types';
3
- import { type AISummaryActionProps } from './types';
4
- export declare const AISummaryActionComponent: ({ onClick: onClickCallback, onError: onErrorCallback, url, ari, product, ...props }: AISummaryActionProps & AISummaryActionData) => JSX.Element | null;
2
+ import type { AISummaryActionData } from '../../../../../state/flexible-ui-context/types';
3
+ import type { AISummaryActionProps } from './types';
4
+ export declare const AISummaryActionComponent: (props: AISummaryActionProps & AISummaryActionData) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import type { AISummaryActionData } from '../../../../../state/flexible-ui-context/types';
3
+ import type { AISummaryActionProps } from './types';
4
+ export declare function CopySummaryAction({ url, ari, product, onClick: onClickCallback, testId, content, ...props }: AISummaryActionProps & AISummaryActionData & {
5
+ content: string;
6
+ }): JSX.Element;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { IconProps } from '@atlaskit/icon';
2
+ import { type IconProps } from '@atlaskit/icon';
3
3
  export declare const GoalIcon: (props: IconProps) => JSX.Element;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { IconProps } from '@atlaskit/icon';
2
+ import { type IconProps } from '@atlaskit/icon';
3
3
  export declare const ProjectsIcon: (props: IconProps) => JSX.Element;
@@ -1,7 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
3
  import { type MarkdownToJSX } from 'markdown-to-jsx';
4
- import { SerializedStyles } from '@emotion/react';
4
+ import { type SerializedStyles } from '@emotion/react';
5
5
  type AISummaryProps = {
6
6
  content?: string;
7
7
  showIcon?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "26.60.0",
3
+ "version": "26.62.0",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -30,8 +30,8 @@
30
30
  "dependencies": {
31
31
  "@atlaskit/analytics-gas-types": "^5.1.0",
32
32
  "@atlaskit/analytics-next": "^9.3.0",
33
- "@atlaskit/avatar": "^21.6.0",
34
- "@atlaskit/avatar-group": "^9.5.0",
33
+ "@atlaskit/avatar": "^21.7.0",
34
+ "@atlaskit/avatar-group": "^9.6.0",
35
35
  "@atlaskit/badge": "^16.1.0",
36
36
  "@atlaskit/button": "^17.14.0",
37
37
  "@atlaskit/dropdown-menu": "^12.10.0",
@@ -43,10 +43,10 @@
43
43
  "@atlaskit/in-product-testing": "^0.2.0",
44
44
  "@atlaskit/link-analytics": "^8.3.0",
45
45
  "@atlaskit/link-client-extension": "^1.8.0",
46
- "@atlaskit/link-extractors": "^1.4.0",
46
+ "@atlaskit/link-extractors": "^1.5.0",
47
47
  "@atlaskit/linking-common": "^5.6.0",
48
48
  "@atlaskit/linking-types": "^8.8.0",
49
- "@atlaskit/logo": "^13.15.0",
49
+ "@atlaskit/logo": "^13.16.0",
50
50
  "@atlaskit/lozenge": "^11.7.0",
51
51
  "@atlaskit/modal-dialog": "^12.13.0",
52
52
  "@atlaskit/outbound-auth-flow-client": "^3.4.0",