@atlaskit/renderer 111.2.2 → 111.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 111.2.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#152851](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/152851)
8
+ [`caba4b5434f99`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/caba4b5434f99) -
9
+ Injects a custom interaction name to CardLoading component. This will individualise the experience
10
+ in Performance Portal
11
+ - Updated dependencies
12
+
13
+ ## 111.2.3
14
+
15
+ ### Patch Changes
16
+
17
+ - [#152510](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/152510)
18
+ [`dcf9edde7ac7b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dcf9edde7ac7b) -
19
+ bump adf-schema to 42.0.1
20
+ - Updated dependencies
21
+
3
22
  ## 111.2.2
4
23
 
5
24
  ### Patch Changes
@@ -108,7 +108,8 @@ var MediaCardView = exports.MediaCardView = /*#__PURE__*/function (_Component) {
108
108
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "renderLoadingCard", function () {
109
109
  var cardDimensions = _this.props.cardDimensions;
110
110
  return /*#__PURE__*/_react.default.createElement(_mediaCard.CardLoading, {
111
- dimensions: cardDimensions
111
+ dimensions: cardDimensions,
112
+ interactionName: "renderer-media-card-loading"
112
113
  });
113
114
  });
114
115
  /**
@@ -65,7 +65,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
65
65
  var NORMAL_SEVERITY_THRESHOLD = exports.NORMAL_SEVERITY_THRESHOLD = 2000;
66
66
  var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
67
67
  var packageName = "@atlaskit/renderer";
68
- var packageVersion = "111.2.2";
68
+ var packageVersion = "111.2.4";
69
69
  var setAsQueryContainerStyles = (0, _react2.css)({
70
70
  containerName: 'ak-renderer-wrapper',
71
71
  containerType: 'inline-size',
@@ -61,7 +61,8 @@ export class MediaCardView extends Component {
61
61
  cardDimensions
62
62
  } = this.props;
63
63
  return /*#__PURE__*/React.createElement(CardLoading, {
64
- dimensions: cardDimensions
64
+ dimensions: cardDimensions,
65
+ interactionName: "renderer-media-card-loading"
65
66
  });
66
67
  });
67
68
  /**
@@ -45,7 +45,7 @@ import { countNodes } from './count-nodes';
45
45
  export const NORMAL_SEVERITY_THRESHOLD = 2000;
46
46
  export const DEGRADED_SEVERITY_THRESHOLD = 3000;
47
47
  const packageName = "@atlaskit/renderer";
48
- const packageVersion = "111.2.2";
48
+ const packageVersion = "111.2.4";
49
49
  const setAsQueryContainerStyles = css({
50
50
  containerName: 'ak-renderer-wrapper',
51
51
  containerType: 'inline-size',
@@ -98,7 +98,8 @@ export var MediaCardView = /*#__PURE__*/function (_Component) {
98
98
  _defineProperty(_assertThisInitialized(_this), "renderLoadingCard", function () {
99
99
  var cardDimensions = _this.props.cardDimensions;
100
100
  return /*#__PURE__*/React.createElement(CardLoading, {
101
- dimensions: cardDimensions
101
+ dimensions: cardDimensions,
102
+ interactionName: "renderer-media-card-loading"
102
103
  });
103
104
  });
104
105
  /**
@@ -55,7 +55,7 @@ import { countNodes } from './count-nodes';
55
55
  export var NORMAL_SEVERITY_THRESHOLD = 2000;
56
56
  export var DEGRADED_SEVERITY_THRESHOLD = 3000;
57
57
  var packageName = "@atlaskit/renderer";
58
- var packageVersion = "111.2.2";
58
+ var packageVersion = "111.2.4";
59
59
  var setAsQueryContainerStyles = css({
60
60
  containerName: 'ak-renderer-wrapper',
61
61
  containerType: 'inline-size',
@@ -1,8 +1,41 @@
1
1
  import type { CardProps } from '@atlaskit/smart-card';
2
2
  export interface SmartLinksOptions {
3
+ /**
4
+ * A flag to enable inline Smart Link to render without lazy loading.
5
+ * Default is false.
6
+ *
7
+ * Component: inline
8
+ */
3
9
  ssr?: boolean;
10
+ /**
11
+ * A flag to display unresolved state on hover preview on inline Smart Link.
12
+ * Default is false.
13
+ *
14
+ * Component: inline
15
+ */
4
16
  showAuthTooltip?: boolean;
17
+ /**
18
+ * A flag to disable hover preview on inline Smart Link.
19
+ * Default is false.
20
+ *
21
+ * Component: inline
22
+ */
5
23
  hideHoverPreview?: boolean;
24
+ /**
25
+ * Configure visibility of actions available.
26
+ * By default, smart links show all actions available on the views.
27
+ * Set `hide` to true to disable all actions.
28
+ * Set `hide` to false and set `exclude` to enable only specific actions.
29
+ *
30
+ * Component: inline (hover preview), block (card)
31
+ */
6
32
  actionOptions?: CardProps['actionOptions'];
33
+ /**
34
+ * A prop that determines the style of a frame:
35
+ * whether to show it, hide it or only show it when a user hovers over embed.
36
+ * Default is `show`
37
+ *
38
+ * Component: embed
39
+ */
7
40
  frameStyle?: CardProps['frameStyle'];
8
41
  }
@@ -1,8 +1,41 @@
1
1
  import type { CardProps } from '@atlaskit/smart-card';
2
2
  export interface SmartLinksOptions {
3
+ /**
4
+ * A flag to enable inline Smart Link to render without lazy loading.
5
+ * Default is false.
6
+ *
7
+ * Component: inline
8
+ */
3
9
  ssr?: boolean;
10
+ /**
11
+ * A flag to display unresolved state on hover preview on inline Smart Link.
12
+ * Default is false.
13
+ *
14
+ * Component: inline
15
+ */
4
16
  showAuthTooltip?: boolean;
17
+ /**
18
+ * A flag to disable hover preview on inline Smart Link.
19
+ * Default is false.
20
+ *
21
+ * Component: inline
22
+ */
5
23
  hideHoverPreview?: boolean;
24
+ /**
25
+ * Configure visibility of actions available.
26
+ * By default, smart links show all actions available on the views.
27
+ * Set `hide` to true to disable all actions.
28
+ * Set `hide` to false and set `exclude` to enable only specific actions.
29
+ *
30
+ * Component: inline (hover preview), block (card)
31
+ */
6
32
  actionOptions?: CardProps['actionOptions'];
33
+ /**
34
+ * A prop that determines the style of a frame:
35
+ * whether to show it, hide it or only show it when a user hovers over embed.
36
+ * Default is `show`
37
+ *
38
+ * Component: embed
39
+ */
7
40
  frameStyle?: CardProps['frameStyle'];
8
41
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "111.2.2",
3
+ "version": "111.2.4",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -22,15 +22,15 @@
22
22
  "runReact18": true
23
23
  },
24
24
  "dependencies": {
25
- "@atlaskit/adf-schema": "^40.9.4",
25
+ "@atlaskit/adf-schema": "^42.0.2",
26
26
  "@atlaskit/adf-utils": "^19.9.0",
27
27
  "@atlaskit/analytics-listeners": "^8.11.0",
28
28
  "@atlaskit/analytics-namespaced-context": "^6.12.0",
29
29
  "@atlaskit/analytics-next": "^10.1.0",
30
30
  "@atlaskit/button": "^20.2.0",
31
31
  "@atlaskit/code": "^15.6.0",
32
- "@atlaskit/editor-common": "^93.4.0",
33
- "@atlaskit/editor-json-transformer": "^8.19.0",
32
+ "@atlaskit/editor-common": "^93.5.0",
33
+ "@atlaskit/editor-json-transformer": "^8.20.0",
34
34
  "@atlaskit/editor-palette": "1.6.1",
35
35
  "@atlaskit/editor-prosemirror": "6.0.0",
36
36
  "@atlaskit/editor-shared-styles": "^3.0.0",
@@ -38,13 +38,13 @@
38
38
  "@atlaskit/feature-gate-js-client": "^4.20.0",
39
39
  "@atlaskit/icon": "^22.22.0",
40
40
  "@atlaskit/link-datasource": "^3.6.0",
41
- "@atlaskit/media-card": "^78.6.0",
41
+ "@atlaskit/media-card": "^78.7.0",
42
42
  "@atlaskit/media-client": "^28.0.0",
43
43
  "@atlaskit/media-client-react": "^2.2.0",
44
44
  "@atlaskit/media-common": "^11.6.0",
45
45
  "@atlaskit/media-filmstrip": "^47.4.0",
46
- "@atlaskit/media-ui": "^25.15.0",
47
- "@atlaskit/media-viewer": "^49.1.0",
46
+ "@atlaskit/media-ui": "^25.16.0",
47
+ "@atlaskit/media-viewer": "^49.2.0",
48
48
  "@atlaskit/platform-feature-flags": "^0.3.0",
49
49
  "@atlaskit/smart-card": "^30.1.0",
50
50
  "@atlaskit/status": "^1.5.0",
@@ -74,7 +74,7 @@
74
74
  "@atlaskit/css-reset": "^6.11.0",
75
75
  "@atlaskit/link-provider": "^1.16.0",
76
76
  "@atlaskit/link-test-helpers": "^7.5.0",
77
- "@atlaskit/linking-common": "^5.12.0",
77
+ "@atlaskit/linking-common": "^6.0.0",
78
78
  "@atlaskit/media-core": "^34.3.0",
79
79
  "@atlaskit/media-integration-test-helpers": "^3.1.0",
80
80
  "@atlaskit/media-test-helpers": "^34.5.0",