@atlaskit/smart-card 28.1.1 → 28.1.2
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 +8 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/HoverCard/components/HoverCardContent.js +2 -2
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/HoverCard/components/HoverCardContent.js +2 -2
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/HoverCard/components/HoverCardContent.js +2 -2
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/package.json +4 -4
- /package/dist/cjs/view/HoverCard/components/views/resolved/{redesign.js → index.js} +0 -0
- /package/dist/es2019/view/HoverCard/components/views/resolved/{redesign.js → index.js} +0 -0
- /package/dist/esm/view/HoverCard/components/views/resolved/{redesign.js → index.js} +0 -0
- /package/dist/types/view/HoverCard/components/views/resolved/{redesign.d.ts → index.d.ts} +0 -0
- /package/dist/types-ts4.5/view/HoverCard/components/views/resolved/{redesign.d.ts → index.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 28.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#140089](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/140089)
|
|
8
|
+
[`5377b7d8df2f4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5377b7d8df2f4) -
|
|
9
|
+
Hover card redesign file rename
|
|
10
|
+
|
|
3
11
|
## 28.1.1
|
|
4
12
|
|
|
5
13
|
### 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: "28.1.
|
|
25
|
+
packageVersion: "28.1.2"
|
|
26
26
|
};
|
|
27
27
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
28
28
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -18,7 +18,7 @@ var _styled = require("../styled");
|
|
|
18
18
|
var _utils2 = require("../utils");
|
|
19
19
|
var _resolving = _interopRequireDefault(require("./views/resolving"));
|
|
20
20
|
var _unauthorised = _interopRequireDefault(require("./views/unauthorised"));
|
|
21
|
-
var
|
|
21
|
+
var _resolved = _interopRequireDefault(require("./views/resolved"));
|
|
22
22
|
var _click = require("../../../utils/analytics/click");
|
|
23
23
|
var _store = require("../../../state/store");
|
|
24
24
|
var _forbidden = _interopRequireDefault(require("./views/forbidden"));
|
|
@@ -151,7 +151,7 @@ var HoverCardContent = function HoverCardContent(_ref) {
|
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
153
|
if (cardState.status === 'resolved') {
|
|
154
|
-
return (0, _react.jsx)(
|
|
154
|
+
return (0, _react.jsx)(_resolved.default, {
|
|
155
155
|
analytics: analytics,
|
|
156
156
|
cardState: cardState,
|
|
157
157
|
extensionKey: extensionKey,
|
|
@@ -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: "28.1.
|
|
20
|
+
packageVersion: "28.1.2",
|
|
21
21
|
componentName: 'linkUrl'
|
|
22
22
|
};
|
|
23
23
|
var Link = (0, _click.withLinkClickedEvent)('a');
|
|
@@ -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: "28.1.
|
|
7
|
+
packageVersion: "28.1.2"
|
|
8
8
|
};
|
|
9
9
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -15,7 +15,7 @@ import { flexibleUiOptions, titleBlockCss } from '../styled';
|
|
|
15
15
|
import { getMetadata } from '../utils';
|
|
16
16
|
import HoverCardLoadingView from './views/resolving';
|
|
17
17
|
import HoverCardUnauthorisedView from './views/unauthorised';
|
|
18
|
-
import
|
|
18
|
+
import HoverCardResolvedView from './views/resolved';
|
|
19
19
|
import { fireLinkClickedEvent } from '../../../utils/analytics/click';
|
|
20
20
|
import { useSmartCardState } from '../../../state/store';
|
|
21
21
|
import HoverCardForbiddenView from './views/forbidden';
|
|
@@ -139,7 +139,7 @@ const HoverCardContent = ({
|
|
|
139
139
|
});
|
|
140
140
|
}
|
|
141
141
|
if (cardState.status === 'resolved') {
|
|
142
|
-
return jsx(
|
|
142
|
+
return jsx(HoverCardResolvedView, {
|
|
143
143
|
analytics: analytics,
|
|
144
144
|
cardState: cardState,
|
|
145
145
|
extensionKey: extensionKey,
|
|
@@ -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: "28.1.
|
|
10
|
+
packageVersion: "28.1.2",
|
|
11
11
|
componentName: 'linkUrl'
|
|
12
12
|
};
|
|
13
13
|
const Link = withLinkClickedEvent('a');
|
|
@@ -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: "28.1.
|
|
18
|
+
packageVersion: "28.1.2"
|
|
19
19
|
};
|
|
20
20
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
21
21
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -15,7 +15,7 @@ import { flexibleUiOptions, titleBlockCss } from '../styled';
|
|
|
15
15
|
import { getMetadata } from '../utils';
|
|
16
16
|
import HoverCardLoadingView from './views/resolving';
|
|
17
17
|
import HoverCardUnauthorisedView from './views/unauthorised';
|
|
18
|
-
import
|
|
18
|
+
import HoverCardResolvedView from './views/resolved';
|
|
19
19
|
import { fireLinkClickedEvent } from '../../../utils/analytics/click';
|
|
20
20
|
import { useSmartCardState } from '../../../state/store';
|
|
21
21
|
import HoverCardForbiddenView from './views/forbidden';
|
|
@@ -140,7 +140,7 @@ var HoverCardContent = function HoverCardContent(_ref) {
|
|
|
140
140
|
});
|
|
141
141
|
}
|
|
142
142
|
if (cardState.status === 'resolved') {
|
|
143
|
-
return jsx(
|
|
143
|
+
return jsx(HoverCardResolvedView, {
|
|
144
144
|
analytics: analytics,
|
|
145
145
|
cardState: cardState,
|
|
146
146
|
extensionKey: extensionKey,
|
|
@@ -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: "28.1.
|
|
13
|
+
packageVersion: "28.1.2",
|
|
14
14
|
componentName: 'linkUrl'
|
|
15
15
|
};
|
|
16
16
|
var Link = withLinkClickedEvent('a');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "28.1.
|
|
3
|
+
"version": "28.1.2",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@atlaskit/form": "^10.5.0",
|
|
37
37
|
"@atlaskit/frontend-utilities": "^2.7.0",
|
|
38
38
|
"@atlaskit/heading": "^2.4.0",
|
|
39
|
-
"@atlaskit/icon": "^22.
|
|
39
|
+
"@atlaskit/icon": "^22.17.0",
|
|
40
40
|
"@atlaskit/icon-file-type": "^6.5.0",
|
|
41
41
|
"@atlaskit/icon-object": "^6.5.0",
|
|
42
42
|
"@atlaskit/icon-priority": "^6.3.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@atlaskit/popup": "^1.25.0",
|
|
55
55
|
"@atlaskit/primitives": "^12.1.0",
|
|
56
56
|
"@atlaskit/section-message": "^6.6.0",
|
|
57
|
-
"@atlaskit/select": "^17.
|
|
57
|
+
"@atlaskit/select": "^17.17.0",
|
|
58
58
|
"@atlaskit/spinner": "^16.3.0",
|
|
59
59
|
"@atlaskit/textarea": "^5.6.0",
|
|
60
60
|
"@atlaskit/textfield": "^6.5.0",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"@atlaskit/analytics-listeners": "^8.11.0",
|
|
91
91
|
"@atlaskit/css-reset": "^6.10.0",
|
|
92
92
|
"@atlaskit/link-test-helpers": "^7.5.0",
|
|
93
|
-
"@atlaskit/media-test-helpers": "^34.
|
|
93
|
+
"@atlaskit/media-test-helpers": "^34.2.0",
|
|
94
94
|
"@atlaskit/ssr": "*",
|
|
95
95
|
"@atlaskit/visual-regression": "*",
|
|
96
96
|
"@atlassian/analytics-tooling": "*",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/types-ts4.5/view/HoverCard/components/views/resolved/{redesign.d.ts → index.d.ts}
RENAMED
|
File without changes
|