@atlaskit/smart-card 26.49.2 → 26.49.3

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 (53) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/common/analytics/generated/analytics.types.js +1 -5
  3. package/dist/cjs/extractors/common/detail/types.js +1 -5
  4. package/dist/cjs/state/hooks/use-ai-summary/ai-summary-service/types.js +1 -5
  5. package/dist/cjs/state/types.js +1 -5
  6. package/dist/cjs/utils/analytics/analytics.js +1 -1
  7. package/dist/cjs/view/EmbedModal/components/embed-content/types.js +1 -5
  8. package/dist/cjs/view/EmbedModal/components/link-info/link-info-button/types.js +1 -5
  9. package/dist/cjs/view/FlexibleCard/components/actions/action/action-dropdown-item/types.js +1 -5
  10. package/dist/cjs/view/FlexibleCard/components/blocks/ai-summary-block/ai-event-summary-viewed/types.js +1 -5
  11. package/dist/cjs/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-done.js +1 -2
  12. package/dist/cjs/view/FlexibleCard/components/blocks/related-urls-block/types.js +1 -5
  13. package/dist/cjs/view/FlexibleCard/components/common/image-icon/types.js +1 -5
  14. package/dist/cjs/view/FlexibleCard/components/common/loading-skeleton/types.js +1 -5
  15. package/dist/cjs/view/FlexibleCard/components/container/layered-link/types.js +1 -5
  16. package/dist/cjs/view/LinkUrl/index.js +1 -1
  17. package/dist/cjs/view/LinkUrl/types.js +1 -5
  18. package/dist/cjs/view/common/ai-summary/index.js +1 -1
  19. package/dist/es2019/common/analytics/generated/analytics.types.js +0 -1
  20. package/dist/es2019/extractors/common/detail/types.js +0 -1
  21. package/dist/es2019/state/hooks/use-ai-summary/ai-summary-service/types.js +0 -1
  22. package/dist/es2019/state/types.js +0 -1
  23. package/dist/es2019/utils/analytics/analytics.js +1 -1
  24. package/dist/es2019/view/EmbedModal/components/embed-content/types.js +0 -1
  25. package/dist/es2019/view/EmbedModal/components/link-info/link-info-button/types.js +0 -1
  26. package/dist/es2019/view/FlexibleCard/components/actions/action/action-dropdown-item/types.js +0 -1
  27. package/dist/es2019/view/FlexibleCard/components/blocks/ai-summary-block/ai-event-summary-viewed/types.js +0 -1
  28. package/dist/es2019/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-done.js +1 -2
  29. package/dist/es2019/view/FlexibleCard/components/blocks/related-urls-block/types.js +0 -1
  30. package/dist/es2019/view/FlexibleCard/components/common/image-icon/types.js +0 -1
  31. package/dist/es2019/view/FlexibleCard/components/common/loading-skeleton/types.js +0 -1
  32. package/dist/es2019/view/FlexibleCard/components/container/layered-link/types.js +0 -1
  33. package/dist/es2019/view/LinkUrl/index.js +1 -1
  34. package/dist/es2019/view/LinkUrl/types.js +0 -1
  35. package/dist/es2019/view/common/ai-summary/index.js +1 -1
  36. package/dist/esm/common/analytics/generated/analytics.types.js +0 -1
  37. package/dist/esm/extractors/common/detail/types.js +0 -1
  38. package/dist/esm/state/hooks/use-ai-summary/ai-summary-service/types.js +0 -1
  39. package/dist/esm/state/types.js +0 -1
  40. package/dist/esm/utils/analytics/analytics.js +1 -1
  41. package/dist/esm/view/EmbedModal/components/embed-content/types.js +0 -1
  42. package/dist/esm/view/EmbedModal/components/link-info/link-info-button/types.js +0 -1
  43. package/dist/esm/view/FlexibleCard/components/actions/action/action-dropdown-item/types.js +0 -1
  44. package/dist/esm/view/FlexibleCard/components/blocks/ai-summary-block/ai-event-summary-viewed/types.js +0 -1
  45. package/dist/esm/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-state-done.js +1 -2
  46. package/dist/esm/view/FlexibleCard/components/blocks/related-urls-block/types.js +0 -1
  47. package/dist/esm/view/FlexibleCard/components/common/image-icon/types.js +0 -1
  48. package/dist/esm/view/FlexibleCard/components/common/loading-skeleton/types.js +0 -1
  49. package/dist/esm/view/FlexibleCard/components/container/layered-link/types.js +0 -1
  50. package/dist/esm/view/LinkUrl/index.js +1 -1
  51. package/dist/esm/view/LinkUrl/types.js +0 -1
  52. package/dist/esm/view/common/ai-summary/index.js +1 -1
  53. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 26.49.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#81241](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81241) [`9e73c089380f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9e73c089380f) - [ux] Fix summary icon positioning and wrapping within hover card
8
+
3
9
  ## 26.49.2
4
10
 
5
11
  ### Patch Changes
@@ -1,5 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
1
+ "use strict";
@@ -1,5 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
1
+ "use strict";
@@ -1,5 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
1
+ "use strict";
@@ -1,5 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
1
+ "use strict";
@@ -22,7 +22,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
22
22
  var context = exports.context = {
23
23
  componentName: 'smart-cards',
24
24
  packageName: "@atlaskit/smart-card",
25
- packageVersion: "26.49.2"
25
+ packageVersion: "26.49.3"
26
26
  };
27
27
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
28
28
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -1,5 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
1
+ "use strict";
@@ -1,5 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
1
+ "use strict";
@@ -1,5 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
1
+ "use strict";
@@ -1,5 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
1
+ "use strict";
@@ -50,8 +50,7 @@ var iconTooltipDescStyles = (0, _primitives.xcss)({
50
50
  lineHeight: '14px'
51
51
  });
52
52
  var iconTooltipTriggerStyles = (0, _primitives.xcss)({
53
- position: 'relative',
54
- bottom: 'space.negative.050'
53
+ verticalAlign: 'bottom'
55
54
  });
56
55
  var AIStateDone = function AIStateDone(_ref) {
57
56
  var appearance = _ref.appearance,
@@ -1,5 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
1
+ "use strict";
@@ -1,5 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
1
+ "use strict";
@@ -1,5 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
1
+ "use strict";
@@ -1,5 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
1
+ "use strict";
@@ -17,7 +17,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId"],
17
17
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
18
18
  var PACKAGE_DATA = {
19
19
  packageName: "@atlaskit/smart-card",
20
- packageVersion: "26.49.2",
20
+ packageVersion: "26.49.3",
21
21
  componentName: 'linkUrl'
22
22
  };
23
23
  var Link = (0, _click.withLinkClickedEvent)('a');
@@ -1,5 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
1
+ "use strict";
@@ -47,7 +47,7 @@ var AISummary = function AISummary(_ref) {
47
47
  return (0, _react2.jsx)(_markdownToJsx.default, {
48
48
  "data-testid": testId,
49
49
  css: [AISummaryCSS, overrideCss],
50
- children: showIcon ? "".concat(content, " <Icon />") : content,
50
+ children: showIcon ? "".concat(content, "&nbsp;<Icon />") : content,
51
51
  options: {
52
52
  forceWrapper: true,
53
53
  overrides: {
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -4,7 +4,7 @@ export const ANALYTICS_CHANNEL = 'media';
4
4
  export const context = {
5
5
  componentName: 'smart-cards',
6
6
  packageName: "@atlaskit/smart-card",
7
- packageVersion: "26.49.2"
7
+ packageVersion: "26.49.3"
8
8
  };
9
9
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -42,8 +42,7 @@ const iconTooltipDescStyles = xcss({
42
42
  lineHeight: '14px'
43
43
  });
44
44
  const iconTooltipTriggerStyles = xcss({
45
- position: 'relative',
46
- bottom: 'space.negative.050'
45
+ verticalAlign: 'bottom'
47
46
  });
48
47
  const AIStateDone = ({
49
48
  appearance,
@@ -7,7 +7,7 @@ import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-m
7
7
  import LinkWarningModal from './LinkWarningModal';
8
8
  const PACKAGE_DATA = {
9
9
  packageName: "@atlaskit/smart-card",
10
- packageVersion: "26.49.2",
10
+ packageVersion: "26.49.3",
11
11
  componentName: 'linkUrl'
12
12
  };
13
13
  const Link = withLinkClickedEvent('a');
@@ -1 +0,0 @@
1
- export {};
@@ -34,7 +34,7 @@ const AISummary = ({
34
34
  return jsx(Markdown, {
35
35
  "data-testid": testId,
36
36
  css: [AISummaryCSS, overrideCss],
37
- children: showIcon ? `${content} <Icon />` : content,
37
+ children: showIcon ? `${content}&nbsp;<Icon />` : content,
38
38
  options: {
39
39
  forceWrapper: true,
40
40
  overrides: {
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -15,7 +15,7 @@ export var ANALYTICS_CHANNEL = 'media';
15
15
  export var context = {
16
16
  componentName: 'smart-cards',
17
17
  packageName: "@atlaskit/smart-card",
18
- packageVersion: "26.49.2"
18
+ packageVersion: "26.49.3"
19
19
  };
20
20
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
21
21
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -42,8 +42,7 @@ var iconTooltipDescStyles = xcss({
42
42
  lineHeight: '14px'
43
43
  });
44
44
  var iconTooltipTriggerStyles = xcss({
45
- position: 'relative',
46
- bottom: 'space.negative.050'
45
+ verticalAlign: 'bottom'
47
46
  });
48
47
  var AIStateDone = function AIStateDone(_ref) {
49
48
  var appearance = _ref.appearance,
@@ -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.49.2",
13
+ packageVersion: "26.49.3",
14
14
  componentName: 'linkUrl'
15
15
  };
16
16
  var Link = withLinkClickedEvent('a');
@@ -1 +0,0 @@
1
- export {};
@@ -39,7 +39,7 @@ var AISummary = function AISummary(_ref) {
39
39
  return jsx(Markdown, {
40
40
  "data-testid": testId,
41
41
  css: [AISummaryCSS, overrideCss],
42
- children: showIcon ? "".concat(content, " <Icon />") : content,
42
+ children: showIcon ? "".concat(content, "&nbsp;<Icon />") : content,
43
43
  options: {
44
44
  forceWrapper: true,
45
45
  overrides: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "26.49.2",
3
+ "version": "26.49.3",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"