@atlaskit/smart-card 38.1.3 → 38.2.0
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 +18 -0
- package/compass.yml +32 -23
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/LinkUrl/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/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/view/FlexibleCard/components/actions/follow-action/goal-icon/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/follow-action/projects-icon/index.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/actions/follow-action/unfollow-icon/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/goal-icon/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/projects-icon/index.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/unfollow-icon/index.d.ts +2 -2
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 38.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#149822](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/149822)
|
|
8
|
+
[`f9ab0e846ae21`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f9ab0e846ae21) -
|
|
9
|
+
Updated to support `size` prop for new icons from `@atlaskit/icon`.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 38.1.4
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 38.1.3
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/compass.yml
CHANGED
|
@@ -1,32 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
description:
|
|
1
|
+
id: 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/c9898540-33b1-4cd4-9399-16e575bcedae'
|
|
2
|
+
name: '@atlaskit/smart-card'
|
|
3
|
+
description: |-
|
|
4
|
+
This is a React component library that provides the UI and functionality for displaying Smart Links—enriched link previews that show contextual information about URLs from Atlassian products (like Jira, Confluence, Trello) and popular third-party services (such as GitHub, Google Drive, and more).
|
|
5
|
+
When a supported link is pasted or inserted, the Smart Card component fetches and displays rich metadata, such as titles, thumbnails, status, and actions, offering a more informative and interactive experience than plain hyperlinks.
|
|
4
6
|
configVersion: 1
|
|
5
|
-
typeId:
|
|
6
|
-
ownerId: 'ari:cloud:
|
|
7
|
+
typeId: LIBRARY
|
|
8
|
+
ownerId: 'ari:cloud:identity::team/9683a6ac-2d3f-44c8-a0fe-56128ca69e20'
|
|
7
9
|
fields:
|
|
8
|
-
tier:
|
|
10
|
+
tier: 4
|
|
11
|
+
lifecycle: Active
|
|
12
|
+
isMonorepoProject: true
|
|
13
|
+
labels:
|
|
14
|
+
- atlassian-platform
|
|
9
15
|
links:
|
|
10
|
-
- name:
|
|
11
|
-
type:
|
|
12
|
-
url: 'https://
|
|
16
|
+
- name: Bandicoots
|
|
17
|
+
type: PROJECT
|
|
18
|
+
url: 'https://product-fabric.atlassian.net/jira/software/c/projects/EDM/boards/5176'
|
|
13
19
|
- name: '#help-twg-linking-platform'
|
|
14
20
|
type: CHAT_CHANNEL
|
|
15
21
|
url: 'https://atlassian.enterprise.slack.com/archives/CFKGAQZRV'
|
|
16
|
-
- name: ''
|
|
22
|
+
- name: 'On-Call Schedule'
|
|
17
23
|
type: ON_CALL
|
|
18
24
|
url: 'https://atlassian.app.opsgenie.com/settings/schedule/detail/b9c8b313-dd6d-4a41-8eeb-d7a9df55be9d'
|
|
19
|
-
- name:
|
|
20
|
-
type:
|
|
21
|
-
url: 'https://
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
- name: source code
|
|
26
|
+
type: REPOSITORY
|
|
27
|
+
url: 'https://bitbucket.org/atlassian/atlassian-frontend/src/master/packages/linking-platform/smart-card'
|
|
28
|
+
customFields:
|
|
29
|
+
- name: 'FinOps_COGS_Cost_Center'
|
|
30
|
+
type: single_select
|
|
31
|
+
value: 'a681c808-9c58-45e5-9b3a-b5cc330c4b3a'
|
|
32
|
+
- name: 'FinOps_R&D_Cost_Center'
|
|
33
|
+
type: single_select
|
|
34
|
+
value: 'd9c71b12-1c77-4c68-a769-ba0e26bc8cac'
|
|
35
|
+
- name: 'FinOps_Service_Group'
|
|
36
|
+
type: single_select
|
|
37
|
+
value: '9120e03c-440b-489d-ac42-07903a2c611d'
|
|
38
|
+
- name: 'business-unit'
|
|
39
|
+
type: text
|
|
40
|
+
value: 'Eng - X Product Collab'
|
|
28
41
|
relationships: {}
|
|
29
|
-
labels:
|
|
30
|
-
- atlassian-platform
|
|
31
|
-
# Learn more about formatting compass.yml:
|
|
32
|
-
# https://go.atlassian.com/compass-yml-format
|
|
@@ -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: "38.
|
|
14
|
+
packageVersion: "38.2.0"
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -20,7 +20,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
|
|
|
20
20
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
21
21
|
var PACKAGE_DATA = {
|
|
22
22
|
packageName: "@atlaskit/smart-card",
|
|
23
|
-
packageVersion: "38.
|
|
23
|
+
packageVersion: "38.2.0",
|
|
24
24
|
componentName: 'linkUrl'
|
|
25
25
|
};
|
|
26
26
|
var Anchor = (0, _click.withLinkClickedEvent)('a');
|
|
@@ -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: "38.
|
|
5
|
+
packageVersion: "38.2.0"
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -10,7 +10,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
10
10
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
11
11
|
const PACKAGE_DATA = {
|
|
12
12
|
packageName: "@atlaskit/smart-card",
|
|
13
|
-
packageVersion: "38.
|
|
13
|
+
packageVersion: "38.2.0",
|
|
14
14
|
componentName: 'linkUrl'
|
|
15
15
|
};
|
|
16
16
|
const Anchor = withLinkClickedEvent('a');
|
|
@@ -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: "38.
|
|
7
|
+
packageVersion: "38.2.0"
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -13,7 +13,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
13
13
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
14
14
|
var PACKAGE_DATA = {
|
|
15
15
|
packageName: "@atlaskit/smart-card",
|
|
16
|
-
packageVersion: "38.
|
|
16
|
+
packageVersion: "38.2.0",
|
|
17
17
|
componentName: 'linkUrl'
|
|
18
18
|
};
|
|
19
19
|
var Anchor = withLinkClickedEvent('a');
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
3
|
-
export declare const GoalIcon: (props:
|
|
2
|
+
import { type NewCoreIconProps } from '@atlaskit/icon';
|
|
3
|
+
export declare const GoalIcon: (props: NewCoreIconProps) => React.JSX.Element;
|
package/dist/types/view/FlexibleCard/components/actions/follow-action/projects-icon/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
3
|
-
export declare const ProjectsIcon: (props:
|
|
2
|
+
import { type NewCoreIconProps } from '@atlaskit/icon';
|
|
3
|
+
export declare const ProjectsIcon: (props: NewCoreIconProps) => React.JSX.Element;
|
package/dist/types/view/FlexibleCard/components/actions/follow-action/unfollow-icon/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
3
|
-
declare const UnfollowIcon: (props:
|
|
2
|
+
import { type NewCoreIconProps } from '@atlaskit/icon';
|
|
3
|
+
declare const UnfollowIcon: (props: NewCoreIconProps) => React.JSX.Element;
|
|
4
4
|
export default UnfollowIcon;
|
package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/goal-icon/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
3
|
-
export declare const GoalIcon: (props:
|
|
2
|
+
import { type NewCoreIconProps } from '@atlaskit/icon';
|
|
3
|
+
export declare const GoalIcon: (props: NewCoreIconProps) => React.JSX.Element;
|
package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/projects-icon/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
3
|
-
export declare const ProjectsIcon: (props:
|
|
2
|
+
import { type NewCoreIconProps } from '@atlaskit/icon';
|
|
3
|
+
export declare const ProjectsIcon: (props: NewCoreIconProps) => React.JSX.Element;
|
package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/unfollow-icon/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
3
|
-
declare const UnfollowIcon: (props:
|
|
2
|
+
import { type NewCoreIconProps } from '@atlaskit/icon';
|
|
3
|
+
declare const UnfollowIcon: (props: NewCoreIconProps) => React.JSX.Element;
|
|
4
4
|
export default UnfollowIcon;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "38.
|
|
3
|
+
"version": "38.2.0",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -32,16 +32,16 @@
|
|
|
32
32
|
"@atlaskit/avatar": "^25.1.0",
|
|
33
33
|
"@atlaskit/avatar-group": "^12.0.0",
|
|
34
34
|
"@atlaskit/badge": "^18.1.0",
|
|
35
|
-
"@atlaskit/button": "^23.
|
|
35
|
+
"@atlaskit/button": "^23.1.0",
|
|
36
36
|
"@atlaskit/checkbox": "^17.1.0",
|
|
37
37
|
"@atlaskit/css": "^0.10.0",
|
|
38
|
-
"@atlaskit/dropdown-menu": "^15.
|
|
38
|
+
"@atlaskit/dropdown-menu": "^15.1.0",
|
|
39
39
|
"@atlaskit/form": "^12.0.0",
|
|
40
40
|
"@atlaskit/frontend-utilities": "^3.0.0",
|
|
41
41
|
"@atlaskit/heading": "^5.2.0",
|
|
42
|
-
"@atlaskit/icon": "^26.
|
|
42
|
+
"@atlaskit/icon": "^26.1.0",
|
|
43
43
|
"@atlaskit/icon-file-type": "^7.0.0",
|
|
44
|
-
"@atlaskit/icon-lab": "^4.
|
|
44
|
+
"@atlaskit/icon-lab": "^4.13.0",
|
|
45
45
|
"@atlaskit/icon-object": "^7.1.0",
|
|
46
46
|
"@atlaskit/icon-priority": "^6.3.0",
|
|
47
47
|
"@atlaskit/image": "^3.0.0",
|
|
@@ -55,19 +55,19 @@
|
|
|
55
55
|
"@atlaskit/linking-types": "^9.10.0",
|
|
56
56
|
"@atlaskit/logo": "^18.0.0",
|
|
57
57
|
"@atlaskit/lozenge": "^12.2.0",
|
|
58
|
-
"@atlaskit/menu": "^
|
|
58
|
+
"@atlaskit/menu": "^7.0.0",
|
|
59
59
|
"@atlaskit/modal-dialog": "^14.2.0",
|
|
60
60
|
"@atlaskit/outbound-auth-flow-client": "^3.4.0",
|
|
61
61
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
62
62
|
"@atlaskit/popup": "^4.2.0",
|
|
63
63
|
"@atlaskit/primitives": "^14.7.0",
|
|
64
64
|
"@atlaskit/section-message": "^8.2.0",
|
|
65
|
-
"@atlaskit/select": "^20.
|
|
65
|
+
"@atlaskit/select": "^20.6.0",
|
|
66
66
|
"@atlaskit/spinner": "^18.0.0",
|
|
67
67
|
"@atlaskit/textarea": "^8.0.0",
|
|
68
68
|
"@atlaskit/textfield": "^8.0.0",
|
|
69
69
|
"@atlaskit/theme": "^18.0.0",
|
|
70
|
-
"@atlaskit/tokens": "^4.
|
|
70
|
+
"@atlaskit/tokens": "^4.9.0",
|
|
71
71
|
"@atlaskit/tooltip": "^20.0.0",
|
|
72
72
|
"@atlaskit/ufo": "^0.4.0",
|
|
73
73
|
"@babel/runtime": "^7.0.0",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"@atlaskit/css-reset": "^7.2.0",
|
|
98
98
|
"@atlaskit/link-test-helpers": "^8.0.0",
|
|
99
99
|
"@atlaskit/media-test-helpers": "^36.0.0",
|
|
100
|
-
"@atlaskit/react-ufo": "^3.
|
|
100
|
+
"@atlaskit/react-ufo": "^3.13.0",
|
|
101
101
|
"@atlaskit/ssr": "workspace:^",
|
|
102
102
|
"@atlaskit/visual-regression": "workspace:^",
|
|
103
103
|
"@atlassian/analytics-tooling": "^0.5.0",
|