@atlaskit/smart-card 27.5.3 → 27.5.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,14 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 27.5.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#108244](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/108244)
8
+ [`400b3c1c97aab`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/400b3c1c97aab) -
9
+ Add loading view for related links modal
10
+ - Updated dependencies
11
+
3
12
  ## 27.5.3
4
13
 
5
14
  ### Patch Changes
@@ -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: "27.5.3"
25
+ packageVersion: "27.5.4"
26
26
  };
27
27
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
28
28
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -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: "27.5.3",
20
+ packageVersion: "27.5.4",
21
21
  componentName: 'linkUrl'
22
22
  };
23
23
  var Link = (0, _click.withLinkClickedEvent)('a');
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _primitives = require("@atlaskit/primitives");
10
+ var _spinner = _interopRequireDefault(require("@atlaskit/spinner"));
11
+ var style = (0, _primitives.xcss)({
12
+ alignItems: 'center',
13
+ display: 'flex',
14
+ flexDirection: 'column',
15
+ height: '100%',
16
+ justifyContent: 'center'
17
+ });
18
+ var RelatedLinksResolvingView = function RelatedLinksResolvingView() {
19
+ return /*#__PURE__*/_react.default.createElement(_primitives.Box, {
20
+ xcss: style,
21
+ testId: "related-links-resolving-view"
22
+ }, /*#__PURE__*/_react.default.createElement(_spinner.default, {
23
+ size: 'large',
24
+ testId: "related-links-resolving-view-spinner"
25
+ }));
26
+ };
27
+ var _default = exports.default = RelatedLinksResolvingView;
@@ -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: "27.5.3"
7
+ packageVersion: "27.5.4"
8
8
  };
9
9
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -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: "27.5.3",
10
+ packageVersion: "27.5.4",
11
11
  componentName: 'linkUrl'
12
12
  };
13
13
  const Link = withLinkClickedEvent('a');
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { Box, xcss } from '@atlaskit/primitives';
3
+ import Spinner from '@atlaskit/spinner';
4
+ const style = xcss({
5
+ alignItems: 'center',
6
+ display: 'flex',
7
+ flexDirection: 'column',
8
+ height: '100%',
9
+ justifyContent: 'center'
10
+ });
11
+ const RelatedLinksResolvingView = () => /*#__PURE__*/React.createElement(Box, {
12
+ xcss: style,
13
+ testId: "related-links-resolving-view"
14
+ }, /*#__PURE__*/React.createElement(Spinner, {
15
+ size: 'large',
16
+ testId: "related-links-resolving-view-spinner"
17
+ }));
18
+ export default RelatedLinksResolvingView;
@@ -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: "27.5.3"
18
+ packageVersion: "27.5.4"
19
19
  };
20
20
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
21
21
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -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: "27.5.3",
13
+ packageVersion: "27.5.4",
14
14
  componentName: 'linkUrl'
15
15
  };
16
16
  var Link = withLinkClickedEvent('a');
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { Box, xcss } from '@atlaskit/primitives';
3
+ import Spinner from '@atlaskit/spinner';
4
+ var style = xcss({
5
+ alignItems: 'center',
6
+ display: 'flex',
7
+ flexDirection: 'column',
8
+ height: '100%',
9
+ justifyContent: 'center'
10
+ });
11
+ var RelatedLinksResolvingView = function RelatedLinksResolvingView() {
12
+ return /*#__PURE__*/React.createElement(Box, {
13
+ xcss: style,
14
+ testId: "related-links-resolving-view"
15
+ }, /*#__PURE__*/React.createElement(Spinner, {
16
+ size: 'large',
17
+ testId: "related-links-resolving-view-spinner"
18
+ }));
19
+ };
20
+ export default RelatedLinksResolvingView;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const RelatedLinksResolvingView: () => JSX.Element;
3
+ export default RelatedLinksResolvingView;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const RelatedLinksResolvingView: () => JSX.Element;
3
+ export default RelatedLinksResolvingView;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "27.5.3",
3
+ "version": "27.5.4",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -44,7 +44,7 @@
44
44
  "@atlaskit/icon-object": "^6.4.0",
45
45
  "@atlaskit/icon-priority": "^6.3.0",
46
46
  "@atlaskit/link-analytics": "^8.3.0",
47
- "@atlaskit/link-client-extension": "^1.8.0",
47
+ "@atlaskit/link-client-extension": "^1.9.0",
48
48
  "@atlaskit/link-extractors": "^1.5.0",
49
49
  "@atlaskit/linking-common": "^5.7.0",
50
50
  "@atlaskit/linking-types": "^8.9.0",