@atlaskit/smart-card 45.18.6 → 45.18.8
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 +12 -0
- package/dist/cjs/state/hooks/use-invoke/index.js +2 -2
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/state/hooks/use-invoke/index.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/state/hooks/use-invoke/index.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/__fixtures__/atlas-project-with-ai-summary.d.ts +1 -1
- package/dist/types/__fixtures__/atlas-project.d.ts +1 -1
- package/dist/types/__fixtures__/bitbucket-pull-request.d.ts +1 -1
- package/dist/types/__fixtures__/compass-scorecard.d.ts +1 -1
- package/dist/types/__fixtures__/confluence-blog.d.ts +1 -1
- package/dist/types/__fixtures__/confluence-page.d.ts +1 -1
- package/dist/types/__fixtures__/confluence-space.d.ts +1 -1
- package/dist/types/__fixtures__/confluence-template.d.ts +1 -1
- package/dist/types/__fixtures__/conversation-entity.d.ts +1 -1
- package/dist/types/__fixtures__/document-entity.d.ts +1 -1
- package/dist/types/__fixtures__/dropbox-file.d.ts +1 -1
- package/dist/types/__fixtures__/figma-entity.d.ts +1 -1
- package/dist/types/__fixtures__/figma.d.ts +1 -1
- package/dist/types/__fixtures__/jira-roadmap.d.ts +1 -1
- package/dist/types/__fixtures__/jira-task.d.ts +1 -1
- package/dist/types/__fixtures__/jira-timeline.d.ts +1 -1
- package/dist/types/__fixtures__/message-entity.d.ts +1 -1
- package/dist/types/__fixtures__/youtube-video.d.ts +1 -1
- package/dist/types/common/ui/icons/priority-icons.d.ts +1 -1
- package/dist/types/state/helpers.d.ts +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -8,12 +8,12 @@ exports.default = void 0;
|
|
|
8
8
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
9
9
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
10
10
|
var _react = require("react");
|
|
11
|
-
var
|
|
11
|
+
var _useSmartLinkClientExtension = require("@atlaskit/link-client-extension/use-smart-link-client-extension");
|
|
12
12
|
var _linkProvider = require("@atlaskit/link-provider");
|
|
13
13
|
var useInvoke = function useInvoke() {
|
|
14
14
|
var _useSmartLinkContext = (0, _linkProvider.useSmartLinkContext)(),
|
|
15
15
|
connections = _useSmartLinkContext.connections;
|
|
16
|
-
var clientExt = (0,
|
|
16
|
+
var clientExt = (0, _useSmartLinkClientExtension.useSmartLinkClientExtension)(connections.client);
|
|
17
17
|
return (0, _react.useCallback)( /*#__PURE__*/function () {
|
|
18
18
|
var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(req, cb) {
|
|
19
19
|
var response;
|
|
@@ -11,7 +11,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
|
|
|
11
11
|
var context = exports.context = {
|
|
12
12
|
componentName: 'smart-cards',
|
|
13
13
|
packageName: "@atlaskit/smart-card" || '',
|
|
14
|
-
packageVersion: "45.18.
|
|
14
|
+
packageVersion: "45.18.7" || ''
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -19,7 +19,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
|
|
|
19
19
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
20
20
|
var PACKAGE_DATA = {
|
|
21
21
|
packageName: "@atlaskit/smart-card",
|
|
22
|
-
packageVersion: "45.18.
|
|
22
|
+
packageVersion: "45.18.7",
|
|
23
23
|
componentName: 'linkUrl'
|
|
24
24
|
};
|
|
25
25
|
var LinkUrl = function LinkUrl(_ref) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useCallback } from 'react';
|
|
2
|
-
import { useSmartLinkClientExtension } from '@atlaskit/link-client-extension';
|
|
2
|
+
import { useSmartLinkClientExtension } from '@atlaskit/link-client-extension/use-smart-link-client-extension';
|
|
3
3
|
import { useSmartLinkContext } from '@atlaskit/link-provider';
|
|
4
4
|
const useInvoke = () => {
|
|
5
5
|
const {
|
|
@@ -2,7 +2,7 @@ export const ANALYTICS_CHANNEL = 'media';
|
|
|
2
2
|
export const context = {
|
|
3
3
|
componentName: 'smart-cards',
|
|
4
4
|
packageName: "@atlaskit/smart-card" || '',
|
|
5
|
-
packageVersion: "45.18.
|
|
5
|
+
packageVersion: "45.18.7" || ''
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -9,7 +9,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
9
9
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
10
10
|
const PACKAGE_DATA = {
|
|
11
11
|
packageName: "@atlaskit/smart-card",
|
|
12
|
-
packageVersion: "45.18.
|
|
12
|
+
packageVersion: "45.18.7",
|
|
13
13
|
componentName: 'linkUrl'
|
|
14
14
|
};
|
|
15
15
|
const LinkUrl = ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
2
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
3
3
|
import { useCallback } from 'react';
|
|
4
|
-
import { useSmartLinkClientExtension } from '@atlaskit/link-client-extension';
|
|
4
|
+
import { useSmartLinkClientExtension } from '@atlaskit/link-client-extension/use-smart-link-client-extension';
|
|
5
5
|
import { useSmartLinkContext } from '@atlaskit/link-provider';
|
|
6
6
|
var useInvoke = function useInvoke() {
|
|
7
7
|
var _useSmartLinkContext = useSmartLinkContext(),
|
|
@@ -4,7 +4,7 @@ export var ANALYTICS_CHANNEL = 'media';
|
|
|
4
4
|
export var context = {
|
|
5
5
|
componentName: 'smart-cards',
|
|
6
6
|
packageName: "@atlaskit/smart-card" || '',
|
|
7
|
-
packageVersion: "45.18.
|
|
7
|
+
packageVersion: "45.18.7" || ''
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
12
12
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
13
13
|
var PACKAGE_DATA = {
|
|
14
14
|
packageName: "@atlaskit/smart-card",
|
|
15
|
-
packageVersion: "45.18.
|
|
15
|
+
packageVersion: "45.18.7",
|
|
16
16
|
componentName: 'linkUrl'
|
|
17
17
|
};
|
|
18
18
|
var LinkUrl = function LinkUrl(_ref) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ComponentType } from 'react';
|
|
2
|
-
import type { NewCoreIconProps } from '@atlaskit/icon/
|
|
2
|
+
import type { NewCoreIconProps } from '@atlaskit/icon/types';
|
|
3
3
|
type PriorityIcon = ComponentType<NewCoreIconProps>;
|
|
4
4
|
export declare const PriorityBlockerIcon: PriorityIcon;
|
|
5
5
|
export declare const PriorityCriticalIcon: PriorityIcon;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { JsonLd } from '@atlaskit/json-ld-types/jsonld';
|
|
2
|
-
import {
|
|
2
|
+
import type { DatasourceResolveResponse, JsonLdDatasourceResponse } from '@atlaskit/link-client-extension/use-data-source-client-extension/types';
|
|
3
3
|
import { type CardStore, type CardType } from '@atlaskit/linking-common';
|
|
4
4
|
import type { SmartLinkResponse } from '@atlaskit/linking-types/smart-link';
|
|
5
5
|
import { type DestinationProduct, type DestinationSubproduct } from '../utils/analytics/types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "45.18.
|
|
3
|
+
"version": "45.18.8",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"@atlaskit/afm-i18n-platform-linking-platform-smart-card": "2.201.0",
|
|
40
40
|
"@atlaskit/analytics-cross-product": "^2.1.0",
|
|
41
41
|
"@atlaskit/analytics-gas-types": "^6.0.0",
|
|
42
|
-
"@atlaskit/analytics-next": "^12.
|
|
42
|
+
"@atlaskit/analytics-next": "^12.4.0",
|
|
43
43
|
"@atlaskit/avatar": "^27.2.0",
|
|
44
44
|
"@atlaskit/avatar-group": "^14.2.0",
|
|
45
45
|
"@atlaskit/badge": "^21.1.0",
|
|
46
46
|
"@atlaskit/browser-apis": "^1.2.0",
|
|
47
47
|
"@atlaskit/button": "^25.2.0",
|
|
48
48
|
"@atlaskit/checkbox": "^19.1.0",
|
|
49
|
-
"@atlaskit/css": "^1.
|
|
49
|
+
"@atlaskit/css": "^1.1.0",
|
|
50
50
|
"@atlaskit/dropdown-menu": "^18.2.0",
|
|
51
51
|
"@atlaskit/embedded-confluence": "^6.2.0",
|
|
52
52
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@atlaskit/lozenge": "^15.3.0",
|
|
71
71
|
"@atlaskit/menu": "^10.1.0",
|
|
72
72
|
"@atlaskit/modal-dialog": "^16.5.0",
|
|
73
|
-
"@atlaskit/motion": "^8.
|
|
73
|
+
"@atlaskit/motion": "^8.5.0",
|
|
74
74
|
"@atlaskit/object": "^2.3.0",
|
|
75
75
|
"@atlaskit/outbound-auth-flow-client": "^4.1.0",
|
|
76
76
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
@@ -80,9 +80,9 @@
|
|
|
80
80
|
"@atlaskit/primitives": "^22.4.0",
|
|
81
81
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
82
82
|
"@atlaskit/react-ufo": "^7.7.0",
|
|
83
|
-
"@atlaskit/rovo-triggers": "^10.
|
|
83
|
+
"@atlaskit/rovo-triggers": "^10.22.0",
|
|
84
84
|
"@atlaskit/section-message": "^10.1.0",
|
|
85
|
-
"@atlaskit/select": "^22.
|
|
85
|
+
"@atlaskit/select": "^22.10.0",
|
|
86
86
|
"@atlaskit/spinner": "^20.3.0",
|
|
87
87
|
"@atlaskit/tabs": "^21.1.0",
|
|
88
88
|
"@atlaskit/tag": "^15.7.0",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"@atlaskit/textfield": "^10.1.0",
|
|
91
91
|
"@atlaskit/theme": "^28.1.0",
|
|
92
92
|
"@atlaskit/tile": "^4.1.0",
|
|
93
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
93
|
+
"@atlaskit/tmp-editor-statsig": "^163.0.0",
|
|
94
94
|
"@atlaskit/tokens": "^16.8.0",
|
|
95
95
|
"@atlaskit/tooltip": "^24.2.0",
|
|
96
96
|
"@atlaskit/ufo": "^1.0.0",
|